Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
85b5a6de6b | ||
|
|
9a9ec978f4 | ||
|
|
5a40c6a99b | ||
|
|
1698c40c37 |
@@ -1,5 +1,12 @@
|
||||
# @thirdweb-dev/auth
|
||||
|
||||
## 4.1.83
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies []:
|
||||
- @thirdweb-dev/wallets@2.5.25
|
||||
|
||||
## 4.1.82
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/auth",
|
||||
"version": "4.1.82",
|
||||
"version": "4.1.83",
|
||||
"main": "dist/thirdweb-dev-auth.cjs.js",
|
||||
"module": "dist/thirdweb-dev-auth.esm.js",
|
||||
"browser": {
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @thirdweb-dev/chains
|
||||
|
||||
## 0.1.111
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#3056](https://github.com/thirdweb-dev/js/pull/3056) [`9a9ec97`](https://github.com/thirdweb-dev/js/commit/9a9ec978f44f4f8034dda088aa22df753cae7549) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
|
||||
|
||||
## 0.1.110
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -12,6 +12,12 @@ export default {
|
||||
"faucets": [
|
||||
"https://faucet.maxxchain.org"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmRhQG9TZrXDdbQeTzBmjg3pqgwaD5TKVZj8k4kaz8AoZx",
|
||||
"width": 1021,
|
||||
"height": 1021,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.maxxchain.org/",
|
||||
"name": "MaxxChain Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,6 +10,12 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmNMuNBwg9opKvsnrDaoYBP743LeddeooQupVYjpBXf7d7",
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://kaspaclassic.com/",
|
||||
"name": "KaspaClassic Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,22 +6,10 @@ export default {
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://explorer.re.al",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmNUmWC7jNEBcTs6ZqkrQ5vMAQG8qjq7n3FcZnXvJZLoQ9",
|
||||
"width": 301,
|
||||
"height": 302,
|
||||
"format": "png"
|
||||
}
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmNUmWC7jNEBcTs6ZqkrQ5vMAQG8qjq7n3FcZnXvJZLoQ9",
|
||||
"width": 301,
|
||||
"height": 302,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://re.al",
|
||||
"name": "re.al",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,12 +10,6 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmfTeudwVJcu7jzySBcpD9H5ZVK66nPJKRnicxend1bxfq",
|
||||
"width": 500,
|
||||
"height": 500,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://alphabetnetwork.org",
|
||||
"name": "Alphabet Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,22 +6,10 @@ export default {
|
||||
{
|
||||
"name": "shinescan",
|
||||
"url": "https://shinescan.io",
|
||||
"standard": "none",
|
||||
"icon": {
|
||||
"url": "ipfs://QmUBkpY3prCTZHpx1fjrYLAJ6dPaGvNVTj97iy6p3NPUi1",
|
||||
"width": 161,
|
||||
"height": 161,
|
||||
"format": "png"
|
||||
}
|
||||
"standard": "none"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmUBkpY3prCTZHpx1fjrYLAJ6dPaGvNVTj97iy6p3NPUi1",
|
||||
"width": 161,
|
||||
"height": 161,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://shinechain.tech",
|
||||
"name": "Shine Chain",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -20,12 +20,6 @@ export default {
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://bafybeihuintkoipxalwans23vhxajbwjnozpy34ww7ia7ds7nay3rpylzi",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://www.swisstronik.com",
|
||||
"name": "Swisstronik Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,12 +10,6 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreib2sabb6vgfoskobp2wdr6if7v6s34f2xwjecfceui6qhjudmu4u4",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.powergold.tech",
|
||||
"name": "PowerGold",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,13 +6,7 @@ export default {
|
||||
{
|
||||
"name": "Creditscan",
|
||||
"url": "https://scan.creditsmartchain.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",
|
||||
"width": 1000,
|
||||
"height": 1628,
|
||||
"format": "png"
|
||||
}
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
@@ -24,12 +18,6 @@ export default {
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",
|
||||
"width": 1000,
|
||||
"height": 1628,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://creditsmartchain.com",
|
||||
"name": "Credit Smart Chain",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,6 +10,12 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmQpKKwpqrx77VA4SJLEWhuv9eLFMcVV9uvxRCLb6gdgCX",
|
||||
"width": 847,
|
||||
"height": 906,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://docs.ic-plaza.org/",
|
||||
"name": "ICPlaza Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,13 +6,7 @@ export default {
|
||||
{
|
||||
"name": "Vitruveo Testnet Explorer",
|
||||
"url": "https://test-explorer.vitruveo.xyz",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
}
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
@@ -23,12 +17,6 @@ export default {
|
||||
"name": "EIP155"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.vitruveo.xyz",
|
||||
"name": "Vitruveo Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -12,6 +12,12 @@ export default {
|
||||
"faucets": [
|
||||
"https://faucet.ctexscan.com"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreid5evn4qovxo6msuekizv5zn7va62tea7w2zpdx5sskconebuhqle",
|
||||
"width": 800,
|
||||
"height": 800,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://ctextoken.io",
|
||||
"name": "Ctex Scan Blockchain",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,13 +6,7 @@ export default {
|
||||
{
|
||||
"name": "Vitruveo Explorer",
|
||||
"url": "https://explorer.vitruveo.xyz",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
}
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
@@ -21,12 +15,6 @@ export default {
|
||||
"name": "EIP155"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreidjhjv7uu7if745ys7ari3ka75spm2hqyr5po66sbe7kqsfk7ahua",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.vitruveo.xyz",
|
||||
"name": "Vitruveo Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -16,12 +16,6 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmNUpqkYWYJoDXKUpZ8FVbGyN6HCwxYonKNAieCf2oTzGn",
|
||||
"width": 1062,
|
||||
"height": 1062,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.plumenetwork.xyz/",
|
||||
"name": "Plume Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,12 +6,24 @@ export default {
|
||||
{
|
||||
"name": "Blast Sepolia Explorer",
|
||||
"url": "https://testnet.blastscan.io",
|
||||
"standard": "EIP3091"
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"format": "jpg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
"https://faucet.quicknode.com/blast/sepolia"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"format": "jpg"
|
||||
},
|
||||
"infoURL": "https://blast.io/",
|
||||
"name": "Blast Sepolia Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -12,12 +12,6 @@ export default {
|
||||
"faucets": [
|
||||
"https://faucet.condor.systems"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmPRDuEJSTqp2cDUvWCp71Wns6XV8nvdeAVKWH6srpk4xM",
|
||||
"width": 752,
|
||||
"height": 752,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://condor.systems",
|
||||
"name": "Condor Test Network",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,6 +10,12 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://Qmci6vPcWAwmq19j98yuQxjV6UPzHtThMdCAUDbKeb8oYu",
|
||||
"width": 1140,
|
||||
"height": 1140,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.alaya.network/",
|
||||
"name": "Alaya Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -12,6 +12,12 @@ export default {
|
||||
"faucets": [
|
||||
"https://faucet.alaya.network/faucet/?id=f93426c0887f11eb83b900163e06151c"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://Qmci6vPcWAwmq19j98yuQxjV6UPzHtThMdCAUDbKeb8oYu",
|
||||
"width": 1140,
|
||||
"height": 1140,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.alaya.network/",
|
||||
"name": "Alaya Dev Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,12 +10,6 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmVf1afskRHuZjFSLCZH8397KrVNAoYgyAePX9VMBrPVtx",
|
||||
"width": 246,
|
||||
"height": 247,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://pego.network",
|
||||
"name": "Pego Network",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,12 +10,6 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmezBwVepoegoCqb86idzPgvPxtaSuXzMLBGiiYfyTGTkc",
|
||||
"width": 458,
|
||||
"height": 468,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://dcpay.io",
|
||||
"name": "DCpay Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,10 +6,22 @@ export default {
|
||||
{
|
||||
"name": "tpcscan",
|
||||
"url": "https://tpcscan.com",
|
||||
"standard": "EIP3091"
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmQyTyJUnhD1dca35Vyj96pm3v3Xyw8xbG9m8HXHw3k2zR",
|
||||
"width": 578,
|
||||
"height": 701,
|
||||
"format": "svg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmQyTyJUnhD1dca35Vyj96pm3v3Xyw8xbG9m8HXHw3k2zR",
|
||||
"width": 578,
|
||||
"height": 701,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://techpay.io/",
|
||||
"name": "TechPay Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -12,12 +12,6 @@ export default {
|
||||
"faucets": [
|
||||
"https://faucet.razorscan.io/"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmUdwAZJfyKGZnfPGDsCnNvGu123mdd57kTGj1Y3EWVuWK",
|
||||
"width": 900,
|
||||
"height": 900,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://razor.network",
|
||||
"name": "Razor Skale Chain",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,6 +10,12 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",
|
||||
"width": 128,
|
||||
"height": 128,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://ancient8.gg/",
|
||||
"name": "Ancient8 Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,10 +6,22 @@ export default {
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://explorer-sepolia.vizing.com",
|
||||
"standard": "EIP3091"
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"format": "svg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://vizing.com",
|
||||
"name": "Vizing Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,10 +6,22 @@ export default {
|
||||
{
|
||||
"name": "blockscout",
|
||||
"url": "https://explorer.vizing.com",
|
||||
"standard": "EIP3091"
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"format": "svg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmPgpWfGsAZ5UHekWFR8rioadVe3Wox8idFyeVxuv9N4Vo",
|
||||
"width": 200,
|
||||
"height": 200,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://vizing.com",
|
||||
"name": "Vizing Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,6 +10,12 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",
|
||||
"width": 128,
|
||||
"height": 128,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://ancient8.gg/",
|
||||
"name": "Ancient8 Testnet (deprecated)",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -18,6 +18,12 @@ export default {
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://bafybeiadlvc4pfiykehyt2z67nvgt5w4vlov27olu5obvmryv4xzua4tae",
|
||||
"width": 256,
|
||||
"height": 256,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://www.flaexchange.top",
|
||||
"name": "Flachain Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,13 +6,7 @@ export default {
|
||||
{
|
||||
"name": "fsnscan",
|
||||
"url": "https://fsnscan.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmSAFx34SKNi7a139agX12f68oBMo2Ktt9c8yD8aFa14gd",
|
||||
"width": 48,
|
||||
"height": 51,
|
||||
"format": "svg"
|
||||
}
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
@@ -24,6 +18,12 @@ export default {
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmX3tsEoj7SdaBLLV8VyyCUAmymdEGiSGeuTbxMrEMVvth",
|
||||
"width": 31,
|
||||
"height": 31,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://fusion.org",
|
||||
"name": "Fusion Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -12,12 +12,6 @@ export default {
|
||||
"faucets": [
|
||||
"https://faucet.crossbell.io"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmS8zEetTb6pwdNpVjv5bz55BXiSMGP9BjTJmNcjcUT91t",
|
||||
"width": 408,
|
||||
"height": 408,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://crossbell.io",
|
||||
"name": "Crossbell",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,12 +10,6 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreiexm4aoscqo4d7dipicdgmfaemgzck2w7qhfp5mnoo7z2plcxleju",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"name": "Muster Mainnet",
|
||||
"nativeCurrency": {
|
||||
"name": "Ether",
|
||||
|
||||
@@ -6,13 +6,7 @@ export default {
|
||||
{
|
||||
"name": "Creditscan",
|
||||
"url": "https://scan.creditsmartchain.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",
|
||||
"width": 1000,
|
||||
"height": 1628,
|
||||
"format": "png"
|
||||
}
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
@@ -24,12 +18,6 @@ export default {
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreifbso3gd4wu5wxl27xyurxctmuae2jyuy37guqtzx23nga6ba4ag4",
|
||||
"width": 1000,
|
||||
"height": 1628,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://creditsmartchain.com",
|
||||
"name": "Credit Smart Chain Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,12 +10,6 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreihs2nrnizpcuzjmuu2yi7wrtwd7qlqje46qnil5bnntfbfkb2roea",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://areon.network",
|
||||
"name": "Areon Network Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,12 +10,6 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreihs2nrnizpcuzjmuu2yi7wrtwd7qlqje46qnil5bnntfbfkb2roea",
|
||||
"width": 1000,
|
||||
"height": 1000,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://areon.network",
|
||||
"name": "Areon Network Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,13 +6,7 @@ export default {
|
||||
{
|
||||
"name": "fsnscan",
|
||||
"url": "https://testnet.fsnscan.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmSAFx34SKNi7a139agX12f68oBMo2Ktt9c8yD8aFa14gd",
|
||||
"width": 48,
|
||||
"height": 51,
|
||||
"format": "svg"
|
||||
}
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
@@ -24,6 +18,12 @@ export default {
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmX3tsEoj7SdaBLLV8VyyCUAmymdEGiSGeuTbxMrEMVvth",
|
||||
"width": 31,
|
||||
"height": 31,
|
||||
"format": "svg"
|
||||
},
|
||||
"infoURL": "https://fusion.org",
|
||||
"name": "Fusion Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -24,12 +24,6 @@ export default {
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmPasA8xykRtJDivB2bcKDiRCUNWDPtfUTTKVAcaF2wVxC",
|
||||
"width": 1968,
|
||||
"height": 1968,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://blackfort.exchange",
|
||||
"name": "BlackFort Exchange Network Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -24,12 +24,6 @@ export default {
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmPasA8xykRtJDivB2bcKDiRCUNWDPtfUTTKVAcaF2wVxC",
|
||||
"width": 1968,
|
||||
"height": 1968,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://blackfort.exchange",
|
||||
"name": "BlackFort Exchange Network",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -12,6 +12,12 @@ export default {
|
||||
"faucets": [
|
||||
"https://faucet.sardisnetwork.com"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmdR9QJjQEh1mBnf2WbJfehverxiP5RDPWMtEECbDP2rc3",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://mysardis.com",
|
||||
"name": "Sardis Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -12,6 +12,12 @@ export default {
|
||||
"faucets": [
|
||||
"https://nova-faucet.velo.org"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmYqvnW2jwPEKUv8BdaV4sbL8Audcwosat6SPn4GqYtKxc",
|
||||
"width": 225,
|
||||
"height": 225,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://velo.org",
|
||||
"name": "VELO Labs Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -12,12 +12,6 @@ export default {
|
||||
"faucets": [
|
||||
"http://faucet.latestchain.io"
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmUU784i1ZHDNwgXvt9weZmq6YbHHkyXvuDS7r4iDzao72",
|
||||
"width": 1115,
|
||||
"height": 1242,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://latestcoin.io",
|
||||
"name": "Latest Chain Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,10 +6,22 @@ export default {
|
||||
{
|
||||
"name": "Proof of Play Apex Explorer",
|
||||
"url": "https://explorer.apex.proofofplay.com",
|
||||
"standard": "EIP3091"
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmW3NPDe6WRqucrWbe8pg3GqSMPi8V6Qa1fAiaQuqjxSJC",
|
||||
"width": 1256,
|
||||
"height": 1256,
|
||||
"format": "png"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmW3NPDe6WRqucrWbe8pg3GqSMPi8V6Qa1fAiaQuqjxSJC",
|
||||
"width": 1256,
|
||||
"height": 1256,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://proofofplay.com",
|
||||
"name": "Proof of Play - Apex",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,6 +10,12 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreifgpv7tnai42hsdegnpwzbvq5iymgub357e553cotitirwy2ir7je",
|
||||
"width": 2000,
|
||||
"height": 2243,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://icb.network",
|
||||
"name": "ICB Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,6 +10,12 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreifgpv7tnai42hsdegnpwzbvq5iymgub357e553cotitirwy2ir7je",
|
||||
"width": 2000,
|
||||
"height": 2243,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://icb.network",
|
||||
"name": "ICB Network",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -16,6 +16,12 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://QmPXhdPGufjcPzZ9Y6nY6QyW8MgA6793L88iPMRh1Q3gjJ",
|
||||
"width": 512,
|
||||
"height": 366,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://hexapod.network",
|
||||
"name": "Dragonfly Mainnet (Hexapod)",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,13 +6,7 @@ export default {
|
||||
{
|
||||
"name": "Vanguard Explorer",
|
||||
"url": "https://explorer-vanguard.vanarchain.com",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://QmeERjnmdZ6v1tfCyfKfy2Rzh1vPCsU7x2sLJcLqQ6E3Fd",
|
||||
"width": 1000,
|
||||
"height": 1628,
|
||||
"format": "png"
|
||||
}
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [
|
||||
@@ -23,12 +17,6 @@ export default {
|
||||
"name": "EIP155"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmeERjnmdZ6v1tfCyfKfy2Rzh1vPCsU7x2sLJcLqQ6E3Fd",
|
||||
"width": 1000,
|
||||
"height": 1628,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://vanarchain.com",
|
||||
"name": "Vanguard",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,22 +6,10 @@ export default {
|
||||
{
|
||||
"name": "zkLink Nova Block Explorer",
|
||||
"url": "https://explorer.zklink.io",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
}
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://zklink.io",
|
||||
"name": "zkLink Nova Mainnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,22 +6,10 @@ export default {
|
||||
{
|
||||
"name": "zkLink Nova Block Explorer",
|
||||
"url": "https://sepolia.explorer.zklink.io",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
}
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://zklink.io",
|
||||
"name": "zkLink Nova Sepolia Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,22 +6,10 @@ export default {
|
||||
{
|
||||
"name": "zkLink Nova Block Explorer",
|
||||
"url": "https://goerli.explorer.zklink.io",
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
}
|
||||
"standard": "EIP3091"
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreiaj7b6pdekv3rjuta5wsdvmfdcsat2jftjgozape7wvmyj6d3vjcm",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://zklink.io",
|
||||
"name": "zkLink Nova Goerli Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -6,16 +6,34 @@ export default {
|
||||
{
|
||||
"name": "Blastscan",
|
||||
"url": "https://blastscan.io",
|
||||
"standard": "EIP3091"
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"format": "jpg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Blast Explorer",
|
||||
"url": "https://blastexplorer.io",
|
||||
"standard": "EIP3091"
|
||||
"standard": "EIP3091",
|
||||
"icon": {
|
||||
"url": "ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"format": "jpg"
|
||||
}
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"features": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafybeifc2h3x7jgy4x4nmg2m54ghbvmkfu6oweujambwefzqzew5vujhsi",
|
||||
"width": 400,
|
||||
"height": 400,
|
||||
"format": "jpg"
|
||||
},
|
||||
"infoURL": "https://blast.io/",
|
||||
"name": "Blast",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -18,6 +18,12 @@ export default {
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmcnA15BLE9uvznbugXKjqquizZs1eLPeEEkc92DSmvhmt",
|
||||
"width": 248,
|
||||
"height": 248,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://teamblockchain.team",
|
||||
"name": "T.E.A.M Blockchain",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,6 +10,12 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreievnqg3xjokaty4kfbxxbrzm5v5y7exbaaia2txrh4sfgrqsalfym",
|
||||
"width": 128,
|
||||
"height": 128,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://ancient8.gg/",
|
||||
"name": "Ancient8",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -20,6 +20,12 @@ export default {
|
||||
"name": "EIP1559"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"url": "ipfs://QmXMLcCaNPMyWCEYX2MZDJHNvj5cpj2cR5dRQtedBRNypT",
|
||||
"width": 512,
|
||||
"height": 512,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://maxi.network",
|
||||
"name": "MAXI Chain Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -10,6 +10,12 @@ export default {
|
||||
}
|
||||
],
|
||||
"faucets": [],
|
||||
"icon": {
|
||||
"url": "ipfs://bafkreifvrly5tgd34xqeo67s4etmiu52bkroml7uy7eosizf57htf5nrzq",
|
||||
"width": 250,
|
||||
"height": 250,
|
||||
"format": "png"
|
||||
},
|
||||
"infoURL": "https://zora.energy",
|
||||
"name": "Zora Sepolia Testnet",
|
||||
"nativeCurrency": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/chains",
|
||||
"version": "0.1.110",
|
||||
"version": "0.1.111",
|
||||
"main": "dist/thirdweb-dev-chains.cjs.js",
|
||||
"module": "dist/thirdweb-dev-chains.esm.js",
|
||||
"exports": {
|
||||
|
||||
@@ -1,5 +1,15 @@
|
||||
# thirdweb
|
||||
|
||||
## 0.13.91
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`9a9ec97`](https://github.com/thirdweb-dev/js/commit/9a9ec978f44f4f8034dda088aa22df753cae7549)]:
|
||||
- @thirdweb-dev/chains@0.1.111
|
||||
- @thirdweb-dev/sdk@4.0.85
|
||||
- @thirdweb-dev/wallets@2.5.25
|
||||
- @thirdweb-dev/auth@4.1.83
|
||||
|
||||
## 0.13.90
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/cli",
|
||||
"main": "dist/cli/index.js",
|
||||
"version": "0.13.90",
|
||||
"version": "0.13.91",
|
||||
"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.24
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`9a9ec97`](https://github.com/thirdweb-dev/js/commit/9a9ec978f44f4f8034dda088aa22df753cae7549)]:
|
||||
- @thirdweb-dev/chains@0.1.111
|
||||
- @thirdweb-dev/sdk@4.0.85
|
||||
- @thirdweb-dev/wallets@2.5.25
|
||||
- @thirdweb-dev/auth@4.1.83
|
||||
|
||||
## 4.6.23
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react-core",
|
||||
"version": "4.6.23",
|
||||
"version": "4.6.24",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react-core",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,15 @@
|
||||
# @thirdweb-dev/react
|
||||
|
||||
## 4.6.24
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`9a9ec97`](https://github.com/thirdweb-dev/js/commit/9a9ec978f44f4f8034dda088aa22df753cae7549)]:
|
||||
- @thirdweb-dev/chains@0.1.111
|
||||
- @thirdweb-dev/sdk@4.0.85
|
||||
- @thirdweb-dev/react-core@4.6.24
|
||||
- @thirdweb-dev/wallets@2.5.25
|
||||
|
||||
## 4.6.23
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/react",
|
||||
"version": "4.6.23",
|
||||
"version": "4.6.24",
|
||||
"repository": "https://github.com/thirdweb-dev/js/tree/main/legacy_packages/react",
|
||||
"author": "thirdweb eng <[email protected]>",
|
||||
"license": "Apache-2.0",
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,13 @@
|
||||
# @thirdweb-dev/sdk
|
||||
|
||||
## 4.0.85
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`5a40c6a`](https://github.com/thirdweb-dev/js/commit/5a40c6a99b5f4fcafc9c2835f05b41dba8023e4a), [`9a9ec97`](https://github.com/thirdweb-dev/js/commit/9a9ec978f44f4f8034dda088aa22df753cae7549), [`1698c40`](https://github.com/thirdweb-dev/js/commit/1698c40c37a2d9d7e31a8b15d95d87896afab063)]:
|
||||
- thirdweb@5.22.1
|
||||
- @thirdweb-dev/chains@0.1.111
|
||||
|
||||
## 4.0.84
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/sdk",
|
||||
"version": "4.0.84",
|
||||
"version": "4.0.85",
|
||||
"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.34
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`9a9ec97`](https://github.com/thirdweb-dev/js/commit/9a9ec978f44f4f8034dda088aa22df753cae7549)]:
|
||||
- @thirdweb-dev/chains@0.1.111
|
||||
- @thirdweb-dev/sdk@4.0.85
|
||||
- @thirdweb-dev/wallets@2.5.25
|
||||
- @thirdweb-dev/auth@4.1.83
|
||||
|
||||
## 0.6.33
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/unity-js-bridge",
|
||||
"version": "0.6.33",
|
||||
"version": "0.6.34",
|
||||
"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.25
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [[`9a9ec97`](https://github.com/thirdweb-dev/js/commit/9a9ec978f44f4f8034dda088aa22df753cae7549)]:
|
||||
- @thirdweb-dev/chains@0.1.111
|
||||
- @thirdweb-dev/sdk@4.0.85
|
||||
|
||||
## 2.5.24
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@thirdweb-dev/wallets",
|
||||
"version": "2.5.24",
|
||||
"version": "2.5.25",
|
||||
"main": "dist/thirdweb-dev-wallets.cjs.js",
|
||||
"module": "dist/thirdweb-dev-wallets.esm.js",
|
||||
"browser": {
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,13 @@
|
||||
# thirdweb
|
||||
|
||||
## 5.22.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#3059](https://github.com/thirdweb-dev/js/pull/3059) [`5a40c6a`](https://github.com/thirdweb-dev/js/commit/5a40c6a99b5f4fcafc9c2835f05b41dba8023e4a) Thanks [@jnsdls](https://github.com/jnsdls)! - fix losing state when looking at transactions during pay
|
||||
|
||||
- [#3058](https://github.com/thirdweb-dev/js/pull/3058) [`1698c40`](https://github.com/thirdweb-dev/js/commit/1698c40c37a2d9d7e31a8b15d95d87896afab063) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Fixes MediaRenderer flashing its failed state while loading
|
||||
|
||||
## 5.22.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "thirdweb",
|
||||
"version": "5.22.0",
|
||||
"version": "5.22.1",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/thirdweb-dev/js.git#main"
|
||||
|
||||
@@ -498,20 +498,6 @@ function BuyScreenContent(props: BuyScreenContentProps) {
|
||||
)}
|
||||
|
||||
<Container px="lg" flex="column" gap="sm">
|
||||
{account && (
|
||||
<Button
|
||||
variant="outline"
|
||||
fullWidth
|
||||
style={{
|
||||
padding: spacing.xs,
|
||||
fontSize: fontSize.sm,
|
||||
}}
|
||||
onClick={props.onViewPendingTx}
|
||||
>
|
||||
View all transactions
|
||||
</Button>
|
||||
)}
|
||||
|
||||
{!isExpanded && (
|
||||
<>
|
||||
{!account && props.connectButton ? (
|
||||
@@ -528,6 +514,20 @@ function BuyScreenContent(props: BuyScreenContentProps) {
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
|
||||
{account && (
|
||||
<Button
|
||||
variant="outline"
|
||||
fullWidth
|
||||
style={{
|
||||
padding: spacing.xs,
|
||||
fontSize: fontSize.sm,
|
||||
}}
|
||||
onClick={props.onViewPendingTx}
|
||||
>
|
||||
View all transactions
|
||||
</Button>
|
||||
)}
|
||||
</Container>
|
||||
|
||||
<Spacer y="lg" />
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { render, screen } from "../../../../../test/src/react-render.js";
|
||||
import { TEST_CLIENT } from "../../../../../test/src/test-clients.js";
|
||||
import { MediaRenderer } from "./MediaRenderer.js";
|
||||
|
||||
describe("MediaRenderer", () => {
|
||||
it("should render nothing if no src provided", () => {
|
||||
render(<MediaRenderer client={TEST_CLIENT} />);
|
||||
expect(screen.queryByText("File")).not.toBeInTheDocument(); // would display file if it shows the "not found" div
|
||||
});
|
||||
|
||||
it("should render unknown if nothing found", () => {
|
||||
render(<MediaRenderer client={TEST_CLIENT} src="asaosdoiandoin" />);
|
||||
setTimeout(() => {
|
||||
expect(screen.queryByText("File")).toBeInTheDocument(); // would display file if it shows the "not found" div
|
||||
}, 1000);
|
||||
});
|
||||
|
||||
it("should render a plain image", () => {
|
||||
render(
|
||||
<MediaRenderer
|
||||
client={TEST_CLIENT}
|
||||
src="https://i.seadn.io/gae/r_b9GB0iYA39ichUlKdFLeG4UliK7YXi9SsM0Xdvm6pNDChYbN5E7Fxop1MdJCbmNvSlbER73YiA9WY1JbhEfkuIktoHfN9UlEZy4A?auto=format&dpr=1&w=1000"
|
||||
/>,
|
||||
);
|
||||
setTimeout(() => {
|
||||
expect(screen.getByRole("img")).toBeInTheDocument();
|
||||
}, 1000);
|
||||
});
|
||||
});
|
||||
@@ -73,20 +73,24 @@ export const MediaRenderer = /* @__PURE__ */ (() =>
|
||||
...style,
|
||||
};
|
||||
|
||||
const mediaInfo = useResolvedMediaType(
|
||||
const { mediaInfo, isFetched: mediaInfoIsFetched } = useResolvedMediaType(
|
||||
client,
|
||||
src ?? undefined,
|
||||
mimeType,
|
||||
gatewayUrl,
|
||||
);
|
||||
|
||||
const possiblePosterSrc = useResolvedMediaType(
|
||||
const { mediaInfo: possiblePosterSrc } = useResolvedMediaType(
|
||||
client,
|
||||
poster ?? undefined,
|
||||
undefined,
|
||||
gatewayUrl,
|
||||
);
|
||||
|
||||
if (!mediaInfoIsFetched || !src) {
|
||||
return <div style={style} />;
|
||||
}
|
||||
|
||||
if (mediaInfo.mimeType) {
|
||||
// html content
|
||||
if (mediaInfo.mimeType.startsWith("text/html")) {
|
||||
|
||||
@@ -34,7 +34,7 @@ export function useResolvedMediaType(
|
||||
}
|
||||
}, [uri, gatewayUrl, client]);
|
||||
|
||||
const resolvedMimType = useQuery({
|
||||
const resolvedMimeType = useQuery({
|
||||
queryKey: ["mime-type", resolvedUrl],
|
||||
queryFn: () => resolveMimeType(resolvedUrl),
|
||||
enabled: !!resolvedUrl && !mimeType,
|
||||
@@ -42,7 +42,7 @@ export function useResolvedMediaType(
|
||||
});
|
||||
|
||||
return {
|
||||
url: resolvedUrl,
|
||||
mimeType: resolvedMimType.data,
|
||||
mediaInfo: { url: resolvedUrl, mimeType: resolvedMimeType.data },
|
||||
isFetched: resolvedMimeType.isFetched,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
"use client";
|
||||
|
||||
import { useState } from "react";
|
||||
import type { Chain } from "../../../chains/types.js";
|
||||
import type { ThirdwebClient } from "../../../client/client.js";
|
||||
@@ -165,47 +167,52 @@ export function PayEmbed(props: PayEmbedProps) {
|
||||
<Spinner size="xl" color="secondaryText" />
|
||||
</div>
|
||||
);
|
||||
} else if (screen === "tx-history") {
|
||||
content = (
|
||||
<BuyTxHistory
|
||||
client={props.client}
|
||||
onBack={() => {
|
||||
setScreen("buy");
|
||||
}}
|
||||
onDone={() => {
|
||||
// noop
|
||||
}}
|
||||
isBuyForTx={false}
|
||||
isEmbed={true}
|
||||
/>
|
||||
);
|
||||
} else {
|
||||
// show and hide screens with CSS to not lose state when switching between them
|
||||
content = (
|
||||
<BuyScreen
|
||||
isEmbed={true}
|
||||
supportedTokens={props.supportedTokens}
|
||||
theme={props.theme || "dark"}
|
||||
client={props.client}
|
||||
connectLocale={localeQuery.data}
|
||||
onViewPendingTx={() => {
|
||||
setScreen("tx-history");
|
||||
}}
|
||||
payOptions={props.payOptions || {}}
|
||||
onDone={() => {
|
||||
// noop
|
||||
}}
|
||||
connectButton={
|
||||
<ConnectButton
|
||||
{...props.connectOptions}
|
||||
<>
|
||||
<div style={{ display: screen === "tx-history" ? "none" : "inherit" }}>
|
||||
<BuyScreen
|
||||
isEmbed={true}
|
||||
supportedTokens={props.supportedTokens}
|
||||
theme={props.theme || "dark"}
|
||||
client={props.client}
|
||||
connectButton={{
|
||||
style: {
|
||||
width: "100%",
|
||||
},
|
||||
connectLocale={localeQuery.data}
|
||||
onViewPendingTx={() => {
|
||||
setScreen("tx-history");
|
||||
}}
|
||||
payOptions={props.payOptions || {}}
|
||||
onDone={() => {
|
||||
// noop
|
||||
}}
|
||||
connectButton={
|
||||
<ConnectButton
|
||||
{...props.connectOptions}
|
||||
client={props.client}
|
||||
connectButton={{
|
||||
style: {
|
||||
width: "100%",
|
||||
},
|
||||
}}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
{/* this does not need to persist so we can just show-hide it with JS */}
|
||||
{screen === "tx-history" && (
|
||||
<BuyTxHistory
|
||||
client={props.client}
|
||||
onBack={() => {
|
||||
setScreen("buy");
|
||||
}}
|
||||
onDone={() => {
|
||||
// noop
|
||||
}}
|
||||
isBuyForTx={false}
|
||||
isEmbed={true}
|
||||
/>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user