@privy-io/chains 0.1.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/ethereum/add-chain-to-default-chains.js +1 -0
- package/dist/cjs/ethereum/add-chain-to-default-chains.js.map +1 -0
- package/dist/cjs/ethereum/add-privy-rpc-to-chain.js +1 -0
- package/dist/cjs/ethereum/add-privy-rpc-to-chain.js.map +1 -0
- package/dist/cjs/ethereum/add-rpc-url-override-to-chain.js +1 -0
- package/dist/cjs/ethereum/add-rpc-url-override-to-chain.js.map +1 -0
- package/dist/cjs/ethereum/dedupe-supported-chains.js +1 -0
- package/dist/cjs/ethereum/dedupe-supported-chains.js.map +1 -0
- package/dist/cjs/ethereum/default-supported-chains.js +1 -0
- package/dist/cjs/ethereum/default-supported-chains.js.map +1 -0
- package/dist/cjs/ethereum/definitions/abstract.js +1 -0
- package/dist/cjs/ethereum/definitions/abstract.js.map +1 -0
- package/dist/cjs/ethereum/definitions/abstractTestnet.js +1 -0
- package/dist/cjs/ethereum/definitions/abstractTestnet.js.map +1 -0
- package/dist/cjs/ethereum/definitions/apeChain.js +1 -0
- package/dist/cjs/ethereum/definitions/apeChain.js.map +1 -0
- package/dist/cjs/ethereum/definitions/arbitrum.js +1 -0
- package/dist/cjs/ethereum/definitions/arbitrum.js.map +1 -0
- package/dist/cjs/ethereum/definitions/arbitrumSepolia.js +1 -0
- package/dist/cjs/ethereum/definitions/arbitrumSepolia.js.map +1 -0
- package/dist/cjs/ethereum/definitions/avalanche.js +1 -0
- package/dist/cjs/ethereum/definitions/avalanche.js.map +1 -0
- package/dist/cjs/ethereum/definitions/avalancheFuji.js +1 -0
- package/dist/cjs/ethereum/definitions/avalancheFuji.js.map +1 -0
- package/dist/cjs/ethereum/definitions/b3.js +1 -0
- package/dist/cjs/ethereum/definitions/b3.js.map +1 -0
- package/dist/cjs/ethereum/definitions/b3Sepolia.js +1 -0
- package/dist/cjs/ethereum/definitions/b3Sepolia.js.map +1 -0
- package/dist/cjs/ethereum/definitions/base.js +1 -0
- package/dist/cjs/ethereum/definitions/base.js.map +1 -0
- package/dist/cjs/ethereum/definitions/baseSepolia.js +1 -0
- package/dist/cjs/ethereum/definitions/baseSepolia.js.map +1 -0
- package/dist/cjs/ethereum/definitions/berachainArtio.js +1 -0
- package/dist/cjs/ethereum/definitions/berachainArtio.js.map +1 -0
- package/dist/cjs/ethereum/definitions/bsc.js +1 -0
- package/dist/cjs/ethereum/definitions/bsc.js.map +1 -0
- package/dist/cjs/ethereum/definitions/celo.js +1 -0
- package/dist/cjs/ethereum/definitions/celo.js.map +1 -0
- package/dist/cjs/ethereum/definitions/celoAlfajores.js +1 -0
- package/dist/cjs/ethereum/definitions/celoAlfajores.js.map +1 -0
- package/dist/cjs/ethereum/definitions/curtis.js +1 -0
- package/dist/cjs/ethereum/definitions/curtis.js.map +1 -0
- package/dist/cjs/ethereum/definitions/filecoin.js +1 -0
- package/dist/cjs/ethereum/definitions/filecoin.js.map +1 -0
- package/dist/cjs/ethereum/definitions/filecoinCalibration.js +1 -0
- package/dist/cjs/ethereum/definitions/filecoinCalibration.js.map +1 -0
- package/dist/cjs/ethereum/definitions/fluentTestnet.js +1 -0
- package/dist/cjs/ethereum/definitions/fluentTestnet.js.map +1 -0
- package/dist/cjs/ethereum/definitions/garnetHolesky.js +1 -0
- package/dist/cjs/ethereum/definitions/garnetHolesky.js.map +1 -0
- package/dist/cjs/ethereum/definitions/gunz.js +1 -0
- package/dist/cjs/ethereum/definitions/gunz.js.map +1 -0
- package/dist/cjs/ethereum/definitions/holesky.js +1 -0
- package/dist/cjs/ethereum/definitions/holesky.js.map +1 -0
- package/dist/cjs/ethereum/definitions/hyperEVMMainnet.js +1 -0
- package/dist/cjs/ethereum/definitions/hyperEVMMainnet.js.map +1 -0
- package/dist/cjs/ethereum/definitions/immutableZkEvm.js +1 -0
- package/dist/cjs/ethereum/definitions/immutableZkEvm.js.map +1 -0
- package/dist/cjs/ethereum/definitions/linea.js +1 -0
- package/dist/cjs/ethereum/definitions/linea.js.map +1 -0
- package/dist/cjs/ethereum/definitions/lineaTestnet.js +1 -0
- package/dist/cjs/ethereum/definitions/lineaTestnet.js.map +1 -0
- package/dist/cjs/ethereum/definitions/lukso.js +1 -0
- package/dist/cjs/ethereum/definitions/lukso.js.map +1 -0
- package/dist/cjs/ethereum/definitions/mainnet.js +1 -0
- package/dist/cjs/ethereum/definitions/mainnet.js.map +1 -0
- package/dist/cjs/ethereum/definitions/miracleChainMainnet.js +2 -0
- package/dist/cjs/ethereum/definitions/miracleChainMainnet.js.map +1 -0
- package/dist/cjs/ethereum/definitions/miracleChainTestnet.js +2 -0
- package/dist/cjs/ethereum/definitions/miracleChainTestnet.js.map +1 -0
- package/dist/cjs/ethereum/definitions/monadMainnet.js +1 -0
- package/dist/cjs/ethereum/definitions/monadMainnet.js.map +1 -0
- package/dist/cjs/ethereum/definitions/neuraTestnet.js +1 -0
- package/dist/cjs/ethereum/definitions/neuraTestnet.js.map +1 -0
- package/dist/cjs/ethereum/definitions/optimism.js +1 -0
- package/dist/cjs/ethereum/definitions/optimism.js.map +1 -0
- package/dist/cjs/ethereum/definitions/optimismSepolia.js +1 -0
- package/dist/cjs/ethereum/definitions/optimismSepolia.js.map +1 -0
- package/dist/cjs/ethereum/definitions/polygon.js +1 -0
- package/dist/cjs/ethereum/definitions/polygon.js.map +1 -0
- package/dist/cjs/ethereum/definitions/polygonAmoy.js +1 -0
- package/dist/cjs/ethereum/definitions/polygonAmoy.js.map +1 -0
- package/dist/cjs/ethereum/definitions/redstone.js +1 -0
- package/dist/cjs/ethereum/definitions/redstone.js.map +1 -0
- package/dist/cjs/ethereum/definitions/ronin.js +1 -0
- package/dist/cjs/ethereum/definitions/ronin.js.map +1 -0
- package/dist/cjs/ethereum/definitions/saigon.js +1 -0
- package/dist/cjs/ethereum/definitions/saigon.js.map +1 -0
- package/dist/cjs/ethereum/definitions/sepolia.js +1 -0
- package/dist/cjs/ethereum/definitions/sepolia.js.map +1 -0
- package/dist/cjs/ethereum/definitions/shape.js +1 -0
- package/dist/cjs/ethereum/definitions/shape.js.map +1 -0
- package/dist/cjs/ethereum/definitions/somnia.js +1 -0
- package/dist/cjs/ethereum/definitions/somnia.js.map +1 -0
- package/dist/cjs/ethereum/definitions/somniaTestnet.js +1 -0
- package/dist/cjs/ethereum/definitions/somniaTestnet.js.map +1 -0
- package/dist/cjs/ethereum/definitions/soneium.js +1 -0
- package/dist/cjs/ethereum/definitions/soneium.js.map +1 -0
- package/dist/cjs/ethereum/definitions/unichain.js +1 -0
- package/dist/cjs/ethereum/definitions/unichain.js.map +1 -0
- package/dist/cjs/ethereum/definitions/zora.js +1 -0
- package/dist/cjs/ethereum/definitions/zora.js.map +1 -0
- package/dist/cjs/ethereum/definitions/zoraSepolia.js +1 -0
- package/dist/cjs/ethereum/definitions/zoraSepolia.js.map +1 -0
- package/dist/cjs/ethereum/definitions/zoraTestnet.js +1 -0
- package/dist/cjs/ethereum/definitions/zoraTestnet.js.map +1 -0
- package/dist/cjs/ethereum/get-rpc-endpoint-from-chain.js +1 -0
- package/dist/cjs/ethereum/get-rpc-endpoint-from-chain.js.map +1 -0
- package/dist/cjs/ethereum/get-supported-chain-by-id.js +1 -0
- package/dist/cjs/ethereum/get-supported-chain-by-id.js.map +1 -0
- package/dist/cjs/ethereum/types.js +1 -0
- package/dist/cjs/ethereum/types.js.map +1 -0
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/index.js.map +1 -0
- package/dist/dts/index.d.mts +6 -1
- package/dist/dts/index.d.ts +6 -1
- package/dist/esm/ethereum/add-chain-to-default-chains.mjs +1 -0
- package/dist/esm/ethereum/add-chain-to-default-chains.mjs.map +1 -0
- package/dist/esm/ethereum/add-privy-rpc-to-chain.mjs +1 -0
- package/dist/esm/ethereum/add-privy-rpc-to-chain.mjs.map +1 -0
- package/dist/esm/ethereum/add-rpc-url-override-to-chain.mjs +1 -0
- package/dist/esm/ethereum/add-rpc-url-override-to-chain.mjs.map +1 -0
- package/dist/esm/ethereum/dedupe-supported-chains.mjs +1 -0
- package/dist/esm/ethereum/dedupe-supported-chains.mjs.map +1 -0
- package/dist/esm/ethereum/default-supported-chains.mjs +1 -0
- package/dist/esm/ethereum/default-supported-chains.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/abstract.mjs +1 -0
- package/dist/esm/ethereum/definitions/abstract.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/abstractTestnet.mjs +1 -0
- package/dist/esm/ethereum/definitions/abstractTestnet.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/apeChain.mjs +1 -0
- package/dist/esm/ethereum/definitions/apeChain.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/arbitrum.mjs +1 -0
- package/dist/esm/ethereum/definitions/arbitrum.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/arbitrumSepolia.mjs +1 -0
- package/dist/esm/ethereum/definitions/arbitrumSepolia.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/avalanche.mjs +1 -0
- package/dist/esm/ethereum/definitions/avalanche.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/avalancheFuji.mjs +1 -0
- package/dist/esm/ethereum/definitions/avalancheFuji.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/b3.mjs +1 -0
- package/dist/esm/ethereum/definitions/b3.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/b3Sepolia.mjs +1 -0
- package/dist/esm/ethereum/definitions/b3Sepolia.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/base.mjs +1 -0
- package/dist/esm/ethereum/definitions/base.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/baseSepolia.mjs +1 -0
- package/dist/esm/ethereum/definitions/baseSepolia.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/berachainArtio.mjs +1 -0
- package/dist/esm/ethereum/definitions/berachainArtio.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/bsc.mjs +1 -0
- package/dist/esm/ethereum/definitions/bsc.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/celo.mjs +1 -0
- package/dist/esm/ethereum/definitions/celo.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/celoAlfajores.mjs +1 -0
- package/dist/esm/ethereum/definitions/celoAlfajores.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/curtis.mjs +1 -0
- package/dist/esm/ethereum/definitions/curtis.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/filecoin.mjs +1 -0
- package/dist/esm/ethereum/definitions/filecoin.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/filecoinCalibration.mjs +1 -0
- package/dist/esm/ethereum/definitions/filecoinCalibration.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/fluentTestnet.mjs +1 -0
- package/dist/esm/ethereum/definitions/fluentTestnet.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/garnetHolesky.mjs +1 -0
- package/dist/esm/ethereum/definitions/garnetHolesky.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/gunz.mjs +1 -0
- package/dist/esm/ethereum/definitions/gunz.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/holesky.mjs +1 -0
- package/dist/esm/ethereum/definitions/holesky.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/hyperEVMMainnet.mjs +1 -0
- package/dist/esm/ethereum/definitions/hyperEVMMainnet.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/immutableZkEvm.mjs +1 -0
- package/dist/esm/ethereum/definitions/immutableZkEvm.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/linea.mjs +1 -0
- package/dist/esm/ethereum/definitions/linea.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/lineaTestnet.mjs +1 -0
- package/dist/esm/ethereum/definitions/lineaTestnet.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/lukso.mjs +1 -0
- package/dist/esm/ethereum/definitions/lukso.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/mainnet.mjs +1 -0
- package/dist/esm/ethereum/definitions/mainnet.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/miracleChainMainnet.mjs +2 -0
- package/dist/esm/ethereum/definitions/miracleChainMainnet.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/miracleChainTestnet.mjs +2 -0
- package/dist/esm/ethereum/definitions/miracleChainTestnet.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/monadMainnet.mjs +1 -0
- package/dist/esm/ethereum/definitions/monadMainnet.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/neuraTestnet.mjs +1 -0
- package/dist/esm/ethereum/definitions/neuraTestnet.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/optimism.mjs +1 -0
- package/dist/esm/ethereum/definitions/optimism.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/optimismSepolia.mjs +1 -0
- package/dist/esm/ethereum/definitions/optimismSepolia.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/polygon.mjs +1 -0
- package/dist/esm/ethereum/definitions/polygon.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/polygonAmoy.mjs +1 -0
- package/dist/esm/ethereum/definitions/polygonAmoy.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/redstone.mjs +1 -0
- package/dist/esm/ethereum/definitions/redstone.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/ronin.mjs +1 -0
- package/dist/esm/ethereum/definitions/ronin.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/saigon.mjs +1 -0
- package/dist/esm/ethereum/definitions/saigon.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/sepolia.mjs +1 -0
- package/dist/esm/ethereum/definitions/sepolia.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/shape.mjs +1 -0
- package/dist/esm/ethereum/definitions/shape.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/somnia.mjs +1 -0
- package/dist/esm/ethereum/definitions/somnia.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/somniaTestnet.mjs +1 -0
- package/dist/esm/ethereum/definitions/somniaTestnet.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/soneium.mjs +1 -0
- package/dist/esm/ethereum/definitions/soneium.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/unichain.mjs +1 -0
- package/dist/esm/ethereum/definitions/unichain.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/zora.mjs +1 -0
- package/dist/esm/ethereum/definitions/zora.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/zoraSepolia.mjs +1 -0
- package/dist/esm/ethereum/definitions/zoraSepolia.mjs.map +1 -0
- package/dist/esm/ethereum/definitions/zoraTestnet.mjs +1 -0
- package/dist/esm/ethereum/definitions/zoraTestnet.mjs.map +1 -0
- package/dist/esm/ethereum/get-rpc-endpoint-from-chain.mjs +1 -0
- package/dist/esm/ethereum/get-rpc-endpoint-from-chain.mjs.map +1 -0
- package/dist/esm/ethereum/get-supported-chain-by-id.mjs +1 -0
- package/dist/esm/ethereum/get-supported-chain-by-id.mjs.map +1 -0
- package/dist/esm/ethereum/types.mjs +1 -0
- package/dist/esm/ethereum/types.mjs.map +1 -0
- package/dist/esm/index.mjs +2 -1
- package/dist/esm/index.mjs.map +1 -0
- package/package.json +7 -6
|
@@ -1 +1,2 @@
|
|
|
1
1
|
const t={id:360,name:"Shape",network:"shape",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{privy:{http:["https://shape-mainnet.rpc.privy.systems"]},default:{http:["https://mainnet.shape.network"]},public:{http:["https://mainnet.shape.network"]}},blockExplorers:{default:{name:"Shapescan",url:"https://shapescan.xyz"}}};export{t as shape};
|
|
2
|
+
//# sourceMappingURL=shape.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shape.mjs","sources":["../../../../src/ethereum/definitions/shape.ts"],"names":["shape","id","name","network","nativeCurrency","symbol","decimals","rpcUrls","privy","http","default","public","blockExplorers","url"],"mappings":"AAEO,MAAMA,EAAe,CAC1BC,GAAI,IACJC,KAAM,QACNC,QAAS,QACTC,eAAgB,CACdF,KAAM,QACNG,OAAQ,MACRC,SAAU,IAEZC,QAAS,CACPC,MAAO,CACLC,KAAM,CAAC,4CAETC,QAAS,CACPD,KAAM,CAAC,kCAETE,OAAQ,CACNF,KAAM,CAAC,mCAGXG,eAAgB,CACdF,QAAS,CACPR,KAAM,YACNW,IAAK"}
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
const t={id:5031,name:"Somnia",network:"somnia",nativeCurrency:{name:"Somnia",symbol:"SOMI",decimals:18},rpcUrls:{privy:{http:["https://somnia-mainnet.rpc.privy.systems"]},default:{http:["https://api.infra.mainnet.somnia.network"]},public:{http:["https://api.infra.mainnet.somnia.network"]}},blockExplorers:{default:{name:"Somnia Explorer",url:"https://explorer.somnia.network"}}};export{t as somnia};
|
|
2
|
+
//# sourceMappingURL=somnia.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"somnia.mjs","sources":["../../../../src/ethereum/definitions/somnia.ts"],"names":["somnia","id","name","network","nativeCurrency","symbol","decimals","rpcUrls","privy","http","default","public","blockExplorers","url"],"mappings":"AAEO,MAAMA,EAAgB,CAC3BC,GAAI,KACJC,KAAM,SACNC,QAAS,SACTC,eAAgB,CACdF,KAAM,SACNG,OAAQ,OACRC,SAAU,IAEZC,QAAS,CACPC,MAAO,CACLC,KAAM,CAAC,6CAETC,QAAS,CACPD,KAAM,CAAC,6CAETE,OAAQ,CACNF,KAAM,CAAC,8CAGXG,eAAgB,CACdF,QAAS,CACPR,KAAM,kBACNW,IAAK"}
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
const t={id:50312,name:"Somnia Testnet",network:"somnia-testnet",nativeCurrency:{name:"STT",symbol:"STT",decimals:18},rpcUrls:{privy:{http:["https://somnia-testnet.rpc.privy.systems"]},default:{http:["https://dream-rpc.somnia.network"]},public:{http:["https://dream-rpc.somnia.network"]}},blockExplorers:{default:{name:"Somnia Testnet Explorer",url:"https://shannon-explorer.somnia.network/"}}};export{t as somniaTestnet};
|
|
2
|
+
//# sourceMappingURL=somniaTestnet.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"somniaTestnet.mjs","sources":["../../../../src/ethereum/definitions/somniaTestnet.ts"],"names":["somniaTestnet","id","name","network","nativeCurrency","symbol","decimals","rpcUrls","privy","http","default","public","blockExplorers","url"],"mappings":"AAEO,MAAMA,EAAuB,CAClCC,GAAI,MACJC,KAAM,iBACNC,QAAS,iBACTC,eAAgB,CACdF,KAAM,MACNG,OAAQ,MACRC,SAAU,IAEZC,QAAS,CACPC,MAAO,CACLC,KAAM,CAAC,6CAETC,QAAS,CACPD,KAAM,CAAC,qCAETE,OAAQ,CACNF,KAAM,CAAC,sCAGXG,eAAgB,CACdF,QAAS,CACPR,KAAM,0BACNW,IAAK"}
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
const t={id:1868,name:"Soneium Mainnet",network:"soneium",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{privy:{http:["https://soneium-mainnet.rpc.privy.systems"]},default:{http:["https://rpc.soneium.org"]},public:{http:["https://rpc.soneium.org"]}},blockExplorers:{default:{name:"Blockscout",url:"https://soneium.blockscout.com"}}};export{t as soneium};
|
|
2
|
+
//# sourceMappingURL=soneium.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"soneium.mjs","sources":["../../../../src/ethereum/definitions/soneium.ts"],"names":["soneium","id","name","network","nativeCurrency","symbol","decimals","rpcUrls","privy","http","default","public","blockExplorers","url"],"mappings":"AAEO,MAAMA,EAAiB,CAC5BC,GAAI,KACJC,KAAM,kBACNC,QAAS,UACTC,eAAgB,CACdF,KAAM,QACNG,OAAQ,MACRC,SAAU,IAEZC,QAAS,CACPC,MAAO,CACLC,KAAM,CAAC,8CAETC,QAAS,CACPD,KAAM,CAAC,4BAETE,OAAQ,CACNF,KAAM,CAAC,6BAGXG,eAAgB,CACdF,QAAS,CACPR,KAAM,aACNW,IAAK"}
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
const n={id:130,name:"Unichain",network:"unichain",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{privy:{http:["https://unichain-mainnet.rpc.privy.systems"]},default:{http:["https://mainnet.unichain.org"]},public:{http:["https://mainnet.unichain.org"]}},blockExplorers:{default:{name:"Uniscan",url:"https://uniscan.xyz"}}};export{n as unichain};
|
|
2
|
+
//# sourceMappingURL=unichain.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unichain.mjs","sources":["../../../../src/ethereum/definitions/unichain.ts"],"names":["unichain","id","name","network","nativeCurrency","symbol","decimals","rpcUrls","privy","http","default","public","blockExplorers","url"],"mappings":"AAEO,MAAMA,EAAkB,CAC7BC,GAAI,IACJC,KAAM,WACNC,QAAS,WACTC,eAAgB,CACdF,KAAM,QACNG,OAAQ,MACRC,SAAU,IAEZC,QAAS,CACPC,MAAO,CACLC,KAAM,CAAC,+CAETC,QAAS,CACPD,KAAM,CAAC,iCAETE,OAAQ,CACNF,KAAM,CAAC,kCAGXG,eAAgB,CACdF,QAAS,CACPR,KAAM,UACNW,IAAK"}
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
const r={id:7777777,name:"Zora",network:"zora",nativeCurrency:{decimals:18,name:"Ether",symbol:"ETH"},rpcUrls:{privy:{http:["https://zora-mainnet.rpc.privy.systems"]},default:{http:["https://rpc.zora.energy"],webSocket:["wss://rpc.zora.energy"]},public:{http:["https://rpc.zora.energy"],webSocket:["wss://rpc.zora.energy"]}},blockExplorers:{default:{name:"Explorer",url:"https://explorer.zora.energy"}}};export{r as zora};
|
|
2
|
+
//# sourceMappingURL=zora.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zora.mjs","sources":["../../../../src/ethereum/definitions/zora.ts"],"names":["zora","id","name","network","nativeCurrency","decimals","symbol","rpcUrls","privy","http","default","webSocket","public","blockExplorers","url"],"mappings":"AAEO,MAAMA,EAAc,CACzBC,GAAI,QACJC,KAAM,OACNC,QAAS,OACTC,eAAgB,CACdC,SAAU,GACVH,KAAM,QACNI,OAAQ,OAEVC,QAAS,CACPC,MAAO,CACLC,KAAM,CAAC,2CAETC,QAAS,CACPD,KAAM,CAAC,2BACPE,UAAW,CAAC,0BAEdC,OAAQ,CACNH,KAAM,CAAC,2BACPE,UAAW,CAAC,2BAGhBE,eAAgB,CACdH,QAAS,CAACR,KAAM,WAAYY,IAAK"}
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
const e={id:999999999,name:"Zora Sepolia",network:"zora-sepolia",nativeCurrency:{decimals:18,name:"Zora Sepolia",symbol:"ETH"},rpcUrls:{default:{http:["https://sepolia.rpc.zora.energy"],webSocket:["wss://sepolia.rpc.zora.energy"]},public:{http:["https://sepolia.rpc.zora.energy"],webSocket:["wss://sepolia.rpc.zora.energy"]}},blockExplorers:{default:{name:"Zora Sepolia Explorer",url:"https://sepolia.explorer.zora.energy/"}},testnet:!0};export{e as zoraSepolia};
|
|
2
|
+
//# sourceMappingURL=zoraSepolia.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zoraSepolia.mjs","sources":["../../../../src/ethereum/definitions/zoraSepolia.ts"],"names":["zoraSepolia","id","name","network","nativeCurrency","decimals","symbol","rpcUrls","default","http","webSocket","public","blockExplorers","url","testnet"],"mappings":"AAEO,MAAMA,EAAqB,CAChCC,GAAI,UACJC,KAAM,eACNC,QAAS,eACTC,eAAgB,CACdC,SAAU,GACVH,KAAM,eACNI,OAAQ,OAEVC,QAAS,CACPC,QAAS,CACPC,KAAM,CAAC,mCACPC,UAAW,CAAC,kCAEdC,OAAQ,CACNF,KAAM,CAAC,mCACPC,UAAW,CAAC,mCAGhBE,eAAgB,CACdJ,QAAS,CACPN,KAAM,wBACNW,IAAK,0CAGTC,SAAS"}
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
const e={id:999,name:"Zora Goerli Testnet",network:"zora-testnet",nativeCurrency:{decimals:18,name:"Zora Goerli",symbol:"ETH"},rpcUrls:{default:{http:["https://testnet.rpc.zora.energy"],webSocket:["wss://testnet.rpc.zora.energy"]},public:{http:["https://testnet.rpc.zora.energy"],webSocket:["wss://testnet.rpc.zora.energy"]}},blockExplorers:{default:{name:"Explorer",url:"https://testnet.explorer.zora.energy"}},testnet:!0};export{e as zoraTestnet};
|
|
2
|
+
//# sourceMappingURL=zoraTestnet.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zoraTestnet.mjs","sources":["../../../../src/ethereum/definitions/zoraTestnet.ts"],"names":["zoraTestnet","id","name","network","nativeCurrency","decimals","symbol","rpcUrls","default","http","webSocket","public","blockExplorers","url","testnet"],"mappings":"AAEO,MAAMA,EAAqB,CAChCC,GAAI,IACJC,KAAM,sBACNC,QAAS,eACTC,eAAgB,CACdC,SAAU,GACVH,KAAM,cACNI,OAAQ,OAEVC,QAAS,CACPC,QAAS,CACPC,KAAM,CAAC,mCACPC,UAAW,CAAC,kCAEdC,OAAQ,CACNF,KAAM,CAAC,mCACPC,UAAW,CAAC,mCAGhBE,eAAgB,CACdJ,QAAS,CACPN,KAAM,WACNW,IAAK,yCAGTC,SAAS"}
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
let r=["privyWalletOverride","privy","default"];function t(r,t,e){let i=r.rpcUrls[e]?.http[0];if(i){if("privy"===e){let r=new URL(i);return r.searchParams.set("privyAppId",t),r.toString()}return i}}function e(e,i,n){if(n)return t(e,i,n);for(let n of r){let r=t(e,i,n);if(r)return r}}export{e as getRpcEndpointFromChain};
|
|
2
|
+
//# sourceMappingURL=get-rpc-endpoint-from-chain.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-rpc-endpoint-from-chain.mjs","sources":["../../../src/ethereum/get-rpc-endpoint-from-chain.ts"],"names":["DEFAULT_PRIORITY","toUrlForKey","chain","appId","source","raw","rpcUrls","http","url","URL","searchParams","set","toString","getRpcEndpointFromChain","key","result"],"mappings":"AAWA,IAAMA,EAAmC,CAAC,sBAAuB,QAAS,WAM1E,SAASC,EAAYC,EAAcC,EAAeC,GAChD,IAAMC,EAAMH,EAAMI,QAAQF,IAASG,KAAK,GACxC,GAAKF,EAAAA,CAIL,GAAID,UAAAA,EAAoB,CACtB,IAAMI,EAAM,IAAIC,IAAIJ,GAEpB,OADAG,EAAIE,aAAaC,IAAI,aAAcR,GAC5BK,EAAII,UACb,CAEA,OAAOP,CAAAA,CACT,CAoBO,SAASQ,EACdX,EACAC,EACAC,GAEA,GAAIA,EACF,OAAOH,EAAYC,EAAOC,EAAOC,GAGnC,IAAK,IAAMU,KAAOd,EAAkB,CAClC,IAAMe,EAASd,EAAYC,EAAOC,EAAOW,GACzC,GAAIC,EACF,OAAOA,CAEX,CAGF"}
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
import{DEFAULT_SUPPORTED_CHAINS as i}from"./default-supported-chains.mjs";import"./definitions/arbitrum.mjs";import"./definitions/arbitrumSepolia.mjs";import"./definitions/avalanche.mjs";import"./definitions/avalancheFuji.mjs";import"./definitions/base.mjs";import"./definitions/baseSepolia.mjs";import"./definitions/berachainArtio.mjs";import"./definitions/bsc.mjs";import"./definitions/celo.mjs";import"./definitions/celoAlfajores.mjs";import"./definitions/filecoin.mjs";import"./definitions/filecoinCalibration.mjs";import"./definitions/garnetHolesky.mjs";import"./definitions/gunz.mjs";import"./definitions/holesky.mjs";import"./definitions/immutableZkEvm.mjs";import"./definitions/linea.mjs";import"./definitions/lineaTestnet.mjs";import"./definitions/lukso.mjs";import"./definitions/mainnet.mjs";import"./definitions/optimism.mjs";import"./definitions/optimismSepolia.mjs";import"./definitions/polygon.mjs";import"./definitions/polygonAmoy.mjs";import"./definitions/redstone.mjs";import"./definitions/sepolia.mjs";import"./definitions/soneium.mjs";import"./definitions/unichain.mjs";import"./definitions/zora.mjs";import"./definitions/zoraSepolia.mjs";import"./definitions/zoraTestnet.mjs";const o=o=>i.find((i=>i.id===o));export{o as getSupportedChainById};
|
|
2
|
+
//# sourceMappingURL=get-supported-chain-by-id.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-supported-chain-by-id.mjs","sources":["../../../src/ethereum/get-supported-chain-by-id.ts"],"names":["getSupportedChainById","id","DEFAULT_SUPPORTED_CHAINS","find","chain"],"mappings":"krCAGaA,EAAyBC,GACpCC,EAAyBC,MAAMC,GAAUA,EAAMH,KAAOA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.mjs","sources":[],"names":[],"mappings":""}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export{addPrivyRpcToChain}from"./ethereum/add-privy-rpc-to-chain.mjs";export{addToDefaultChains}from"./ethereum/add-chain-to-default-chains.mjs";export{DEFAULT_SUPPORTED_CHAINS,DEFAULT_SUPPORTED_CHAIN_IDS}from"./ethereum/default-supported-chains.mjs";export{addRpcUrlOverrideToChain}from"./ethereum/add-rpc-url-override-to-chain.mjs";export{dedupeSupportedChains}from"./ethereum/dedupe-supported-chains.mjs";export{getRpcEndpointFromChain}from"./ethereum/get-rpc-endpoint-from-chain.mjs";export{getSupportedChainById}from"./ethereum/get-supported-chain-by-id.mjs";export{abstract}from"./ethereum/definitions/abstract.mjs";export{abstractTestnet}from"./ethereum/definitions/abstractTestnet.mjs";export{apeChain}from"./ethereum/definitions/apeChain.mjs";export{arbitrum}from"./ethereum/definitions/arbitrum.mjs";export{arbitrumSepolia}from"./ethereum/definitions/arbitrumSepolia.mjs";export{avalanche}from"./ethereum/definitions/avalanche.mjs";export{avalancheFuji}from"./ethereum/definitions/avalancheFuji.mjs";export{b3}from"./ethereum/definitions/b3.mjs";export{b3Sepolia}from"./ethereum/definitions/b3Sepolia.mjs";export{base}from"./ethereum/definitions/base.mjs";export{baseSepolia}from"./ethereum/definitions/baseSepolia.mjs";export{celo}from"./ethereum/definitions/celo.mjs";export{curtis}from"./ethereum/definitions/curtis.mjs";export{fluentTestnet}from"./ethereum/definitions/fluentTestnet.mjs";export{linea}from"./ethereum/definitions/linea.mjs";export{mainnet}from"./ethereum/definitions/mainnet.mjs";export{neuraTestnet}from"./ethereum/definitions/neuraTestnet.mjs";export{optimism}from"./ethereum/definitions/optimism.mjs";export{optimismSepolia}from"./ethereum/definitions/optimismSepolia.mjs";export{polygon}from"./ethereum/definitions/polygon.mjs";export{polygonAmoy}from"./ethereum/definitions/polygonAmoy.mjs";export{ronin}from"./ethereum/definitions/ronin.mjs";export{saigon}from"./ethereum/definitions/saigon.mjs";export{sepolia}from"./ethereum/definitions/sepolia.mjs";export{shape}from"./ethereum/definitions/shape.mjs";export{somnia}from"./ethereum/definitions/somnia.mjs";export{somniaTestnet}from"./ethereum/definitions/somniaTestnet.mjs";export{zora}from"./ethereum/definitions/zora.mjs";export{zoraSepolia}from"./ethereum/definitions/zoraSepolia.mjs";export{zoraTestnet}from"./ethereum/definitions/zoraTestnet.mjs";export{bsc}from"./ethereum/definitions/bsc.mjs";export{gunz}from"./ethereum/definitions/gunz.mjs";export{hyperEVMMainnet}from"./ethereum/definitions/hyperEVMMainnet.mjs";export{monadMainnet}from"./ethereum/definitions/monadMainnet.mjs";export{immutableZkEvm}from"./ethereum/definitions/immutableZkEvm.mjs";export{soneium}from"./ethereum/definitions/soneium.mjs";export{unichain}from"./ethereum/definitions/unichain.mjs";import"./ethereum/definitions/berachainArtio.mjs";import"./ethereum/definitions/celoAlfajores.mjs";import"./ethereum/definitions/filecoin.mjs";import"./ethereum/definitions/filecoinCalibration.mjs";import"./ethereum/definitions/garnetHolesky.mjs";import"./ethereum/definitions/holesky.mjs";import"./ethereum/definitions/lineaTestnet.mjs";import"./ethereum/definitions/lukso.mjs";import"./ethereum/definitions/redstone.mjs";const e="0.
|
|
1
|
+
export{addPrivyRpcToChain}from"./ethereum/add-privy-rpc-to-chain.mjs";export{addToDefaultChains}from"./ethereum/add-chain-to-default-chains.mjs";export{DEFAULT_SUPPORTED_CHAINS,DEFAULT_SUPPORTED_CHAIN_IDS}from"./ethereum/default-supported-chains.mjs";export{addRpcUrlOverrideToChain}from"./ethereum/add-rpc-url-override-to-chain.mjs";export{dedupeSupportedChains}from"./ethereum/dedupe-supported-chains.mjs";export{getRpcEndpointFromChain}from"./ethereum/get-rpc-endpoint-from-chain.mjs";export{getSupportedChainById}from"./ethereum/get-supported-chain-by-id.mjs";export{abstract}from"./ethereum/definitions/abstract.mjs";export{abstractTestnet}from"./ethereum/definitions/abstractTestnet.mjs";export{apeChain}from"./ethereum/definitions/apeChain.mjs";export{arbitrum}from"./ethereum/definitions/arbitrum.mjs";export{arbitrumSepolia}from"./ethereum/definitions/arbitrumSepolia.mjs";export{avalanche}from"./ethereum/definitions/avalanche.mjs";export{avalancheFuji}from"./ethereum/definitions/avalancheFuji.mjs";export{b3}from"./ethereum/definitions/b3.mjs";export{b3Sepolia}from"./ethereum/definitions/b3Sepolia.mjs";export{base}from"./ethereum/definitions/base.mjs";export{baseSepolia}from"./ethereum/definitions/baseSepolia.mjs";export{celo}from"./ethereum/definitions/celo.mjs";export{curtis}from"./ethereum/definitions/curtis.mjs";export{fluentTestnet}from"./ethereum/definitions/fluentTestnet.mjs";export{linea}from"./ethereum/definitions/linea.mjs";export{mainnet}from"./ethereum/definitions/mainnet.mjs";export{neuraTestnet}from"./ethereum/definitions/neuraTestnet.mjs";export{optimism}from"./ethereum/definitions/optimism.mjs";export{optimismSepolia}from"./ethereum/definitions/optimismSepolia.mjs";export{polygon}from"./ethereum/definitions/polygon.mjs";export{polygonAmoy}from"./ethereum/definitions/polygonAmoy.mjs";export{ronin}from"./ethereum/definitions/ronin.mjs";export{saigon}from"./ethereum/definitions/saigon.mjs";export{sepolia}from"./ethereum/definitions/sepolia.mjs";export{shape}from"./ethereum/definitions/shape.mjs";export{somnia}from"./ethereum/definitions/somnia.mjs";export{somniaTestnet}from"./ethereum/definitions/somniaTestnet.mjs";export{zora}from"./ethereum/definitions/zora.mjs";export{zoraSepolia}from"./ethereum/definitions/zoraSepolia.mjs";export{zoraTestnet}from"./ethereum/definitions/zoraTestnet.mjs";export{bsc}from"./ethereum/definitions/bsc.mjs";export{gunz}from"./ethereum/definitions/gunz.mjs";export{hyperEVMMainnet}from"./ethereum/definitions/hyperEVMMainnet.mjs";export{monadMainnet}from"./ethereum/definitions/monadMainnet.mjs";export{immutableZkEvm}from"./ethereum/definitions/immutableZkEvm.mjs";export{miracleChainMainnet}from"./ethereum/definitions/miracleChainMainnet.mjs";export{miracleChainTestnet}from"./ethereum/definitions/miracleChainTestnet.mjs";export{soneium}from"./ethereum/definitions/soneium.mjs";export{unichain}from"./ethereum/definitions/unichain.mjs";import"./ethereum/definitions/berachainArtio.mjs";import"./ethereum/definitions/celoAlfajores.mjs";import"./ethereum/definitions/filecoin.mjs";import"./ethereum/definitions/filecoinCalibration.mjs";import"./ethereum/definitions/garnetHolesky.mjs";import"./ethereum/definitions/holesky.mjs";import"./ethereum/definitions/lineaTestnet.mjs";import"./ethereum/definitions/lukso.mjs";import"./ethereum/definitions/redstone.mjs";const e="0.2.0";export{e as VERSION};
|
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../src/index.ts"],"names":["VERSION"],"mappings":"+wGAAO,MAAMA,EAAU"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@privy-io/chains",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Network configurations for Privy SDKs",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,6 +33,8 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {},
|
|
35
35
|
"devDependencies": {
|
|
36
|
+
"oxlint": "1.57.0",
|
|
37
|
+
"oxlint-tsgolint": "0.18.0",
|
|
36
38
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
37
39
|
"@rollup/plugin-replace": "^6.0.1",
|
|
38
40
|
"@rollup/plugin-swc": "^0.4.0",
|
|
@@ -44,12 +46,11 @@
|
|
|
44
46
|
"glob": "^10.3.12",
|
|
45
47
|
"jest": "^29.7.0",
|
|
46
48
|
"@swc/jest": "0.2.37",
|
|
47
|
-
"rollup": "4.
|
|
49
|
+
"rollup": "4.60.1",
|
|
48
50
|
"rollup-plugin-copy": "^3.5.0",
|
|
49
51
|
"rollup-plugin-dts": "^6.1.1",
|
|
50
|
-
"typescript": "~
|
|
52
|
+
"typescript": "~6.0.2",
|
|
51
53
|
"@privy-io/build-config": "1.0.0",
|
|
52
|
-
"@privy-io/eslint-config-custom": "0.0.0",
|
|
53
54
|
"@privy-io/tsconfig": "0.0.0"
|
|
54
55
|
},
|
|
55
56
|
"peerDependencies": {},
|
|
@@ -65,8 +66,8 @@
|
|
|
65
66
|
"clean:reset": "rm -rf dist .turbo .swc node_modules",
|
|
66
67
|
"dev:code": "rollup --config rollup.dev.mjs --watch",
|
|
67
68
|
"dev:types": "rollup --config rollup.types.mjs --watch",
|
|
68
|
-
"format": "
|
|
69
|
-
"lint": "
|
|
69
|
+
"format": "oxlint src --fix",
|
|
70
|
+
"lint": "oxlint src",
|
|
70
71
|
"test": "jest",
|
|
71
72
|
"test:watch": "jest --watch"
|
|
72
73
|
}
|