@bgd-labs/toolbox 0.2.23 → 0.2.25
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/browser.d.mts +24 -18
- package/dist/browser.d.mts.map +1 -1
- package/dist/browser.mjs +26 -10
- package/dist/browser.mjs.map +1 -1
- package/dist/index.d.mts +50 -44
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +26 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/browser.d.mts
CHANGED
|
@@ -31409,7 +31409,6 @@ declare function tenderly_createVnet({
|
|
|
31409
31409
|
}, chainOverride, calls>) => Promise<{
|
|
31410
31410
|
id: string;
|
|
31411
31411
|
chainId: number;
|
|
31412
|
-
version: string;
|
|
31413
31412
|
atomic: boolean;
|
|
31414
31413
|
capabilities?: {
|
|
31415
31414
|
[key: string]: any;
|
|
@@ -31417,6 +31416,7 @@ declare function tenderly_createVnet({
|
|
|
31417
31416
|
[x: string]: any;
|
|
31418
31417
|
} | undefined;
|
|
31419
31418
|
receipts?: viem.WalletCallReceipt<bigint, "success" | "reverted">[] | undefined;
|
|
31419
|
+
version: string;
|
|
31420
31420
|
statusCode: number;
|
|
31421
31421
|
status: "pending" | "success" | "failure" | undefined;
|
|
31422
31422
|
}>;
|
|
@@ -32738,13 +32738,15 @@ declare function tenderly_createVnet({
|
|
|
32738
32738
|
[x: `string[${string}]`]: undefined;
|
|
32739
32739
|
[x: `function[${string}]`]: undefined;
|
|
32740
32740
|
[x: `address[${string}]`]: undefined;
|
|
32741
|
+
[x: `bytes32[${string}]`]: undefined;
|
|
32741
32742
|
[x: `bool[${string}]`]: undefined;
|
|
32742
32743
|
[x: `bytes[${string}]`]: undefined;
|
|
32744
|
+
[x: `bytes5[${string}]`]: undefined;
|
|
32743
32745
|
[x: `bytes1[${string}]`]: undefined;
|
|
32744
32746
|
[x: `bytes2[${string}]`]: undefined;
|
|
32745
32747
|
[x: `bytes3[${string}]`]: undefined;
|
|
32746
32748
|
[x: `bytes4[${string}]`]: undefined;
|
|
32747
|
-
[x: `
|
|
32749
|
+
[x: `bytes30[${string}]`]: undefined;
|
|
32748
32750
|
[x: `bytes6[${string}]`]: undefined;
|
|
32749
32751
|
[x: `bytes7[${string}]`]: undefined;
|
|
32750
32752
|
[x: `bytes8[${string}]`]: undefined;
|
|
@@ -32769,9 +32771,7 @@ declare function tenderly_createVnet({
|
|
|
32769
32771
|
[x: `bytes27[${string}]`]: undefined;
|
|
32770
32772
|
[x: `bytes28[${string}]`]: undefined;
|
|
32771
32773
|
[x: `bytes29[${string}]`]: undefined;
|
|
32772
|
-
[x: `bytes30[${string}]`]: undefined;
|
|
32773
32774
|
[x: `bytes31[${string}]`]: undefined;
|
|
32774
|
-
[x: `bytes32[${string}]`]: undefined;
|
|
32775
32775
|
[x: `int[${string}]`]: undefined;
|
|
32776
32776
|
[x: `int8[${string}]`]: undefined;
|
|
32777
32777
|
[x: `int16[${string}]`]: undefined;
|
|
@@ -32840,13 +32840,15 @@ declare function tenderly_createVnet({
|
|
|
32840
32840
|
[x: `uint256[${string}]`]: undefined;
|
|
32841
32841
|
string?: undefined;
|
|
32842
32842
|
address?: undefined;
|
|
32843
|
+
bytes32?: undefined;
|
|
32843
32844
|
bool?: undefined;
|
|
32844
32845
|
bytes?: undefined;
|
|
32846
|
+
bytes5?: undefined;
|
|
32845
32847
|
bytes1?: undefined;
|
|
32846
32848
|
bytes2?: undefined;
|
|
32847
32849
|
bytes3?: undefined;
|
|
32848
32850
|
bytes4?: undefined;
|
|
32849
|
-
|
|
32851
|
+
bytes30?: undefined;
|
|
32850
32852
|
bytes6?: undefined;
|
|
32851
32853
|
bytes7?: undefined;
|
|
32852
32854
|
bytes8?: undefined;
|
|
@@ -32871,9 +32873,7 @@ declare function tenderly_createVnet({
|
|
|
32871
32873
|
bytes27?: undefined;
|
|
32872
32874
|
bytes28?: undefined;
|
|
32873
32875
|
bytes29?: undefined;
|
|
32874
|
-
bytes30?: undefined;
|
|
32875
32876
|
bytes31?: undefined;
|
|
32876
|
-
bytes32?: undefined;
|
|
32877
32877
|
int8?: undefined;
|
|
32878
32878
|
int16?: undefined;
|
|
32879
32879
|
int24?: undefined;
|
|
@@ -33520,6 +33520,7 @@ declare const ChainId: {
|
|
|
33520
33520
|
readonly zksync: 324;
|
|
33521
33521
|
readonly linea: 59144;
|
|
33522
33522
|
readonly ink: 57073;
|
|
33523
|
+
readonly ink_sepolia: 763373;
|
|
33523
33524
|
readonly soneium: 1868;
|
|
33524
33525
|
readonly bob: 60808;
|
|
33525
33526
|
readonly plasma: 9745;
|
|
@@ -33550,12 +33551,13 @@ declare const publicRPCs: {
|
|
|
33550
33551
|
readonly 60808: "https://rpc.gobob.xyz";
|
|
33551
33552
|
readonly 9745: "https://rpc.plasma.to";
|
|
33552
33553
|
readonly 57073: "https://ink-public.nodies.app";
|
|
33554
|
+
readonly 763373: "https://rpc-gel-sepolia.inkonchain.com";
|
|
33553
33555
|
};
|
|
33554
|
-
declare const alchemySupportedChainIds: (1 | 10 | 56 | 42220 | 137 | 80002 | 43114 | 43113 | 42161 | 421614 | 250 | 4002 | 11155420 | 1666600000 | 11155111 | 534352 | 534351 | 146 | 5000 | 1088 | 8453 | 84532 | 100 | 1101 | 324 | 59144 | 57073 | 1868 | 60808 | 9745 | 196 | 4326)[];
|
|
33555
|
-
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_MAINNET" | "
|
|
33556
|
+
declare const alchemySupportedChainIds: (1 | 10 | 56 | 42220 | 137 | 80002 | 43114 | 43113 | 42161 | 421614 | 250 | 4002 | 11155420 | 1666600000 | 11155111 | 534352 | 534351 | 146 | 5000 | 1088 | 8453 | 84532 | 100 | 1101 | 324 | 59144 | 57073 | 763373 | 1868 | 60808 | 9745 | 196 | 4326)[];
|
|
33557
|
+
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_MAINNET" | "RPC_BNB" | "RPC_POLYGON" | "RPC_SONIC" | "RPC_ZKSYNC" | "RPC_SONEIUM" | "RPC_MEGAETH" | "RPC_MANTLE" | "RPC_BASE" | "RPC_PLASMA" | "RPC_ARBITRUM" | "RPC_CELO" | "RPC_INK" | "RPC_LINEA" | "RPC_BOB" | "RPC_SEPOLIA" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SCROLL" | "RPC_SCROLL_SEPOLIA" | "RPC_METIS" | "RPC_BASE_SEPOLIA" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_INK_SEPOLIA" | "RPC_XLAYER";
|
|
33556
33558
|
declare function getExplicitRPC(chainId: SupportedChainIds): string;
|
|
33557
33559
|
declare function getAlchemyRPC(chainId: SupportedChainIds, alchemyKey: string): string;
|
|
33558
|
-
declare function getPublicRpc(chainId: SupportedChainIds): "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.ankr.com/gnosis" | "https://rpc.scroll.io" | "https://mainnet.era.zksync.io" | "https://rpc.ftm.tools" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build" | "https://rpc.gobob.xyz" | "https://rpc.plasma.to" | "https://ink-public.nodies.app";
|
|
33560
|
+
declare function getPublicRpc(chainId: SupportedChainIds): "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.ankr.com/gnosis" | "https://rpc.scroll.io" | "https://mainnet.era.zksync.io" | "https://rpc.ftm.tools" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build" | "https://rpc.gobob.xyz" | "https://rpc.plasma.to" | "https://ink-public.nodies.app" | "https://rpc-gel-sepolia.inkonchain.com";
|
|
33559
33561
|
/**
|
|
33560
33562
|
* HyperRPCs are extremely fast **but** they only support a subset of the standard.
|
|
33561
33563
|
* Therefore they are not used in the generalized getClient atm.
|
|
@@ -33787,6 +33789,7 @@ declare const alchemyNetworkMap: {
|
|
|
33787
33789
|
readonly 137: "polygon-mainnet";
|
|
33788
33790
|
readonly 143: "monad-mainnet";
|
|
33789
33791
|
readonly 146: "sonic-mainnet";
|
|
33792
|
+
readonly 196: "xlayer-mainnet";
|
|
33790
33793
|
readonly 204: "opbnb-mainnet";
|
|
33791
33794
|
readonly 232: "lens-mainnet";
|
|
33792
33795
|
readonly 252: "frax-mainnet";
|
|
@@ -33810,9 +33813,9 @@ declare const alchemyNetworkMap: {
|
|
|
33810
33813
|
readonly 1328: "sei-testnet";
|
|
33811
33814
|
readonly 1329: "sei-mainnet";
|
|
33812
33815
|
readonly 1514: "story-mainnet";
|
|
33813
|
-
readonly 1672: "pharos-mainnet";
|
|
33814
33816
|
readonly 1868: "soneium-mainnet";
|
|
33815
33817
|
readonly 1946: "soneium-minato";
|
|
33818
|
+
readonly 1952: "xlayer-testnet";
|
|
33816
33819
|
readonly 2020: "ronin-mainnet";
|
|
33817
33820
|
readonly 2201: "stable-testnet";
|
|
33818
33821
|
readonly 2442: "polygonzkevm-cardona";
|
|
@@ -33823,6 +33826,7 @@ declare const alchemyNetworkMap: {
|
|
|
33823
33826
|
readonly 4114: "citrea-mainnet";
|
|
33824
33827
|
readonly 4157: "crossfi-testnet";
|
|
33825
33828
|
readonly 4158: "crossfi-mainnet";
|
|
33829
|
+
readonly 4217: "tempo-mainnet";
|
|
33826
33830
|
readonly 4326: "megaeth-mainnet";
|
|
33827
33831
|
readonly 4801: "worldchain-sepolia";
|
|
33828
33832
|
readonly 5000: "mantle-mainnet";
|
|
@@ -33854,7 +33858,6 @@ declare const alchemyNetworkMap: {
|
|
|
33854
33858
|
readonly 42161: "arb-mainnet";
|
|
33855
33859
|
readonly 42170: "arbnova-mainnet";
|
|
33856
33860
|
readonly 42220: "celo-mainnet";
|
|
33857
|
-
readonly 42429: "tempo-testnet";
|
|
33858
33861
|
readonly 42431: "tempo-moderato";
|
|
33859
33862
|
readonly 43113: "avax-fuji";
|
|
33860
33863
|
readonly 43114: "avax-mainnet";
|
|
@@ -33883,7 +33886,9 @@ declare const alchemyNetworkMap: {
|
|
|
33883
33886
|
readonly 688689: "pharos-atlantic";
|
|
33884
33887
|
readonly 763373: "ink-sepolia";
|
|
33885
33888
|
readonly 808813: "bob-sepolia";
|
|
33889
|
+
readonly 2019775: "jovay-testnet";
|
|
33886
33890
|
readonly 5042002: "arc-testnet";
|
|
33891
|
+
readonly 5734951: "jovay-mainnet";
|
|
33887
33892
|
readonly 6985385: "humanity-mainnet";
|
|
33888
33893
|
readonly 7777777: "zora-mainnet";
|
|
33889
33894
|
readonly 11142220: "celo-sepolia";
|
|
@@ -33896,7 +33901,7 @@ declare const alchemyNetworkMap: {
|
|
|
33896
33901
|
readonly 728126428: "tron-mainnet";
|
|
33897
33902
|
readonly 999999999: "zora-sepolia";
|
|
33898
33903
|
readonly 3448148188: "tron-testnet";
|
|
33899
|
-
readonly null: "
|
|
33904
|
+
readonly null: "stellar-testnet";
|
|
33900
33905
|
};
|
|
33901
33906
|
//#endregion
|
|
33902
33907
|
//#region src/ecosystem/generated/quicknodeNetworkMap.d.ts
|
|
@@ -46308,7 +46313,7 @@ declare const chainlinkFeeds: {
|
|
|
46308
46313
|
};
|
|
46309
46314
|
//#endregion
|
|
46310
46315
|
//#region src/ecosystem/generated/hyperRPC.d.ts
|
|
46311
|
-
declare const hyperRPCSupportedNetworks: readonly [1, 10, 14, 30, 42, 50, 51, 56, 97, 100, 130, 137, 143, 146, 148, 169, 204, 250, 252, 255, 288, 324, 480, 841, 999, 1101, 1135, 1284, 1328, 1329, 1750, 1868, 1923, 2741, 2818, 4114, 4200, 4201, 4326, 5000, 5115, 5330, 6342, 6343, 6767, 7000, 7560, 8453, 9745, 9889, 10143, 10200, 14601, 17000, 33111, 34443, 36888, 42161, 42170, 42220, 43113, 43114, 48900, 50104, 57073, 59144, 80002, 80094, 81457, 84532, 88888, 98866, 421614, 534352, 560048, 5042002, 7225878, 7777777, 11155111, 11155420, 168587773, 531050104, 1184075182, 1313161554, 1660990954, 1666600000];
|
|
46316
|
+
declare const hyperRPCSupportedNetworks: readonly [1, 10, 14, 30, 42, 50, 51, 56, 97, 100, 130, 137, 143, 146, 148, 169, 204, 250, 252, 255, 288, 324, 480, 841, 999, 1101, 1135, 1284, 1328, 1329, 1750, 1776, 1868, 1923, 2741, 2818, 4114, 4200, 4201, 4217, 4326, 5000, 5115, 5330, 6342, 6343, 6767, 7000, 7560, 8453, 9745, 9889, 10143, 10200, 14601, 17000, 33111, 34443, 36888, 42161, 42170, 42220, 42793, 43113, 43114, 48900, 50104, 57073, 59144, 80002, 80094, 81457, 84532, 88888, 98866, 421614, 534352, 560048, 5042002, 7225878, 7777777, 11155111, 11155420, 168587773, 531050104, 1184075182, 1313161554, 1660990954, 1666600000];
|
|
46312
46317
|
//#endregion
|
|
46313
46318
|
//#region src/ecosystem/generated/tenderly.d.ts
|
|
46314
46319
|
declare const tenderlyNetworkMap: {
|
|
@@ -46321,6 +46326,7 @@ declare const tenderlyNetworkMap: {
|
|
|
46321
46326
|
readonly 137: "polygon";
|
|
46322
46327
|
readonly 143: "monad";
|
|
46323
46328
|
readonly 146: "sonic";
|
|
46329
|
+
readonly 196: "xlayer";
|
|
46324
46330
|
readonly 232: "lens";
|
|
46325
46331
|
readonly 252: "fraxtal";
|
|
46326
46332
|
readonly 288: "boba-ethereum";
|
|
@@ -46341,10 +46347,12 @@ declare const tenderlyNetworkMap: {
|
|
|
46341
46347
|
readonly 1923: "swellchain";
|
|
46342
46348
|
readonly 1924: "swellchain-sepolia";
|
|
46343
46349
|
readonly 1946: "soneium-minato";
|
|
46350
|
+
readonly 1952: "xlayer-testnet";
|
|
46344
46351
|
readonly 2020: "ronin";
|
|
46345
46352
|
readonly 2201: "stable-testnet";
|
|
46346
46353
|
readonly 2523: "fraxtal-hoodi";
|
|
46347
46354
|
readonly 4202: "lisk-sepolia";
|
|
46355
|
+
readonly 4217: "tempo";
|
|
46348
46356
|
readonly 4326: "megaeth";
|
|
46349
46357
|
readonly 4801: "worldchain-sepolia";
|
|
46350
46358
|
readonly 5000: "mantle";
|
|
@@ -46356,7 +46364,6 @@ declare const tenderlyNetworkMap: {
|
|
|
46356
46364
|
readonly 9746: "plasma-testnet";
|
|
46357
46365
|
readonly 10143: "monad-testnet";
|
|
46358
46366
|
readonly 10200: "gnosis-chiado-testnet";
|
|
46359
|
-
readonly 11069: "interval-testnet";
|
|
46360
46367
|
readonly 13371: "immutable";
|
|
46361
46368
|
readonly 13473: "immutable-testnet";
|
|
46362
46369
|
readonly 28882: "boba-sepolia";
|
|
@@ -46366,7 +46373,6 @@ declare const tenderlyNetworkMap: {
|
|
|
46366
46373
|
readonly 42161: "arbitrum";
|
|
46367
46374
|
readonly 42170: "arbitrum-nova";
|
|
46368
46375
|
readonly 42220: "celo";
|
|
46369
|
-
readonly 42429: "tempo-testnet";
|
|
46370
46376
|
readonly 42431: "tempo-moderato-testnet";
|
|
46371
46377
|
readonly 43113: "avalanche-fuji";
|
|
46372
46378
|
readonly 43114: "avalanche";
|
|
@@ -46386,6 +46392,7 @@ declare const tenderlyNetworkMap: {
|
|
|
46386
46392
|
readonly 84532: "base-sepolia";
|
|
46387
46393
|
readonly 167000: "taiko-mainnet";
|
|
46388
46394
|
readonly 167013: "taiko-hoodi";
|
|
46395
|
+
readonly 202601: "ronin-testnet";
|
|
46389
46396
|
readonly 421614: "arbitrum-sepolia";
|
|
46390
46397
|
readonly 534351: "scroll-sepolia";
|
|
46391
46398
|
readonly 534352: "scroll-mainnet";
|
|
@@ -46446,6 +46453,7 @@ declare const tenderlyExplorerMap: {
|
|
|
46446
46453
|
readonly 2523: "fraxtal-hoodi";
|
|
46447
46454
|
readonly 3338: "peaq";
|
|
46448
46455
|
readonly 4202: "lisk-sepolia";
|
|
46456
|
+
readonly 4217: "tempo";
|
|
46449
46457
|
readonly 4326: "megaeth";
|
|
46450
46458
|
readonly 4801: "worldchain-sepolia";
|
|
46451
46459
|
readonly 5000: "mantle";
|
|
@@ -46461,7 +46469,6 @@ declare const tenderlyExplorerMap: {
|
|
|
46461
46469
|
readonly 10143: "monad-testnet";
|
|
46462
46470
|
readonly 10200: "gnosis-chiado-testnet";
|
|
46463
46471
|
readonly 11011: "shape-sepolia";
|
|
46464
|
-
readonly 11069: "interval-testnet";
|
|
46465
46472
|
readonly 13371: "immutable";
|
|
46466
46473
|
readonly 13473: "immutable-testnet";
|
|
46467
46474
|
readonly 28882: "boba-sepolia";
|
|
@@ -46471,7 +46478,6 @@ declare const tenderlyExplorerMap: {
|
|
|
46471
46478
|
readonly 42161: "arbitrum";
|
|
46472
46479
|
readonly 42170: "arbitrum-nova";
|
|
46473
46480
|
readonly 42220: "celo";
|
|
46474
|
-
readonly 42429: "tempo-testnet";
|
|
46475
46481
|
readonly 42431: "tempo-moderato-testnet";
|
|
46476
46482
|
readonly 43113: "avalanche-fuji";
|
|
46477
46483
|
readonly 43114: "avalanche-mainnet";
|