Compare commits
146
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
57b1f5839d | ||
|
|
97a31f57ce | ||
|
|
319435a331 | ||
|
|
69ee97981c | ||
|
|
44d96309d5 | ||
|
|
367576ca00 | ||
|
|
6fc9afa58f | ||
|
|
b4a71d5d5b | ||
|
|
127c476cff | ||
|
|
b3fca9509f | ||
|
|
2108af7cf3 | ||
|
|
e4d243ef34 | ||
|
|
421ffa024c | ||
|
|
286b9f1e0b | ||
|
|
46e880d9e2 | ||
|
|
7116ae0ce6 | ||
|
|
1042b5538a | ||
|
|
9d319f462c | ||
|
|
ed19f73fae | ||
|
|
8718354e69 | ||
|
|
945ea1d9ad | ||
|
|
02c8d51b84 | ||
|
|
47f7b4df39 | ||
|
|
891fde539d | ||
|
|
9666940fed | ||
|
|
b7b5ad2c11 | ||
|
|
5de549c5d2 | ||
|
|
1de78fb2f3 | ||
|
|
603ea56c54 | ||
|
|
7365634c0a | ||
|
|
b76d89dbb2 | ||
|
|
de7f7d701c | ||
|
|
32fa0c6aa8 | ||
|
|
c508751f38 | ||
|
|
fbf4556d48 | ||
|
|
c9f290a1d4 | ||
|
|
5fb92c0a98 | ||
|
|
9af8561284 | ||
|
|
2e12c769f9 | ||
|
|
d89f009f14 | ||
|
|
1c29556f14 | ||
|
|
15697ae741 | ||
|
|
d2ffb82071 | ||
|
|
e8063936c9 | ||
|
|
0394eb22bf | ||
|
+1 |
7234e6bc10 | ||
|
|
26a50b1e05 | ||
|
|
00be583b89 | ||
|
|
8c9def769c | ||
|
|
213f313034 | ||
|
|
3aaad1e9bf | ||
|
|
55848db4ea | ||
|
|
0c83897f62 | ||
|
|
b6a6eae3cc | ||
|
|
f7b45fa04e | ||
|
|
82e5f53bc4 | ||
|
|
13c3083ac4 | ||
|
|
755cffe590 | ||
|
|
dd1141f9af | ||
|
|
968fdc3ebe | ||
|
|
2ef20589b7 | ||
|
|
6d63920c0a | ||
|
|
3ef378659e | ||
|
|
eba8f1c198 | ||
|
|
52f827e8f2 | ||
|
|
6063f40f87 | ||
|
|
6bd1b82a58 | ||
|
|
052892b396 | ||
|
|
3b12c5c926 | ||
|
|
02d2377ca5 | ||
|
|
9545005908 | ||
|
|
d93286bc1f | ||
|
|
50e7dbaa9d | ||
|
|
04961f0e9a | ||
|
|
37f8433c7c | ||
|
|
c81bb882c5 | ||
|
|
701cd880df | ||
|
|
3f0a3124f3 | ||
|
|
949032ee09 | ||
|
|
3c58d17aba | ||
|
|
07954bb20b | ||
|
|
275af27a81 | ||
|
|
c63d9ea7ac | ||
|
|
8518ea18a7 | ||
|
|
18aaf5a1b8 | ||
|
|
9543a81d76 | ||
|
|
13f00cf476 | ||
|
|
9e28754bb1 | ||
|
|
095d227a13 | ||
|
|
889a1a08f5 | ||
|
|
6d7eedc213 | ||
|
|
bfdfb2ca38 | ||
|
|
17c772e839 | ||
|
|
73b5161a67 | ||
|
|
95eb75ac77 | ||
|
+1 |
01fd5237f5 | ||
|
|
6fd7497c15 | ||
|
|
25616ca794 | ||
|
|
2a345172a3 | ||
|
|
8cb002259a | ||
|
|
436d9baba2 | ||
|
|
e417f6ac64 | ||
|
|
65ea87425c | ||
|
|
0aea03e418 | ||
|
|
d8b488bbc9 | ||
|
|
cb0ef6a6a2 | ||
|
|
c377290b27 | ||
|
|
35bddd69c5 | ||
|
|
34be385a5c | ||
|
|
79c9e130fd | ||
|
|
9c884e2f55 | ||
|
|
2e21b52b97 | ||
|
|
e3f44905ca | ||
|
|
c47927708a | ||
|
|
4c511f0310 | ||
|
|
b2728ec6f2 | ||
|
|
663759975d | ||
|
|
f1971ffe36 | ||
|
|
8b134bbb55 | ||
|
|
8a20aa5825 | ||
|
|
112863ecce | ||
|
|
863049dc0c | ||
|
|
802ba8c5a9 | ||
|
|
e36ebe2243 | ||
|
|
c52e3beac1 | ||
|
|
f0250a77cd | ||
|
|
d4be6479db | ||
|
|
c67b287764 | ||
|
|
7ac4e6ba4e | ||
|
|
c494db87cb | ||
|
|
1932d601c1 | ||
|
|
846a3503fe | ||
|
|
3e7f9cb946 | ||
|
|
83526c519a | ||
|
|
2e01627c99 | ||
|
|
7b52c6bba0 | ||
|
|
e024d78ed0 | ||
|
|
a2002d1637 | ||
|
|
607ab7e860 | ||
|
|
f27989741a | ||
|
|
b2be63ada4 | ||
|
|
eee200f8d4 | ||
|
|
817ab2249f | ||
|
|
173777ade4 | ||
|
|
838233075a | ||
|
|
cabfc29119 |
@@ -16,9 +16,6 @@
|
|||||||
"baseBranch": "main",
|
"baseBranch": "main",
|
||||||
"updateInternalDependencies": "patch",
|
"updateInternalDependencies": "patch",
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"e2e-cra-5",
|
|
||||||
"e2e-next-13",
|
|
||||||
"e2e-vite-3",
|
|
||||||
"bundlers-esbuild",
|
"bundlers-esbuild",
|
||||||
"bundlers-vite",
|
"bundlers-vite",
|
||||||
"bundlers-webpack",
|
"bundlers-webpack",
|
||||||
|
|||||||
+37
-17
@@ -2,28 +2,48 @@
|
|||||||
|
|
||||||
# Platform team owns everything by default
|
# Platform team owns everything by default
|
||||||
|
|
||||||
* @thirdweb-dev/platform
|
* @jnsdls @joaquim @MananTank
|
||||||
|
|
||||||
# Devrel owns all markdown files (README etc.)
|
# legacy packages
|
||||||
|
legacy_packages/auth/ @jnsdls
|
||||||
|
legacy_packages/chains/ @jnsdls
|
||||||
|
legacy_packages/cli/ @jnsdls
|
||||||
|
legacy_packages/contracts-js/ @jnsdls
|
||||||
|
legacy_packages/crypto/ @jnsdls
|
||||||
|
legacy_packages/generated-abis/ @jnsdls
|
||||||
|
legacy_packages/merkletree/ @jnsdls
|
||||||
|
legacy_packages/pay/ @jnsdls
|
||||||
|
legacy_packages/payments/ @jnsdls
|
||||||
|
legacy_packages/react/ @MananTank @jnsdls
|
||||||
|
legacy_packages/react-core/ @MananTank @jnsdls
|
||||||
|
legacy_packages/react-native/ @jnsdls
|
||||||
|
legacy_packages/react-native-compat/ @jnsdls
|
||||||
|
legacy_packages/sdk/ @joaquim @jnsdls
|
||||||
|
legacy_packages/storage/ @jnsdls
|
||||||
|
legacy_packages/wallets/ @MananTank @jnsdls
|
||||||
|
|
||||||
*.md @thirdweb-dev/devrel
|
|
||||||
.changeset/
|
|
||||||
|
|
||||||
# Shared ownership of the react and react-core packages
|
# legacy e2e
|
||||||
|
legacy_e2e/ @jnsdls
|
||||||
|
|
||||||
packages/react/ @thirdweb-dev/product @thirdweb-dev/platform
|
# packages
|
||||||
packages/react-core/ @thirdweb-dev/product @thirdweb-dev/platform
|
|
||||||
|
|
||||||
# Shared ownership of the CLI
|
## specific thirdweb pieces
|
||||||
|
packages/thirdweb/src/react/ @MananTank
|
||||||
|
packages/thirdweb/src/reactive/ @MananTank
|
||||||
|
packages/thirdweb/src/gas/ @joaquim
|
||||||
|
packages/thirdweb/src/pay/ @MananTank @IDubuque
|
||||||
|
|
||||||
packages/cli/ @thirdweb-dev/product @thirdweb-dev/platform
|
packages/typedoc-gen/ @MananTank
|
||||||
|
# owned by phil for now
|
||||||
|
packages/service-utils/ @arcoraven
|
||||||
|
packages/eslint-config-thirdweb/ @jnsdls
|
||||||
|
packages/tw-tsconfig/ @jnsdls
|
||||||
|
packages/unity-js-bridge/ @joaquim @0xFirekeeper
|
||||||
|
|
||||||
# Chains is owned specifically by jonas for now
|
|
||||||
|
|
||||||
packages/chains/ @jnsdls
|
# .github folder + .changeset + turbo config is owned by jonas for now
|
||||||
|
scripts/ @jnsdls
|
||||||
# .github folder + .changeset + turbo config is owned by joaquim and jonas for now
|
.github/ @jnsdls
|
||||||
|
.changeset/config.json @jnsdls
|
||||||
.github/ @jnsdls @joaquim-verges
|
turbo.json @jnsdls
|
||||||
.changeset/config.json @jnsdls @joaquim-verges
|
|
||||||
turbo.json @joaquim-verges @jnsdls
|
|
||||||
|
|||||||
@@ -4,13 +4,20 @@ description: "Sets up Node.js and runs install"
|
|||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- uses: pnpm/action-setup@v2
|
# we use bun for some test suites
|
||||||
|
- name: Setup bun
|
||||||
|
uses: oven-sh/setup-bun@v1
|
||||||
|
with:
|
||||||
|
bun-version: 1.0.35
|
||||||
|
# pnpm for our dependencies
|
||||||
|
- uses: pnpm/action-setup@v3
|
||||||
with:
|
with:
|
||||||
version: 8
|
version: 8
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
|
check-latest: true
|
||||||
registry-url: "https://registry.npmjs.org"
|
registry-url: "https://registry.npmjs.org"
|
||||||
cache: "pnpm"
|
cache: "pnpm"
|
||||||
|
|
||||||
|
|||||||
@@ -22,13 +22,13 @@ We use [Turborepo](https://turborepo.org/docs/getting-started) to manage the mon
|
|||||||
|
|
||||||
You can see a quick outline of each of the projects within this repo below, each living within the [/packages](/packages) directory:
|
You can see a quick outline of each of the projects within this repo below, each living within the [/packages](/packages) directory:
|
||||||
|
|
||||||
| Package | Description | Latest Version |
|
| Package | Description | Latest Version |
|
||||||
| ------------------------------ | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| [/sdk](./packages/sdk) | Best in class web3 SDK for Browser, Node and Mobile apps | <a href="https://www.npmjs.com/package/@thirdweb-dev/sdk"><img src="https://img.shields.io/npm/v/@thirdweb-dev/sdk?color=red&label=npm&logo=npm" alt="npm version"/></a> |
|
| [/sdk](./legacy_packages/sdk) | Best in class web3 SDK for Browser, Node and Mobile apps | <a href="https://www.npmjs.com/package/@thirdweb-dev/sdk"><img src="https://img.shields.io/npm/v/@thirdweb-dev/sdk?color=red&label=npm&logo=npm" alt="npm version"/></a> |
|
||||||
| [/react](./packages/react) | Ultimate collection of React hooks for your web3 apps | <a href="https://www.npmjs.com/package/@thirdweb-dev/react"><img src="https://img.shields.io/npm/v/@thirdweb-dev/react?color=red&label=npm&logo=npm" alt="npm version"/></a> |
|
| [/react](./legacy_packages/react) | Ultimate collection of React hooks for your web3 apps | <a href="https://www.npmjs.com/package/@thirdweb-dev/react"><img src="https://img.shields.io/npm/v/@thirdweb-dev/react?color=red&label=npm&logo=npm" alt="npm version"/></a> |
|
||||||
| [/auth](./packages/auth) | Best in class wallet authentication for Node backends | <a href="https://www.npmjs.com/package/@thirdweb-dev/auth"><img src="https://img.shields.io/npm/v/@thirdweb-dev/auth?color=red&label=npm&logo=npm" alt="npm version"/></a> |
|
| [/auth](./legacy_packages/auth) | Best in class wallet authentication for Node backends | <a href="https://www.npmjs.com/package/@thirdweb-dev/auth"><img src="https://img.shields.io/npm/v/@thirdweb-dev/auth?color=red&label=npm&logo=npm" alt="npm version"/></a> |
|
||||||
| [/storage](./packages/storage) | Best in class decentralized storage SDK for Browser and Node | <a href="https://www.npmjs.com/package/@thirdweb-dev/storage"><img src="https://img.shields.io/npm/v/@thirdweb-dev/storage?color=red&label=npm&logo=npm" alt="npm version"/></a> |
|
| [/storage](./legacy_packages/storage) | Best in class decentralized storage SDK for Browser and Node | <a href="https://www.npmjs.com/package/@thirdweb-dev/storage"><img src="https://img.shields.io/npm/v/@thirdweb-dev/storage?color=red&label=npm&logo=npm" alt="npm version"/></a> |
|
||||||
| [/cli](./packages/cli) | Publish and deploy smart contracts without dealing with private keys | <a href="https://www.npmjs.com/package/thirdweb"><img src="https://img.shields.io/npm/v/thirdweb?color=red&label=npm&logo=npm" alt="npm version"/></a> |
|
| [/cli](./legacy_packages/cli) | Publish and deploy smart contracts without dealing with private keys | <a href="https://www.npmjs.com/package/thirdweb"><img src="https://img.shields.io/npm/v/thirdweb?color=red&label=npm&logo=npm" alt="npm version"/></a> |
|
||||||
|
|
||||||
## How to contribute
|
## How to contribute
|
||||||
|
|
||||||
|
|||||||
@@ -9,3 +9,8 @@ updates:
|
|||||||
directory: "/" # Location of package manifests
|
directory: "/" # Location of package manifests
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
# Check for updates to GitHub Actions every week
|
||||||
|
interval: "weekly"
|
||||||
|
|||||||
@@ -0,0 +1,109 @@
|
|||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
|
paths:
|
||||||
|
- "packages/**"
|
||||||
|
- "package.json"
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize]
|
||||||
|
paths:
|
||||||
|
- "packages/**"
|
||||||
|
- "package.json"
|
||||||
|
# trigger on merge group as well (merge queue)
|
||||||
|
merge_group:
|
||||||
|
types: [checks_requested]
|
||||||
|
branches: ["main"]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
# To use Remote Caching, uncomment the next lines and follow the steps below.
|
||||||
|
env:
|
||||||
|
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
||||||
|
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
||||||
|
TW_SECRET_KEY: ${{ secrets.TW_SECRET_KEY }}
|
||||||
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest-16
|
||||||
|
name: Build Packages
|
||||||
|
steps:
|
||||||
|
- name: Check out the code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup & Install
|
||||||
|
uses: ./.github/composite-actions/install
|
||||||
|
|
||||||
|
- name: Build Packages
|
||||||
|
run: pnpm build:packages
|
||||||
|
|
||||||
|
lint:
|
||||||
|
timeout-minutes: 15
|
||||||
|
name: Lint Packages
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out the code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup & Install
|
||||||
|
uses: ./.github/composite-actions/install
|
||||||
|
|
||||||
|
- run: pnpm lint
|
||||||
|
|
||||||
|
test:
|
||||||
|
timeout-minutes: 15
|
||||||
|
name: Unit Tests
|
||||||
|
runs-on: ubuntu-latest-16
|
||||||
|
steps:
|
||||||
|
- name: Check out the code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup & Install
|
||||||
|
uses: ./.github/composite-actions/install
|
||||||
|
|
||||||
|
- name: Set up foundry
|
||||||
|
uses: foundry-rs/foundry-toolchain@v1
|
||||||
|
|
||||||
|
- run: pnpm test
|
||||||
|
|
||||||
|
- name: Upload coverage reports to Codecov
|
||||||
|
uses: codecov/codecov-action@v4
|
||||||
|
with:
|
||||||
|
directory: ./packages
|
||||||
|
|
||||||
|
e2e:
|
||||||
|
timeout-minutes: 15
|
||||||
|
name: E2E Tests
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out the code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup & Install
|
||||||
|
uses: ./.github/composite-actions/install
|
||||||
|
|
||||||
|
# TODO actually run e2e tests
|
||||||
|
|
||||||
|
benchmark:
|
||||||
|
# cannot run benchmarks on merge group
|
||||||
|
if: github.event_name != 'merge_group'
|
||||||
|
timeout-minutes: 15
|
||||||
|
name: "Benchmarks"
|
||||||
|
runs-on: ubuntu-latest-16
|
||||||
|
steps:
|
||||||
|
- name: Check out the code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup & Install
|
||||||
|
uses: ./.github/composite-actions/install
|
||||||
|
|
||||||
|
- name: Run benchmarks
|
||||||
|
uses: CodSpeedHQ/action@v2
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.CODSPEED_TOKEN }}
|
||||||
|
run: "pnpm bench"
|
||||||
@@ -0,0 +1,96 @@
|
|||||||
|
name: CI (Legacy Packages)
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
|
paths:
|
||||||
|
- "legacy_packages/**"
|
||||||
|
- "legacy_e2e/**"
|
||||||
|
- "package.json"
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize]
|
||||||
|
paths:
|
||||||
|
- "legacy_packages/**"
|
||||||
|
- "legacy_e2e/**"
|
||||||
|
- "package.json"
|
||||||
|
# trigger on merge group as well (merge queue)
|
||||||
|
merge_group:
|
||||||
|
types: [checks_requested]
|
||||||
|
branches: ["main"]
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
# To use Remote Caching, uncomment the next lines and follow the steps below.
|
||||||
|
env:
|
||||||
|
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
||||||
|
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
||||||
|
TW_SECRET_KEY: ${{ secrets.TW_SECRET_KEY }}
|
||||||
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest-16
|
||||||
|
name: Build Packages
|
||||||
|
steps:
|
||||||
|
- name: Check out the code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup & Install
|
||||||
|
uses: ./.github/composite-actions/install
|
||||||
|
|
||||||
|
- name: Build Packages
|
||||||
|
run: pnpm build:legacy_packages
|
||||||
|
|
||||||
|
lint:
|
||||||
|
timeout-minutes: 15
|
||||||
|
name: Lint Packages
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out the code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup & Install
|
||||||
|
uses: ./.github/composite-actions/install
|
||||||
|
|
||||||
|
- run: pnpm lint:legacy
|
||||||
|
|
||||||
|
test:
|
||||||
|
timeout-minutes: 15
|
||||||
|
name: Unit Tests
|
||||||
|
runs-on: ubuntu-latest-16
|
||||||
|
steps:
|
||||||
|
- name: Check out the code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup & Install
|
||||||
|
uses: ./.github/composite-actions/install
|
||||||
|
|
||||||
|
- run: pnpm test:legacy
|
||||||
|
|
||||||
|
- name: Upload coverage reports to Codecov
|
||||||
|
uses: codecov/codecov-action@v4
|
||||||
|
with:
|
||||||
|
directory: ./legacy_packages
|
||||||
|
|
||||||
|
e2e:
|
||||||
|
timeout-minutes: 15
|
||||||
|
name: E2E Tests
|
||||||
|
runs-on: ubuntu-latest-16
|
||||||
|
steps:
|
||||||
|
- name: Check out the code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup & Install
|
||||||
|
uses: ./.github/composite-actions/install
|
||||||
|
|
||||||
|
- name: Install Playwright
|
||||||
|
run: npx playwright install --with-deps
|
||||||
|
|
||||||
|
- name: Run e2e tests
|
||||||
|
run: pnpm e2e:legacy
|
||||||
|
env:
|
||||||
|
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||||
|
CLI_E2E_API_KEY: ${{ secrets.CLI_E2E_API_KEY }}
|
||||||
@@ -1,157 +0,0 @@
|
|||||||
name: Build, Lint & Test
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: ["main"]
|
|
||||||
pull_request:
|
|
||||||
types: [opened, synchronize]
|
|
||||||
# trigger on merge group as well (merge queue)
|
|
||||||
merge_group:
|
|
||||||
types: [checks_requested]
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
# To use Remote Caching, uncomment the next lines and follow the steps below.
|
|
||||||
env:
|
|
||||||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
|
||||||
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
|
||||||
TW_SECRET_KEY: ${{ secrets.TW_SECRET_KEY }}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
timeout-minutes: 15
|
|
||||||
name: Build
|
|
||||||
runs-on: ubuntu-latest-16
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Check out code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 25
|
|
||||||
|
|
||||||
- name: Setup bun
|
|
||||||
uses: oven-sh/setup-bun@v1
|
|
||||||
with:
|
|
||||||
bun-version: 1.0.21
|
|
||||||
|
|
||||||
- name: Install
|
|
||||||
uses: ./.github/composite-actions/install
|
|
||||||
|
|
||||||
- run: pnpm build
|
|
||||||
|
|
||||||
# We use week in the turbo cache key to keep the cache from infinitely growing
|
|
||||||
- id: get-week
|
|
||||||
run: echo "WEEK=$(date +%U)" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
|
||||||
timeout-minutes: 5
|
|
||||||
id: cache-build
|
|
||||||
with:
|
|
||||||
path: ./*
|
|
||||||
key: ${{ github.sha }}-${{ github.run_number }}
|
|
||||||
|
|
||||||
lint:
|
|
||||||
timeout-minutes: 15
|
|
||||||
name: Lint Packages
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: build
|
|
||||||
steps:
|
|
||||||
- name: Setup node
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: 20
|
|
||||||
check-latest: true
|
|
||||||
|
|
||||||
- name: Setup bun
|
|
||||||
uses: oven-sh/setup-bun@v1
|
|
||||||
with:
|
|
||||||
bun-version: 1.0.21
|
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v2
|
|
||||||
with:
|
|
||||||
version: 8
|
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
|
||||||
timeout-minutes: 5
|
|
||||||
id: restore-build
|
|
||||||
with:
|
|
||||||
path: ./*
|
|
||||||
key: ${{ github.sha }}-${{ github.run_number }}
|
|
||||||
|
|
||||||
- run: pnpm lint
|
|
||||||
|
|
||||||
test:
|
|
||||||
timeout-minutes: 15
|
|
||||||
name: Unit Tests
|
|
||||||
runs-on: ubuntu-latest-16
|
|
||||||
needs: build
|
|
||||||
steps:
|
|
||||||
- name: Setup node
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: 20
|
|
||||||
check-latest: true
|
|
||||||
|
|
||||||
# we use bun for some test suites
|
|
||||||
- name: Setup bun
|
|
||||||
uses: oven-sh/setup-bun@v1
|
|
||||||
with:
|
|
||||||
bun-version: 1.0.21
|
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v2
|
|
||||||
with:
|
|
||||||
version: 8
|
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
|
||||||
timeout-minutes: 5
|
|
||||||
id: restore-build
|
|
||||||
with:
|
|
||||||
path: ./*
|
|
||||||
key: ${{ github.sha }}-${{ github.run_number }}
|
|
||||||
|
|
||||||
- run: pnpm test
|
|
||||||
|
|
||||||
- name: Upload coverage reports to Codecov
|
|
||||||
uses: codecov/codecov-action@v3
|
|
||||||
with:
|
|
||||||
files: ./packages/sdk/coverage/evm/lcov.info
|
|
||||||
|
|
||||||
e2e:
|
|
||||||
timeout-minutes: 15
|
|
||||||
name: E2E Tests
|
|
||||||
runs-on: ubuntu-latest-16
|
|
||||||
needs: build
|
|
||||||
steps:
|
|
||||||
- name: Setup node
|
|
||||||
uses: actions/setup-node@v3
|
|
||||||
with:
|
|
||||||
node-version: 20
|
|
||||||
check-latest: true
|
|
||||||
|
|
||||||
# we use bun for some test suites
|
|
||||||
- name: Setup bun
|
|
||||||
uses: oven-sh/setup-bun@v1
|
|
||||||
with:
|
|
||||||
bun-version: 1.0.21
|
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v2
|
|
||||||
with:
|
|
||||||
version: 8
|
|
||||||
|
|
||||||
- uses: actions/cache@v3
|
|
||||||
timeout-minutes: 5
|
|
||||||
id: restore-build
|
|
||||||
with:
|
|
||||||
path: ./*
|
|
||||||
key: ${{ github.sha }}-${{ github.run_number }}
|
|
||||||
|
|
||||||
- name: Install Playwright
|
|
||||||
run: npx playwright install --with-deps
|
|
||||||
|
|
||||||
- name: Run e2e tests
|
|
||||||
run: pnpm e2e
|
|
||||||
env:
|
|
||||||
NODE_OPTIONS: "--max_old_space_size=4096"
|
|
||||||
CLI_E2E_API_KEY: ${{ secrets.CLI_E2E_API_KEY }}
|
|
||||||
@@ -13,12 +13,16 @@ name: "CodeQL"
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "main" ]
|
branches: ["main"]
|
||||||
pull_request:
|
pull_request:
|
||||||
# The branches below must be a subset of the branches above
|
# The branches below must be a subset of the branches above
|
||||||
branches: [ "main" ]
|
branches: ["main"]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '37 9 * * 3'
|
- cron: "37 9 * * 3"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
@@ -32,41 +36,40 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
language: [ 'javascript' ]
|
language: ["javascript"]
|
||||||
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
||||||
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v2
|
uses: github/codeql-action/init@v3
|
||||||
with:
|
with:
|
||||||
languages: ${{ matrix.language }}
|
languages: ${{ matrix.language }}
|
||||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||||
# By default, queries listed here will override any specified in a config file.
|
# By default, queries listed here will override any specified in a config file.
|
||||||
# Prefix the list here with "+" to use these queries and those in the config file.
|
# Prefix the list here with "+" to use these queries and those in the config file.
|
||||||
|
|
||||||
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
|
||||||
# queries: security-extended,security-and-quality
|
|
||||||
|
|
||||||
|
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
||||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
# queries: security-extended,security-and-quality
|
||||||
# If this step fails, then you should remove it and run the build manually (see below)
|
|
||||||
- name: Autobuild
|
|
||||||
uses: github/codeql-action/autobuild@v2
|
|
||||||
|
|
||||||
# ℹ️ Command-line programs to run using the OS shell.
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||||
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
# If this step fails, then you should remove it and run the build manually (see below)
|
||||||
|
- name: Autobuild
|
||||||
|
uses: github/codeql-action/autobuild@v3
|
||||||
|
|
||||||
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
# ℹ️ Command-line programs to run using the OS shell.
|
||||||
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
||||||
|
|
||||||
# - run: |
|
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
||||||
# echo "Run, Build Application using script"
|
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
||||||
# ./location_of_script_within_repo/buildscript.sh
|
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
# - run: |
|
||||||
uses: github/codeql-action/analyze@v2
|
# echo "Run, Build Application using script"
|
||||||
|
# ./location_of_script_within_repo/buildscript.sh
|
||||||
|
|
||||||
|
- name: Perform CodeQL Analysis
|
||||||
|
uses: github/codeql-action/analyze@v3
|
||||||
|
|||||||
@@ -10,21 +10,27 @@ on:
|
|||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
# cancel any previous runs if they were started before this one
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
env:
|
||||||
|
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
||||||
|
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
||||||
|
TW_SECRET_KEY: ${{ secrets.TW_SECRET_KEY }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release-artifacts:
|
release-artifacts:
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
runs-on: ubuntu-latest-16
|
runs-on: ubuntu-latest-16
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout branch
|
- name: Checkout branch
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
# bun setup is required, because pnpm typdoc will run pnpm build and some packages uses bun for build
|
# bun setup is required, because pnpm typdoc will run pnpm build and some packages uses bun for build
|
||||||
- name: Setup bun
|
- name: Setup bun
|
||||||
uses: oven-sh/setup-bun@v1
|
uses: oven-sh/setup-bun@v1
|
||||||
with:
|
with:
|
||||||
bun-version: 1.0.21
|
bun-version: 1.0.35
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: ./.github/composite-actions/install
|
uses: ./.github/composite-actions/install
|
||||||
@@ -37,7 +43,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Generate Docs
|
- name: Generate Docs
|
||||||
run: |
|
run: |
|
||||||
cd packages/sdk
|
cd legacy_packages/sdk
|
||||||
pnpm generate-docs
|
pnpm generate-docs
|
||||||
cd ../react-core
|
cd ../react-core
|
||||||
pnpm generate-docs
|
pnpm generate-docs
|
||||||
@@ -53,12 +59,13 @@ jobs:
|
|||||||
git config --local user.email "[email protected]"
|
git config --local user.email "[email protected]"
|
||||||
git config --local user.name "GitHub Action"
|
git config --local user.name "GitHub Action"
|
||||||
git status
|
git status
|
||||||
git add packages/react/typedoc/documentation.json.gz
|
git add legacy_packages/react/typedoc/documentation.json.gz
|
||||||
git add packages/react-core/typedoc/documentation.json.gz
|
git add legacy_packages/react-core/typedoc/documentation.json.gz
|
||||||
git add packages/react-native/typedoc/documentation.json.gz
|
git add legacy_packages/react-native/typedoc/documentation.json.gz
|
||||||
git add packages/sdk/typedoc/documentation.json.gz
|
git add legacy_packages/sdk/typedoc/documentation.json.gz
|
||||||
git add packages/storage/typedoc/documentation.json.gz
|
git add legacy_packages/storage/typedoc/documentation.json.gz
|
||||||
git add packages/wallets/typedoc/documentation.json.gz
|
git add legacy_packages/wallets/typedoc/documentation.json.gz
|
||||||
|
git add packages/thirdweb/typedoc/documentation.json.gz
|
||||||
git add snippets/feature_snippets_react.json
|
git add snippets/feature_snippets_react.json
|
||||||
git add snippets/feature_snippets_sdk.json
|
git add snippets/feature_snippets_sdk.json
|
||||||
git add snippets/snippets.json
|
git add snippets/snippets.json
|
||||||
|
|||||||
@@ -1,47 +0,0 @@
|
|||||||
name: Release Next
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- ".changeset/**"
|
|
||||||
- "packages/**"
|
|
||||||
branches:
|
|
||||||
- next
|
|
||||||
|
|
||||||
env:
|
|
||||||
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
|
|
||||||
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.ref }}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
release:
|
|
||||||
name: Release
|
|
||||||
timeout-minutes: 30
|
|
||||||
runs-on: ubuntu-latest-16
|
|
||||||
steps:
|
|
||||||
- name: Checkout branch
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Setup bun
|
|
||||||
uses: oven-sh/setup-bun@v1
|
|
||||||
with:
|
|
||||||
bun-version: 1.0.21
|
|
||||||
|
|
||||||
- name: Install
|
|
||||||
uses: ./.github/composite-actions/install
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: pnpm build
|
|
||||||
|
|
||||||
- name: Create @next release
|
|
||||||
run: |
|
|
||||||
git checkout next
|
|
||||||
pnpm version-packages:next
|
|
||||||
pnpm release:next
|
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: get pull request ref
|
- name: get pull request ref
|
||||||
id: get_pull_request_ref
|
id: get_pull_request_ref
|
||||||
uses: octokit/request-action@v2.1.0
|
uses: octokit/request-action@v2.2.0
|
||||||
with:
|
with:
|
||||||
route: GET /repos/{owner}/{repository}/pulls/{issue_id}
|
route: GET /repos/{owner}/{repository}/pulls/{issue_id}
|
||||||
owner: ${{ github.repository_owner }}
|
owner: ${{ github.repository_owner }}
|
||||||
@@ -61,7 +61,7 @@ jobs:
|
|||||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
||||||
- name: pull the repo.
|
- name: pull the repo.
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
persist-credentials: true
|
persist-credentials: true
|
||||||
repository: ${{ fromJson(steps.get_pull_request_ref.outputs.data).head.repo.full_name }}
|
repository: ${{ fromJson(steps.get_pull_request_ref.outputs.data).head.repo.full_name }}
|
||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
- name: Setup bun
|
- name: Setup bun
|
||||||
uses: oven-sh/setup-bun@v1
|
uses: oven-sh/setup-bun@v1
|
||||||
with:
|
with:
|
||||||
bun-version: 1.0.21
|
bun-version: 1.0.35
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: ./.github/composite-actions/install
|
uses: ./.github/composite-actions/install
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- ".changeset/**"
|
- ".changeset/**"
|
||||||
- "packages/**"
|
- "packages/**"
|
||||||
|
- "legacy_packages/**"
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
@@ -25,7 +26,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest-16
|
runs-on: ubuntu-latest-16
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout branch
|
- name: Checkout branch
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
# Do not use the GITHUB_TOKEN by default
|
# Do not use the GITHUB_TOKEN by default
|
||||||
@@ -34,7 +35,7 @@ jobs:
|
|||||||
- name: Setup bun
|
- name: Setup bun
|
||||||
uses: oven-sh/setup-bun@v1
|
uses: oven-sh/setup-bun@v1
|
||||||
with:
|
with:
|
||||||
bun-version: 1.0.21
|
bun-version: 1.0.35
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
uses: ./.github/composite-actions/install
|
uses: ./.github/composite-actions/install
|
||||||
|
|||||||
@@ -10,16 +10,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install bun
|
- name: Install bun
|
||||||
uses: oven-sh/setup-bun@v1
|
uses: oven-sh/setup-bun@v1
|
||||||
with:
|
with:
|
||||||
bun-version: 1.0.21
|
bun-version: 1.0.35
|
||||||
|
|
||||||
- name: Run chains sync
|
- name: Run chains sync
|
||||||
run: bun run db:sync
|
run: bun run db:sync
|
||||||
working-directory: ./packages/chains
|
working-directory: ./legacy_packages/chains
|
||||||
|
|
||||||
- name: Check for Changes
|
- name: Check for Changes
|
||||||
id: git-check
|
id: git-check
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create or Update Pull Request
|
- name: Create or Update Pull Request
|
||||||
if: env.CHANGES_FOUND == 'true'
|
if: env.CHANGES_FOUND == 'true'
|
||||||
uses: peter-evans/create-pull-request@v3
|
uses: peter-evans/create-pull-request@v6
|
||||||
with:
|
with:
|
||||||
title: "chore(chains): update chains"
|
title: "chore(chains): update chains"
|
||||||
branch: "sync-chains"
|
branch: "sync-chains"
|
||||||
|
|||||||
+2
-2
@@ -10,7 +10,7 @@ dist-ssr
|
|||||||
.cache
|
.cache
|
||||||
server/dist
|
server/dist
|
||||||
public/dist
|
public/dist
|
||||||
./packages/contracts-js/abis
|
./legacy_packages/contracts-js/abis
|
||||||
.idea/
|
.idea/
|
||||||
.yalc/
|
.yalc/
|
||||||
yalc.lock
|
yalc.lock
|
||||||
@@ -20,4 +20,4 @@ playwright-report/
|
|||||||
.env/
|
.env/
|
||||||
|
|
||||||
# Artifacts
|
# Artifacts
|
||||||
packages/cli/artifacts/
|
legacy_packages/cli/artifacts/
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<br />
|
<br />
|
||||||
<a href="https://thirdweb.com">
|
<a href="https://thirdweb.com">
|
||||||
<img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
|
<img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
|
||||||
<br />
|
<br />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -18,9 +18,6 @@
|
|||||||
|
|
||||||
<p align="center"><strong>All-in-one web3 SDK for Browser, Node and Mobile apps</strong></p>
|
<p align="center"><strong>All-in-one web3 SDK for Browser, Node and Mobile apps</strong></p>
|
||||||
|
|
||||||
> [!IMPORTANT]
|
|
||||||
> We rewrote the thirdweb SDK from scratch for performance! Head over to the [Beta version unified SDK](https://github.com/thirdweb-dev/js/tree/beta/packages/thirdweb).
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- Support for React & React-Native
|
- Support for React & React-Native
|
||||||
@@ -32,7 +29,7 @@
|
|||||||
- High level contract extensions for interacting with common standards
|
- High level contract extensions for interacting with common standards
|
||||||
- Automatic ABI resolution
|
- Automatic ABI resolution
|
||||||
|
|
||||||
## Library Comparison
|
## Library Comparison
|
||||||
|
|
||||||
| | thirdweb | Wagmi | Viem | Ethers@6 |
|
| | thirdweb | Wagmi | Viem | Ethers@6 |
|
||||||
| ----------------------------------------- | -------- | ------------------ | ------------------ | -------- |
|
| ----------------------------------------- | -------- | ------------------ | ------------------ | -------- |
|
||||||
@@ -53,33 +50,19 @@
|
|||||||
| React Native Hooks | ✅ | ❌ | ❌ | ❌ |
|
| React Native Hooks | ✅ | ❌ | ❌ | ❌ |
|
||||||
| React Native UI Components | ✅ | ❌ | ❌ | ❌ |
|
| React Native UI Components | ✅ | ❌ | ❌ | ❌ |
|
||||||
|
|
||||||
## Packages
|
|
||||||
|
|
||||||
| Package | Description
|
|
||||||
| -----------------------------------------|-----------------------------------------------------------------------------|
|
|
||||||
| [/sdk](./packages/sdk) | Best in class web3 SDK for Browser, Node and Mobile apps |
|
|
||||||
| [/wallets](./packages/wallets) | Unified web3 Wallet library to integrate any wallet into your applications. |
|
|
||||||
| [/react](./packages/react) | Ultimate collection of React hooks for your web3 apps |
|
|
||||||
| [/react-native](./packages/react-native) | Ultimate collection of React hooks for your native mobile web3 apps |
|
|
||||||
| [/auth](./packages/auth) | Best in class wallet authentication for Node backends |
|
|
||||||
| [/storage](./packages/storage) | Best in class decentralized storage SDK for Browser and Node |
|
|
||||||
| [/cli](./packages/cli) | Publish and deploy smart contracts without dealing with private keys |
|
|
||||||
| [/chains](./packages/chains) | All EVM chain information as JS objects for easy handling |
|
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
We welcome contributions from all developers regardless of experience level. If you are interested in contributing, please read our [Contributing Guide](.github/contributing.md) to learn how the repo works, how to test your changes, and how to submit a pull request.
|
We welcome contributions from all developers regardless of experience level. If you are interested in contributing, please read our [Contributing Guide](.github/contributing.md) to learn how the repo works, how to test your changes, and how to submit a pull request.
|
||||||
|
|
||||||
See our [open source page](https://thirdweb.com/open-source) for more information on our open-source bounties and program.
|
See our [open source page](https://thirdweb.com/open-source) for more information on our open-source bounties and program.
|
||||||
|
|
||||||
## Additional Resources
|
## Additional Resources
|
||||||
|
|
||||||
- [SDK Documentation](https://portal.thirdweb.com/typescript/v5)
|
- [Documentation](https://portal.thirdweb.com/typescript/v5)
|
||||||
- [Templates](https://thirdweb.com/templates)
|
- [Templates](https://thirdweb.com/templates)
|
||||||
- [YouTube](https://www.youtube.com/c/thirdweb_)
|
- [YouTube](https://www.youtube.com/c/thirdweb)
|
||||||
|
|
||||||
|
## Support
|
||||||
## Support
|
|
||||||
|
|
||||||
For help or feedback, please [visit our support site](https://thirdweb.com/support)
|
For help or feedback, please [visit our support site](https://thirdweb.com/support)
|
||||||
|
|
||||||
|
|||||||
@@ -14,8 +14,7 @@
|
|||||||
"e2e": "bun run.ts"
|
"e2e": "bun run.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"esbuild": "0.15.17",
|
"esbuild": "0.20.2",
|
||||||
"execa": "^8.0.1",
|
|
||||||
"ora": "^6.3.1"
|
"ora": "^6.3.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { execa } from "execa";
|
import { $ } from "bun";
|
||||||
import fs from "node:fs/promises";
|
import fs from "node:fs/promises";
|
||||||
import ora from "ora";
|
import ora from "ora";
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@ const spinner = ora("Running fixtures: ").start();
|
|||||||
for (const fixture of fixtures) {
|
for (const fixture of fixtures) {
|
||||||
spinner.suffixText = fixture;
|
spinner.suffixText = fixture;
|
||||||
try {
|
try {
|
||||||
await execa("bunx", ["swc", "fixtures/" + fixture]);
|
await $`esbuild fixtures/${fixture} --bundle`.text();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.exitCode !== 0) {
|
if (error.exitCode !== 0) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
@@ -14,9 +14,8 @@
|
|||||||
"e2e": "bun run.ts"
|
"e2e": "bun run.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@swc/cli": "^0.1.63",
|
"@swc/cli": "0.3.10",
|
||||||
"@swc/core": "^1.3.71",
|
"@swc/core": "^1.4.11",
|
||||||
"execa": "^8.0.1",
|
|
||||||
"ora": "^6.3.1"
|
"ora": "^6.3.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { execa } from "execa";
|
import { $ } from "bun";
|
||||||
import fs from "node:fs/promises";
|
import fs from "node:fs/promises";
|
||||||
import ora from "ora";
|
import ora from "ora";
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@ const spinner = ora("Running fixtures: ").start();
|
|||||||
for (const fixture of fixtures) {
|
for (const fixture of fixtures) {
|
||||||
spinner.suffixText = fixture;
|
spinner.suffixText = fixture;
|
||||||
try {
|
try {
|
||||||
await execa("esbuild", ["fixtures/" + fixture, "--bundle"]);
|
await $`bunx swc fixtures/${fixture}`.text();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.exitCode !== 0) {
|
if (error.exitCode !== 0) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
@@ -14,8 +14,7 @@
|
|||||||
"e2e": "bun run.ts"
|
"e2e": "bun run.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"execa": "^8.0.1",
|
|
||||||
"ora": "^6.3.1",
|
"ora": "^6.3.1",
|
||||||
"vite": "^3.2.8"
|
"vite": "^5.2.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { execa } from "execa";
|
import { $ } from "bun";
|
||||||
import fs from "node:fs/promises";
|
import fs from "node:fs/promises";
|
||||||
import ora from "ora";
|
import ora from "ora";
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ for (const fixture of fixtures) {
|
|||||||
`,
|
`,
|
||||||
);
|
);
|
||||||
|
|
||||||
await execa("vite", ["build", "fixtures/"]);
|
await $`vite build fixtures/`.text();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.exitCode !== 0) {
|
if (error.exitCode !== 0) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
@@ -14,9 +14,8 @@
|
|||||||
"e2e": "bun run.ts"
|
"e2e": "bun run.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"execa": "^8.0.1",
|
|
||||||
"ora": "^6.3.1",
|
"ora": "^6.3.1",
|
||||||
"webpack": "^5.89.0",
|
"webpack": "^5.91.0",
|
||||||
"webpack-cli": "^5.1.4"
|
"webpack-cli": "^5.1.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { execa } from "execa";
|
import { $ } from "bun";
|
||||||
import fs from "node:fs/promises";
|
import fs from "node:fs/promises";
|
||||||
import ora from "ora";
|
import ora from "ora";
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@ const spinner = ora("Running fixtures: ").start();
|
|||||||
for (const fixture of fixtures) {
|
for (const fixture of fixtures) {
|
||||||
spinner.suffixText = fixture;
|
spinner.suffixText = fixture;
|
||||||
try {
|
try {
|
||||||
await execa("webpack", ["build", "./fixtures/" + fixture]);
|
await $`webpack build ./fixtures/${fixture} --mode=production`.text();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.exitCode !== 0) {
|
if (error.exitCode !== 0) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
-1
@@ -15,7 +15,6 @@
|
|||||||
"e2e": "bun run.ts"
|
"e2e": "bun run.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"execa": "^8.0.1",
|
|
||||||
"ora": "^6.3.1"
|
"ora": "^6.3.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { execa } from "execa";
|
import { $ } from "bun";
|
||||||
import fs from "node:fs/promises";
|
import fs from "node:fs/promises";
|
||||||
import ora from "ora";
|
import ora from "ora";
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@ const spinner = ora("Running fixtures: ").start();
|
|||||||
for (const fixture of fixtures) {
|
for (const fixture of fixtures) {
|
||||||
spinner.suffixText = fixture;
|
spinner.suffixText = fixture;
|
||||||
try {
|
try {
|
||||||
await execa("node", ["fixtures/" + fixture]);
|
await $`node fixtures/${fixture}`.text();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.exitCode !== 0) {
|
if (error.exitCode !== 0) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
@@ -15,7 +15,6 @@
|
|||||||
"e2e": "bun run.ts"
|
"e2e": "bun run.ts"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"execa": "^8.0.1",
|
|
||||||
"ora": "^6.3.1"
|
"ora": "^6.3.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { execa } from "execa";
|
import { $ } from "bun";
|
||||||
import fs from "node:fs/promises";
|
import fs from "node:fs/promises";
|
||||||
import ora from "ora";
|
import ora from "ora";
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@ const spinner = ora("Running fixtures: ").start();
|
|||||||
for (const fixture of fixtures) {
|
for (const fixture of fixtures) {
|
||||||
spinner.suffixText = fixture;
|
spinner.suffixText = fixture;
|
||||||
try {
|
try {
|
||||||
await execa("node", ["fixtures/" + fixture]);
|
await $`node fixtures/${fixture}`.text();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.exitCode !== 0) {
|
if (error.exitCode !== 0) {
|
||||||
console.error(error);
|
console.error(error);
|
||||||
@@ -1,5 +1,119 @@
|
|||||||
# @thirdweb-dev/auth
|
# @thirdweb-dev/auth
|
||||||
|
|
||||||
|
## 4.1.55
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/wallets@2.4.33
|
||||||
|
|
||||||
|
## 4.1.54
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/wallets@2.4.32
|
||||||
|
|
||||||
|
## 4.1.53
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [[`00be583`](https://github.com/thirdweb-dev/js/commit/00be583b8902a1a0e5382ffdaafa6b9e31316075)]:
|
||||||
|
- @thirdweb-dev/wallets@2.4.31
|
||||||
|
|
||||||
|
## 4.1.52
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/wallets@2.4.30
|
||||||
|
|
||||||
|
## 4.1.51
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/wallets@2.4.29
|
||||||
|
|
||||||
|
## 4.1.50
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- [#2577](https://github.com/thirdweb-dev/js/pull/2577) [`d93286b`](https://github.com/thirdweb-dev/js/commit/d93286bc1f8224d055b50ce3ffa4f302869cb2b1) Thanks [@jnsdls](https://github.com/jnsdls)! - update dependencies
|
||||||
|
|
||||||
|
- Updated dependencies [[`d93286b`](https://github.com/thirdweb-dev/js/commit/d93286bc1f8224d055b50ce3ffa4f302869cb2b1)]:
|
||||||
|
- @thirdweb-dev/wallets@2.4.28
|
||||||
|
|
||||||
|
## 4.1.49
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [[`13f00cf`](https://github.com/thirdweb-dev/js/commit/13f00cf476b126683649a166e9e03b8e3f6599e4)]:
|
||||||
|
- @thirdweb-dev/wallets@2.4.27
|
||||||
|
|
||||||
|
## 4.1.48
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/wallets@2.4.26
|
||||||
|
|
||||||
|
## 4.1.47
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/wallets@2.4.25
|
||||||
|
|
||||||
|
## 4.1.46
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [[`79c9e13`](https://github.com/thirdweb-dev/js/commit/79c9e130fdc6e1f7de1486894a5ac3e6d6776fa4)]:
|
||||||
|
- @thirdweb-dev/wallets@2.4.24
|
||||||
|
|
||||||
|
## 4.1.45
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [[`802ba8c`](https://github.com/thirdweb-dev/js/commit/802ba8c5a980d3bddd308f9b3d14cc9cbb5453d5)]:
|
||||||
|
- @thirdweb-dev/wallets@2.4.23
|
||||||
|
|
||||||
|
## 4.1.44
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/wallets@2.4.22
|
||||||
|
|
||||||
|
## 4.1.43
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/wallets@2.4.21
|
||||||
|
|
||||||
|
## 4.1.42
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/wallets@2.4.20
|
||||||
|
|
||||||
|
## 4.1.41
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies []:
|
||||||
|
- @thirdweb-dev/wallets@2.4.19
|
||||||
|
|
||||||
|
## 4.1.40
|
||||||
|
|
||||||
|
### Patch Changes
|
||||||
|
|
||||||
|
- Updated dependencies [[`cabfc29`](https://github.com/thirdweb-dev/js/commit/cabfc29119f25a78010f59f766bdcb8c392afa2d)]:
|
||||||
|
- @thirdweb-dev/wallets@2.4.18
|
||||||
|
|
||||||
## 4.1.39
|
## 4.1.39
|
||||||
|
|
||||||
### Patch Changes
|
### Patch Changes
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<br />
|
<br />
|
||||||
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
|
<a href="https://thirdweb.com"><img src="https://github.com/thirdweb-dev/js/blob/main/legacy_packages/sdk/logo.svg?raw=true" width="200" alt=""/></a>
|
||||||
<br />
|
<br />
|
||||||
</p>
|
</p>
|
||||||
<h1 align="center">thirdweb Auth</h1>
|
<h1 align="center">thirdweb Auth</h1>
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@thirdweb-dev/auth",
|
"name": "@thirdweb-dev/auth",
|
||||||
"version": "4.1.39",
|
"version": "4.1.55",
|
||||||
"main": "dist/thirdweb-dev-auth.cjs.js",
|
"main": "dist/thirdweb-dev-auth.cjs.js",
|
||||||
"module": "dist/thirdweb-dev-auth.esm.js",
|
"module": "dist/thirdweb-dev-auth.esm.js",
|
||||||
"browser": {
|
"browser": {
|
||||||
@@ -51,17 +51,17 @@
|
|||||||
},
|
},
|
||||||
"./package.json": "./package.json"
|
"./package.json": "./package.json"
|
||||||
},
|
},
|
||||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/auth",
|
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/auth",
|
||||||
"author": "thirdweb eng <[email protected]>",
|
"author": "thirdweb eng <[email protected]>",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "preconstruct build",
|
"build": "preconstruct build",
|
||||||
"format": "prettier --write 'src/**/*'",
|
"format": "prettier --write 'src/**/*'",
|
||||||
"lint": "eslint src/ && bunx publint --strict --level warning",
|
"lint": "eslint src/",
|
||||||
"fix": "eslint src/ --fix",
|
"fix": "eslint src/ --fix",
|
||||||
"clean": "rm -rf dist/ && rm -rf node_modules/",
|
"clean": "rm -rf dist/ && rm -rf node_modules/",
|
||||||
"test": "mocha --config './test/.mocharc.json' --timeout 30000 --parallel './test/**/*.test.ts'",
|
"test": "vitest",
|
||||||
"push": "yalc push"
|
"push": "yalc push"
|
||||||
},
|
},
|
||||||
"preconstruct": {
|
"preconstruct": {
|
||||||
@@ -80,48 +80,37 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.23.7",
|
"@microsoft/api-documenter": "^7.24.1",
|
||||||
"@babel/preset-env": "^7.23.8",
|
"@microsoft/api-extractor": "^7.43.0",
|
||||||
"@babel/preset-typescript": "^7.23.3",
|
"@microsoft/tsdoc": "^0.14.2",
|
||||||
"@microsoft/api-documenter": "^7.22.30",
|
|
||||||
"@microsoft/api-extractor": "^7.36.3",
|
|
||||||
"@microsoft/tsdoc": "^0.14.1",
|
|
||||||
"@preconstruct/cli": "2.7.0",
|
"@preconstruct/cli": "2.7.0",
|
||||||
"@swc-node/register": "^1.6.8",
|
"@swc-node/register": "^1.9.0",
|
||||||
"@swc/core": "^1.3.71",
|
"@swc/core": "^1.4.11",
|
||||||
"@thirdweb-dev/tsconfig": "workspace:*",
|
"@thirdweb-dev/tsconfig": "workspace:*",
|
||||||
"@types/chai": "^4.3.5",
|
"@types/cookie": "^0.6.0",
|
||||||
"@types/cookie": "^0.5.1",
|
"@types/cookie-parser": "^1.4.7",
|
||||||
"@types/cookie-parser": "^1.4.3",
|
"@types/express": "^4.17.21",
|
||||||
"@types/express": "^4.17.13",
|
"@types/uuid": "^9.0.8",
|
||||||
"@types/mocha": "^10.0.0",
|
|
||||||
"@types/uuid": "^9.0.5",
|
|
||||||
"@typescript-eslint/eslint-plugin": "^6.2.0",
|
|
||||||
"@typescript-eslint/parser": "^6.19.1",
|
|
||||||
"chai": "^4.3.6",
|
|
||||||
"cookie-parser": "^1.4.6",
|
"cookie-parser": "^1.4.6",
|
||||||
"eslint": "^8.56.0",
|
"eslint": "^8.57.0",
|
||||||
"eslint-config-prettier": "^8.9.0",
|
|
||||||
"eslint-config-thirdweb": "workspace:*",
|
"eslint-config-thirdweb": "workspace:*",
|
||||||
"eslint-plugin-import": "^2.26.0",
|
"eslint-plugin-import": "^2.29.1",
|
||||||
"eslint-plugin-inclusive-language": "^2.2.0",
|
"eslint-plugin-inclusive-language": "^2.2.1",
|
||||||
"eslint-plugin-prettier": "^5.0.0",
|
"eslint-plugin-prettier": "^5.1.3",
|
||||||
"eslint-plugin-tsdoc": "^0.2.16",
|
"eslint-plugin-tsdoc": "^0.2.17",
|
||||||
"ethers": "^5.7.2",
|
"ethers": "^5.7.2",
|
||||||
"express": "^4.18.1",
|
"express": "^4.19.2",
|
||||||
"fastify": "^4.25.2",
|
"fastify": "^4.26.2",
|
||||||
"mocha": "^10.2.0",
|
"next": "^13.5.6",
|
||||||
"next": "^13.4",
|
"next-auth": "^4.24.7",
|
||||||
"next-auth": "^4.22.3",
|
"typescript": "5.4.3"
|
||||||
"prettier": "^3.1.1",
|
|
||||||
"typescript": "^5.3.3"
|
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"cookie-parser": "^1.4.6",
|
"cookie-parser": "^1.4.6",
|
||||||
"ethers": "^5",
|
"ethers": "^5",
|
||||||
"express": "^4",
|
"express": "^4",
|
||||||
"fastify": "^4.25.2",
|
"fastify": "^4.25.2",
|
||||||
"next": "^12 || ^13 || ^14",
|
"next": "^13.4 || ^14",
|
||||||
"next-auth": "^4"
|
"next-auth": "^4"
|
||||||
},
|
},
|
||||||
"peerDependenciesMeta": {
|
"peerDependenciesMeta": {
|
||||||
@@ -145,12 +134,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fastify/cookie": "^9.1.0",
|
"@fastify/cookie": "^9.3.1",
|
||||||
"@thirdweb-dev/wallets": "workspace:*",
|
"@thirdweb-dev/wallets": "workspace:*",
|
||||||
"cookie": "^0.5.0",
|
"cookie": "^0.6.0",
|
||||||
"fastify-type-provider-zod": "^1.1.9",
|
"fastify-type-provider-zod": "^1.1.9",
|
||||||
"uuid": "^9.0.1",
|
"uuid": "^9.0.1",
|
||||||
"zod": "^3.22.3"
|
"zod": "^3.22.4"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user