@zubari/sdk 0.5.1 → 0.5.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.
package/dist/index.js CHANGED
@@ -388,11 +388,11 @@ var TESTNET_FEE_WALLETS = {
388
388
  name: "Zubari TON Testnet Treasury",
389
389
  network: "ton-testnet"
390
390
  },
391
- // Tron Shasta Testnet
391
+ // Tron Nile Testnet
392
392
  TRON: {
393
393
  address: "",
394
394
  name: "Zubari Tron Testnet Treasury",
395
- network: "tron-shasta"
395
+ network: "tron-nile"
396
396
  }
397
397
  };
398
398
  function getFeeWallet(chain, isMainnet2 = true) {
@@ -1296,7 +1296,7 @@ var ZubariWdkService = class {
1296
1296
  };
1297
1297
  var defaultService = null;
1298
1298
  function getZubariWdkService(config) {
1299
- if (!defaultService || config && config.network !== defaultService.getNetwork()) {
1299
+ if (!defaultService || config && (config.network !== defaultService.getNetwork() || config.apiUrl && config.apiUrl !== defaultService.getApiUrl())) {
1300
1300
  defaultService = new ZubariWdkService(config);
1301
1301
  }
1302
1302
  return defaultService;
@@ -7640,7 +7640,7 @@ var DEFAULT_RPC_URLS = {
7640
7640
  // Uses Electrum testnet
7641
7641
  solana: "https://api.devnet.solana.com",
7642
7642
  ton: "https://testnet.toncenter.com/api/v2/jsonRPC",
7643
- tron: "https://api.shasta.trongrid.io",
7643
+ tron: "https://nile.trongrid.io",
7644
7644
  spark: ""
7645
7645
  // Uses Spark testnet
7646
7646
  }
@@ -7659,7 +7659,7 @@ var EXPLORER_URLS = {
7659
7659
  bitcoin: "https://mempool.space/testnet/tx/",
7660
7660
  solana: "https://solscan.io/tx/?cluster=devnet&tx=",
7661
7661
  ton: "https://testnet.tonscan.org/tx/",
7662
- tron: "https://shasta.tronscan.org/#/transaction/",
7662
+ tron: "https://nile.tronscan.org/#/transaction/",
7663
7663
  spark: "https://testnet.spark.info/tx/"
7664
7664
  }
7665
7665
  };