Compare commits

...
Author SHA1 Message Date
github-actions[bot]GitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
0af916e42e Version Packages (#1418)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-31 19:21:41 -07:00
iketwandGitHub fbde927a0c [Wallets] Add transform private methods plugin for RN (#1421) 2023-08-01 02:04:50 +00:00
Joaquim VergesandGitHub 952009cd73 [service-utils] authorize calls if domains are set to * (#1420) 2023-07-31 18:14:20 -07:00
Joaquim VergesandGitHub 580e77b170 [AuthService] return accountId from authorize call (#1417) 2023-07-31 20:48:02 +00:00
github-actions[bot]GitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>
d275493c59 Version Packages (#1416)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-07-29 00:35:56 -07:00
Joaquim VergesandGitHub 256ee0d5ec [All] downgrade preconstruct to 2.7.0 (#1415) 2023-07-29 00:24:54 -07:00
56 changed files with 3272 additions and 384 deletions
+16
View File
@@ -1,5 +1,21 @@
# @thirdweb-dev/auth
## 3.2.23
### Patch Changes
- Updated dependencies [[`fbde927a`](https://github.com/thirdweb-dev/js/commit/fbde927a0cb36a6269e045d8e577536f23164ef7)]:
- @thirdweb-dev/wallets@1.1.6
## 3.2.22
### Patch Changes
- [#1415](https://github.com/thirdweb-dev/js/pull/1415) [`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Downgrade preconstruct to 2.7.0
- Updated dependencies [[`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390)]:
- @thirdweb-dev/wallets@1.1.5
## 3.2.21
### Patch Changes
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/auth",
"version": "3.2.21",
"version": "3.2.23",
"main": "dist/thirdweb-dev-auth.cjs.js",
"module": "dist/thirdweb-dev-auth.esm.js",
"browser": {
@@ -86,7 +86,7 @@
"@microsoft/api-documenter": "^7.22.30",
"@microsoft/api-extractor": "^7.36.3",
"@microsoft/tsdoc": "^0.14.1",
"@preconstruct/cli": "^2.8.1",
"@preconstruct/cli": "2.7.0",
"@solana/web3.js": "^1.62.0",
"@swc-node/register": "^1.6.6",
"@swc/core": "^1.3.71",
+6
View File
@@ -1,5 +1,11 @@
# @thirdweb-dev/chains
## 0.1.40
### Patch Changes
- [#1415](https://github.com/thirdweb-dev/js/pull/1415) [`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Downgrade preconstruct to 2.7.0
## 0.1.39
### Patch Changes
+35
View File
@@ -0,0 +1,35 @@
import type { Chain } from "../src/types";
export default {
"name": "Mintara Mainnet",
"title": "Mintara Mainnet",
"chain": "Mintara",
"icon": {
"url": "ipfs://bafybeie7jzlzlpz7c3a3oh4x5joej23dj2qf3cexmchjyc72hv3fblcaja",
"width": 256,
"height": 256,
"format": "png"
},
"rpc": [
"https://mintara.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://subnets.avax.network/mintara/mainnet/rpc"
],
"faucets": [],
"nativeCurrency": {
"name": "MINTARA",
"symbol": "MNTR",
"decimals": 18
},
"infoURL": "https://playthink.co.jp",
"shortName": "mintara",
"chainId": 1080,
"networkId": 1080,
"explorers": [
{
"name": "explorer",
"url": "https://subnets.avax.network/mintara",
"standard": "EIP3091"
}
],
"testnet": false,
"slug": "mintara"
} as const satisfies Chain;
+40
View File
@@ -0,0 +1,40 @@
import type { Chain } from "../src/types";
export default {
"name": "Kalar Chain Mainnet",
"chain": "KLC",
"icon": {
"url": "ipfs://bafkreihfoy2kgf2rebaoicso7z5h7ju46z6gtr64mskkths3qbfkrtnkjm",
"width": 190,
"height": 170,
"format": "png"
},
"rpc": [
"https://kalar-chain.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"http://rpc-api.kalarchain.tech"
],
"faucets": [],
"nativeCurrency": {
"name": "Kalar",
"symbol": "KLC",
"decimals": 18
},
"infoURL": "https://kalarchain.tech",
"shortName": "KLC",
"chainId": 1379,
"networkId": 1379,
"explorers": [
{
"name": "kalarscan",
"url": "https://explorer.kalarchain.tech",
"icon": {
"url": "ipfs://bafkreidbzzv3lrwlzquhlpl4jcmr54sifhi5ufoek6olb5kjh3h3kvktdq",
"width": 411,
"height": 159,
"format": "png"
},
"standard": "EIP3091"
}
],
"testnet": false,
"slug": "kalar-chain"
} as const satisfies Chain;
+10 -4
View File
@@ -5,17 +5,23 @@ export default {
"rpc": [
"https://harmony-shard-0.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://api.harmony.one",
"https://api.s0.t.hmny.io"
],
"faucets": [
"https://free-online-app.com/faucet-for-eth-evm-chains/"
"https://a.api.s0.t.hmny.io",
"https://api.s0.t.hmny.io",
"https://rpc.ankr.com/harmony",
"https://harmony.api.onfinality.io/public",
"https://1rpc.io/one"
],
"faucets": [],
"nativeCurrency": {
"name": "ONE",
"symbol": "ONE",
"decimals": 18
},
"infoURL": "https://www.harmony.one/",
"slip44": 1023,
"ens": {
"registry": "0x4cd2563118e57b19179d8dc033f2b0c5b5d69ff5"
},
"shortName": "hmy-s0",
"chainId": 1666600000,
"networkId": 1666600000,
+8
View File
@@ -13,9 +13,17 @@ export default {
"decimals": 18
},
"infoURL": "https://www.harmony.one/",
"slip44": 1023,
"shortName": "hmy-s1",
"chainId": 1666600001,
"networkId": 1666600001,
"explorers": [
{
"name": "Harmony Block Explorer",
"url": "https://explorer.harmony.one/blocks/shard/1",
"standard": "none"
}
],
"testnet": false,
"slug": "harmony-shard-1"
} as const satisfies Chain;
+8
View File
@@ -13,9 +13,17 @@ export default {
"decimals": 18
},
"infoURL": "https://www.harmony.one/",
"slip44": 1023,
"shortName": "hmy-s2",
"chainId": 1666600002,
"networkId": 1666600002,
"explorers": [
{
"name": "Harmony Block Explorer",
"url": "https://explorer.harmony.one/blocks/shard/2",
"standard": "none"
}
],
"testnet": false,
"slug": "harmony-shard-2"
} as const satisfies Chain;
+8
View File
@@ -13,9 +13,17 @@ export default {
"decimals": 18
},
"infoURL": "https://www.harmony.one/",
"slip44": 1023,
"shortName": "hmy-s3",
"chainId": 1666600003,
"networkId": 1666600003,
"explorers": [
{
"name": "Harmony Block Explorer",
"url": "https://explorer.harmony.one/blocks/shard/3",
"standard": "none"
}
],
"testnet": false,
"slug": "harmony-shard-3"
} as const satisfies Chain;
+1 -1
View File
@@ -21,7 +21,7 @@ export default {
"explorers": [
{
"name": "Harmony Testnet Block Explorer",
"url": "https://explorer.pops.one",
"url": "https://explorer.testnet.harmony.one",
"standard": "EIP3091"
}
],
+10 -1
View File
@@ -6,7 +6,9 @@ export default {
"https://harmony-testnet-shard-1.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://api.s1.b.hmny.io"
],
"faucets": [],
"faucets": [
"https://faucet.pops.one"
],
"nativeCurrency": {
"name": "ONE",
"symbol": "ONE",
@@ -16,6 +18,13 @@ export default {
"shortName": "hmy-b-s1",
"chainId": 1666700001,
"networkId": 1666700001,
"explorers": [
{
"name": "Harmony Block Explorer",
"url": "https://explorer.testnet.harmony.one",
"standard": "none"
}
],
"testnet": true,
"slug": "harmony-testnet-shard-1"
} as const satisfies Chain;
-21
View File
@@ -1,21 +0,0 @@
import type { Chain } from "../src/types";
export default {
"name": "Harmony Testnet Shard 2",
"chain": "Harmony",
"rpc": [
"https://harmony-testnet-shard-2.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://api.s2.b.hmny.io"
],
"faucets": [],
"nativeCurrency": {
"name": "ONE",
"symbol": "ONE",
"decimals": 18
},
"infoURL": "https://www.harmony.one/",
"shortName": "hmy-b-s2",
"chainId": 1666700002,
"networkId": 1666700002,
"testnet": true,
"slug": "harmony-testnet-shard-2"
} as const satisfies Chain;
-21
View File
@@ -1,21 +0,0 @@
import type { Chain } from "../src/types";
export default {
"name": "Harmony Testnet Shard 3",
"chain": "Harmony",
"rpc": [
"https://harmony-testnet-shard-3.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://api.s3.b.hmny.io"
],
"faucets": [],
"nativeCurrency": {
"name": "ONE",
"symbol": "ONE",
"decimals": 18
},
"infoURL": "https://www.harmony.one/",
"shortName": "hmy-b-s3",
"chainId": 1666700003,
"networkId": 1666700003,
"testnet": true,
"slug": "harmony-testnet-shard-3"
} as const satisfies Chain;
+3 -11
View File
@@ -4,11 +4,9 @@ export default {
"chain": "Harmony",
"rpc": [
"https://harmony-devnet-shard-0.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://api.s1.ps.hmny.io"
],
"faucets": [
"http://dev.faucet.easynode.one/"
"https://api.s0.ps.hmny.io"
],
"faucets": [],
"nativeCurrency": {
"name": "ONE",
"symbol": "ONE",
@@ -18,13 +16,7 @@ export default {
"shortName": "hmy-ps-s0",
"chainId": 1666900000,
"networkId": 1666900000,
"explorers": [
{
"name": "Harmony Block Explorer",
"url": "https://explorer.ps.hmny.io",
"standard": "EIP3091"
}
],
"explorers": [],
"testnet": false,
"slug": "harmony-devnet-shard-0"
} as const satisfies Chain;
+22
View File
@@ -0,0 +1,22 @@
import type { Chain } from "../src/types";
export default {
"name": "Harmony Devnet Shard 1",
"chain": "Harmony",
"rpc": [
"https://harmony-devnet-shard-1.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://api.s1.ps.hmny.io"
],
"faucets": [],
"nativeCurrency": {
"name": "ONE",
"symbol": "ONE",
"decimals": 18
},
"infoURL": "https://www.harmony.one/",
"shortName": "hmy-ps-s1",
"chainId": 1666900001,
"networkId": 1666900001,
"explorers": [],
"testnet": false,
"slug": "harmony-devnet-shard-1"
} as const satisfies Chain;
+3 -3
View File
@@ -1,9 +1,9 @@
import type { Chain } from "../src/types";
export default {
"name": "Cronos Mainnet Beta",
"name": "Cronos Mainnet",
"chain": "CRO",
"rpc": [
"https://cronos-beta.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://cronos.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://evm.cronos.org",
"https://cronos-evm.publicnode.com"
],
@@ -30,5 +30,5 @@ export default {
}
],
"testnet": false,
"slug": "cronos-beta"
"slug": "cronos"
} as const satisfies Chain;
+23 -3
View File
@@ -1,8 +1,20 @@
import type { Chain } from "../src/types";
export default {
"name": "Acala Mandala Testnet",
"name": "Acala Mandala Testnet TC9",
"chain": "mACA",
"rpc": [],
"rpc": [
"https://acala-mandala-testnet-tc9.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://eth-rpc-tc9.aca-staging.network",
"wss://eth-rpc-tc9.aca-staging.network"
],
"features": [
{
"name": "EIP155"
},
{
"name": "EIP1559"
}
],
"faucets": [],
"nativeCurrency": {
"name": "Acala Mandala Token",
@@ -13,6 +25,14 @@ export default {
"shortName": "maca",
"chainId": 595,
"networkId": 595,
"slip44": 595,
"explorers": [
{
"name": "blockscout",
"url": "https://blockscout.mandala.aca-staging.network",
"standard": "EIP3091"
}
],
"testnet": true,
"slug": "acala-mandala-testnet"
"slug": "acala-mandala-testnet-tc9"
} as const satisfies Chain;
+12 -1
View File
@@ -2,7 +2,11 @@ import type { Chain } from "../src/types";
export default {
"name": "Karura Network Testnet",
"chain": "KAR",
"rpc": [],
"rpc": [
"https://karura-network-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://eth-rpc-karura-testnet.aca-staging.network",
"wss://eth-rpc-karura-testnet.aca-staging.network"
],
"faucets": [],
"nativeCurrency": {
"name": "Karura Token",
@@ -14,6 +18,13 @@ export default {
"chainId": 596,
"networkId": 596,
"slip44": 596,
"explorers": [
{
"name": "blockscout",
"url": "https://blockscout.karura-testnet.aca-staging.network",
"standard": "EIP3091"
}
],
"testnet": true,
"slug": "karura-network-testnet"
} as const satisfies Chain;
+12 -1
View File
@@ -2,7 +2,11 @@ import type { Chain } from "../src/types";
export default {
"name": "Acala Network Testnet",
"chain": "ACA",
"rpc": [],
"rpc": [
"https://acala-network-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://eth-rpc-acala-testnet.aca-staging.network",
"wss://eth-rpc-acala-testnet.aca-staging.network"
],
"faucets": [],
"nativeCurrency": {
"name": "Acala Token",
@@ -14,6 +18,13 @@ export default {
"chainId": 597,
"networkId": 597,
"slip44": 597,
"explorers": [
{
"name": "blockscout",
"url": "https://blockscout.acala-dev.aca-dev.network",
"standard": "EIP3091"
}
],
"testnet": true,
"slug": "acala-network-testnet"
} as const satisfies Chain;
+42
View File
@@ -0,0 +1,42 @@
import type { Chain } from "../src/types";
export default {
"name": "PEER Testnet",
"chain": "PEER",
"rpc": [
"https://peer-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"http://testnet-polka-host-232813573.us-west-1.elb.amazonaws.com"
],
"faucets": [
"https://testnet.peer.inc"
],
"nativeCurrency": {
"name": "PEER Token",
"symbol": "PEER",
"decimals": 18
},
"infoURL": "https://peer.inc",
"shortName": "PEER",
"chainId": 601,
"networkId": 601,
"icon": {
"url": "ipfs://QmPKKCdjEhP6CHekLD8YnhR2VsdjzprHapapDj7Wzqm52b",
"width": 1363,
"height": 760,
"format": "png"
},
"explorers": [
{
"name": "PEER Explorer",
"url": "https://testnet.peer.inc",
"standard": "none",
"icon": {
"url": "ipfs://QmPKKCdjEhP6CHekLD8YnhR2VsdjzprHapapDj7Wzqm52b",
"width": 1363,
"height": 760,
"format": "png"
}
}
],
"testnet": true,
"slug": "peer-testnet"
} as const satisfies Chain;
+21 -2
View File
@@ -2,18 +2,37 @@ import type { Chain } from "../src/types";
export default {
"name": "Karura Network",
"chain": "KAR",
"rpc": [],
"rpc": [
"https://karura-network.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://eth-rpc-karura.aca-api.network",
"wss://eth-rpc-karura.aca-api.network"
],
"features": [
{
"name": "EIP155"
},
{
"name": "EIP1559"
}
],
"faucets": [],
"nativeCurrency": {
"name": "Karura Token",
"symbol": "KAR",
"decimals": 18
},
"infoURL": "https://karura.network",
"infoURL": "https://acala.network/karura",
"shortName": "kar",
"chainId": 686,
"networkId": 686,
"slip44": 686,
"explorers": [
{
"name": "blockscout",
"url": "https://blockscout.karura.network",
"standard": "EIP3091"
}
],
"testnet": false,
"slug": "karura-network"
} as const satisfies Chain;
+5 -5
View File
@@ -1,6 +1,6 @@
import type { Chain } from "../src/types";
export default {
"name": "ZetaChain Athens Testnet",
"name": "ZetaChain Athens 3 Testnet",
"chain": "ZetaChain",
"icon": {
"url": "ipfs://QmP4Gnf4Lkp8q5LQVePNjAWxSqrw8vU2JAf7amcFz4vEUy",
@@ -9,8 +9,8 @@ export default {
"format": "png"
},
"rpc": [
"https://zetachain-athens-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://api.athens2.zetachain.com/evm"
"https://zetachain-athens-3-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.ankr.com/zetachain_evm_athens_testnet"
],
"faucets": [
"https://labs.zetachain.com/get-zeta"
@@ -39,10 +39,10 @@ export default {
},
{
"name": "ZetaChain Athens Testnet Explorer",
"url": "https://explorer.athens.zetachain.com",
"url": "https://athens3.explorer.zetachain.com",
"standard": "none"
}
],
"testnet": true,
"slug": "zetachain-athens-testnet"
"slug": "zetachain-athens-3-testnet"
} as const satisfies Chain;
+20 -1
View File
@@ -2,7 +2,19 @@ import type { Chain } from "../src/types";
export default {
"name": "Acala Network",
"chain": "ACA",
"rpc": [],
"rpc": [
"https://acala-network.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://eth-rpc-acala.aca-api.network",
"wss://eth-rpc-acala.aca-api.network"
],
"features": [
{
"name": "EIP155"
},
{
"name": "EIP1559"
}
],
"faucets": [],
"nativeCurrency": {
"name": "Acala Token",
@@ -14,6 +26,13 @@ export default {
"chainId": 787,
"networkId": 787,
"slip44": 787,
"explorers": [
{
"name": "blockscout",
"url": "https://blockscout.acala.network",
"standard": "EIP3091"
}
],
"testnet": false,
"slug": "acala-network"
} as const satisfies Chain;
+1 -1
View File
@@ -4,7 +4,7 @@ export default {
"chain": "ETH",
"rpc": [
"https://base.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://developer-access-mainnet.base.org/"
"https://mainnet.base.org/"
],
"faucets": [],
"nativeCurrency": {
+39
View File
@@ -0,0 +1,39 @@
import type { Chain } from "../src/types";
export default {
"name": "IMPERIUM TESTNET",
"chain": "tIMP",
"rpc": [],
"faucets": [
"https://faucet.imperiumchain.com/"
],
"nativeCurrency": {
"name": "tIMP",
"symbol": "tIMP",
"decimals": 18
},
"infoURL": "https://imperiumchain.com",
"shortName": "tIMP",
"chainId": 9818,
"networkId": 9818,
"icon": {
"url": "ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",
"width": 200,
"height": 200,
"format": "png"
},
"explorers": [
{
"name": "IMPERIUM TESTNET Explorer",
"icon": {
"url": "ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",
"width": 200,
"height": 200,
"format": "png"
},
"url": "https://network.impscan.com",
"standard": "none"
}
],
"testnet": true,
"slug": "imperium-testnet"
} as const satisfies Chain;
+39
View File
@@ -0,0 +1,39 @@
import type { Chain } from "../src/types";
export default {
"name": "IMPERIUM MAINNET",
"chain": "IMP",
"rpc": [],
"faucets": [
"https://faucet.imperiumchain.com/"
],
"nativeCurrency": {
"name": "IMP",
"symbol": "IMP",
"decimals": 18
},
"infoURL": "https://imperiumchain.com",
"shortName": "IMP",
"chainId": 9819,
"networkId": 9819,
"icon": {
"url": "ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",
"width": 200,
"height": 200,
"format": "png"
},
"explorers": [
{
"name": "IMPERIUM Explorer",
"icon": {
"url": "ipfs://QmcNGLzKyc7Gu2dgpBFF6t3KJwFuKC79D56DW8GTc5DWRw",
"width": 200,
"height": 200,
"format": "png"
},
"url": "https://impscan.com",
"standard": "none"
}
],
"testnet": false,
"slug": "imperium"
} as const satisfies Chain;
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/chains",
"version": "0.1.39",
"version": "0.1.40",
"main": "dist/thirdweb-dev-chains.cjs.js",
"module": "dist/thirdweb-dev-chains.esm.js",
"browser": {
@@ -27,7 +27,7 @@
"@babel/preset-env": "^7.22.9",
"@babel/preset-typescript": "^7.22.5",
"@babel/runtime": "^7.22.6",
"@preconstruct/cli": "^2.8.1",
"@preconstruct/cli": "2.7.0",
"@thirdweb-dev/tsconfig": "workspace:*",
"@types/jest": "^29.5.3",
"axios": "^1.4.0",
File diff suppressed because one or more lines are too long
+9
View File
@@ -1,5 +1,14 @@
# thirdweb
## 0.11.6
### Patch Changes
- Updated dependencies [[`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390)]:
- @thirdweb-dev/storage@1.2.2
- @thirdweb-dev/chains@0.1.40
- @thirdweb-dev/sdk@3.10.42
## 0.11.5
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "thirdweb",
"main": "dist/cli/index.js",
"version": "0.11.5",
"version": "0.11.6",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/cli",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
+6
View File
@@ -1,5 +1,11 @@
# @thirdweb-dev/pay
## 0.1.4
### Patch Changes
- [#1415](https://github.com/thirdweb-dev/js/pull/1415) [`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Downgrade preconstruct to 2.7.0
## 0.1.3
### Patch Changes
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/pay",
"version": "0.1.3",
"version": "0.1.4",
"main": "dist/thirdweb-dev-pay.cjs.js",
"module": "dist/thirdweb-dev-pay.esm.js",
"exports": {
@@ -36,7 +36,7 @@
"@coinbase/cbpay-js": "^1.7.0"
},
"devDependencies": {
"@preconstruct/cli": "^2.8.1",
"@preconstruct/cli": "2.7.0",
"@thirdweb-dev/tsconfig": "workspace:*",
"eslint-config-thirdweb": "workspace:*",
"typescript": "^5.1.6"
+19
View File
@@ -1,5 +1,24 @@
# @thirdweb-dev/react-core
## 3.14.23
### Patch Changes
- Updated dependencies [[`fbde927a`](https://github.com/thirdweb-dev/js/commit/fbde927a0cb36a6269e045d8e577536f23164ef7)]:
- @thirdweb-dev/wallets@1.1.6
## 3.14.22
### Patch Changes
- [#1415](https://github.com/thirdweb-dev/js/pull/1415) [`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Downgrade preconstruct to 2.7.0
- Updated dependencies [[`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390)]:
- @thirdweb-dev/storage@1.2.2
- @thirdweb-dev/wallets@1.1.5
- @thirdweb-dev/chains@0.1.40
- @thirdweb-dev/sdk@3.10.42
## 3.14.21
### Patch Changes
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/react-core",
"version": "3.14.21",
"version": "3.14.23",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-core",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
@@ -74,7 +74,7 @@
"@microsoft/api-documenter": "^7.22.30",
"@microsoft/api-extractor": "^7.36.3",
"@microsoft/tsdoc": "^0.14.1",
"@preconstruct/cli": "^2.8.1",
"@preconstruct/cli": "2.7.0",
"@solana/wallet-adapter-react": "^0.15.19",
"@solana/web3.js": "^1.62.0",
"@thirdweb-dev/auth": "workspace:*",
@@ -1,5 +1,9 @@
# @thirdweb-dev/react-native-compat
## 0.2.42
## 0.2.41
## 0.2.40
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@thirdweb-dev/react-native-compat",
"description": "Shims for Thirdweb in React Native Projects",
"version": "0.2.40",
"version": "0.2.42",
"author": "thirdweb eng <[email protected]>",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-native-compat",
"license": "Apache-2.0",
+19
View File
@@ -1,5 +1,24 @@
# @thirdweb-dev/react-native
## 0.2.42
### Patch Changes
- Updated dependencies [[`fbde927a`](https://github.com/thirdweb-dev/js/commit/fbde927a0cb36a6269e045d8e577536f23164ef7)]:
- @thirdweb-dev/wallets@1.1.6
- @thirdweb-dev/react-core@3.14.23
## 0.2.41
### Patch Changes
- Updated dependencies [[`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390)]:
- @thirdweb-dev/react-core@3.14.22
- @thirdweb-dev/storage@1.2.2
- @thirdweb-dev/wallets@1.1.5
- @thirdweb-dev/chains@0.1.40
- @thirdweb-dev/sdk@3.10.42
## 0.2.40
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/react-native",
"version": "0.2.40",
"version": "0.2.42",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-native",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
+20
View File
@@ -1,5 +1,25 @@
# @thirdweb-dev/react
## 3.14.23
### Patch Changes
- Updated dependencies [[`fbde927a`](https://github.com/thirdweb-dev/js/commit/fbde927a0cb36a6269e045d8e577536f23164ef7)]:
- @thirdweb-dev/wallets@1.1.6
- @thirdweb-dev/react-core@3.14.23
## 3.14.22
### Patch Changes
- [#1415](https://github.com/thirdweb-dev/js/pull/1415) [`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Downgrade preconstruct to 2.7.0
- Updated dependencies [[`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390)]:
- @thirdweb-dev/react-core@3.14.22
- @thirdweb-dev/wallets@1.1.5
- @thirdweb-dev/chains@0.1.40
- @thirdweb-dev/sdk@3.10.42
## 3.14.21
### Patch Changes
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/react",
"version": "3.14.21",
"version": "3.14.23",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
@@ -89,7 +89,7 @@
"@microsoft/api-documenter": "^7.22.30",
"@microsoft/api-extractor": "^7.36.3",
"@microsoft/tsdoc": "^0.14.1",
"@preconstruct/cli": "^2.8.1",
"@preconstruct/cli": "2.7.0",
"@solana/wallet-adapter-base": "^0.9.17",
"@solana/wallet-adapter-phantom": "^0.9.17",
"@solana/wallet-adapter-react": "^0.15.19",
+10
View File
@@ -1,5 +1,15 @@
# @thirdweb-dev/sdk
## 3.10.42
### Patch Changes
- [#1415](https://github.com/thirdweb-dev/js/pull/1415) [`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Downgrade preconstruct to 2.7.0
- Updated dependencies [[`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390)]:
- @thirdweb-dev/storage@1.2.2
- @thirdweb-dev/chains@0.1.40
## 3.10.41
### Patch Changes
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/sdk",
"version": "3.10.41",
"version": "3.10.42",
"description": "The main thirdweb SDK.",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/sdk",
"license": "Apache-2.0",
@@ -107,7 +107,7 @@
"@microsoft/api-extractor": "^7.36.3",
"@microsoft/tsdoc": "^0.14.1",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@preconstruct/cli": "^2.8.1",
"@preconstruct/cli": "2.7.0",
"@project-serum/anchor": "^0.25.0",
"@solana/spl-token": "^0.3.5",
"@solana/web3.js": "^1.62.0",
+14
View File
@@ -1,5 +1,19 @@
# @thirdweb-dev/service-utils
## 0.2.4
### Patch Changes
- [#1420](https://github.com/thirdweb-dev/js/pull/1420) [`952009cd`](https://github.com/thirdweb-dev/js/commit/952009cd73a1851dfef7a8f8c29ab6d73d580508) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Handle \* domain as public
- [#1417](https://github.com/thirdweb-dev/js/pull/1417) [`580e77b1`](https://github.com/thirdweb-dev/js/commit/580e77b17088a439208bd1411c71e9fb0c2cbb79) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Return accountId from authorize service call
## 0.2.3
### Patch Changes
- [#1415](https://github.com/thirdweb-dev/js/pull/1415) [`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Downgrade preconstruct to 2.7.0
## 0.2.2
### Patch Changes
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/service-utils",
"version": "0.2.2",
"version": "0.2.4",
"main": "dist/thirdweb-dev-service-utils.cjs.js",
"module": "dist/thirdweb-dev-service-utils.esm.js",
"exports": {
@@ -40,7 +40,7 @@
"sideEffects": false,
"devDependencies": {
"@cloudflare/workers-types": "^4.20230724.0",
"@preconstruct/cli": "^2.8.1",
"@preconstruct/cli": "2.7.0",
"@thirdweb-dev/tsconfig": "workspace:*",
"@types/jest": "^29.5.3",
"@types/node": "^18.17.1",
+1
View File
@@ -11,6 +11,7 @@ export type CoreServiceConfig = {
export type ApiKeyMetadata = {
id: string;
key: string;
accountId: string;
creatorWalletAddress: string;
secretHash: string;
walletAddresses: string[];
@@ -5,6 +5,7 @@ describe("authorizeClient", () => {
const validApiKeyMeta: ApiKeyMetadata = {
id: "1",
key: "your-api-key",
accountId: "account-id",
creatorWalletAddress: "creator-address",
secretHash: "secret-hash",
walletAddresses: [],
@@ -14,6 +14,7 @@ export function authorizeClient(
const { origin, bundleId, secretKeyHash: providedSecretHash } = authOptions;
const { domains, bundleIds, secretHash } = apiKeyMeta;
// check for secretHash
if (providedSecretHash) {
if (secretHash !== providedSecretHash) {
return {
@@ -29,6 +30,14 @@ export function authorizeClient(
};
}
// check for public restrictions
if (domains.includes("*")) {
return {
authorized: true,
apiKeyMeta,
};
}
// validate domains
if (origin) {
if (
@@ -5,6 +5,7 @@ describe("authorizeService", () => {
const validApiKeyMeta: ApiKeyMetadata = {
id: "1",
key: "your-api-key",
accountId: "account-id",
creatorWalletAddress: "creator-address",
secretHash: "secret-hash",
walletAddresses: [],
+6
View File
@@ -1,5 +1,11 @@
# @thirdweb-dev/storage
## 1.2.2
### Patch Changes
- [#1415](https://github.com/thirdweb-dev/js/pull/1415) [`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Downgrade preconstruct to 2.7.0
## 1.2.1
### Patch Changes
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/storage",
"version": "1.2.1",
"version": "1.2.2",
"main": "dist/thirdweb-dev-storage.cjs.js",
"module": "dist/thirdweb-dev-storage.esm.js",
"browser": {
@@ -48,7 +48,7 @@
"@microsoft/api-documenter": "^7.22.30",
"@microsoft/api-extractor": "^7.36.3",
"@microsoft/tsdoc": "^0.14.1",
"@preconstruct/cli": "^2.8.1",
"@preconstruct/cli": "2.7.0",
"@swc-node/register": "^1.6.6",
"@thirdweb-dev/tsconfig": "workspace:*",
"@types/chai": "^4.3.5",
+20
View File
@@ -1,5 +1,25 @@
# @thirdweb-dev/unity-js-bridge
## 0.2.60
### Patch Changes
- Updated dependencies [[`fbde927a`](https://github.com/thirdweb-dev/js/commit/fbde927a0cb36a6269e045d8e577536f23164ef7)]:
- @thirdweb-dev/wallets@1.1.6
- @thirdweb-dev/auth@3.2.23
## 0.2.59
### Patch Changes
- Updated dependencies [[`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390)]:
- @thirdweb-dev/storage@1.2.2
- @thirdweb-dev/wallets@1.1.5
- @thirdweb-dev/chains@0.1.40
- @thirdweb-dev/auth@3.2.22
- @thirdweb-dev/pay@0.1.4
- @thirdweb-dev/sdk@3.10.42
## 0.2.58
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/unity-js-bridge",
"version": "0.2.58",
"version": "0.2.60",
"main": "dist/thirdweb-unity-bridge.js",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/unity-js-bridge",
"license": "Apache-2.0",
+4
View File
@@ -2,5 +2,9 @@
"presets": [
"@babel/preset-typescript",
["@babel/preset-env", { "targets": "defaults, not ie 11" }]
],
"plugins": [
"@babel/plugin-transform-private-methods",
"@babel/plugin-proposal-class-properties"
]
}
+16
View File
@@ -1,5 +1,21 @@
# @thirdweb-dev/wallets
## 1.1.6
### Patch Changes
- [#1421](https://github.com/thirdweb-dev/js/pull/1421) [`fbde927a`](https://github.com/thirdweb-dev/js/commit/fbde927a0cb36a6269e045d8e577536f23164ef7) Thanks [@iketw](https://github.com/iketw)! - Add private methods transform plugin to the wallets package for ReactNative support
## 1.1.5
### Patch Changes
- [#1415](https://github.com/thirdweb-dev/js/pull/1415) [`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Downgrade preconstruct to 2.7.0
- Updated dependencies [[`256ee0d5`](https://github.com/thirdweb-dev/js/commit/256ee0d5ec9c8598aa79cd4cb1fd839c6cc7d390)]:
- @thirdweb-dev/chains@0.1.40
- @thirdweb-dev/sdk@3.10.42
## 1.1.4
### Patch Changes
+4 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/wallets",
"version": "1.1.4",
"version": "1.1.6",
"main": "dist/thirdweb-dev-wallets.cjs.js",
"module": "dist/thirdweb-dev-wallets.esm.js",
"types": "dist/thirdweb-dev-wallets.cjs.d.ts",
@@ -396,8 +396,10 @@
},
"devDependencies": {
"@aws-sdk/client-secrets-manager": "^3.378.0",
"@babel/plugin-transform-private-methods": "7.22.5",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@noble/ed25519": "^1.7.1",
"@preconstruct/cli": "^2.8.1",
"@preconstruct/cli": "2.7.0",
"@solana/web3.js": "^1.62.0",
"@thirdweb-dev/tsconfig": "workspace:*",
"@types/crypto-js": "^4.1.1",
+2666 -271
View File
File diff suppressed because it is too large Load Diff