Compare commits

...
Author SHA1 Message Date
Jonas DanielsGitHubgithub-actions[bot] <github-actions[bot]@users.noreply.github.com>GitHub Action
0b7010eccb Version Packages (#2249)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: GitHub Action <[email protected]>
2024-02-01 15:52:14 -08:00
041c01341b chore(chains): update chains (#2250)
Co-authored-by: GitHub Action <[email protected]>
2024-02-01 15:09:04 -08:00
Manan TankandGitHub 439a377aa7 [react] add detailsModalFooter prop in ConnectWallet (#2252) 2024-02-01 21:53:21 +00:00
Nacho IacovinoandGitHub 4f52c29611 Update error message link (#2248) 2024-02-01 18:39:14 +00:00
374671fd9a chore(chains): update chains (#2247)
Co-authored-by: GitHub Action <[email protected]>
2024-01-31 21:25:01 -08:00
51 changed files with 792 additions and 34 deletions
+7
View File
@@ -1,5 +1,12 @@
# @thirdweb-dev/auth
## 4.1.29
### Patch Changes
- Updated dependencies []:
- @thirdweb-dev/wallets@2.4.7
## 4.1.28
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/auth",
"version": "4.1.28",
"version": "4.1.29",
"main": "dist/thirdweb-dev-auth.cjs.js",
"module": "dist/thirdweb-dev-auth.esm.js",
"browser": {
+6
View File
@@ -1,5 +1,11 @@
# @thirdweb-dev/chains
## 0.1.69
### Patch Changes
- [#2247](https://github.com/thirdweb-dev/js/pull/2247) [`374671fd`](https://github.com/thirdweb-dev/js/commit/374671fd9ac97a93263b09c6c0a53cfd129881d7) Thanks [@github-actions](https://github.com/apps/github-actions)! - Synced Chains Package
## 0.1.68
### Patch Changes
+1 -1
View File
@@ -31,5 +31,5 @@ export default {
"shortName": "Baobab",
"slip44": 1,
"slug": "klaytn-testnet-baobab",
"testnet": true
"testnet": false
} as const satisfies Chain;
+31
View File
@@ -0,0 +1,31 @@
import type { Chain } from "../src/types";
export default {
"chain": "Avalanche",
"chainId": 103454,
"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": "Masa Testnet",
"nativeCurrency": {
"name": "Masa Testnet Token",
"symbol": "tMASA",
"decimals": 18
},
"networkId": 103454,
"redFlags": [],
"rpc": [
"https://masa-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://103454.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://subnets.avax.network/masatestne/testnet/rpc"
],
"shortName": "Masa Testnet",
"slug": "masa-testnet",
"testnet": true
} as const satisfies Chain;
+3 -2
View File
@@ -42,11 +42,12 @@ export default {
"https://humans-ai.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://1089.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://jsonrpc.humans.nodestake.top",
"https://humans-mainnet-evm.itrocket.net:443",
"https://humans-mainnet-evm.itrocket.net",
"https://humans-evm-rpc.staketab.org:443",
"https://evm.humans.stakepool.dev.br",
"https://mainnet-humans-evm.konsortech.xyz",
"https://evm-rpc.mainnet.humans.zone"
"https://evm-rpc.mainnet.humans.zone",
"https://json-rpc.humans.bh.rocks"
],
"shortName": "humans",
"slug": "humans-ai",
+24
View File
@@ -0,0 +1,24 @@
import type { Chain } from "../src/types";
export default {
"chain": "Dymension",
"chainId": 1100,
"explorers": [],
"faucets": [],
"infoURL": "https://dymension.xyz",
"name": "Dymension",
"nativeCurrency": {
"name": "DYM",
"symbol": "DYM",
"decimals": 18
},
"networkId": 1100,
"rpc": [
"https://dymension.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://1100.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://dymension-evm.blockpi.network/v1/rpc/public"
],
"shortName": "dymension",
"slug": "dymension",
"status": "incubating",
"testnet": false
} as const satisfies Chain;
+37
View File
@@ -0,0 +1,37 @@
import type { Chain } from "../src/types";
export default {
"chain": "MetaDAP",
"chainId": 119139,
"explorers": [
{
"name": "MetaDAP Enterprise Testnet explorer",
"url": "https://explorer.testnet.chain.metadap.io",
"standard": "none"
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmcCFUTStKKJKfzTwrjfMFoVaPCMsvAvWXRdDkYMvCkEs3",
"width": 800,
"height": 800,
"format": "svg"
},
"infoURL": "https://metadap.io/",
"name": "MetaDAP Enterprise Testnet",
"nativeCurrency": {
"name": "DAP",
"symbol": "DAP",
"decimals": 18
},
"networkId": 119139,
"rpc": [
"https://metadap-enterprise-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://119139.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.testnet.chain.metadap.io",
"wss://rpc-ws.testnet.chain.metadap.io"
],
"shortName": "MetaDAP-T",
"slug": "metadap-enterprise-testnet",
"testnet": true,
"title": "MetaDAP Enterprise Testnet"
} as const satisfies Chain;
+6 -8
View File
@@ -2,13 +2,7 @@ import type { Chain } from "../src/types";
export default {
"chain": "1220",
"chainId": 1220,
"explorers": [
{
"name": "flagscan",
"url": "https://testnet-scan.flagscan.io/",
"standard": "EIP3091"
}
],
"explorers": [],
"faucets": [],
"features": [],
"icon": {
@@ -26,7 +20,11 @@ export default {
},
"networkId": 1220,
"redFlags": [],
"rpc": [],
"rpc": [
"https://flag-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://1220.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://testnet.flagscan.io"
],
"shortName": "Flag",
"slug": "flag-testnet",
"testnet": true
+35
View File
@@ -0,0 +1,35 @@
import type { Chain } from "../src/types";
export default {
"chain": "NEAR",
"chainId": 1313161560,
"explorers": [
{
"name": "PowerGold explorer",
"url": "https://explorer.powergold.aurora.dev",
"standard": "EIP3091"
}
],
"faucets": [],
"icon": {
"url": "ipfs://bafkreib2sabb6vgfoskobp2wdr6if7v6s34f2xwjecfceui6qhjudmu4u4",
"width": 512,
"height": 512,
"format": "png"
},
"infoURL": "https://www.powergold.tech",
"name": "PowerGold",
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
"decimals": 18
},
"networkId": 1313161560,
"rpc": [
"https://powergold.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://1313161560.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://powergold.aurora.dev"
],
"shortName": "powergold",
"slug": "powergold",
"testnet": false
} as const satisfies Chain;
+31
View File
@@ -0,0 +1,31 @@
import type { Chain } from "../src/types";
export default {
"chain": "Avalanche",
"chainId": 13838,
"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": "XTraderlands Subnet Tesnet",
"nativeCurrency": {
"name": "XTraderlands Subnet Tesnet Token",
"symbol": "XTDL",
"decimals": 18
},
"networkId": 13838,
"redFlags": [],
"rpc": [
"https://xtraderlands-subnet-tesnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://13838.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://subnets.avax.network/xtraderlan/testnet/rpc"
],
"shortName": "XTraderlands Subnet Tesnet",
"slug": "xtraderlands-subnet-tesnet",
"testnet": true
} as const satisfies Chain;
+37
View File
@@ -0,0 +1,37 @@
import type { Chain } from "../src/types";
export default {
"chain": "Puppynet Shibarium",
"chainId": 157,
"explorers": [
{
"name": "puppyscan",
"url": "https://puppyscan.shib.io",
"standard": "none"
}
],
"faucets": [
"https://beta.shibariumtech.com/faucet"
],
"icon": {
"url": "ipfs://QmYNVkoZgRjDBQzJz6kog9mA2yPzQFW2oSKvhnkwuBhLQE",
"width": 2000,
"height": 2000,
"format": "png"
},
"infoURL": "https://shibariumecosystem.com",
"name": "Puppynet Shibarium",
"nativeCurrency": {
"name": "BONE",
"symbol": "BONE",
"decimals": 18
},
"networkId": 157,
"rpc": [
"https://puppynet-shibarium.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://157.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://puppynet.shibrpc.com"
],
"shortName": "puppynet",
"slug": "puppynet-shibarium",
"testnet": false
} as const satisfies Chain;
+50
View File
@@ -0,0 +1,50 @@
import type { Chain } from "../src/types";
export default {
"chain": "ETH",
"chainId": 1686,
"explorers": [
{
"name": "blockscout",
"url": "https://testnet-explorer.mintchain.io",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",
"width": 80,
"height": 80,
"format": "png"
}
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmQsYisbKkCTKoKG2YSVs94UGuWWMiBspirH4Af4FyZeZz",
"width": 80,
"height": 80,
"format": "png"
},
"infoURL": "https://www.mintchain.io",
"name": "Mint Testnet",
"nativeCurrency": {
"name": "Sepolia Ether",
"symbol": "ETH",
"decimals": 18
},
"networkId": 1686,
"parent": {
"type": "L2",
"chain": "eip155-1",
"bridges": [
{
"url": "https://testnet-bridge.mintchain.io"
}
]
},
"rpc": [
"https://mint-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://1686.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://testnet-rpc.mintchain.io"
],
"shortName": "minttest",
"slug": "mint-testnet",
"testnet": true
} as const satisfies Chain;
+30
View File
@@ -0,0 +1,30 @@
import type { Chain } from "../src/types";
export default {
"chain": "BPX",
"chainId": 279,
"explorers": [],
"faucets": [],
"icon": {
"url": "ipfs://bafkreiatcu42wbjlo24mr35jou4awvsqpaqys6iv4kxgkjhno3haovsiaq",
"width": 140,
"height": 140,
"format": "svg"
},
"infoURL": "https://bpxchain.cc",
"name": "BPX Blockchain",
"nativeCurrency": {
"name": "BPX",
"symbol": "BPX",
"decimals": 18
},
"networkId": 279,
"rpc": [
"https://bpx-blockchain.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://279.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.mainnet.bpxchain.cc",
"https://bpx-dataseed.infinex.cc"
],
"shortName": "bpx",
"slug": "bpx-blockchain",
"testnet": false
} as const satisfies Chain;
+39
View File
@@ -0,0 +1,39 @@
import type { Chain } from "../src/types";
export default {
"chain": "XEN",
"chainId": 2941,
"explorers": [
{
"name": "Xenon testnet Explorer",
"url": "https://testnet.xenonchain.com",
"standard": "none"
}
],
"faucets": [
"https://xfaucet.xenonchain.com"
],
"icon": {
"url": "ipfs://QmNSoxDnj6MV8mPJWiuzzLbATcbk5op11NTwMTdzcr272F",
"width": 500,
"height": 500,
"format": "png"
},
"infoURL": "https://xenonchain.com",
"name": "Xenon Chain Testnet",
"nativeCurrency": {
"name": "Xenon Testnet",
"symbol": "tXEN",
"decimals": 18
},
"networkId": 2941,
"rpc": [
"https://xenon-chain-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://2941.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://testnet-chain.xenonchain.com/",
"https://testnet-dev.xenonchain.com/"
],
"shortName": "xenon",
"slip44": 1,
"slug": "xenon-chain-testnet",
"testnet": true
} as const satisfies Chain;
+37
View File
@@ -0,0 +1,37 @@
import type { Chain } from "../src/types";
export default {
"chain": "Lovely",
"chainId": 307,
"explorers": [
{
"name": "Lovely Network Testnet",
"url": "https://tscan.lovely.network",
"standard": "EIP3091"
}
],
"faucets": [
"https://faucet.lovely.network"
],
"icon": {
"url": "ipfs://QmPB7uW7Wj8zWWdeuPnUHPJ5FhaiTL76tv4ZQ4oKWEpb1g",
"width": 897,
"height": 824,
"format": "png"
},
"infoURL": "https://lovely.network",
"name": "Lovely Network Testnet",
"nativeCurrency": {
"name": "Lovely",
"symbol": "LOVELY",
"decimals": 18
},
"networkId": 307,
"rpc": [
"https://lovely-network-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://307.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://trpc.lovely.network"
],
"shortName": "LOVELY-Testnet",
"slug": "lovely-network-testnet",
"testnet": true
} as const satisfies Chain;
+37
View File
@@ -0,0 +1,37 @@
import type { Chain } from "../src/types";
export default {
"chain": "Bloom",
"chainId": 323213,
"explorers": [
{
"name": "Bloom Genesis Testnet",
"url": "https://testnet.bloomgenesis.com",
"standard": "EIP3091"
}
],
"faucets": [
"https://faucet.bloomgenesis.com"
],
"icon": {
"url": "ipfs://Qmetu9hMLvczYo7tDPRyjqjBHwwpHU8mEgW3PEPPre56su",
"width": 2794,
"height": 2711,
"format": "png"
},
"infoURL": "https://www.bloomgenesis.com",
"name": "Bloom Genesis Testnet",
"nativeCurrency": {
"name": "Bloom",
"symbol": "BGBC",
"decimals": 18
},
"networkId": 323213,
"rpc": [
"https://bloom-genesis-testnet.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://323213.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://testnet-rpc.bloomgenesis.com"
],
"shortName": "BGBC-Testnet",
"slug": "bloom-genesis-testnet",
"testnet": true
} as const satisfies Chain;
+35
View File
@@ -0,0 +1,35 @@
import type { Chain } from "../src/types";
export default {
"chain": "Bloom",
"chainId": 333313,
"explorers": [
{
"name": "Bloom Genesis Mainnet",
"url": "https://explorer.bloomgenesis.com",
"standard": "EIP3091"
}
],
"faucets": [],
"icon": {
"url": "ipfs://Qmetu9hMLvczYo7tDPRyjqjBHwwpHU8mEgW3PEPPre56su",
"width": 2794,
"height": 2711,
"format": "png"
},
"infoURL": "https://www.bloomgenesis.com",
"name": "Bloom Genesis Mainnet",
"nativeCurrency": {
"name": "Bloom",
"symbol": "BGBC",
"decimals": 18
},
"networkId": 333313,
"rpc": [
"https://bloom-genesis.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://333313.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://mainnet-rpc.bloomgenesis.com"
],
"shortName": "BGBC",
"slug": "bloom-genesis",
"testnet": false
} as const satisfies Chain;
+40
View File
@@ -0,0 +1,40 @@
import type { Chain } from "../src/types";
export default {
"chain": "SYNDRSEPOLIA",
"chainId": 444444,
"explorers": [
{
"name": "Syndr L3 Sepolia Testnet Explorer",
"url": "https://sepolia-explorer.syndr.com",
"standard": "EIP3091"
}
],
"faucets": [],
"infoURL": "https://syndr.com",
"name": "Syndr L3 Sepolia",
"nativeCurrency": {
"name": "Sepolia Ether",
"symbol": "ETH",
"decimals": 18
},
"networkId": 444444,
"parent": {
"type": "L2",
"chain": "eip155-421614",
"bridges": [
{
"url": "https://sepolia-bridge.syndr.com"
}
]
},
"rpc": [
"https://syndr-l3-sepolia.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://444444.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://sepolia.syndr.com/http",
"wss://sepolia.syndr.com/ws"
],
"shortName": "syndr",
"slug": "syndr-l3-sepolia",
"testnet": true,
"title": "Syndr L3 Sepolia Rollup Testnet"
} as const satisfies Chain;
+3 -2
View File
@@ -27,10 +27,11 @@ export default {
"rpc": [
"https://zetachain.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://7000.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://api.mainnet.zetachain.com/evm"
"https://zetachain-evm.blockpi.network/v1/rpc/public",
"https://zetachain-mainnet-archive.allthatnode.com:8545"
],
"shortName": "zetachain-mainnet",
"slug": "zetachain",
"status": "incubating",
"status": "active",
"testnet": false
} as const satisfies Chain;
+35
View File
@@ -0,0 +1,35 @@
import type { Chain } from "../src/types";
export default {
"chain": "Lovely",
"chainId": 730,
"explorers": [
{
"name": "Lovely Network Mainnet",
"url": "https://scan.lovely.network",
"standard": "EIP3091"
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmPB7uW7Wj8zWWdeuPnUHPJ5FhaiTL76tv4ZQ4oKWEpb1g",
"width": 897,
"height": 824,
"format": "png"
},
"infoURL": "https://lovely.network",
"name": "Lovely Network Mainnet",
"nativeCurrency": {
"name": "Lovely",
"symbol": "LOVELY",
"decimals": 18
},
"networkId": 730,
"rpc": [
"https://lovely-network.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://730.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.lovely.network"
],
"shortName": "LOVELY",
"slug": "lovely-network",
"testnet": false
} as const satisfies Chain;
+8 -8
View File
@@ -8,10 +8,10 @@ export default {
"url": "https://testnet-explorer.haven1.org",
"standard": "EIP3091",
"icon": {
"url": "ipfs://QmbSwngVDEiGaw3JzdME7fz5mYBWKbbz1ZerTpimaAxNXR",
"width": 32,
"height": 33,
"format": "svg"
"url": "ipfs://bafkreih4jq33lz2mjwvu62hmo2ptt277et5l6oqi5ejuyxv2dir2iohsai",
"width": 128,
"height": 128,
"format": "png"
}
}
],
@@ -27,10 +27,10 @@ export default {
}
],
"icon": {
"url": "ipfs://QmbSwngVDEiGaw3JzdME7fz5mYBWKbbz1ZerTpimaAxNXR",
"width": 32,
"height": 33,
"format": "svg"
"url": "ipfs://bafkreih4jq33lz2mjwvu62hmo2ptt277et5l6oqi5ejuyxv2dir2iohsai",
"width": 128,
"height": 128,
"format": "png"
},
"infoURL": "https://www.haven1.org",
"name": "Haven1 Testnet",
+37
View File
@@ -0,0 +1,37 @@
import type { Chain } from "../src/types";
export default {
"chain": "MetaDAP",
"chainId": 91120,
"explorers": [
{
"name": "MetaDAP Enterprise Mainnet explorer",
"url": "https://explorer.chain.metadap.io",
"standard": "none"
}
],
"faucets": [],
"icon": {
"url": "ipfs://QmcCFUTStKKJKfzTwrjfMFoVaPCMsvAvWXRdDkYMvCkEs3",
"width": 800,
"height": 800,
"format": "svg"
},
"infoURL": "https://metadap.io/",
"name": "MetaDAP Enterprise Mainnet",
"nativeCurrency": {
"name": "DAP",
"symbol": "DAP",
"decimals": 18
},
"networkId": 91120,
"rpc": [
"https://metadap-enterprise.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://91120.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://rpc.chain.metadap.io",
"wss://rpc-ws.chain.metadap.io"
],
"shortName": "MetaDAP",
"slug": "metadap-enterprise",
"testnet": false,
"title": "MetaDAP Enterprise Mainnet"
} as const satisfies Chain;
+31
View File
@@ -0,0 +1,31 @@
import type { Chain } from "../src/types";
export default {
"chain": "Avalanche",
"chainId": 98557,
"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": "QR0201I1",
"nativeCurrency": {
"name": "QR0201I1 Token",
"symbol": "OCZ",
"decimals": 18
},
"networkId": 98557,
"redFlags": [],
"rpc": [
"https://qr0201i1.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://98557.rpc.thirdweb.com/${THIRDWEB_API_KEY}",
"https://subnets.avax.network/qr0201i1/testnet/rpc"
],
"shortName": "QR0201I1",
"slug": "qr0201i1",
"testnet": true
} as const satisfies Chain;
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/chains",
"version": "0.1.68",
"version": "0.1.69",
"main": "dist/thirdweb-dev-chains.cjs.js",
"module": "dist/thirdweb-dev-chains.esm.js",
"exports": {
File diff suppressed because one or more lines are too long
+10
View File
@@ -1,5 +1,15 @@
# thirdweb
## 0.13.37
### Patch Changes
- Updated dependencies [[`4f52c296`](https://github.com/thirdweb-dev/js/commit/4f52c2961131636eed323a66568a519246d9f91d), [`374671fd`](https://github.com/thirdweb-dev/js/commit/374671fd9ac97a93263b09c6c0a53cfd129881d7)]:
- @thirdweb-dev/sdk@4.0.32
- @thirdweb-dev/chains@0.1.69
- @thirdweb-dev/wallets@2.4.7
- @thirdweb-dev/auth@4.1.29
## 0.13.36
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "thirdweb",
"main": "dist/cli/index.js",
"version": "0.13.36",
"version": "0.13.37",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/cli",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
+10
View File
@@ -1,5 +1,15 @@
# @thirdweb-dev/react-core
## 4.4.4
### Patch Changes
- Updated dependencies [[`4f52c296`](https://github.com/thirdweb-dev/js/commit/4f52c2961131636eed323a66568a519246d9f91d), [`374671fd`](https://github.com/thirdweb-dev/js/commit/374671fd9ac97a93263b09c6c0a53cfd129881d7)]:
- @thirdweb-dev/sdk@4.0.32
- @thirdweb-dev/chains@0.1.69
- @thirdweb-dev/wallets@2.4.7
- @thirdweb-dev/auth@4.1.29
## 4.4.3
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/react-core",
"version": "4.4.3",
"version": "4.4.4",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-core",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
Binary file not shown.
@@ -1,5 +1,7 @@
# @thirdweb-dev/react-native-compat
## 0.7.1
## 0.7.0
### Minor 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.7.0",
"version": "0.7.1",
"author": "thirdweb eng <[email protected]>",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-native-compat",
"license": "Apache-2.0",
+10
View File
@@ -1,5 +1,15 @@
# @thirdweb-dev/react-native
## 0.7.1
### Patch Changes
- Updated dependencies [[`4f52c296`](https://github.com/thirdweb-dev/js/commit/4f52c2961131636eed323a66568a519246d9f91d), [`374671fd`](https://github.com/thirdweb-dev/js/commit/374671fd9ac97a93263b09c6c0a53cfd129881d7)]:
- @thirdweb-dev/sdk@4.0.32
- @thirdweb-dev/chains@0.1.69
- @thirdweb-dev/react-core@4.4.4
- @thirdweb-dev/wallets@2.4.7
## 0.7.0
### Minor Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/react-native",
"version": "0.7.0",
"version": "0.7.1",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react-native",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
Binary file not shown.
+21
View File
@@ -1,5 +1,26 @@
# @thirdweb-dev/react
## 4.4.4
### Patch Changes
- [#2252](https://github.com/thirdweb-dev/js/pull/2252) [`439a377a`](https://github.com/thirdweb-dev/js/commit/439a377aa77ce86631a78daa4a409e00e48f69be) Thanks [@MananTank](https://github.com/MananTank)! - Add `detailsModalFooter` prop on `<ConnectWallet />` component to allow rendering a custom UI at the bottom of the details modal.
```tsx
<ConnectWallet
detailsModalFooter={(props) => {
const { close } = props;
return <div> .... </div>;
}}
/>
```
- Updated dependencies [[`4f52c296`](https://github.com/thirdweb-dev/js/commit/4f52c2961131636eed323a66568a519246d9f91d), [`374671fd`](https://github.com/thirdweb-dev/js/commit/374671fd9ac97a93263b09c6c0a53cfd129881d7)]:
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
- @thirdweb-dev/[email protected]
## 4.4.3
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/react",
"version": "4.4.3",
"version": "4.4.4",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/react",
"author": "thirdweb eng <[email protected]>",
"license": "Apache-2.0",
@@ -12,7 +12,7 @@ import {
useWalletContext,
useWallets,
} from "@thirdweb-dev/react-core";
import { useContext, useEffect, useMemo, useState } from "react";
import React, { useContext, useEffect, useMemo, useState } from "react";
import {
SetModalConfigCtx,
useSetIsWalletModalOpen,
@@ -337,6 +337,21 @@ export type ConnectWalletProps = {
*
*/
onConnect?: () => void;
/**
* Render custom UI at the bottom of the ConnectWallet Details Modal
* @param props - props passed to the footer component which includes a function to close the modal
* @example
* ```tsx
* <ConnectWallet
* detailsModalFooter={(props) => {
* const { close } = props;
* return <div> ... </div>
* })
* />
* ```
*/
detailsModalFooter?: (props: { close: () => void }) => JSX.Element;
};
const TW_CONNECT_WALLET = "tw-connect-wallet";
@@ -559,6 +574,20 @@ const TW_CONNECT_WALLET = "tw-connect-wallet";
* ```tsx
* <ConnectWallet hideDisconnect={true} />
* ```
*
* ### detailsModalFooter
* Render custom UI at the bottom of the ConnectWallet Details Modal.
*
* The given function is passed an object with a `close` function which can be used to close the modal.
*
* ```tsx
* <ConnectWallet
* detailsModalFooter={(props) => {
* const { close } = props;
* return <div> ... </div>
* })
* />
* ```
*/
export function ConnectWallet(props: ConnectWalletProps) {
const activeWallet = useWallet();
@@ -754,6 +783,7 @@ export function ConnectWallet(props: ConnectWalletProps) {
}}
hideSwitchToPersonalWallet={props.hideSwitchToPersonalWallet}
hideDisconnect={props.hideDisconnect}
detailsModalFooter={props.detailsModalFooter}
/>
);
})()}
@@ -96,6 +96,7 @@ export const ConnectedWalletDetails: React.FC<{
displayBalanceToken?: Record<number, string>;
hideSwitchToPersonalWallet?: boolean;
hideDisconnect?: boolean;
detailsModalFooter?: (props: { close: () => void }) => JSX.Element;
}> = (props) => {
const locale = useTWLocale().connectWallet;
const chain = useChain();
@@ -517,6 +518,10 @@ export const ConnectedWalletDetails: React.FC<{
</MenuButton>
</div>
)}
{props.detailsModalFooter && (
<props.detailsModalFooter close={() => setIsOpen(false)} />
)}
</Container>
<Spacer y="md" />
Binary file not shown.
+9
View File
@@ -1,5 +1,14 @@
# @thirdweb-dev/sdk
## 4.0.32
### Patch Changes
- [#2248](https://github.com/thirdweb-dev/js/pull/2248) [`4f52c296`](https://github.com/thirdweb-dev/js/commit/4f52c2961131636eed323a66568a519246d9f91d) Thanks [@nachoiacovino](https://github.com/nachoiacovino)! - Update link for support
- Updated dependencies [[`374671fd`](https://github.com/thirdweb-dev/js/commit/374671fd9ac97a93263b09c6c0a53cfd129881d7)]:
- @thirdweb-dev/chains@0.1.69
## 4.0.31
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/sdk",
"version": "4.0.31",
"version": "4.0.32",
"description": "The main thirdweb SDK.",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/sdk",
"license": "Apache-2.0",
+1 -1
View File
@@ -358,7 +358,7 @@ export class TransactionError extends Error {
}
errorMessage += `\n\n\n╔═════════════════════╗\n║ DEBUGGING RESOURCES ║\n╚═════════════════════╝\n\n`;
errorMessage += `Need helping debugging? Join our Discord: https://discord.gg/thirdweb`;
errorMessage += `Need helping debugging? Visit our support site: https://thirdweb.com/support`;
errorMessage += `\n\n`;
super(errorMessage);
Binary file not shown.
Binary file not shown.
+10
View File
@@ -1,5 +1,15 @@
# @thirdweb-dev/unity-js-bridge
## 0.3.12
### Patch Changes
- Updated dependencies [[`4f52c296`](https://github.com/thirdweb-dev/js/commit/4f52c2961131636eed323a66568a519246d9f91d), [`374671fd`](https://github.com/thirdweb-dev/js/commit/374671fd9ac97a93263b09c6c0a53cfd129881d7)]:
- @thirdweb-dev/sdk@4.0.32
- @thirdweb-dev/chains@0.1.69
- @thirdweb-dev/wallets@2.4.7
- @thirdweb-dev/auth@4.1.29
## 0.3.11
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/unity-js-bridge",
"version": "0.3.11",
"version": "0.3.12",
"main": "dist/thirdweb-unity-bridge.js",
"repository": "https://github.com/thirdweb-dev/js/tree/main/packages/unity-js-bridge",
"license": "Apache-2.0",
+8
View File
@@ -1,5 +1,13 @@
# @thirdweb-dev/wallets
## 2.4.7
### Patch Changes
- Updated dependencies [[`4f52c296`](https://github.com/thirdweb-dev/js/commit/4f52c2961131636eed323a66568a519246d9f91d), [`374671fd`](https://github.com/thirdweb-dev/js/commit/374671fd9ac97a93263b09c6c0a53cfd129881d7)]:
- @thirdweb-dev/sdk@4.0.32
- @thirdweb-dev/chains@0.1.69
## 2.4.6
### Patch Changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/wallets",
"version": "2.4.6",
"version": "2.4.7",
"main": "dist/thirdweb-dev-wallets.cjs.js",
"module": "dist/thirdweb-dev-wallets.esm.js",
"browser": {
Binary file not shown.