@snapshot-labs/snapshot.js 0.14.2 → 0.14.3

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.
@@ -2361,12 +2361,13 @@ var networks = {
2361
2361
  logo: "ipfs://QmNnGPr1CNvj12SSGzKARtUHv9FyEfE5nES73U4vBWQSJL"
2362
2362
  },
2363
2363
  "0x534e5f4d41494e": {
2364
- key: "sn",
2364
+ key: "0x534e5f4d41494e",
2365
2365
  name: "Starknet",
2366
2366
  shortName: "Starknet",
2367
2367
  chainId: "0x534e5f4d41494e",
2368
2368
  network: "mainnet",
2369
2369
  starknet: true,
2370
+ broviderId: "sn",
2370
2371
  multicall: "0x05754af3760f3356da99aea5c3ec39ccac7783d925a19666ebbeca58ff0087f4",
2371
2372
  explorer: {
2372
2373
  url: "https://starkscan.co"
@@ -2378,12 +2379,13 @@ var networks = {
2378
2379
  logo: "ipfs://bafkreihbjafyh7eud7r6e5743esaamifcttsvbspfwcrfoc5ykodjdi67m"
2379
2380
  },
2380
2381
  "0x534e5f5345504f4c4941": {
2381
- key: "sn-sep",
2382
- name: "Starknet Testnet",
2382
+ key: "0x534e5f5345504f4c4941",
2383
+ name: "Starknet Sepolia",
2383
2384
  shortName: "testnet",
2384
2385
  chainId: "0x534e5f5345504f4c4941",
2385
2386
  network: "testnet",
2386
2387
  starknet: true,
2388
+ broviderId: "sn-sep",
2387
2389
  testnet: true,
2388
2390
  multicall: "0x05754af3760f3356da99aea5c3ec39ccac7783d925a19666ebbeca58ff0087f4",
2389
2391
  explorer: {
@@ -2416,7 +2418,7 @@ function getBroviderNetworkId(network) {
2416
2418
  if (!config) {
2417
2419
  throw new Error(`Network '${network}' is not supported`);
2418
2420
  }
2419
- return String(config.key);
2421
+ return config.broviderId || String(network);
2420
2422
  }
2421
2423
  function getProviderType(network) {
2422
2424
  var _a;
@@ -2351,12 +2351,13 @@ var networks = {
2351
2351
  logo: "ipfs://QmNnGPr1CNvj12SSGzKARtUHv9FyEfE5nES73U4vBWQSJL"
2352
2352
  },
2353
2353
  "0x534e5f4d41494e": {
2354
- key: "sn",
2354
+ key: "0x534e5f4d41494e",
2355
2355
  name: "Starknet",
2356
2356
  shortName: "Starknet",
2357
2357
  chainId: "0x534e5f4d41494e",
2358
2358
  network: "mainnet",
2359
2359
  starknet: true,
2360
+ broviderId: "sn",
2360
2361
  multicall: "0x05754af3760f3356da99aea5c3ec39ccac7783d925a19666ebbeca58ff0087f4",
2361
2362
  explorer: {
2362
2363
  url: "https://starkscan.co"
@@ -2368,12 +2369,13 @@ var networks = {
2368
2369
  logo: "ipfs://bafkreihbjafyh7eud7r6e5743esaamifcttsvbspfwcrfoc5ykodjdi67m"
2369
2370
  },
2370
2371
  "0x534e5f5345504f4c4941": {
2371
- key: "sn-sep",
2372
- name: "Starknet Testnet",
2372
+ key: "0x534e5f5345504f4c4941",
2373
+ name: "Starknet Sepolia",
2373
2374
  shortName: "testnet",
2374
2375
  chainId: "0x534e5f5345504f4c4941",
2375
2376
  network: "testnet",
2376
2377
  starknet: true,
2378
+ broviderId: "sn-sep",
2377
2379
  testnet: true,
2378
2380
  multicall: "0x05754af3760f3356da99aea5c3ec39ccac7783d925a19666ebbeca58ff0087f4",
2379
2381
  explorer: {
@@ -2406,7 +2408,7 @@ function getBroviderNetworkId(network) {
2406
2408
  if (!config) {
2407
2409
  throw new Error(`Network '${network}' is not supported`);
2408
2410
  }
2409
- return String(config.key);
2411
+ return config.broviderId || String(network);
2410
2412
  }
2411
2413
  function getProviderType(network) {
2412
2414
  var _a;