@privy-io/chains 0.0.4 → 0.0.5

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.
@@ -0,0 +1 @@
1
+ "use strict";exports.abstract={id:2741,network:"abstract",name:"Abstract",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{privy:{http:["https://abs.rpc.privy.systems"]},default:{http:["https://api.mainnet.abs.xyz"]},public:{http:["https://api.mainnet.abs.xyz"]}},blockExplorers:{etherscan:{name:"Abscan",url:"https://abscan.org"},default:{name:"Abscan",url:"https://abscan.org"}}};
@@ -0,0 +1 @@
1
+ "use strict";exports.abstractTestnet={id:11124,network:"abstract-testnet",name:"Abstract Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{privy:{http:["https://abs-testnet.rpc.privy.systems"]},default:{http:["https://api.testnet.abs.xyz"]},public:{http:["https://api.testnet.abs.xyz"]}},blockExplorers:{etherscan:{name:"Abscan",url:"https://sepolia.abscan.org/"},default:{name:"Abscan",url:"https://sepolia.abscan.org/"}}};
package/dist/cjs/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";var e=require("./ethereum/add-privy-rpc-to-chain.js"),i=require("./ethereum/add-chain-to-default-chains.js"),r=require("./ethereum/default-supported-chains.js"),t=require("./ethereum/add-rpc-url-override-to-chain.js"),o=require("./ethereum/dedupe-supported-chains.js"),s=require("./ethereum/get-supported-chain-by-id.js"),n=require("./ethereum/definitions/arbitrum.js"),a=require("./ethereum/definitions/arbitrumSepolia.js"),u=require("./ethereum/definitions/avalanche.js"),p=require("./ethereum/definitions/avalancheFuji.js"),d=require("./ethereum/definitions/base.js"),h=require("./ethereum/definitions/baseSepolia.js"),m=require("./ethereum/definitions/celo.js"),l=require("./ethereum/definitions/linea.js"),j=require("./ethereum/definitions/mainnet.js"),f=require("./ethereum/definitions/optimism.js"),q=require("./ethereum/definitions/optimismSepolia.js"),c=require("./ethereum/definitions/polygon.js"),x=require("./ethereum/definitions/polygonAmoy.js"),S=require("./ethereum/definitions/sepolia.js"),b=require("./ethereum/definitions/zora.js"),T=require("./ethereum/definitions/zoraSepolia.js"),y=require("./ethereum/definitions/zoraTestnet.js"),C=require("./ethereum/definitions/bsc.js");require("./ethereum/definitions/berachainArtio.js"),require("./ethereum/definitions/celoAlfajores.js"),require("./ethereum/definitions/filecoin.js"),require("./ethereum/definitions/filecoinCalibration.js"),require("./ethereum/definitions/garnetHolesky.js"),require("./ethereum/definitions/holesky.js"),require("./ethereum/definitions/lineaTestnet.js"),require("./ethereum/definitions/lukso.js"),require("./ethereum/definitions/redstone.js");exports.addPrivyRpcToChain=e.addPrivyRpcToChain,exports.addToDefaultChains=i.addToDefaultChains,exports.DEFAULT_SUPPORTED_CHAINS=r.DEFAULT_SUPPORTED_CHAINS,exports.DEFAULT_SUPPORTED_CHAIN_IDS=r.DEFAULT_SUPPORTED_CHAIN_IDS,exports.addRpcUrlOverrideToChain=t.addRpcUrlOverrideToChain,exports.dedupeSupportedChains=o.dedupeSupportedChains,exports.getSupportedChainById=s.getSupportedChainById,exports.arbitrum=n.arbitrum,exports.arbitrumSepolia=a.arbitrumSepolia,exports.avalanche=u.avalanche,exports.avalancheFuji=p.avalancheFuji,exports.base=d.base,exports.baseSepolia=h.baseSepolia,exports.celo=m.celo,exports.linea=l.linea,exports.mainnet=j.mainnet,exports.optimism=f.optimism,exports.optimismSepolia=q.optimismSepolia,exports.polygon=c.polygon,exports.polygonAmoy=x.polygonAmoy,exports.sepolia=S.sepolia,exports.zora=b.zora,exports.zoraSepolia=T.zoraSepolia,exports.zoraTestnet=y.zoraTestnet,exports.bsc=C.bsc,exports.VERSION="0.0.4";
1
+ "use strict";var e=require("./ethereum/add-privy-rpc-to-chain.js"),i=require("./ethereum/add-chain-to-default-chains.js"),r=require("./ethereum/default-supported-chains.js"),t=require("./ethereum/add-rpc-url-override-to-chain.js"),s=require("./ethereum/dedupe-supported-chains.js"),o=require("./ethereum/get-supported-chain-by-id.js"),a=require("./ethereum/definitions/abstract.js"),n=require("./ethereum/definitions/abstractTestnet.js"),u=require("./ethereum/definitions/arbitrum.js"),p=require("./ethereum/definitions/arbitrumSepolia.js"),d=require("./ethereum/definitions/avalanche.js"),h=require("./ethereum/definitions/avalancheFuji.js"),m=require("./ethereum/definitions/base.js"),l=require("./ethereum/definitions/baseSepolia.js"),j=require("./ethereum/definitions/celo.js"),c=require("./ethereum/definitions/linea.js"),f=require("./ethereum/definitions/mainnet.js"),q=require("./ethereum/definitions/optimism.js"),x=require("./ethereum/definitions/optimismSepolia.js"),S=require("./ethereum/definitions/polygon.js"),b=require("./ethereum/definitions/polygonAmoy.js"),T=require("./ethereum/definitions/sepolia.js"),y=require("./ethereum/definitions/zora.js"),C=require("./ethereum/definitions/zoraSepolia.js"),v=require("./ethereum/definitions/zoraTestnet.js"),A=require("./ethereum/definitions/bsc.js");require("./ethereum/definitions/berachainArtio.js"),require("./ethereum/definitions/celoAlfajores.js"),require("./ethereum/definitions/filecoin.js"),require("./ethereum/definitions/filecoinCalibration.js"),require("./ethereum/definitions/garnetHolesky.js"),require("./ethereum/definitions/holesky.js"),require("./ethereum/definitions/lineaTestnet.js"),require("./ethereum/definitions/lukso.js"),require("./ethereum/definitions/redstone.js");exports.addPrivyRpcToChain=e.addPrivyRpcToChain,exports.addToDefaultChains=i.addToDefaultChains,exports.DEFAULT_SUPPORTED_CHAINS=r.DEFAULT_SUPPORTED_CHAINS,exports.DEFAULT_SUPPORTED_CHAIN_IDS=r.DEFAULT_SUPPORTED_CHAIN_IDS,exports.addRpcUrlOverrideToChain=t.addRpcUrlOverrideToChain,exports.dedupeSupportedChains=s.dedupeSupportedChains,exports.getSupportedChainById=o.getSupportedChainById,exports.abstract=a.abstract,exports.abstractTestnet=n.abstractTestnet,exports.arbitrum=u.arbitrum,exports.arbitrumSepolia=p.arbitrumSepolia,exports.avalanche=d.avalanche,exports.avalancheFuji=h.avalancheFuji,exports.base=m.base,exports.baseSepolia=l.baseSepolia,exports.celo=j.celo,exports.linea=c.linea,exports.mainnet=f.mainnet,exports.optimism=q.optimism,exports.optimismSepolia=x.optimismSepolia,exports.polygon=S.polygon,exports.polygonAmoy=b.polygonAmoy,exports.sepolia=T.sepolia,exports.zora=y.zora,exports.zoraSepolia=C.zoraSepolia,exports.zoraTestnet=v.zoraTestnet,exports.bsc=A.bsc,exports.VERSION="0.0.5";
@@ -148,6 +148,10 @@ declare const dedupeSupportedChains: (chains: Chain[]) => Chain[];
148
148
 
149
149
  declare const getSupportedChainById: (id: number) => Chain | undefined;
150
150
 
151
+ declare const abstract: Chain;
152
+
153
+ declare const abstractTestnet: Chain;
154
+
151
155
  declare const arbitrum: Chain;
152
156
 
153
157
  declare const arbitrumSepolia: Chain;
@@ -195,4 +199,4 @@ declare const bsc: Chain;
195
199
 
196
200
  declare const VERSION = "__VERSION__";
197
201
 
198
- export { type Chain, type ChainLikeWithId, DEFAULT_SUPPORTED_CHAINS, DEFAULT_SUPPORTED_CHAIN_IDS, type RpcConfig, type Unit, VERSION, addPrivyRpcToChain, addRpcUrlOverrideToChain, addToDefaultChains, arbitrum, arbitrumSepolia, avalanche, avalancheFuji, base, baseSepolia, bsc, celo, dedupeSupportedChains, getSupportedChainById, linea, mainnet, optimism, optimismSepolia, polygon, polygonAmoy, sepolia, zora, zoraSepolia, zoraTestnet };
202
+ export { type Chain, type ChainLikeWithId, DEFAULT_SUPPORTED_CHAINS, DEFAULT_SUPPORTED_CHAIN_IDS, type RpcConfig, type Unit, VERSION, abstract, abstractTestnet, addPrivyRpcToChain, addRpcUrlOverrideToChain, addToDefaultChains, arbitrum, arbitrumSepolia, avalanche, avalancheFuji, base, baseSepolia, bsc, celo, dedupeSupportedChains, getSupportedChainById, linea, mainnet, optimism, optimismSepolia, polygon, polygonAmoy, sepolia, zora, zoraSepolia, zoraTestnet };
@@ -148,6 +148,10 @@ declare const dedupeSupportedChains: (chains: Chain[]) => Chain[];
148
148
 
149
149
  declare const getSupportedChainById: (id: number) => Chain | undefined;
150
150
 
151
+ declare const abstract: Chain;
152
+
153
+ declare const abstractTestnet: Chain;
154
+
151
155
  declare const arbitrum: Chain;
152
156
 
153
157
  declare const arbitrumSepolia: Chain;
@@ -195,4 +199,4 @@ declare const bsc: Chain;
195
199
 
196
200
  declare const VERSION = "__VERSION__";
197
201
 
198
- export { type Chain, type ChainLikeWithId, DEFAULT_SUPPORTED_CHAINS, DEFAULT_SUPPORTED_CHAIN_IDS, type RpcConfig, type Unit, VERSION, addPrivyRpcToChain, addRpcUrlOverrideToChain, addToDefaultChains, arbitrum, arbitrumSepolia, avalanche, avalancheFuji, base, baseSepolia, bsc, celo, dedupeSupportedChains, getSupportedChainById, linea, mainnet, optimism, optimismSepolia, polygon, polygonAmoy, sepolia, zora, zoraSepolia, zoraTestnet };
202
+ export { type Chain, type ChainLikeWithId, DEFAULT_SUPPORTED_CHAINS, DEFAULT_SUPPORTED_CHAIN_IDS, type RpcConfig, type Unit, VERSION, abstract, abstractTestnet, addPrivyRpcToChain, addRpcUrlOverrideToChain, addToDefaultChains, arbitrum, arbitrumSepolia, avalanche, avalancheFuji, base, baseSepolia, bsc, celo, dedupeSupportedChains, getSupportedChainById, linea, mainnet, optimism, optimismSepolia, polygon, polygonAmoy, sepolia, zora, zoraSepolia, zoraTestnet };
@@ -0,0 +1 @@
1
+ const t={id:2741,network:"abstract",name:"Abstract",nativeCurrency:{name:"Ether",symbol:"ETH",decimals:18},rpcUrls:{privy:{http:["https://abs.rpc.privy.systems"]},default:{http:["https://api.mainnet.abs.xyz"]},public:{http:["https://api.mainnet.abs.xyz"]}},blockExplorers:{etherscan:{name:"Abscan",url:"https://abscan.org"},default:{name:"Abscan",url:"https://abscan.org"}}};export{t as abstract};
@@ -0,0 +1 @@
1
+ const t={id:11124,network:"abstract-testnet",name:"Abstract Testnet",nativeCurrency:{name:"Sepolia Ether",symbol:"ETH",decimals:18},rpcUrls:{privy:{http:["https://abs-testnet.rpc.privy.systems"]},default:{http:["https://api.testnet.abs.xyz"]},public:{http:["https://api.testnet.abs.xyz"]}},blockExplorers:{etherscan:{name:"Abscan",url:"https://sepolia.abscan.org/"},default:{name:"Abscan",url:"https://sepolia.abscan.org/"}}};export{t as abstractTestnet};
@@ -1 +1 @@
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{getSupportedChainById}from"./ethereum/get-supported-chain-by-id.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{base}from"./ethereum/definitions/base.mjs";export{baseSepolia}from"./ethereum/definitions/baseSepolia.mjs";export{celo}from"./ethereum/definitions/celo.mjs";export{linea}from"./ethereum/definitions/linea.mjs";export{mainnet}from"./ethereum/definitions/mainnet.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{sepolia}from"./ethereum/definitions/sepolia.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";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.0.4";export{e as VERSION};
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{getSupportedChainById}from"./ethereum/get-supported-chain-by-id.mjs";export{abstract}from"./ethereum/definitions/abstract.mjs";export{abstractTestnet}from"./ethereum/definitions/abstractTestnet.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{base}from"./ethereum/definitions/base.mjs";export{baseSepolia}from"./ethereum/definitions/baseSepolia.mjs";export{celo}from"./ethereum/definitions/celo.mjs";export{linea}from"./ethereum/definitions/linea.mjs";export{mainnet}from"./ethereum/definitions/mainnet.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{sepolia}from"./ethereum/definitions/sepolia.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";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.0.5";export{e as VERSION};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@privy-io/chains",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Network configurations for Privy SDKs",
5
5
  "keywords": [],
6
6
  "license": "Apache-2.0",