@bgd-labs/toolbox 0.0.45 → 0.0.46
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/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/node.js +2 -1
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +2 -1
- package/dist/node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -740,12 +740,13 @@ declare const publicRPCs: {
|
|
|
740
740
|
readonly 59144: "https://rpc.linea.build";
|
|
741
741
|
readonly 60808: "https://rpc.gobob.xyz";
|
|
742
742
|
readonly 9745: "https://rpc.plasma.to";
|
|
743
|
+
readonly 57073: "https://ink-public.nodies.app";
|
|
743
744
|
};
|
|
744
745
|
declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 324 | 1101 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 9745 | 57073 | 250 | 1868 | 60808 | 1666600000 | 4002)[];
|
|
745
746
|
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_BNB" | "RPC_CELO" | "RPC_METIS" | "RPC_BOB" | "RPC_BASE" | "RPC_SCROLL" | "RPC_MAINNET" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_BASE_SEPOLIA" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA" | "RPC_INK" | "RPC_SONEIUM" | "RPC_PLASMA";
|
|
746
747
|
declare function getExplicitRPC(chainId: SupportedChainIds): string;
|
|
747
748
|
declare function getAlchemyRPC(chainId: SupportedChainIds, alchemyKey: string): string;
|
|
748
|
-
declare function getPublicRpc(chainId: SupportedChainIds): "https://mainnet.era.zksync.io" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build" | "https://rpc.scroll.io" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.plasma.to" | "https://rpc.gobob.xyz" | "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://rpc.ankr.com/gnosis" | "https://rpc.ftm.tools";
|
|
749
|
+
declare function getPublicRpc(chainId: SupportedChainIds): "https://mainnet.era.zksync.io" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build" | "https://rpc.scroll.io" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.plasma.to" | "https://rpc.gobob.xyz" | "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://rpc.ankr.com/gnosis" | "https://rpc.ftm.tools" | "https://ink-public.nodies.app";
|
|
749
750
|
/**
|
|
750
751
|
* HyperRPCs are extremely fast **but** they only support a subset of the standard.
|
|
751
752
|
* Therefore they are not used in the generalized getClient atm.
|
package/dist/index.d.ts
CHANGED
|
@@ -740,12 +740,13 @@ declare const publicRPCs: {
|
|
|
740
740
|
readonly 59144: "https://rpc.linea.build";
|
|
741
741
|
readonly 60808: "https://rpc.gobob.xyz";
|
|
742
742
|
readonly 9745: "https://rpc.plasma.to";
|
|
743
|
+
readonly 57073: "https://ink-public.nodies.app";
|
|
743
744
|
};
|
|
744
745
|
declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 324 | 1101 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 9745 | 57073 | 250 | 1868 | 60808 | 1666600000 | 4002)[];
|
|
745
746
|
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_BNB" | "RPC_CELO" | "RPC_METIS" | "RPC_BOB" | "RPC_BASE" | "RPC_SCROLL" | "RPC_MAINNET" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_BASE_SEPOLIA" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA" | "RPC_INK" | "RPC_SONEIUM" | "RPC_PLASMA";
|
|
746
747
|
declare function getExplicitRPC(chainId: SupportedChainIds): string;
|
|
747
748
|
declare function getAlchemyRPC(chainId: SupportedChainIds, alchemyKey: string): string;
|
|
748
|
-
declare function getPublicRpc(chainId: SupportedChainIds): "https://mainnet.era.zksync.io" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build" | "https://rpc.scroll.io" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.plasma.to" | "https://rpc.gobob.xyz" | "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://rpc.ankr.com/gnosis" | "https://rpc.ftm.tools";
|
|
749
|
+
declare function getPublicRpc(chainId: SupportedChainIds): "https://mainnet.era.zksync.io" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build" | "https://rpc.scroll.io" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.plasma.to" | "https://rpc.gobob.xyz" | "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://rpc.ankr.com/gnosis" | "https://rpc.ftm.tools" | "https://ink-public.nodies.app";
|
|
749
750
|
/**
|
|
750
751
|
* HyperRPCs are extremely fast **but** they only support a subset of the standard.
|
|
751
752
|
* Therefore they are not used in the generalized getClient atm.
|
package/dist/index.js
CHANGED
|
@@ -19246,7 +19246,8 @@ var publicRPCs = {
|
|
|
19246
19246
|
[ChainId.avalanche]: "https://api.avax.network/ext/bc/C/rpc",
|
|
19247
19247
|
[ChainId.linea]: "https://rpc.linea.build",
|
|
19248
19248
|
[ChainId.bob]: "https://rpc.gobob.xyz",
|
|
19249
|
-
[ChainId.plasma]: "https://rpc.plasma.to"
|
|
19249
|
+
[ChainId.plasma]: "https://rpc.plasma.to",
|
|
19250
|
+
[ChainId.ink]: "https://ink-public.nodies.app"
|
|
19250
19251
|
};
|
|
19251
19252
|
var alchemySupportedChainIds = Object.values(ChainId).filter(
|
|
19252
19253
|
(id) => alchemyNetworkMap[id]
|