Compare commits
21
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
429f2d3291 | ||
|
|
27ef292377 | ||
|
|
9962f99ecf | ||
|
|
bdeb6734ce | ||
|
|
fdbc2cc9a7 | ||
|
|
91af89349f | ||
|
|
7f2ec9c2dc | ||
|
|
c05e2a325b | ||
|
|
913a801111 | ||
|
|
597900bdcc | ||
|
|
bfdfc23e3a | ||
|
|
48e6427d65 | ||
|
|
7f4caf0627 | ||
|
|
8ae8e6a702 | ||
|
|
d2aead486e | ||
|
|
62c799d348 | ||
|
|
99298b397c | ||
|
|
e98405e676 | ||
|
|
272e0ebf05 | ||
|
|
fa4bd436e0 | ||
|
|
674fcc7e95 |
@@ -1,5 +1,12 @@
|
||||
# @thirdweb-dev/auth
|
||||
|
||||
## 4.1.71
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies []:
|
||||
- @thirdweb-dev/wallets@2.5.13
|
||||
|
||||
## 4.1.70
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/auth",
|
||||
"version": "4.1.70",
|
||||
"version": "4.1.71",
|
||||
"main": "dist/thirdweb-dev-auth.cjs.js",
|
||||
"module": "dist/thirdweb-dev-auth.esm.js",
|
||||
"browser": {
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @thirdweb-dev/chains
|
||||
|
||||
## 0.1.103
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2865](https://github.com/thirdweb-dev/js/pull/2865) [`7f2ec9c`](https://github.com/thirdweb-dev/js/commit/7f2ec9c2dca528e736d94b65525aacc1e2f3f28c) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
|
||||
|
||||
## 0.1.102
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -35,14 +35,16 @@ export default {
|
||||
"chain": "eip155-11155111",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://op-bridge.alt.technology/deposit?id=111557560"
|
||||
"url": "https://cyber-testnet-bridge.alt.technology/deposit"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rpc": [
|
||||
"https://111557560.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://cyber-testnet.alt.technology/",
|
||||
"wss://cyber-testnet.alt.technology/ws"
|
||||
"wss://cyber-testnet.alt.technology/ws",
|
||||
"https://rpc.testnet.cyber.co/",
|
||||
"wss://rpc.testnet.cyber.co/"
|
||||
],
|
||||
"shortName": "cysep",
|
||||
"slug": "cyber-testnet",
|
||||
|
||||
@@ -0,0 +1,37 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Omni",
|
||||
"chainId": 164,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "Omni X-Explorer",
|
||||
"url": "https://explorer.testnet.omni.network",
|
||||
"standard": "none"
|
||||
},
|
||||
{
|
||||
"name": "Omni EVM Explorer on Blockscout",
|
||||
"url": "https://omni-testnet.blockscout.com",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
}
|
||||
],
|
||||
"infoURL": "https://docs.omni.network",
|
||||
"name": "Omni Testnet (incubating)",
|
||||
"nativeCurrency": {
|
||||
"name": "Omni",
|
||||
"symbol": "OMNI",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 164,
|
||||
"rpc": [],
|
||||
"shortName": "omni_testnet_164",
|
||||
"slip44": 1,
|
||||
"slug": "omni-testnet-incubating",
|
||||
"status": "incubating",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 26563,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "QIM2404261",
|
||||
"nativeCurrency": {
|
||||
"name": "QIM2404261 Token",
|
||||
"symbol": "YCW",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 26563,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://26563.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "QIM2404261",
|
||||
"slug": "qim2404261",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 26730,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "Testnet-AJJ",
|
||||
"nativeCurrency": {
|
||||
"name": "Testnet-AJJ Token",
|
||||
"symbol": "AJJ",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 26730,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://26730.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/defi-kingdoms/dfk-chain/rpc"
|
||||
],
|
||||
"shortName": "Testnet-AJJ",
|
||||
"slug": "testnet-ajj",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,43 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "dchaint",
|
||||
"chainId": 2713017997578000,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "dchaint scan",
|
||||
"url": "https://dchaintestnet-2713017997578000-1.testnet.sagaexplorer.io",
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
},
|
||||
{
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmP2cDWvgMuPgwAAEX9KexowUEjw6q7zCUSsWcb8HdudUH",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.dchain.foundation/",
|
||||
"name": "DCHAIN Testnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
"symbol": "ETH",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 2713017997578000,
|
||||
"rpc": [
|
||||
"https://2713017997578000.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://dchaintestnet-2713017997578000-1.jsonrpc.testnet.sagarpc.io"
|
||||
],
|
||||
"shortName": "dchaint",
|
||||
"slug": "dchain-testnet",
|
||||
"testnet": true,
|
||||
"title": "DCHAIN Testnet"
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 56636,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "QI0429I3",
|
||||
"nativeCurrency": {
|
||||
"name": "QI0429I3 Token",
|
||||
"symbol": "IJK",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 56636,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://56636.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avacloud-test.io/b6421f40-aa32-4cdc-98f2-bf22d0db7b4f"
|
||||
],
|
||||
"shortName": "QI0429I3",
|
||||
"slug": "qi0429i3",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -42,7 +42,9 @@ export default {
|
||||
"rpc": [
|
||||
"https://7560.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://cyber.alt.technology/",
|
||||
"wss://cyber-ws.alt.technology/"
|
||||
"wss://cyber-ws.alt.technology/",
|
||||
"https://rpc.cyber.co/",
|
||||
"wss://rpc.cyber.co/"
|
||||
],
|
||||
"shortName": "cyeth",
|
||||
"slug": "cyber",
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "GDCC",
|
||||
"chainId": 7775,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "GDCC",
|
||||
"url": "https://testnet.gdccscan.io",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmY4vp1mJoGpUiuWbRVenNiDZC17wSyyueGPK9A5QyK1M2",
|
||||
"width": 72,
|
||||
"height": 72,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://gdcchain.com",
|
||||
"name": "GDCC TESTNET",
|
||||
"nativeCurrency": {
|
||||
"name": "GDCC",
|
||||
"symbol": "GDCC",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 7775,
|
||||
"rpc": [
|
||||
"https://7775.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://testnet-rpc1.gdccscan.io"
|
||||
],
|
||||
"shortName": "GDCC",
|
||||
"slug": "gdcc-testnet",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -15,14 +15,24 @@ export default {
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"faucets": [
|
||||
"https://www.campnetwork.xyz/faucet"
|
||||
],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
},
|
||||
{
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://Qmd5ux27W44fjxHP2opz7eLhJ6CJJm9WR6VcKNhbQBxiSd/QOyzwbO2_400x400.jpg",
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"format": "jpg"
|
||||
},
|
||||
"infoURL": "https://campaign-1.gitbook.io/camp-technical-docså",
|
||||
"name": "Camp Network",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
@@ -30,12 +40,23 @@ export default {
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 90354,
|
||||
"parent": {
|
||||
"type": "L2",
|
||||
"chain": "eip155-1",
|
||||
"bridges": [
|
||||
{
|
||||
"url": "https://camp-testnet-bridge.vercel.app/"
|
||||
}
|
||||
]
|
||||
},
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://90354.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://rpc-camp-network-4xje7wy105.t.conduit.xyz/"
|
||||
"https://rpc-camp-network-4xje7wy105.t.conduit.xyz/",
|
||||
"https://rpc-camp-network-4xje7wy105.t.conduit.xyz"
|
||||
],
|
||||
"shortName": "campaign-l2",
|
||||
"slip44": 1,
|
||||
"slug": "camp-network",
|
||||
"testnet": false
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 982558,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "QR0429T1TS",
|
||||
"nativeCurrency": {
|
||||
"name": "QR0429T1TS Token",
|
||||
"symbol": "EXT",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 982558,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://982558.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/qr0429t1ts/testnet/rpc"
|
||||
],
|
||||
"shortName": "QR0429T1TS",
|
||||
"slug": "qr0429t1ts",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,30 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "Avalanche",
|
||||
"chainId": 995201,
|
||||
"explorers": [],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "https://images.ctfassets.net/9bazykntljf6/62CceHSYsRS4D9fgDSkLRB/877cb8f26954e1743ff535fd7fdaf78f/avacloud-placeholder.svg",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://avacloud.io",
|
||||
"name": "QR0426T1TS",
|
||||
"nativeCurrency": {
|
||||
"name": "QR0426T1TS Token",
|
||||
"symbol": "XOF",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 995201,
|
||||
"redFlags": [],
|
||||
"rpc": [
|
||||
"https://995201.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://subnets.avax.network/qr0426t1ts/testnet/rpc"
|
||||
],
|
||||
"shortName": "QR0426T1TS",
|
||||
"slug": "qr0426t1ts",
|
||||
"testnet": true
|
||||
} as const satisfies Chain;
|
||||
@@ -0,0 +1,43 @@
|
||||
import type { Chain } from "../src/types";
|
||||
export default {
|
||||
"chain": "AmChain",
|
||||
"chainId": 999999,
|
||||
"explorers": [
|
||||
{
|
||||
"name": "AMCAmChain explorer",
|
||||
"url": "https://explorer.amchain.net",
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [
|
||||
{
|
||||
"name": "EIP155"
|
||||
},
|
||||
{
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://Qmb6VAhhtaJmdaW1j7PAjxaLju1V24PPDFBdXtebyTSfsZ",
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://hewe.io/",
|
||||
"name": "AmChain",
|
||||
"nativeCurrency": {
|
||||
"name": "AMC",
|
||||
"symbol": "AMC",
|
||||
"decimals": 18
|
||||
},
|
||||
"networkId": 999999,
|
||||
"rpc": [
|
||||
"https://999999.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
|
||||
"https://node1.amchain.net"
|
||||
],
|
||||
"shortName": "AMC",
|
||||
"slug": "amchain",
|
||||
"testnet": false,
|
||||
"title": "AMC"
|
||||
} as const satisfies Chain;
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/chains",
|
||||
"version": "0.1.102",
|
||||
"version": "0.1.103",
|
||||
"main": "dist/thirdweb-dev-chains.cjs.js",
|
||||
"module": "dist/thirdweb-dev-chains.esm.js",
|
||||
"exports": {
|
||||
@@ -13,7 +13,7 @@
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"devDependencies": {
|
||||
"eslint": "8.57.0",
|
||||
"@babel/runtime": "^7.24.4",
|
||||
"@babel/runtime": "^7.24.5",
|
||||
"@preconstruct/cli": "2.7.0",
|
||||
"@thirdweb-dev/tsconfig": "workspace:*",
|
||||
"eslint-config-thirdweb": "workspace:*",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,5 +1,15 @@
|
||||
# thirdweb
|
||||
|
||||
## 0.13.79
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`7f2ec9c`](https://github.com/thirdweb-dev/js/commit/7f2ec9c2dca528e736d94b65525aacc1e2f3f28c)]:
|
||||
- @thirdweb-dev/chains@0.1.103
|
||||
- @thirdweb-dev/sdk@4.0.73
|
||||
- @thirdweb-dev/wallets@2.5.13
|
||||
- @thirdweb-dev/auth@4.1.71
|
||||
|
||||
## 0.13.78
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/cli",
|
||||
"main": "dist/cli/index.js",
|
||||
"version": "0.13.78",
|
||||
"version": "0.13.79",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/cli",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
# @thirdweb-dev/react-core
|
||||
|
||||
## 4.6.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`7f2ec9c`](https://github.com/thirdweb-dev/js/commit/7f2ec9c2dca528e736d94b65525aacc1e2f3f28c)]:
|
||||
- @thirdweb-dev/chains@0.1.103
|
||||
- @thirdweb-dev/sdk@4.0.73
|
||||
- @thirdweb-dev/wallets@2.5.13
|
||||
- @thirdweb-dev/auth@4.1.71
|
||||
|
||||
## 4.6.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react-core",
|
||||
"version": "4.6.11",
|
||||
"version": "4.6.12",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-core",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
@@ -58,7 +58,7 @@
|
||||
"sideEffects:": false,
|
||||
"devDependencies": {
|
||||
"@babel/preset-react": "^7.24.1",
|
||||
"@babel/runtime": "^7.24.4",
|
||||
"@babel/runtime": "^7.24.5",
|
||||
"@microsoft/api-documenter": "^7.24.1",
|
||||
"@microsoft/api-extractor": "^7.43.0",
|
||||
"@microsoft/tsdoc": "^0.14.2",
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,7 @@
|
||||
# @thirdweb-dev/react-native-compat
|
||||
|
||||
## 0.7.44
|
||||
|
||||
## 0.7.43
|
||||
|
||||
## 0.7.42
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react-native-compat",
|
||||
"description": "Shims for Thirdweb in React Native Projects",
|
||||
"version": "0.7.43",
|
||||
"version": "0.7.44",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-native-compat",
|
||||
"license": "Apache-2.0",
|
||||
@@ -22,7 +22,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@ethersproject/shims": "^5.7.0",
|
||||
"@walletconnect/react-native-compat": "2.12.1",
|
||||
"@walletconnect/react-native-compat": "2.12.2",
|
||||
"base-64": "^1.0.0",
|
||||
"big-integer": "^1.6.52",
|
||||
"react-native-get-random-values": "^1.11.0",
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
# @thirdweb-dev/react-native
|
||||
|
||||
## 0.7.44
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`7f2ec9c`](https://github.com/thirdweb-dev/js/commit/7f2ec9c2dca528e736d94b65525aacc1e2f3f28c)]:
|
||||
- @thirdweb-dev/chains@0.1.103
|
||||
- @thirdweb-dev/sdk@4.0.73
|
||||
- @thirdweb-dev/react-core@4.6.12
|
||||
- @thirdweb-dev/wallets@2.5.13
|
||||
|
||||
## 0.7.43
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react-native",
|
||||
"version": "0.7.43",
|
||||
"version": "0.7.44",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-native",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,15 @@
|
||||
# @thirdweb-dev/react
|
||||
|
||||
## 4.6.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`7f2ec9c`](https://github.com/thirdweb-dev/js/commit/7f2ec9c2dca528e736d94b65525aacc1e2f3f28c)]:
|
||||
- @thirdweb-dev/chains@0.1.103
|
||||
- @thirdweb-dev/sdk@4.0.73
|
||||
- @thirdweb-dev/react-core@4.6.12
|
||||
- @thirdweb-dev/wallets@2.5.13
|
||||
|
||||
## 4.6.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react",
|
||||
"version": "4.6.11",
|
||||
"version": "4.6.12",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
@@ -72,7 +72,7 @@
|
||||
},
|
||||
"sideEffects:": false,
|
||||
"devDependencies": {
|
||||
"@babel/runtime": "^7.24.4",
|
||||
"@babel/runtime": "^7.24.5",
|
||||
"@microsoft/api-documenter": "^7.24.1",
|
||||
"@microsoft/api-extractor": "^7.43.0",
|
||||
"@microsoft/tsdoc": "^0.14.2",
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,13 @@
|
||||
# @thirdweb-dev/sdk
|
||||
|
||||
## 4.0.73
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`7f4caf0`](https://github.com/thirdweb-dev/js/commit/7f4caf06274ed9a0c753f034f5b8279e618a0644), [`d2aead4`](https://github.com/thirdweb-dev/js/commit/d2aead486e4335130b8fa8d3961c3a99da9a07b3), [`fa4bd43`](https://github.com/thirdweb-dev/js/commit/fa4bd436e01041419b668379103abb2759dc702f), [`bfdfc23`](https://github.com/thirdweb-dev/js/commit/bfdfc23e3aac6cf977774e3905dfe97c8b49d69a), [`597900b`](https://github.com/thirdweb-dev/js/commit/597900bdcc2c51e4623a3c196c5ccf9cc704e12c), [`62c799d`](https://github.com/thirdweb-dev/js/commit/62c799d3484abe54a9c648148e5e207876f8bb46), [`99298b3`](https://github.com/thirdweb-dev/js/commit/99298b397c2fa03e98d8a4a828a483e243815e1d), [`674fcc7`](https://github.com/thirdweb-dev/js/commit/674fcc7e9510e85f67d6ab7b056612a15856e0df), [`48e6427`](https://github.com/thirdweb-dev/js/commit/48e6427d657ec202b8415d716411a6d6b194d185), [`7f2ec9c`](https://github.com/thirdweb-dev/js/commit/7f2ec9c2dca528e736d94b65525aacc1e2f3f28c), [`8ae8e6a`](https://github.com/thirdweb-dev/js/commit/8ae8e6a702d074890c145005a32450fe7ee44b27)]:
|
||||
- thirdweb@5.14.0
|
||||
- @thirdweb-dev/chains@0.1.103
|
||||
|
||||
## 4.0.72
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/sdk",
|
||||
"version": "4.0.72",
|
||||
"version": "4.0.73",
|
||||
"description": "The main thirdweb SDK.",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/sdk",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,15 @@
|
||||
# @thirdweb-dev/unity-js-bridge
|
||||
|
||||
## 0.6.22
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`7f2ec9c`](https://github.com/thirdweb-dev/js/commit/7f2ec9c2dca528e736d94b65525aacc1e2f3f28c)]:
|
||||
- @thirdweb-dev/chains@0.1.103
|
||||
- @thirdweb-dev/sdk@4.0.73
|
||||
- @thirdweb-dev/wallets@2.5.13
|
||||
- @thirdweb-dev/auth@4.1.71
|
||||
|
||||
## 0.6.21
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/unity-js-bridge",
|
||||
"version": "0.6.21",
|
||||
"version": "0.6.22",
|
||||
"main": "dist/thirdweb-unity-bridge.js",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/unity-js-bridge",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
# @thirdweb-dev/wallets
|
||||
|
||||
## 2.5.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`7f2ec9c`](https://github.com/thirdweb-dev/js/commit/7f2ec9c2dca528e736d94b65525aacc1e2f3f28c)]:
|
||||
- @thirdweb-dev/chains@0.1.103
|
||||
- @thirdweb-dev/sdk@4.0.73
|
||||
|
||||
## 2.5.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/wallets",
|
||||
"version": "2.5.12",
|
||||
"version": "2.5.13",
|
||||
"main": "dist/thirdweb-dev-wallets.cjs.js",
|
||||
"module": "dist/thirdweb-dev-wallets.esm.js",
|
||||
"browser": {
|
||||
@@ -541,8 +541,8 @@
|
||||
"@walletconnect/jsonrpc-utils": "^1.0.8",
|
||||
"@walletconnect/modal": "^2.6.2",
|
||||
"@walletconnect/types": "^2.12.1",
|
||||
"@walletconnect/utils": "^2.12.1",
|
||||
"@walletconnect/web3wallet": "^1.11.1",
|
||||
"@walletconnect/utils": "^2.12.2",
|
||||
"@walletconnect/web3wallet": "^1.11.2",
|
||||
"asn1.js": "5.4.1",
|
||||
"bn.js": "5.2.1",
|
||||
"buffer": "^6.0.3",
|
||||
|
||||
Binary file not shown.
+2
-2
@@ -45,12 +45,12 @@
|
||||
"@manypkg/get-packages": "2.2.1",
|
||||
"@playwright/test": "1.31.2",
|
||||
"@types/node": "20.12.7",
|
||||
"turbo": "1.13.2",
|
||||
"turbo": "1.13.3",
|
||||
"yalc": "1.0.0-pre.53"
|
||||
},
|
||||
"_______ALL_PACKAGE_DEV_DEPENDENCIES_GO_IN_HERE_SO_CONSUMERS_DONT_END_UP_INSTALLING_THEM______": "_______ALL_PACKAGE_DEV_DEPENDENCIES_GO_IN_HERE_SO_CONSUMERS_DONT_END_UP_INSTALLING_THEM______",
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "1.7.0",
|
||||
"@biomejs/biome": "1.7.1",
|
||||
"@codspeed/vitest-plugin": "3.1.0",
|
||||
"@size-limit/preset-big-lib": "11.1.2",
|
||||
"@types/bun": "1.0.12",
|
||||
|
||||
@@ -1,5 +1,33 @@
|
||||
# thirdweb
|
||||
|
||||
## 5.14.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#2869](https://github.com/thirdweb-dev/js/pull/2869) [`fa4bd43`](https://github.com/thirdweb-dev/js/commit/fa4bd436e01041419b668379103abb2759dc702f) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Adds the disabled prop to TransactionButton component
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#2881](https://github.com/thirdweb-dev/js/pull/2881) [`7f4caf0`](https://github.com/thirdweb-dev/js/commit/7f4caf06274ed9a0c753f034f5b8279e618a0644) Thanks [@kien-ngo](https://github.com/kien-ngo)! - Fix nonce value for ethers5 adapter
|
||||
|
||||
- [#2874](https://github.com/thirdweb-dev/js/pull/2874) [`d2aead4`](https://github.com/thirdweb-dev/js/commit/d2aead486e4335130b8fa8d3961c3a99da9a07b3) Thanks [@kien-ngo](https://github.com/kien-ngo)! - Docs: update incorrect code snippet for viem adapter
|
||||
|
||||
- [#2882](https://github.com/thirdweb-dev/js/pull/2882) [`bfdfc23`](https://github.com/thirdweb-dev/js/commit/bfdfc23e3aac6cf977774e3905dfe97c8b49d69a) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Better error message for failed smart wallet connections
|
||||
|
||||
- [#2879](https://github.com/thirdweb-dev/js/pull/2879) [`597900b`](https://github.com/thirdweb-dev/js/commit/597900bdcc2c51e4623a3c196c5ccf9cc704e12c) Thanks [@MananTank](https://github.com/MananTank)! - - Add onConnect prop on `AutoConnect` component
|
||||
|
||||
- Call the `onConnect` callback passed to `ConnectButton` and `ConnectEmbed` when wallet is auto-connected
|
||||
|
||||
- [#2866](https://github.com/thirdweb-dev/js/pull/2866) [`62c799d`](https://github.com/thirdweb-dev/js/commit/62c799d3484abe54a9c648148e5e207876f8bb46) Thanks [@MananTank](https://github.com/MananTank)! - Fix exception on passing chain with unknown chainId to ConnectButton
|
||||
|
||||
- [#2872](https://github.com/thirdweb-dev/js/pull/2872) [`99298b3`](https://github.com/thirdweb-dev/js/commit/99298b397c2fa03e98d8a4a828a483e243815e1d) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Add optional `icon` in `ChainOptions` when defining a chain
|
||||
|
||||
- [#2867](https://github.com/thirdweb-dev/js/pull/2867) [`674fcc7`](https://github.com/thirdweb-dev/js/commit/674fcc7e9510e85f67d6ab7b056612a15856e0df) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Fixes single phase drop compatibility across erc20, erc721, and erc1155 contracts
|
||||
|
||||
- [#2883](https://github.com/thirdweb-dev/js/pull/2883) [`48e6427`](https://github.com/thirdweb-dev/js/commit/48e6427d657ec202b8415d716411a6d6b194d185) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Improve docs for verifySignature
|
||||
|
||||
- [#2870](https://github.com/thirdweb-dev/js/pull/2870) [`8ae8e6a`](https://github.com/thirdweb-dev/js/commit/8ae8e6a702d074890c145005a32450fe7ee44b27) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Fix TransactionButton layout shift while loading
|
||||
|
||||
## 5.13.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "thirdweb",
|
||||
"version": "5.13.0",
|
||||
"version": "5.14.0",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/thirdweb-dev/js.git#main"
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
[
|
||||
{
|
||||
"type": "function",
|
||||
"name": "claimCondition",
|
||||
"inputs": [
|
||||
{
|
||||
"name": "_tokenId",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
}
|
||||
],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "startTimestamp",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "maxClaimableSupply",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "supplyClaimed",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "quantityLimitPerWallet",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "merkleRoot",
|
||||
"type": "bytes32",
|
||||
"internalType": "bytes32"
|
||||
},
|
||||
{
|
||||
"name": "pricePerToken",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "currency",
|
||||
"type": "address",
|
||||
"internalType": "address"
|
||||
},
|
||||
{
|
||||
"name": "metadata",
|
||||
"type": "string",
|
||||
"internalType": "string"
|
||||
}
|
||||
],
|
||||
"stateMutability": "view"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
[
|
||||
{
|
||||
"type": "function",
|
||||
"name": "claimCondition",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "startTimestamp",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "maxClaimableSupply",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "supplyClaimed",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "quantityLimitPerWallet",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "merkleRoot",
|
||||
"type": "bytes32",
|
||||
"internalType": "bytes32"
|
||||
},
|
||||
{
|
||||
"name": "pricePerToken",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "currency",
|
||||
"type": "address",
|
||||
"internalType": "address"
|
||||
},
|
||||
{
|
||||
"name": "metadata",
|
||||
"type": "string",
|
||||
"internalType": "string"
|
||||
}
|
||||
],
|
||||
"stateMutability": "view"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,50 @@
|
||||
[
|
||||
{
|
||||
"type": "function",
|
||||
"name": "claimCondition",
|
||||
"inputs": [],
|
||||
"outputs": [
|
||||
{
|
||||
"name": "startTimestamp",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "maxClaimableSupply",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "supplyClaimed",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "quantityLimitPerWallet",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "merkleRoot",
|
||||
"type": "bytes32",
|
||||
"internalType": "bytes32"
|
||||
},
|
||||
{
|
||||
"name": "pricePerToken",
|
||||
"type": "uint256",
|
||||
"internalType": "uint256"
|
||||
},
|
||||
{
|
||||
"name": "currency",
|
||||
"type": "address",
|
||||
"internalType": "address"
|
||||
},
|
||||
{
|
||||
"name": "metadata",
|
||||
"type": "string",
|
||||
"internalType": "string"
|
||||
}
|
||||
],
|
||||
"stateMutability": "view"
|
||||
}
|
||||
]
|
||||
@@ -515,7 +515,7 @@ async function alignTxFromEthers(
|
||||
chainId,
|
||||
to,
|
||||
data: (data ?? undefined) as Hex | undefined,
|
||||
nonce: nonce ? ethers.BigNumber.from(gasPrice).toNumber() : undefined,
|
||||
nonce: nonce ? ethers.BigNumber.from(nonce).toNumber() : undefined,
|
||||
value: value ? ethers.BigNumber.from(value).toBigInt() : undefined,
|
||||
gasPrice: gasPrice
|
||||
? ethers.BigNumber.from(gasPrice).toBigInt()
|
||||
@@ -533,7 +533,7 @@ async function alignTxFromEthers(
|
||||
chainId,
|
||||
to,
|
||||
data: (data ?? undefined) as Hex | undefined,
|
||||
nonce: nonce ? ethers.BigNumber.from(gasPrice).toNumber() : undefined,
|
||||
nonce: nonce ? ethers.BigNumber.from(nonce).toNumber() : undefined,
|
||||
value: value ? ethers.BigNumber.from(value).toBigInt() : undefined,
|
||||
gas: gasLimit ? ethers.BigNumber.from(gasLimit).toBigInt() : undefined,
|
||||
maxFeePerGas: maxFeePerGas
|
||||
@@ -550,7 +550,7 @@ async function alignTxFromEthers(
|
||||
chainId,
|
||||
to,
|
||||
data: (data ?? undefined) as Hex | undefined,
|
||||
nonce: nonce ? ethers.BigNumber.from(gasPrice).toNumber() : undefined,
|
||||
nonce: nonce ? ethers.BigNumber.from(nonce).toNumber() : undefined,
|
||||
value: value ? ethers.BigNumber.from(value).toBigInt() : undefined,
|
||||
gasPrice: gasPrice
|
||||
? ethers.BigNumber.from(gasPrice).toBigInt()
|
||||
|
||||
@@ -29,7 +29,7 @@ export const viemAdapter = {
|
||||
* @returns The ThirdwebContract.
|
||||
* @example
|
||||
* ```ts
|
||||
* import { viemAdapter } from "thirdweb/adapters";
|
||||
* import { viemAdapter } from "thirdweb/adapters/viem";
|
||||
*
|
||||
* const contract = viemAdapter.contract.fromViem({
|
||||
* viemContract: viemContract,
|
||||
@@ -58,7 +58,7 @@ export const viemAdapter = {
|
||||
* @returns The Viem public client.
|
||||
* @example
|
||||
* ```ts
|
||||
* import { viemAdapter } from "thirdweb/adapters";
|
||||
* import { viemAdapter } from "thirdweb/adapters/viem";
|
||||
*
|
||||
* const publicClient = viemAdapter.publicClient.toViem({
|
||||
* chain: ethereum,
|
||||
@@ -77,10 +77,10 @@ export const viemAdapter = {
|
||||
* @returns The Viem Wallet client.
|
||||
* @example
|
||||
* ```ts
|
||||
* import { viemAdapter } from "thirdweb/adapters";
|
||||
* import { viemAdapter } from "thirdweb/adapters/viem";
|
||||
*
|
||||
* const walletClient = viemAdapter.walletClient.toViem({
|
||||
* wallet: wallet,
|
||||
* account,
|
||||
* client,
|
||||
* chain: ethereum,
|
||||
* });
|
||||
@@ -94,7 +94,7 @@ export const viemAdapter = {
|
||||
* @returns The Account.
|
||||
* @example
|
||||
* ```ts
|
||||
* import { viemAdapter } from "thirdweb/adapters";
|
||||
* import { viemAdapter } from "thirdweb/adapters/viem";
|
||||
*
|
||||
* const account = viemAdapter.walletClient.fromViem({
|
||||
* walletClient,
|
||||
|
||||
@@ -107,7 +107,7 @@ export type VerifySignatureParams = Prettify<
|
||||
/**
|
||||
* Verifies the signature based on the provided options.
|
||||
* Handles smart contract wallet signatures and EOA signatures.
|
||||
* IMPORTANT: in order to check smart contract signatures, a chain and client must be provided.
|
||||
* **IMPORTANT: in order to check smart contract signatures, a chain and client must be provided.**
|
||||
* @param options - The options for signature verification.
|
||||
* @returns A boolean indicating whether the signature is valid or not.
|
||||
* @example
|
||||
@@ -115,9 +115,11 @@ export type VerifySignatureParams = Prettify<
|
||||
* import { verifySignature } from 'thirdweb/auth';
|
||||
*
|
||||
* const isValid = await verifySignature({
|
||||
* message: '0x1234567890123456789012345678901234567890',
|
||||
* signature: '0x1234567890123456789012345678901234567890',
|
||||
* address: '0x1234567890123456789012345678901234567890'
|
||||
* message: 'Your message to sign',
|
||||
* signature: '0x91db0222ec371a8c18d3b187a6d2e77789bffca1b96826ef6b8708e0d4a66c80312fc3ae95b8fbc147265abf539bb6f360152be61a0e1411d7f5771a599e769a1c',
|
||||
* address: '0xda9C7A86AeE76701FC1c23ae548e8E93Ba3e42A5',
|
||||
* client: thirdwebClient,
|
||||
* chain: chain
|
||||
* });
|
||||
* ```
|
||||
* @auth
|
||||
|
||||
@@ -6,6 +6,7 @@ export type ChainOptions = {
|
||||
id: number;
|
||||
name?: string;
|
||||
rpc?: string;
|
||||
icon?: Icon;
|
||||
nativeCurrency?: {
|
||||
name?: string;
|
||||
symbol?: string;
|
||||
|
||||
@@ -231,45 +231,29 @@ export function getChainMetadata(chain: Chain): Promise<ChainMetadata> {
|
||||
const chainId = chain.id;
|
||||
return withCache(
|
||||
async () => {
|
||||
const res = await fetch(`https://api.thirdweb.com/v1/chains/${chainId}`);
|
||||
if (!res.ok) {
|
||||
res.body?.cancel();
|
||||
throw new Error(`Failed to fetch chain data for chainId ${chainId}`);
|
||||
}
|
||||
try {
|
||||
const res = await fetch(
|
||||
`https://api.thirdweb.com/v1/chains/${chainId}`,
|
||||
);
|
||||
if (!res.ok) {
|
||||
res.body?.cancel();
|
||||
throw new Error(`Failed to fetch chain data for chainId ${chainId}`);
|
||||
}
|
||||
|
||||
const response = (await res.json()) as FetchChainResponse;
|
||||
if (response.error) {
|
||||
throw new Error(`Failed to fetch chain data for chainId ${chainId}`);
|
||||
}
|
||||
if (!response.data) {
|
||||
throw new Error(`Failed to fetch chain data for chainId ${chainId}`);
|
||||
}
|
||||
const response = (await res.json()) as FetchChainResponse;
|
||||
if (response.error) {
|
||||
throw new Error(`Failed to fetch chain data for chainId ${chainId}`);
|
||||
}
|
||||
if (!response.data) {
|
||||
throw new Error(`Failed to fetch chain data for chainId ${chainId}`);
|
||||
}
|
||||
|
||||
const data = response.data;
|
||||
const data = response.data;
|
||||
|
||||
return {
|
||||
...data,
|
||||
name: chain?.name || data.name,
|
||||
chainId: chain?.id || data.chainId,
|
||||
rpc: chain?.rpc ? [chain.rpc] : data.rpc,
|
||||
testnet: chain?.testnet || data.testnet,
|
||||
nativeCurrency: chain?.nativeCurrency
|
||||
? {
|
||||
...data.nativeCurrency,
|
||||
...chain.nativeCurrency,
|
||||
}
|
||||
: data.nativeCurrency,
|
||||
// TODO: handle explorers - don't know what should be the standard
|
||||
// explorers: chain?.blockExplorers
|
||||
// ? chain.blockExplorers.map((x) => {
|
||||
// return {
|
||||
// name: x.name,
|
||||
// url: x.url,
|
||||
// standard: '' /// ???
|
||||
// };
|
||||
// })
|
||||
// : result.data.explorers,
|
||||
};
|
||||
return createChainMetadata(chain, data);
|
||||
} catch {
|
||||
return createChainMetadata(chain);
|
||||
}
|
||||
},
|
||||
{
|
||||
cacheKey: `chain:${chainId}`,
|
||||
@@ -298,3 +282,31 @@ export function convertApiChainToChain(apiChain: ChainMetadata): Chain {
|
||||
}),
|
||||
};
|
||||
}
|
||||
|
||||
function createChainMetadata(
|
||||
chain: Chain,
|
||||
data?: ChainMetadata,
|
||||
): ChainMetadata {
|
||||
const nativeCurrency = chain.nativeCurrency
|
||||
? {
|
||||
...data?.nativeCurrency,
|
||||
...chain.nativeCurrency,
|
||||
}
|
||||
: data?.nativeCurrency;
|
||||
|
||||
return {
|
||||
...data,
|
||||
name: chain.name || data?.name || "",
|
||||
chainId: chain.id || data?.chainId || -1,
|
||||
rpc: chain.rpc ? [chain.rpc] : data?.rpc || [""],
|
||||
testnet: chain.testnet || data?.testnet || false,
|
||||
nativeCurrency: {
|
||||
name: nativeCurrency?.name || "",
|
||||
symbol: nativeCurrency?.symbol || "",
|
||||
decimals: nativeCurrency?.decimals || 18,
|
||||
},
|
||||
chain: data?.chain || chain.name || "",
|
||||
shortName: data?.shortName || chain.name || "",
|
||||
slug: data?.slug || chain.name || "",
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
// chain type
|
||||
export type { Chain } from "../chains/types.js";
|
||||
// chain Metadata type
|
||||
export type { ChainMetadata } from "../chains/types.js";
|
||||
// chain types
|
||||
export type { Chain, ChainOptions, ChainMetadata } from "../chains/types.js";
|
||||
// define chain, chainMetadata
|
||||
export {
|
||||
defineChain,
|
||||
|
||||
@@ -78,6 +78,7 @@ export { freezeMetadata } from "../../extensions/erc1155/__generated__/INFTMetad
|
||||
* DROPS extension for ERC1155
|
||||
*/
|
||||
export { getActiveClaimCondition } from "../../extensions/erc1155/drops/read/getActiveClaimCondition.js";
|
||||
export { claimCondition } from "../../extensions/erc1155/__generated__/DropSinglePhase1155/read/claimCondition.js";
|
||||
export {
|
||||
claimTo,
|
||||
type ClaimToParams,
|
||||
|
||||
@@ -50,6 +50,7 @@ export {
|
||||
* DROPS extension for ERC20
|
||||
*/
|
||||
export { getClaimConditionById } from "../../extensions/erc20/__generated__/IDropERC20/read/getClaimConditionById.js";
|
||||
export { claimCondition } from "../../extensions/erc20/__generated__/DropSinglePhase/read/claimCondition.js";
|
||||
export { getActiveClaimCondition } from "../../extensions/erc20/drops/read/getActiveClaimCondition.js";
|
||||
export {
|
||||
claimTo,
|
||||
|
||||
@@ -83,6 +83,7 @@ export {
|
||||
* DROPS extension for ERC721
|
||||
*/
|
||||
export { getClaimConditionById } from "../../extensions/erc721/__generated__/IDrop/read/getClaimConditionById.js";
|
||||
export { claimCondition } from "../../extensions/erc721/__generated__/DropSinglePhase/read/claimCondition.js";
|
||||
export { getActiveClaimCondition } from "../../extensions/erc721/drops/read/getActiveClaimCondition.js";
|
||||
export {
|
||||
claimTo,
|
||||
|
||||
@@ -23,7 +23,7 @@ export type ResolveAddressOptions = {
|
||||
* @param options - The options for resolving an ENS address.
|
||||
* @example
|
||||
* ```ts
|
||||
* import { resolveAddress } from "thirdweb/ens";
|
||||
* import { resolveAddress } from "thirdweb/extensions/ens";
|
||||
* const address = await resolveAddress({
|
||||
* client,
|
||||
* name: "vitalik.eth",
|
||||
|
||||
@@ -16,7 +16,7 @@ export type ResolveAvatarOptions = {
|
||||
* @param options - The options for resolving an ENS address.
|
||||
* @example
|
||||
* ```ts
|
||||
* import { resolveAvatar } from "thirdweb/ens";
|
||||
* import { resolveAvatar } from "thirdweb/extensions/ens";
|
||||
* const address = await resolveAvatar({
|
||||
* client,
|
||||
* name: "vitalik.eth",
|
||||
|
||||
@@ -21,7 +21,7 @@ export type ResolveNameOptions = {
|
||||
* @param options - The options for resolving an ENS address.
|
||||
* @example
|
||||
* ```ts
|
||||
* import { resolveName } from "thirdweb/ens";
|
||||
* import { resolveName } from "thirdweb/extensions/ens";
|
||||
* const name = await resolveName({
|
||||
* client,
|
||||
* address: "0x1234...",
|
||||
|
||||
@@ -26,7 +26,7 @@ export type ResolveTextOptions = {
|
||||
* @param options - The options for resolving an ENS address.
|
||||
* @example
|
||||
* ```ts
|
||||
* import { resolveText } from "thirdweb/ens";
|
||||
* import { resolveText } from "thirdweb/extensions/ens";
|
||||
* const twitterUsername = await resolveText({
|
||||
* client,
|
||||
* name: "vitalik.eth",
|
||||
|
||||
Generated
+170
@@ -0,0 +1,170 @@
|
||||
import type { AbiParameterToPrimitiveType } from "abitype";
|
||||
import { readContract } from "../../../../../transaction/read-contract.js";
|
||||
import type { BaseTransactionOptions } from "../../../../../transaction/types.js";
|
||||
import { encodeAbiParameters } from "../../../../../utils/abi/encodeAbiParameters.js";
|
||||
import { decodeAbiParameters } from "viem";
|
||||
import type { Hex } from "../../../../../utils/encoding/hex.js";
|
||||
import type { ThirdwebContract } from "../../../../../contract/contract.js";
|
||||
import { detectMethod } from "../../../../../utils/bytecode/detectExtension.js";
|
||||
|
||||
/**
|
||||
* Represents the parameters for the "claimCondition" function.
|
||||
*/
|
||||
export type ClaimConditionParams = {
|
||||
tokenId: AbiParameterToPrimitiveType<{
|
||||
name: "_tokenId";
|
||||
type: "uint256";
|
||||
internalType: "uint256";
|
||||
}>;
|
||||
};
|
||||
|
||||
export const FN_SELECTOR = "0xe9703d25" as const;
|
||||
const FN_INPUTS = [
|
||||
{
|
||||
name: "_tokenId",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
] as const;
|
||||
const FN_OUTPUTS = [
|
||||
{
|
||||
name: "startTimestamp",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "maxClaimableSupply",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "supplyClaimed",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "quantityLimitPerWallet",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "merkleRoot",
|
||||
type: "bytes32",
|
||||
internalType: "bytes32",
|
||||
},
|
||||
{
|
||||
name: "pricePerToken",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "currency",
|
||||
type: "address",
|
||||
internalType: "address",
|
||||
},
|
||||
{
|
||||
name: "metadata",
|
||||
type: "string",
|
||||
internalType: "string",
|
||||
},
|
||||
] as const;
|
||||
|
||||
/**
|
||||
* Checks if the `claimCondition` method is supported by the given contract.
|
||||
* @param contract The ThirdwebContract.
|
||||
* @returns A promise that resolves to a boolean indicating if the `claimCondition` method is supported.
|
||||
* @extension ERC1155
|
||||
* @example
|
||||
* ```ts
|
||||
* import { isClaimConditionSupported } from "thirdweb/extensions/erc1155";
|
||||
*
|
||||
* const supported = await isClaimConditionSupported(contract);
|
||||
* ```
|
||||
*/
|
||||
export async function isClaimConditionSupported(
|
||||
contract: ThirdwebContract<any>,
|
||||
) {
|
||||
return detectMethod({
|
||||
contract,
|
||||
method: [FN_SELECTOR, FN_INPUTS, FN_OUTPUTS] as const,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Encodes the parameters for the "claimCondition" function.
|
||||
* @param options - The options for the claimCondition function.
|
||||
* @returns The encoded ABI parameters.
|
||||
* @extension ERC1155
|
||||
* @example
|
||||
* ```ts
|
||||
* import { encodeClaimConditionParams } "thirdweb/extensions/erc1155";
|
||||
* const result = encodeClaimConditionParams({
|
||||
* tokenId: ...,
|
||||
* });
|
||||
* ```
|
||||
*/
|
||||
export function encodeClaimConditionParams(options: ClaimConditionParams) {
|
||||
return encodeAbiParameters(FN_INPUTS, [options.tokenId]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Encodes the "claimCondition" function into a Hex string with its parameters.
|
||||
* @param options - The options for the claimCondition function.
|
||||
* @returns The encoded hexadecimal string.
|
||||
* @extension ERC1155
|
||||
* @example
|
||||
* ```ts
|
||||
* import { encodeClaimCondition } "thirdweb/extensions/erc1155";
|
||||
* const result = encodeClaimCondition({
|
||||
* tokenId: ...,
|
||||
* });
|
||||
* ```
|
||||
*/
|
||||
export function encodeClaimCondition(options: ClaimConditionParams) {
|
||||
// we do a "manual" concat here to avoid the overhead of the "concatHex" function
|
||||
// we can do this because we know the specific formats of the values
|
||||
return (FN_SELECTOR +
|
||||
encodeClaimConditionParams(options).slice(
|
||||
2,
|
||||
)) as `${typeof FN_SELECTOR}${string}`;
|
||||
}
|
||||
|
||||
/**
|
||||
* Decodes the result of the claimCondition function call.
|
||||
* @param result - The hexadecimal result to decode.
|
||||
* @returns The decoded result as per the FN_OUTPUTS definition.
|
||||
* @extension ERC1155
|
||||
* @example
|
||||
* ```ts
|
||||
* import { decodeClaimConditionResult } from "thirdweb/extensions/erc1155";
|
||||
* const result = decodeClaimConditionResult("...");
|
||||
* ```
|
||||
*/
|
||||
export function decodeClaimConditionResult(result: Hex) {
|
||||
return decodeAbiParameters(FN_OUTPUTS, result);
|
||||
}
|
||||
|
||||
/**
|
||||
* Calls the "claimCondition" function on the contract.
|
||||
* @param options - The options for the claimCondition function.
|
||||
* @returns The parsed result of the function call.
|
||||
* @extension ERC1155
|
||||
* @example
|
||||
* ```ts
|
||||
* import { claimCondition } from "thirdweb/extensions/erc1155";
|
||||
*
|
||||
* const result = await claimCondition({
|
||||
* tokenId: ...,
|
||||
* });
|
||||
*
|
||||
* ```
|
||||
*/
|
||||
export async function claimCondition(
|
||||
options: BaseTransactionOptions<ClaimConditionParams>,
|
||||
) {
|
||||
return readContract({
|
||||
contract: options.contract,
|
||||
method: [FN_SELECTOR, FN_INPUTS, FN_OUTPUTS] as const,
|
||||
params: [options.tokenId],
|
||||
});
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
import type { BaseTransactionOptions } from "../../../../transaction/types.js";
|
||||
import type { ClaimCondition } from "../../../../utils/extensions/drops/types.js";
|
||||
import { claimCondition } from "../../__generated__/DropSinglePhase1155/read/claimCondition.js";
|
||||
import {
|
||||
type GetActiveClaimConditionIdParams,
|
||||
getActiveClaimConditionId,
|
||||
@@ -20,7 +22,43 @@ export type GetActiveClaimConditionParams = GetActiveClaimConditionIdParams;
|
||||
*/
|
||||
export async function getActiveClaimCondition(
|
||||
options: BaseTransactionOptions<GetActiveClaimConditionParams>,
|
||||
) {
|
||||
const conditionId = await getActiveClaimConditionId(options);
|
||||
return getClaimConditionById({ ...options, conditionId });
|
||||
): Promise<ClaimCondition> {
|
||||
const getActiveClaimConditionMultiPhase = async () => {
|
||||
const conditionId = await getActiveClaimConditionId(options);
|
||||
return getClaimConditionById({ ...options, conditionId });
|
||||
};
|
||||
const getActiveClaimConditionSinglePhase = async () => {
|
||||
const [
|
||||
startTimestamp,
|
||||
maxClaimableSupply,
|
||||
supplyClaimed,
|
||||
quantityLimitPerWallet,
|
||||
merkleRoot,
|
||||
pricePerToken,
|
||||
currency,
|
||||
metadata,
|
||||
] = await claimCondition({ ...options, tokenId: options.tokenId });
|
||||
return {
|
||||
startTimestamp,
|
||||
maxClaimableSupply,
|
||||
supplyClaimed,
|
||||
quantityLimitPerWallet,
|
||||
merkleRoot,
|
||||
pricePerToken,
|
||||
currency,
|
||||
metadata,
|
||||
};
|
||||
};
|
||||
|
||||
// The contract's phase type is unknown, so try both options and return whichever resolves, prioritizing multi-phase
|
||||
const results = await Promise.allSettled([
|
||||
getActiveClaimConditionMultiPhase(),
|
||||
getActiveClaimConditionSinglePhase(),
|
||||
]);
|
||||
|
||||
const condition = results.find((result) => result.status === "fulfilled");
|
||||
if (condition?.status === "fulfilled") {
|
||||
return condition.value;
|
||||
}
|
||||
throw new Error("Claim condition not found");
|
||||
}
|
||||
|
||||
Generated
+109
@@ -0,0 +1,109 @@
|
||||
import { readContract } from "../../../../../transaction/read-contract.js";
|
||||
import type { BaseTransactionOptions } from "../../../../../transaction/types.js";
|
||||
|
||||
import { decodeAbiParameters } from "viem";
|
||||
import type { Hex } from "../../../../../utils/encoding/hex.js";
|
||||
import type { ThirdwebContract } from "../../../../../contract/contract.js";
|
||||
import { detectMethod } from "../../../../../utils/bytecode/detectExtension.js";
|
||||
|
||||
export const FN_SELECTOR = "0xd637ed59" as const;
|
||||
const FN_INPUTS = [] as const;
|
||||
const FN_OUTPUTS = [
|
||||
{
|
||||
name: "startTimestamp",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "maxClaimableSupply",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "supplyClaimed",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "quantityLimitPerWallet",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "merkleRoot",
|
||||
type: "bytes32",
|
||||
internalType: "bytes32",
|
||||
},
|
||||
{
|
||||
name: "pricePerToken",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "currency",
|
||||
type: "address",
|
||||
internalType: "address",
|
||||
},
|
||||
{
|
||||
name: "metadata",
|
||||
type: "string",
|
||||
internalType: "string",
|
||||
},
|
||||
] as const;
|
||||
|
||||
/**
|
||||
* Checks if the `claimCondition` method is supported by the given contract.
|
||||
* @param contract The ThirdwebContract.
|
||||
* @returns A promise that resolves to a boolean indicating if the `claimCondition` method is supported.
|
||||
* @extension ERC20
|
||||
* @example
|
||||
* ```ts
|
||||
* import { isClaimConditionSupported } from "thirdweb/extensions/erc20";
|
||||
*
|
||||
* const supported = await isClaimConditionSupported(contract);
|
||||
* ```
|
||||
*/
|
||||
export async function isClaimConditionSupported(
|
||||
contract: ThirdwebContract<any>,
|
||||
) {
|
||||
return detectMethod({
|
||||
contract,
|
||||
method: [FN_SELECTOR, FN_INPUTS, FN_OUTPUTS] as const,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Decodes the result of the claimCondition function call.
|
||||
* @param result - The hexadecimal result to decode.
|
||||
* @returns The decoded result as per the FN_OUTPUTS definition.
|
||||
* @extension ERC20
|
||||
* @example
|
||||
* ```ts
|
||||
* import { decodeClaimConditionResult } from "thirdweb/extensions/erc20";
|
||||
* const result = decodeClaimConditionResult("...");
|
||||
* ```
|
||||
*/
|
||||
export function decodeClaimConditionResult(result: Hex) {
|
||||
return decodeAbiParameters(FN_OUTPUTS, result);
|
||||
}
|
||||
|
||||
/**
|
||||
* Calls the "claimCondition" function on the contract.
|
||||
* @param options - The options for the claimCondition function.
|
||||
* @returns The parsed result of the function call.
|
||||
* @extension ERC20
|
||||
* @example
|
||||
* ```ts
|
||||
* import { claimCondition } from "thirdweb/extensions/erc20";
|
||||
*
|
||||
* const result = await claimCondition();
|
||||
*
|
||||
* ```
|
||||
*/
|
||||
export async function claimCondition(options: BaseTransactionOptions) {
|
||||
return readContract({
|
||||
contract: options.contract,
|
||||
method: [FN_SELECTOR, FN_INPUTS, FN_OUTPUTS] as const,
|
||||
params: [],
|
||||
});
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
import type { BaseTransactionOptions } from "../../../../transaction/types.js";
|
||||
import type { ClaimCondition } from "../../../../utils/extensions/drops/types.js";
|
||||
import { claimCondition } from "../../__generated__/DropSinglePhase/read/claimCondition.js";
|
||||
import { getActiveClaimConditionId } from "../../__generated__/IDropERC20/read/getActiveClaimConditionId.js";
|
||||
import { getClaimConditionById } from "../../__generated__/IDropERC20/read/getClaimConditionById.js";
|
||||
|
||||
@@ -14,8 +16,45 @@ import { getClaimConditionById } from "../../__generated__/IDropERC20/read/getCl
|
||||
* const activeClaimCondition = await getActiveClaimCondition({ contract });
|
||||
* ```
|
||||
*/
|
||||
export async function getActiveClaimCondition(options: BaseTransactionOptions) {
|
||||
const conditionId = await getActiveClaimConditionId(options);
|
||||
export async function getActiveClaimCondition(
|
||||
options: BaseTransactionOptions,
|
||||
): Promise<ClaimCondition> {
|
||||
const getActiveClaimConditionMultiPhase = async () => {
|
||||
const conditionId = await getActiveClaimConditionId(options);
|
||||
return getClaimConditionById({ ...options, conditionId });
|
||||
};
|
||||
const getActiveClaimConditionSinglePhase = async () => {
|
||||
const [
|
||||
startTimestamp,
|
||||
maxClaimableSupply,
|
||||
supplyClaimed,
|
||||
quantityLimitPerWallet,
|
||||
merkleRoot,
|
||||
pricePerToken,
|
||||
currency,
|
||||
metadata,
|
||||
] = await claimCondition(options);
|
||||
return {
|
||||
startTimestamp,
|
||||
maxClaimableSupply,
|
||||
supplyClaimed,
|
||||
quantityLimitPerWallet,
|
||||
merkleRoot,
|
||||
pricePerToken,
|
||||
currency,
|
||||
metadata,
|
||||
};
|
||||
};
|
||||
|
||||
return getClaimConditionById({ ...options, conditionId });
|
||||
// The contract's phase type is unknown, so try both options and return whichever resolves, prioritizing multi-phase
|
||||
const results = await Promise.allSettled([
|
||||
getActiveClaimConditionMultiPhase(),
|
||||
getActiveClaimConditionSinglePhase(),
|
||||
]);
|
||||
|
||||
const condition = results.find((result) => result.status === "fulfilled");
|
||||
if (condition?.status === "fulfilled") {
|
||||
return condition.value;
|
||||
}
|
||||
throw new Error("Claim condition not found");
|
||||
}
|
||||
|
||||
Generated
+109
@@ -0,0 +1,109 @@
|
||||
import { readContract } from "../../../../../transaction/read-contract.js";
|
||||
import type { BaseTransactionOptions } from "../../../../../transaction/types.js";
|
||||
|
||||
import { decodeAbiParameters } from "viem";
|
||||
import type { Hex } from "../../../../../utils/encoding/hex.js";
|
||||
import type { ThirdwebContract } from "../../../../../contract/contract.js";
|
||||
import { detectMethod } from "../../../../../utils/bytecode/detectExtension.js";
|
||||
|
||||
export const FN_SELECTOR = "0xd637ed59" as const;
|
||||
const FN_INPUTS = [] as const;
|
||||
const FN_OUTPUTS = [
|
||||
{
|
||||
name: "startTimestamp",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "maxClaimableSupply",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "supplyClaimed",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "quantityLimitPerWallet",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "merkleRoot",
|
||||
type: "bytes32",
|
||||
internalType: "bytes32",
|
||||
},
|
||||
{
|
||||
name: "pricePerToken",
|
||||
type: "uint256",
|
||||
internalType: "uint256",
|
||||
},
|
||||
{
|
||||
name: "currency",
|
||||
type: "address",
|
||||
internalType: "address",
|
||||
},
|
||||
{
|
||||
name: "metadata",
|
||||
type: "string",
|
||||
internalType: "string",
|
||||
},
|
||||
] as const;
|
||||
|
||||
/**
|
||||
* Checks if the `claimCondition` method is supported by the given contract.
|
||||
* @param contract The ThirdwebContract.
|
||||
* @returns A promise that resolves to a boolean indicating if the `claimCondition` method is supported.
|
||||
* @extension ERC721
|
||||
* @example
|
||||
* ```ts
|
||||
* import { isClaimConditionSupported } from "thirdweb/extensions/erc721";
|
||||
*
|
||||
* const supported = await isClaimConditionSupported(contract);
|
||||
* ```
|
||||
*/
|
||||
export async function isClaimConditionSupported(
|
||||
contract: ThirdwebContract<any>,
|
||||
) {
|
||||
return detectMethod({
|
||||
contract,
|
||||
method: [FN_SELECTOR, FN_INPUTS, FN_OUTPUTS] as const,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Decodes the result of the claimCondition function call.
|
||||
* @param result - The hexadecimal result to decode.
|
||||
* @returns The decoded result as per the FN_OUTPUTS definition.
|
||||
* @extension ERC721
|
||||
* @example
|
||||
* ```ts
|
||||
* import { decodeClaimConditionResult } from "thirdweb/extensions/erc721";
|
||||
* const result = decodeClaimConditionResult("...");
|
||||
* ```
|
||||
*/
|
||||
export function decodeClaimConditionResult(result: Hex) {
|
||||
return decodeAbiParameters(FN_OUTPUTS, result);
|
||||
}
|
||||
|
||||
/**
|
||||
* Calls the "claimCondition" function on the contract.
|
||||
* @param options - The options for the claimCondition function.
|
||||
* @returns The parsed result of the function call.
|
||||
* @extension ERC721
|
||||
* @example
|
||||
* ```ts
|
||||
* import { claimCondition } from "thirdweb/extensions/erc721";
|
||||
*
|
||||
* const result = await claimCondition();
|
||||
*
|
||||
* ```
|
||||
*/
|
||||
export async function claimCondition(options: BaseTransactionOptions) {
|
||||
return readContract({
|
||||
contract: options.contract,
|
||||
method: [FN_SELECTOR, FN_INPUTS, FN_OUTPUTS] as const,
|
||||
params: [],
|
||||
});
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
import type { BaseTransactionOptions } from "../../../../transaction/types.js";
|
||||
import type { ClaimCondition } from "../../../../utils/extensions/drops/types.js";
|
||||
import { claimCondition } from "../../__generated__/DropSinglePhase/read/claimCondition.js";
|
||||
import { getActiveClaimConditionId } from "../../__generated__/IDrop/read/getActiveClaimConditionId.js";
|
||||
import { getClaimConditionById } from "../../__generated__/IDrop/read/getClaimConditionById.js";
|
||||
|
||||
@@ -14,8 +16,45 @@ import { getClaimConditionById } from "../../__generated__/IDrop/read/getClaimCo
|
||||
* const activeClaimCondition = await getActiveClaimCondition({ contract });
|
||||
* ```
|
||||
*/
|
||||
export async function getActiveClaimCondition(options: BaseTransactionOptions) {
|
||||
const conditionId = await getActiveClaimConditionId(options);
|
||||
export async function getActiveClaimCondition(
|
||||
options: BaseTransactionOptions,
|
||||
): Promise<ClaimCondition> {
|
||||
const getActiveClaimConditionMultiPhase = async () => {
|
||||
const conditionId = await getActiveClaimConditionId(options);
|
||||
return getClaimConditionById({ ...options, conditionId });
|
||||
};
|
||||
const getActiveClaimConditionSinglePhase = async () => {
|
||||
const [
|
||||
startTimestamp,
|
||||
maxClaimableSupply,
|
||||
supplyClaimed,
|
||||
quantityLimitPerWallet,
|
||||
merkleRoot,
|
||||
pricePerToken,
|
||||
currency,
|
||||
metadata,
|
||||
] = await claimCondition(options);
|
||||
return {
|
||||
startTimestamp,
|
||||
maxClaimableSupply,
|
||||
supplyClaimed,
|
||||
quantityLimitPerWallet,
|
||||
merkleRoot,
|
||||
pricePerToken,
|
||||
currency,
|
||||
metadata,
|
||||
};
|
||||
};
|
||||
|
||||
return getClaimConditionById({ ...options, conditionId });
|
||||
// The contract's phase type is unknown, so try both options and return whichever resolves, prioritizing multi-phase
|
||||
const results = await Promise.allSettled([
|
||||
getActiveClaimConditionMultiPhase(),
|
||||
getActiveClaimConditionSinglePhase(),
|
||||
]);
|
||||
|
||||
const condition = results.find((result) => result.status === "fulfilled");
|
||||
if (condition?.status === "fulfilled") {
|
||||
return condition.value;
|
||||
}
|
||||
throw new Error("Claim condition not found");
|
||||
}
|
||||
|
||||
@@ -109,6 +109,19 @@ export type AutoConnectProps = {
|
||||
* />
|
||||
*/
|
||||
accountAbstraction?: SmartWalletOptions;
|
||||
|
||||
/**
|
||||
* Callback to be called on successful auto-connection of last active wallet. The callback is called with the connected wallet
|
||||
*
|
||||
* ```tsx
|
||||
* <AutoConnect
|
||||
* onConnect={(wallet) => {
|
||||
* console.log("auto connected to", wallet)
|
||||
* }}
|
||||
* />
|
||||
* ```
|
||||
*/
|
||||
onConnect?: (wallet: Wallet) => void;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -149,7 +162,7 @@ export function AutoConnect(props: AutoConnectProps) {
|
||||
accountAbstraction: props.accountAbstraction,
|
||||
});
|
||||
const { isAutoConnecting } = connectionManager;
|
||||
const { wallets } = props;
|
||||
const { wallets, onConnect } = props;
|
||||
const timeout = props.timeout ?? 15000;
|
||||
// get the supported wallets from thirdweb provider
|
||||
// check the storage for last connected wallets and connect them all
|
||||
@@ -192,7 +205,20 @@ export function AutoConnect(props: AutoConnectProps) {
|
||||
message: `AutoConnect timeout : ${timeout}ms limit exceeded.`,
|
||||
});
|
||||
|
||||
connect(activeWallet);
|
||||
// connected wallet could be activeWallet or smart wallet
|
||||
const connectedWallet = await connect(activeWallet);
|
||||
|
||||
if (connectedWallet) {
|
||||
if (onConnect) {
|
||||
try {
|
||||
onConnect(connectedWallet);
|
||||
} catch {
|
||||
// ignore
|
||||
}
|
||||
}
|
||||
} else {
|
||||
setConnectionStatus("disconnected");
|
||||
}
|
||||
} catch (e) {
|
||||
console.error("Failed to auto connect last active wallet");
|
||||
console.error(e);
|
||||
|
||||
@@ -63,6 +63,7 @@ export function ConnectButton(props: ConnectButtonProps) {
|
||||
: props.autoConnect?.timeout
|
||||
}
|
||||
accountAbstraction={props.accountAbstraction}
|
||||
onConnect={props.onConnect}
|
||||
/>
|
||||
);
|
||||
|
||||
|
||||
@@ -576,28 +576,16 @@ export type ConnectButtonProps = {
|
||||
supportedTokens?: SupportedTokens;
|
||||
|
||||
/**
|
||||
* Callback to be called on successful connection of wallet. The callback is called with the connected account
|
||||
* Callback to be called on successful connection of wallet - including auto connect.
|
||||
* The callback is called with the connected wallet
|
||||
*
|
||||
* ```tsx
|
||||
* <ConnectButton
|
||||
* onConnect={(account) => {
|
||||
* console.log("connected to", account)
|
||||
* onConnect={(wallet) => {
|
||||
* console.log("connected to", wallet)
|
||||
* }}
|
||||
* />
|
||||
* ```
|
||||
*
|
||||
* Note that this does not include the sign in, If you want to call a callback after user connects AND signs in with their wallet, use `auth.onLogin` prop instead
|
||||
*
|
||||
* ```tsx
|
||||
* <ConnectButton
|
||||
* auth={{
|
||||
* onLogin: () => {
|
||||
* console.log("wallet connected and signed in")
|
||||
* }
|
||||
* }}
|
||||
* />
|
||||
* ```
|
||||
*
|
||||
*/
|
||||
onConnect?: (wallet: Wallet) => void;
|
||||
|
||||
|
||||
@@ -225,26 +225,16 @@ export type ConnectEmbedProps = {
|
||||
privacyPolicyUrl?: string;
|
||||
|
||||
/**
|
||||
* Callback to be called on successful connection of wallet. The callback is called with the connected account
|
||||
* Callback to be called on successful connection of wallet - including auto-connect.
|
||||
* The callback is called with the connected wallet
|
||||
*
|
||||
* ```tsx
|
||||
* <ConnectEmbed
|
||||
* onConnect={(account) => {
|
||||
* console.log("connected to", account)
|
||||
* onConnect={(wallet) => {
|
||||
* console.log("connected to", wallet)
|
||||
* }}
|
||||
* />
|
||||
* ```
|
||||
*
|
||||
* Note that this does not include the sign in, If you want to call a callback after user connects AND signs in with their wallet, use `auth.onLogin` prop instead
|
||||
*
|
||||
* ```tsx
|
||||
* <ConnectEmbed
|
||||
* auth={{
|
||||
* onLogin: () => {
|
||||
* console.log("wallet connected and signed in")
|
||||
* }
|
||||
* }}
|
||||
* />
|
||||
* ```
|
||||
*/
|
||||
onConnect?: (wallet: Wallet) => void;
|
||||
@@ -366,6 +356,7 @@ export function ConnectEmbed(props: ConnectEmbedProps) {
|
||||
? undefined
|
||||
: props.autoConnect?.timeout
|
||||
}
|
||||
onConnect={props.onConnect}
|
||||
/>
|
||||
);
|
||||
|
||||
|
||||
@@ -147,6 +147,7 @@ function useLoadChains(
|
||||
): ChainData {
|
||||
// load all chains with react query
|
||||
const chainsQueries = useChainsQuery(allChainsInput, 50);
|
||||
|
||||
const isLoading = chainsQueries.some((q) => q.isLoading);
|
||||
|
||||
const { allChains, chainsMap } = useMemo(() => {
|
||||
@@ -158,9 +159,11 @@ function useLoadChains(
|
||||
}
|
||||
|
||||
for (const chainQuery of chainsQueries) {
|
||||
_chains.push({
|
||||
...chainQuery.data,
|
||||
} as ChainMetadata);
|
||||
if (chainQuery.data) {
|
||||
_chains.push({
|
||||
...chainQuery.data,
|
||||
} as ChainMetadata);
|
||||
}
|
||||
}
|
||||
|
||||
for (const chain of _chains) {
|
||||
|
||||
@@ -65,6 +65,11 @@ export type TransactionButtonProps = {
|
||||
* Refer to [`GaslessOptions`](https://portal.thirdweb.com/references/typescript/v5/GaslessOptions) for more details.
|
||||
*/
|
||||
gasless?: GaslessOptions;
|
||||
|
||||
/**
|
||||
* The button's disabled state
|
||||
*/
|
||||
disabled?: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -93,6 +98,7 @@ export function TransactionButton(props: TransactionButtonProps) {
|
||||
onError,
|
||||
onClick,
|
||||
gasless,
|
||||
disabled,
|
||||
...buttonProps
|
||||
} = props;
|
||||
const account = useActiveAccount();
|
||||
@@ -105,8 +111,7 @@ export function TransactionButton(props: TransactionButtonProps) {
|
||||
return (
|
||||
<Button
|
||||
gap="xs"
|
||||
{...buttonProps}
|
||||
disabled={!account}
|
||||
disabled={!account || disabled}
|
||||
variant={"primary"}
|
||||
data-is-loading={isPending}
|
||||
onClick={async (e) => {
|
||||
@@ -140,9 +145,11 @@ export function TransactionButton(props: TransactionButtonProps) {
|
||||
}
|
||||
}}
|
||||
style={{
|
||||
opacity: !account || disabled ? 0.5 : 1,
|
||||
minWidth: "150px",
|
||||
...buttonProps.style,
|
||||
opacity: !account ? 0.5 : 1,
|
||||
}}
|
||||
{...buttonProps}
|
||||
>
|
||||
{children}
|
||||
</Button>
|
||||
@@ -151,15 +158,29 @@ export function TransactionButton(props: TransactionButtonProps) {
|
||||
|
||||
return (
|
||||
<Button
|
||||
{...buttonProps}
|
||||
disabled={true}
|
||||
variant={"primary"}
|
||||
style={{
|
||||
...buttonProps.style,
|
||||
opacity: !account || disabled ? 0.5 : 1,
|
||||
minWidth: "150px",
|
||||
position: "relative",
|
||||
...buttonProps.style,
|
||||
}}
|
||||
{...buttonProps}
|
||||
>
|
||||
<Spinner size="md" color="primaryButtonText" />
|
||||
<div
|
||||
style={{
|
||||
position: "absolute",
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
height: "100%",
|
||||
top: 0,
|
||||
bottom: 0,
|
||||
margin: "auto",
|
||||
}}
|
||||
>
|
||||
<Spinner size="md" color="primaryButtonText" />
|
||||
</div>
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -44,3 +44,14 @@ export type ClaimConditionsInput = {
|
||||
}
|
||||
| { priceInWei?: bigint }
|
||||
);
|
||||
|
||||
export type ClaimCondition = {
|
||||
startTimestamp: bigint;
|
||||
maxClaimableSupply: bigint;
|
||||
supplyClaimed: bigint;
|
||||
quantityLimitPerWallet: bigint;
|
||||
merkleRoot: string;
|
||||
pricePerToken: bigint;
|
||||
currency: string;
|
||||
metadata: string;
|
||||
};
|
||||
|
||||
@@ -63,7 +63,13 @@ export async function connectSmartWallet(
|
||||
const accountAddress = await predictAddress(factoryContract, {
|
||||
personalAccountAddress: personalAccount.address,
|
||||
...options,
|
||||
});
|
||||
})
|
||||
.then((address) => address)
|
||||
.catch(() => {
|
||||
throw new Error(
|
||||
`Failed to get account address with factory contract ${factoryContract.address} on chain ID ${chain.id}. Are you on the right chain?`,
|
||||
);
|
||||
});
|
||||
|
||||
const accountContract = getContract({
|
||||
client,
|
||||
|
||||
Binary file not shown.
Generated
+127
-152
@@ -44,15 +44,15 @@ importers:
|
||||
specifier: 20.12.7
|
||||
version: 20.12.7
|
||||
turbo:
|
||||
specifier: 1.13.2
|
||||
version: 1.13.2
|
||||
specifier: 1.13.3
|
||||
version: 1.13.3
|
||||
yalc:
|
||||
specifier: 1.0.0-pre.53
|
||||
version: 1.0.0-pre.53
|
||||
devDependencies:
|
||||
'@biomejs/biome':
|
||||
specifier: 1.7.0
|
||||
version: 1.7.0
|
||||
specifier: 1.7.1
|
||||
version: 1.7.1
|
||||
'@codspeed/vitest-plugin':
|
||||
specifier: 3.1.0
|
||||
version: 3.1.0([email protected])([email protected])
|
||||
@@ -391,8 +391,8 @@ importers:
|
||||
legacy_packages/chains:
|
||||
devDependencies:
|
||||
'@babel/runtime':
|
||||
specifier: ^7.24.4
|
||||
version: 7.24.4
|
||||
specifier: ^7.24.5
|
||||
version: 7.24.5
|
||||
'@preconstruct/cli':
|
||||
specifier: 2.7.0
|
||||
version: 2.7.0
|
||||
@@ -796,8 +796,8 @@ importers:
|
||||
version: 1.3.3
|
||||
devDependencies:
|
||||
'@babel/runtime':
|
||||
specifier: ^7.24.4
|
||||
version: 7.24.4
|
||||
specifier: ^7.24.5
|
||||
version: 7.24.5
|
||||
'@microsoft/api-documenter':
|
||||
specifier: ^7.24.1
|
||||
version: 7.24.1(@types/[email protected])
|
||||
@@ -905,8 +905,8 @@ importers:
|
||||
specifier: ^7.24.1
|
||||
version: 7.24.1(@babel/[email protected])
|
||||
'@babel/runtime':
|
||||
specifier: ^7.24.4
|
||||
version: 7.24.4
|
||||
specifier: ^7.24.5
|
||||
version: 7.24.5
|
||||
'@microsoft/api-documenter':
|
||||
specifier: ^7.24.1
|
||||
version: 7.24.1(@types/[email protected])
|
||||
@@ -1123,8 +1123,8 @@ importers:
|
||||
specifier: ^5.7.0
|
||||
version: 5.7.0
|
||||
'@walletconnect/react-native-compat':
|
||||
specifier: 2.12.1
|
||||
version: 2.12.1(@react-native-async-storage/[email protected])(@react-native-community/[email protected])([email protected])([email protected])
|
||||
specifier: 2.12.2
|
||||
version: 2.12.2(@react-native-async-storage/[email protected])(@react-native-community/[email protected])([email protected])([email protected])
|
||||
base-64:
|
||||
specifier: ^1.0.0
|
||||
version: 1.0.0
|
||||
@@ -1496,11 +1496,11 @@ importers:
|
||||
specifier: ^2.12.1
|
||||
version: 2.12.1
|
||||
'@walletconnect/utils':
|
||||
specifier: ^2.12.1
|
||||
version: 2.12.1
|
||||
specifier: ^2.12.2
|
||||
version: 2.12.2
|
||||
'@walletconnect/web3wallet':
|
||||
specifier: ^1.11.1
|
||||
version: 1.11.1
|
||||
specifier: ^1.11.2
|
||||
version: 1.11.2
|
||||
asn1.js:
|
||||
specifier: 5.4.1
|
||||
version: 5.4.1
|
||||
@@ -5523,6 +5523,13 @@ packages:
|
||||
engines: {node: '>=6.9.0'}
|
||||
dependencies:
|
||||
regenerator-runtime: 0.14.1
|
||||
dev: true
|
||||
|
||||
/@babel/[email protected]:
|
||||
resolution: {integrity: sha512-Nms86NXrsaeU9vbBJKni6gXiEXZ4CVpYVzEjDH9Sb8vmZ3UljyA1GSOJl/6LGPO8EHLuSF9H+IxNXHPX8QHJ4g==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
dependencies:
|
||||
regenerator-runtime: 0.14.1
|
||||
|
||||
/@babel/[email protected]:
|
||||
resolution: {integrity: sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==}
|
||||
@@ -5561,24 +5568,24 @@ packages:
|
||||
resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}
|
||||
dev: true
|
||||
|
||||
/@biomejs/[email protected].0:
|
||||
resolution: {integrity: sha512-mejiRhnAq6UrXtYvjWJUKdstcT58n0/FfKemFf3d2Ou0HxOdS88HQmWtQ/UgyZvOEPD572YbFTb6IheyROpqkw==}
|
||||
/@biomejs/[email protected].1:
|
||||
resolution: {integrity: sha512-wb2UNoFXcgaMdKXKT5ytsYntaogl2FSTjDt20CZynF3v7OXQUcIpTrr+be3XoOGpoZRj3Ytq9TSpmplUREXmeA==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
hasBin: true
|
||||
requiresBuild: true
|
||||
optionalDependencies:
|
||||
'@biomejs/cli-darwin-arm64': 1.7.0
|
||||
'@biomejs/cli-darwin-x64': 1.7.0
|
||||
'@biomejs/cli-linux-arm64': 1.7.0
|
||||
'@biomejs/cli-linux-arm64-musl': 1.7.0
|
||||
'@biomejs/cli-linux-x64': 1.7.0
|
||||
'@biomejs/cli-linux-x64-musl': 1.7.0
|
||||
'@biomejs/cli-win32-arm64': 1.7.0
|
||||
'@biomejs/cli-win32-x64': 1.7.0
|
||||
'@biomejs/cli-darwin-arm64': 1.7.1
|
||||
'@biomejs/cli-darwin-x64': 1.7.1
|
||||
'@biomejs/cli-linux-arm64': 1.7.1
|
||||
'@biomejs/cli-linux-arm64-musl': 1.7.1
|
||||
'@biomejs/cli-linux-x64': 1.7.1
|
||||
'@biomejs/cli-linux-x64-musl': 1.7.1
|
||||
'@biomejs/cli-win32-arm64': 1.7.1
|
||||
'@biomejs/cli-win32-x64': 1.7.1
|
||||
dev: true
|
||||
|
||||
/@biomejs/[email protected].0:
|
||||
resolution: {integrity: sha512-12TaeaKHU4SAZt0fQJ2bYk1jUb4foope7LmgDE5p3c0uMxd3mFkg1k7G721T+K6UHYULcSOQDsNNM8DhYi8Irg==}
|
||||
/@biomejs/[email protected].1:
|
||||
resolution: {integrity: sha512-qfLrIIB58dkgiY/1tgG6fSCBK22PZaSIf6blweZBsG6iMij05mEuJt50ne+zPnNFNUmt8t43NC/qOXT3iFHQBA==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
@@ -5586,8 +5593,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@biomejs/[email protected].0:
|
||||
resolution: {integrity: sha512-6Qq1BSIB0cpp0cQNqO/+EiUV7FE3jMpF6w7+AgIBXp0oJxUWb2Ff0RDZdO9bfzkimXD58j0vGpNHMGnCcjDV2Q==}
|
||||
/@biomejs/[email protected].1:
|
||||
resolution: {integrity: sha512-OGeyNsEcp5VnKbF9/TBjPCTHNEOm7oHegEve07U3KZmzqfpw2Oe3i9DVW8t6vvj1TYbrwWYCld25H34kBDY7Vg==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
@@ -5595,8 +5602,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@biomejs/[email protected].0:
|
||||
resolution: {integrity: sha512-pwIY80nU7SAxrVVZ6HD9ah1pruwh9ZqlSR0Nvbg4ZJqQa0POhiB+RJx7+/1Ml2mTZdrl8kb/YiwQpD16uwb5wg==}
|
||||
/@biomejs/[email protected].1:
|
||||
resolution: {integrity: sha512-giH0/CzLOJ+wbxLxd5Shnr5xQf5fGnTRWLDe3lzjaF7IplVydNCEeZJtncB01SvyA6DAFJsvQ4LNxzAOQfEVCg==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
@@ -5604,8 +5611,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@biomejs/[email protected].0:
|
||||
resolution: {integrity: sha512-GwSci7xBJ2j1CrdDXDUVXnUtrvypEz/xmiYPpFeVdlX5p95eXx+7FekPPbJfhGGw5WKSsKZ+V8AAlbN+kUwJWw==}
|
||||
/@biomejs/[email protected].1:
|
||||
resolution: {integrity: sha512-MQDf5wErj1iBvlcxCyOa0XqZYN8WJrupVgbNnqhntO3yVATg8GxduVUn1fDSaolznkDRsj7Pz3Xu1esBFwvfmg==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
@@ -5613,8 +5620,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@biomejs/[email protected].0:
|
||||
resolution: {integrity: sha512-KzCA0mW4LSbCd7XZWaEJvTOTTBjfJoVEXkfq1fsXxww1HB+ww5PGMbhbIcbYCsj2CTJUifeD5hOkyuBVppU1xQ==}
|
||||
/@biomejs/[email protected].1:
|
||||
resolution: {integrity: sha512-ySNDtPhsLxU125IFHHAxfpoHBpkM56s4mEXeO70GZtgZay/o1h8IUPWCWf5Z7gKgc4jwgYN1U1U9xabI3hZVAg==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
@@ -5622,8 +5629,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@biomejs/[email protected].0:
|
||||
resolution: {integrity: sha512-1y+odKQsyHcw0JCGRuqhbx7Y6jxOVSh4lGIVDdJxW1b55yD22DY1kcMEfhUte6f95OIc2uqfkwtiI6xQAiZJdw==}
|
||||
/@biomejs/[email protected].1:
|
||||
resolution: {integrity: sha512-3wmCsGcC3KZ4pfTknXHfyMMlXPMhgfXVAcG5GlrR+Tq2JGiAw0EUydaLpsSBEbcG7IxH6OiUZEJZ95kAycCHBA==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
@@ -5631,8 +5638,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@biomejs/[email protected].0:
|
||||
resolution: {integrity: sha512-AvLDUYZBpOUFgS/mni4VruIoVV3uSGbKSkZQBPXsHgL0w4KttLll3NBrVanmWxOHsom6C6ocHLyfAY8HUc8TXg==}
|
||||
/@biomejs/[email protected].1:
|
||||
resolution: {integrity: sha512-8hIDakEqZn0i6+388noYKdZ0ZrovTwnvMU/Qp/oJou0G7EPVdXupOe0oxiQSdRN0W7f6CS/yjPCYuVGzDG6r0g==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
@@ -5640,8 +5647,8 @@ packages:
|
||||
dev: true
|
||||
optional: true
|
||||
|
||||
/@biomejs/[email protected].0:
|
||||
resolution: {integrity: sha512-Pylm00BAAuLVb40IH9PC17432BTsY8K4pSUvhvgR1eaalnMaD6ug9SYJTTzKDbT6r24MPAGCTiSZERyhGkGzFQ==}
|
||||
/@biomejs/[email protected].1:
|
||||
resolution: {integrity: sha512-3W9k3uH6Ea6VOpAS9xkkAlS0LTfnGQjmIUCegZ8SDtK2NgJ1gO+qdEkGJb0ltahusFTN1QxJ107dM7ASA9IUEg==}
|
||||
engines: {node: '>=14.21.3'}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
@@ -5673,7 +5680,7 @@ packages:
|
||||
/@changesets/[email protected]:
|
||||
resolution: {integrity: sha512-vfi69JR416qC9hWmFGSxj7N6wA5J222XNBmezSVATPWDVPIF7gkd4d8CpbEbXmRWbVrkoli3oerGS6dcL/BGsQ==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@changesets/config': 3.0.0
|
||||
'@changesets/get-version-range-type': 0.4.0
|
||||
'@changesets/git': 3.0.0
|
||||
@@ -5691,7 +5698,7 @@ packages:
|
||||
/@changesets/[email protected]:
|
||||
resolution: {integrity: sha512-4QG7NuisAjisbW4hkLCmGW2lRYdPrKzro+fCtZaILX+3zdUELSvYjpL4GTv0E4aM9Mef3PuIQp89VmHJ4y2bfw==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@changesets/errors': 0.2.0
|
||||
'@changesets/get-dependents-graph': 2.0.0
|
||||
'@changesets/types': 6.0.0
|
||||
@@ -5719,7 +5726,7 @@ packages:
|
||||
resolution: {integrity: sha512-iJ91xlvRnnrJnELTp4eJJEOPjgpF3NOh4qeQehM6Ugiz9gJPRZ2t+TsXun6E3AMN4hScZKjqVXl0TX+C7AB3ZQ==}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@changesets/apply-release-plan': 7.0.0
|
||||
'@changesets/assemble-release-plan': 6.0.0
|
||||
'@changesets/changelog-git': 0.2.0
|
||||
@@ -5793,7 +5800,7 @@ packages:
|
||||
/@changesets/[email protected]:
|
||||
resolution: {integrity: sha512-9L9xCUeD/Tb6L/oKmpm8nyzsOzhdNBBbt/ZNcjynbHC07WW4E1eX8NMGC5g5SbM5z/V+MOrYsJ4lRW41GCbg3w==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@changesets/assemble-release-plan': 6.0.0
|
||||
'@changesets/config': 3.0.0
|
||||
'@changesets/pre': 2.0.0
|
||||
@@ -5809,7 +5816,7 @@ packages:
|
||||
/@changesets/[email protected]:
|
||||
resolution: {integrity: sha512-vvhnZDHe2eiBNRFHEgMiGd2CT+164dfYyrJDhwwxTVD/OW0FUD6G7+4DIx1dNwkwjHyzisxGAU96q0sVNBns0w==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@changesets/errors': 0.2.0
|
||||
'@changesets/types': 6.0.0
|
||||
'@manypkg/get-packages': 1.1.3
|
||||
@@ -5834,7 +5841,7 @@ packages:
|
||||
/@changesets/[email protected]:
|
||||
resolution: {integrity: sha512-HLTNYX/A4jZxc+Sq8D1AMBsv+1qD6rmmJtjsCJa/9MSRybdxh0mjbTvE6JYZQ/ZiQ0mMlDOlGPXTm9KLTU3jyw==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@changesets/errors': 0.2.0
|
||||
'@changesets/types': 6.0.0
|
||||
'@manypkg/get-packages': 1.1.3
|
||||
@@ -5844,7 +5851,7 @@ packages:
|
||||
/@changesets/[email protected]:
|
||||
resolution: {integrity: sha512-ZypqX8+/im1Fm98K4YcZtmLKgjs1kDQ5zHpc2U1qdtNBmZZfo/IBiG162RoP0CUF05tvp2y4IspH11PLnPxuuw==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@changesets/git': 3.0.0
|
||||
'@changesets/logger': 0.1.0
|
||||
'@changesets/parse': 0.4.0
|
||||
@@ -5865,7 +5872,7 @@ packages:
|
||||
/@changesets/[email protected]:
|
||||
resolution: {integrity: sha512-slGLb21fxZVUYbyea+94uFiD6ntQW0M2hIKNznFizDhZPDgn2c/fv1UzzlW43RVzh1BEDuIqW6hzlJ1OflNmcw==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@changesets/types': 6.0.0
|
||||
fs-extra: 7.0.1
|
||||
human-id: 1.0.2
|
||||
@@ -5985,7 +5992,7 @@ packages:
|
||||
resolution: {integrity: sha512-m4HEDZleaaCH+XgDDsPF15Ht6wTLsgDTeR3WYj9Q/k76JtWhrJjcP4+/XlG8LGT/Rol9qUfOIztXeA84ATpqPQ==}
|
||||
dependencies:
|
||||
'@babel/helper-module-imports': 7.24.3
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@emotion/hash': 0.9.1
|
||||
'@emotion/memoize': 0.8.1
|
||||
'@emotion/serialize': 1.1.4
|
||||
@@ -6046,7 +6053,7 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@emotion/babel-plugin': 11.11.0
|
||||
'@emotion/cache': 11.11.0
|
||||
'@emotion/serialize': 1.1.4
|
||||
@@ -6082,7 +6089,7 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@emotion/babel-plugin': 11.11.0
|
||||
'@emotion/is-prop-valid': 1.2.2
|
||||
'@emotion/react': 11.11.4(@types/[email protected])([email protected])
|
||||
@@ -6993,7 +7000,7 @@ packages:
|
||||
resolution: {integrity: sha512-yfkoghCltbGPDbRI71Qu3puInjXx4wO82+uhW82qbWLvosfIN7ep5Gr0Lq54liJpvlUG6M0IXM1GiGqcCyP12w==}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@expo/code-signing-certificates': 0.0.5
|
||||
'@expo/config': 8.5.4
|
||||
'@expo/config-plugins': 7.8.4
|
||||
@@ -7910,7 +7917,7 @@ packages:
|
||||
/@manypkg/[email protected]:
|
||||
resolution: {integrity: sha512-mki5uBvhHzO8kYYix/WRy2WX8S3B5wdVSc9D6KcU5lQNglP2yt58/VfLuAK49glRXChosY8ap2oJ1qgma3GUVA==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@types/node': 12.20.55
|
||||
find-up: 4.1.0
|
||||
fs-extra: 8.1.0
|
||||
@@ -7928,7 +7935,7 @@ packages:
|
||||
/@manypkg/[email protected]:
|
||||
resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@changesets/types': 4.1.0
|
||||
'@manypkg/find-root': 1.1.0
|
||||
fs-extra: 8.1.0
|
||||
@@ -9099,7 +9106,7 @@ packages:
|
||||
/@radix-ui/[email protected]:
|
||||
resolution: {integrity: sha512-yQ8oGX2GVsEYMWGxcovu1uGWPCxV5BFfeeYxqPmuAzUyLT9qmaMXSAhXpb0WrspIeqYzdJpkh2vHModJPgRIaw==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
dev: false
|
||||
|
||||
/@radix-ui/[email protected](@types/[email protected])(@types/[email protected])([email protected])([email protected]):
|
||||
@@ -9115,7 +9122,7 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
'@types/react': 18.2.17
|
||||
'@types/react-dom': 18.2.24
|
||||
@@ -9136,7 +9143,7 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
@@ -9156,7 +9163,7 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@types/react': 18.2.17
|
||||
react: 18.2.0
|
||||
dev: false
|
||||
@@ -9170,7 +9177,7 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@types/react': 18.2.17
|
||||
react: 18.2.0
|
||||
dev: false
|
||||
@@ -9188,7 +9195,7 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/primitive': 1.0.1
|
||||
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])
|
||||
@@ -9218,7 +9225,7 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@types/react': 18.2.17
|
||||
react: 18.2.0
|
||||
dev: false
|
||||
@@ -9236,7 +9243,7 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/primitive': 1.0.1
|
||||
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
@@ -9257,7 +9264,7 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@types/react': 18.2.17
|
||||
react: 18.2.0
|
||||
dev: false
|
||||
@@ -9275,7 +9282,7 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
|
||||
@@ -9302,7 +9309,7 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])
|
||||
'@types/react': 18.2.17
|
||||
react: 18.2.0
|
||||
@@ -9321,7 +9328,7 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/primitive': 1.0.1
|
||||
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])
|
||||
@@ -9356,7 +9363,7 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@floating-ui/react-dom': 2.0.8([email protected])([email protected])
|
||||
'@radix-ui/react-arrow': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
|
||||
@@ -9386,7 +9393,7 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
'@types/react': 18.2.17
|
||||
'@types/react-dom': 18.2.24
|
||||
@@ -9407,7 +9414,7 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])
|
||||
'@types/react': 18.2.17
|
||||
@@ -9429,7 +9436,7 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/react-slot': 1.0.2(@types/[email protected])([email protected])
|
||||
'@types/react': 18.2.17
|
||||
'@types/react-dom': 18.2.24
|
||||
@@ -9450,7 +9457,7 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/primitive': 1.0.1
|
||||
'@radix-ui/react-collection': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
|
||||
@@ -9475,7 +9482,7 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
|
||||
'@types/react': 18.2.17
|
||||
react: 18.2.0
|
||||
@@ -9494,7 +9501,7 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/primitive': 1.0.1
|
||||
'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-direction': 1.0.1(@types/[email protected])([email protected])
|
||||
@@ -9522,7 +9529,7 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/primitive': 1.0.1
|
||||
'@radix-ui/react-compose-refs': 1.0.1(@types/[email protected])([email protected])
|
||||
'@radix-ui/react-context': 1.0.1(@types/[email protected])([email protected])
|
||||
@@ -9550,7 +9557,7 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@types/react': 18.2.17
|
||||
react: 18.2.0
|
||||
dev: false
|
||||
@@ -9564,7 +9571,7 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
|
||||
'@types/react': 18.2.17
|
||||
react: 18.2.0
|
||||
@@ -9579,7 +9586,7 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/react-use-callback-ref': 1.0.1(@types/[email protected])([email protected])
|
||||
'@types/react': 18.2.17
|
||||
react: 18.2.0
|
||||
@@ -9594,7 +9601,7 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@types/react': 18.2.17
|
||||
react: 18.2.0
|
||||
dev: false
|
||||
@@ -9608,7 +9615,7 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/rect': 1.0.1
|
||||
'@types/react': 18.2.17
|
||||
react: 18.2.0
|
||||
@@ -9623,7 +9630,7 @@ packages:
|
||||
'@types/react':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/react-use-layout-effect': 1.0.1(@types/[email protected])([email protected])
|
||||
'@types/react': 18.2.17
|
||||
react: 18.2.0
|
||||
@@ -9642,7 +9649,7 @@ packages:
|
||||
'@types/react-dom':
|
||||
optional: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@radix-ui/react-primitive': 1.0.3(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
||||
'@types/react': 18.2.17
|
||||
'@types/react-dom': 18.2.24
|
||||
@@ -9653,7 +9660,7 @@ packages:
|
||||
/@radix-ui/[email protected]:
|
||||
resolution: {integrity: sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
dev: false
|
||||
|
||||
/@react-native-async-storage/[email protected]([email protected]):
|
||||
@@ -10962,7 +10969,7 @@ packages:
|
||||
/@solana/[email protected]:
|
||||
resolution: {integrity: sha512-zconqecIcBqEF6JiM4xYF865Xc4aas+iWK5qnu7nwKPq9ilRYcn+2GiwpYXqUqqBUe0XCO17w18KO0F8h+QATg==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@noble/curves': 1.4.0
|
||||
'@noble/hashes': 1.4.0
|
||||
'@solana/buffer-layout': 4.0.1
|
||||
@@ -12564,8 +12571,8 @@ packages:
|
||||
- react
|
||||
dev: false
|
||||
|
||||
/@walletconnect/[email protected].1(@react-native-async-storage/[email protected])(@react-native-community/[email protected])([email protected])([email protected]):
|
||||
resolution: {integrity: sha512-my4bUA9E+4Lytr+NiSft5hAxYM/5k03Gxix214ScQ3FV+yFZccMRtvRgby94XuEN1U6CS9Htm/FpZQtziCrawA==}
|
||||
/@walletconnect/[email protected].2(@react-native-async-storage/[email protected])(@react-native-community/[email protected])([email protected])([email protected]):
|
||||
resolution: {integrity: sha512-NChpoZwftMDSy6xH0hc1d2eCvlm0Tx8BQSMtHKFaOpbxxreB90UDmbubqNIPywAGinM/1isgen0i0yvLpHRLRg==}
|
||||
peerDependencies:
|
||||
'@react-native-async-storage/async-storage': '*'
|
||||
'@react-native-community/netinfo': '*'
|
||||
@@ -12609,38 +12616,6 @@ packages:
|
||||
tslib: 1.14.1
|
||||
dev: false
|
||||
|
||||
/@walletconnect/[email protected]:
|
||||
resolution: {integrity: sha512-6PegtNZgqmOX2G022fyrHjyN3PW6Ov2GVFvG8f+80uqikEO3IAL3dgazlnUYtuaUNYs+Hx7sSvjNVanMiJsE1Q==}
|
||||
dependencies:
|
||||
'@walletconnect/core': 2.12.1
|
||||
'@walletconnect/events': 1.0.1
|
||||
'@walletconnect/heartbeat': 1.2.1
|
||||
'@walletconnect/jsonrpc-utils': 1.0.8
|
||||
'@walletconnect/logger': 2.1.2
|
||||
'@walletconnect/time': 1.0.2
|
||||
'@walletconnect/types': 2.12.1
|
||||
'@walletconnect/utils': 2.12.1
|
||||
events: 3.3.0
|
||||
transitivePeerDependencies:
|
||||
- '@azure/app-configuration'
|
||||
- '@azure/cosmos'
|
||||
- '@azure/data-tables'
|
||||
- '@azure/identity'
|
||||
- '@azure/keyvault-secrets'
|
||||
- '@azure/storage-blob'
|
||||
- '@capacitor/preferences'
|
||||
- '@netlify/blobs'
|
||||
- '@planetscale/database'
|
||||
- '@react-native-async-storage/async-storage'
|
||||
- '@upstash/redis'
|
||||
- '@vercel/kv'
|
||||
- bufferutil
|
||||
- encoding
|
||||
- ioredis
|
||||
- uWebSockets.js
|
||||
- utf-8-validate
|
||||
dev: false
|
||||
|
||||
/@walletconnect/[email protected]:
|
||||
resolution: {integrity: sha512-cM0ualXj6nVvLqS4BDNRk+ZWR+lubcsz/IHreH+3wYrQ2sV+C0fN6ctrd7MMGZss0C0qacWCx0pm62ZBuoKvqA==}
|
||||
dependencies:
|
||||
@@ -12831,17 +12806,17 @@ packages:
|
||||
- uWebSockets.js
|
||||
dev: false
|
||||
|
||||
/@walletconnect/[email protected].1:
|
||||
resolution: {integrity: sha512-R50v3Ez73cLEaXPJOGMEBeEw5xN8/V6tya7+49OqwLLlZ6VR3tdJm8Az8TrvTrbRZ38oXP0cIl9ky+bSMCJtYw==}
|
||||
/@walletconnect/[email protected].2:
|
||||
resolution: {integrity: sha512-jrxXmZyg+czkHXg4d0jdhxajjfbgPvS9dW4UzdGdz12dXsX7CFgZxz+LWc/oakhLyngUtwHtyBlgaFWxamS3AQ==}
|
||||
dependencies:
|
||||
'@walletconnect/auth-client': 2.1.2
|
||||
'@walletconnect/core': 2.12.1
|
||||
'@walletconnect/core': 2.12.2
|
||||
'@walletconnect/jsonrpc-provider': 1.0.13
|
||||
'@walletconnect/jsonrpc-utils': 1.0.8
|
||||
'@walletconnect/logger': 2.0.1
|
||||
'@walletconnect/sign-client': 2.12.1
|
||||
'@walletconnect/types': 2.12.1
|
||||
'@walletconnect/utils': 2.12.1
|
||||
'@walletconnect/logger': 2.1.2
|
||||
'@walletconnect/sign-client': 2.12.2
|
||||
'@walletconnect/types': 2.12.2
|
||||
'@walletconnect/utils': 2.12.2
|
||||
transitivePeerDependencies:
|
||||
- '@azure/app-configuration'
|
||||
- '@azure/cosmos'
|
||||
@@ -13646,7 +13621,7 @@ packages:
|
||||
resolution: {integrity: sha512-Cg7TFGpIr01vOQNODXOOaGz2NpCU5gl8x1qJFbb6hbZxR7XrcE2vtbAsTAbJ7/xwJtUuJEw8K8Zr/AE0LHlesg==}
|
||||
engines: {node: '>=10', npm: '>=6'}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
cosmiconfig: 7.1.0
|
||||
resolve: 1.22.8
|
||||
dev: false
|
||||
@@ -16300,7 +16275,7 @@ packages:
|
||||
peerDependencies:
|
||||
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
aria-query: 5.3.0
|
||||
array-includes: 3.1.8
|
||||
array.prototype.flatmap: 1.3.2
|
||||
@@ -17030,7 +17005,7 @@ packages:
|
||||
resolution: {integrity: sha512-yLPdxCMVAbmeEIpzzyAuJ79wvr6ToDDtQmuLDMAgWtjqP8x3CGddXxUe07PpKEQgzwJabdHvCLP5Bv94wMFIjQ==}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
'@expo/cli': 0.17.8(@react-native/[email protected])([email protected])
|
||||
'@expo/config': 8.5.4
|
||||
'@expo/config-plugins': 7.8.4
|
||||
@@ -20526,7 +20501,7 @@ packages:
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-EpVKm4eN0Fgx2PEWpJ5NiMArV8zVoOin866jIIvzFLpmkZz1UEqgjf2JAfUJnjgv3fjSV3JqeGG2vZCaGQBTow==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
react-refresh: 0.4.3
|
||||
|
||||
/[email protected]:
|
||||
@@ -23124,7 +23099,7 @@ packages:
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==}
|
||||
@@ -23441,7 +23416,7 @@ packages:
|
||||
/[email protected]:
|
||||
resolution: {integrity: sha512-DwKewQz1IUA5wfLvgM8wDpPRcr+nWSxuFxx5CbrI2z/MyyZ4nXLM86TvIA+cI1ZAdqC8JIBR1mZR55dzaLU+Hw==}
|
||||
dependencies:
|
||||
'@babel/runtime': 7.24.4
|
||||
'@babel/runtime': 7.24.5
|
||||
eventemitter3: 4.0.7
|
||||
uuid: 8.3.2
|
||||
ws: 8.16.0([email protected])([email protected])
|
||||
@@ -24987,64 +24962,64 @@ packages:
|
||||
yargs: 17.7.2
|
||||
dev: false
|
||||
|
||||
/[email protected].2:
|
||||
resolution: {integrity: sha512-CCSuD8CfmtncpohCuIgq7eAzUas0IwSbHfI8/Q3vKObTdXyN8vAo01gwqXjDGpzG9bTEVedD0GmLbD23dR0MLA==}
|
||||
/[email protected].3:
|
||||
resolution: {integrity: sha512-glup8Qx1qEFB5jerAnXbS8WrL92OKyMmg5Hnd4PleLljAeYmx+cmmnsmLT7tpaVZIN58EAAwu8wHC6kIIqhbWA==}
|
||||
cpu: [x64]
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/[email protected].2:
|
||||
resolution: {integrity: sha512-0HySm06/D2N91rJJ89FbiI/AodmY8B3WDSFTVEpu2+8spUw7hOJ8okWOT0e5iGlyayUP9gr31eOeL3VFZkpfCw==}
|
||||
/[email protected].3:
|
||||
resolution: {integrity: sha512-/np2xD+f/+9qY8BVtuOQXRq5f9LehCFxamiQnwdqWm5iZmdjygC5T3uVSYuagVFsZKMvX3ycySwh8dylGTl6lg==}
|
||||
cpu: [arm64]
|
||||
os: [darwin]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/[email protected].2:
|
||||
resolution: {integrity: sha512-7HnibgbqZrjn4lcfIouzlPu8ZHSBtURG4c7Bedu7WJUDeZo+RE1crlrQm8wuwO54S0siYqUqo7GNHxu4IXbioQ==}
|
||||
/[email protected].3:
|
||||
resolution: {integrity: sha512-G+HGrau54iAnbXLfl+N/PynqpDwi/uDzb6iM9hXEDG+yJnSJxaHMShhOkXYJPk9offm9prH33Khx2scXrYVW1g==}
|
||||
cpu: [x64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/[email protected].2:
|
||||
resolution: {integrity: sha512-sUq4dbpk6SNKg/Hkwn256Vj2AEYSQdG96repio894h5/LEfauIK2QYiC/xxAeW3WBMc6BngmvNyURIg7ltrePg==}
|
||||
/[email protected].3:
|
||||
resolution: {integrity: sha512-qWwEl5VR02NqRyl68/3pwp3c/olZuSp+vwlwrunuoNTm6JXGLG5pTeme4zoHNnk0qn4cCX7DFrOboArlYxv0wQ==}
|
||||
cpu: [arm64]
|
||||
os: [linux]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/[email protected].2:
|
||||
resolution: {integrity: sha512-DqzhcrciWq3dpzllJR2VVIyOhSlXYCo4mNEWl98DJ3FZ08PEzcI3ceudlH6F0t/nIcfSItK1bDP39cs7YoZHEA==}
|
||||
/[email protected].3:
|
||||
resolution: {integrity: sha512-Nudr4bRChfJzBPzEmpVV85VwUYRCGKecwkBFpbp2a4NtrJ3+UP1VZES653ckqCu2FRyRuS0n03v9euMbAvzH+Q==}
|
||||
cpu: [x64]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/[email protected].2:
|
||||
resolution: {integrity: sha512-WnPMrwfCXxK69CdDfS1/j2DlzcKxSmycgDAqV0XCYpK/812KB0KlvsVAt5PjEbZGXkY88pCJ1BLZHAjF5FcbqA==}
|
||||
/[email protected].3:
|
||||
resolution: {integrity: sha512-ouJCgsVLd3icjRLmRvHQDDZnmGzT64GBupM1Y+TjtYn2LVaEBoV6hicFy8x5DUpnqdLy+YpCzRMkWlwhmkX7sQ==}
|
||||
cpu: [arm64]
|
||||
os: [win32]
|
||||
requiresBuild: true
|
||||
dev: false
|
||||
optional: true
|
||||
|
||||
/[email protected].2:
|
||||
resolution: {integrity: sha512-rX/d9f4MgRT3yK6cERPAkfavIxbpBZowDQpgvkYwGMGDQ0Nvw1nc0NVjruE76GrzXQqoxR1UpnmEP54vBARFHQ==}
|
||||
/[email protected].3:
|
||||
resolution: {integrity: sha512-n17HJv4F4CpsYTvKzUJhLbyewbXjq1oLCi90i5tW1TiWDz16ML1eDG7wi5dHaKxzh5efIM56SITnuVbMq5dk4g==}
|
||||
hasBin: true
|
||||
optionalDependencies:
|
||||
turbo-darwin-64: 1.13.2
|
||||
turbo-darwin-arm64: 1.13.2
|
||||
turbo-linux-64: 1.13.2
|
||||
turbo-linux-arm64: 1.13.2
|
||||
turbo-windows-64: 1.13.2
|
||||
turbo-windows-arm64: 1.13.2
|
||||
turbo-darwin-64: 1.13.3
|
||||
turbo-darwin-arm64: 1.13.3
|
||||
turbo-linux-64: 1.13.3
|
||||
turbo-linux-arm64: 1.13.3
|
||||
turbo-windows-64: 1.13.3
|
||||
turbo-windows-arm64: 1.13.3
|
||||
dev: false
|
||||
|
||||
/[email protected]:
|
||||
|
||||
Reference in New Issue
Block a user