@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 +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/dist/protocols/index.js.map +1 -1
- package/dist/protocols/index.mjs.map +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/index.js.map +1 -1
- package/dist/react/index.mjs +1 -1
- package/dist/react/index.mjs.map +1 -1
- package/dist/services/index.js +3 -3
- package/dist/services/index.js.map +1 -1
- package/dist/services/index.mjs +3 -3
- package/dist/services/index.mjs.map +1 -1
- package/dist/wallet/index.js +1 -1
- package/dist/wallet/index.js.map +1 -1
- package/dist/wallet/index.mjs +1 -1
- package/dist/wallet/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -386,11 +386,11 @@ var TESTNET_FEE_WALLETS = {
|
|
|
386
386
|
name: "Zubari TON Testnet Treasury",
|
|
387
387
|
network: "ton-testnet"
|
|
388
388
|
},
|
|
389
|
-
// Tron
|
|
389
|
+
// Tron Nile Testnet
|
|
390
390
|
TRON: {
|
|
391
391
|
address: "",
|
|
392
392
|
name: "Zubari Tron Testnet Treasury",
|
|
393
|
-
network: "tron-
|
|
393
|
+
network: "tron-nile"
|
|
394
394
|
}
|
|
395
395
|
};
|
|
396
396
|
function getFeeWallet(chain, isMainnet2 = true) {
|
|
@@ -1294,7 +1294,7 @@ var ZubariWdkService = class {
|
|
|
1294
1294
|
};
|
|
1295
1295
|
var defaultService = null;
|
|
1296
1296
|
function getZubariWdkService(config) {
|
|
1297
|
-
if (!defaultService || config && config.network !== defaultService.getNetwork()) {
|
|
1297
|
+
if (!defaultService || config && (config.network !== defaultService.getNetwork() || config.apiUrl && config.apiUrl !== defaultService.getApiUrl())) {
|
|
1298
1298
|
defaultService = new ZubariWdkService(config);
|
|
1299
1299
|
}
|
|
1300
1300
|
return defaultService;
|
|
@@ -7638,7 +7638,7 @@ var DEFAULT_RPC_URLS = {
|
|
|
7638
7638
|
// Uses Electrum testnet
|
|
7639
7639
|
solana: "https://api.devnet.solana.com",
|
|
7640
7640
|
ton: "https://testnet.toncenter.com/api/v2/jsonRPC",
|
|
7641
|
-
tron: "https://
|
|
7641
|
+
tron: "https://nile.trongrid.io",
|
|
7642
7642
|
spark: ""
|
|
7643
7643
|
// Uses Spark testnet
|
|
7644
7644
|
}
|
|
@@ -7657,7 +7657,7 @@ var EXPLORER_URLS = {
|
|
|
7657
7657
|
bitcoin: "https://mempool.space/testnet/tx/",
|
|
7658
7658
|
solana: "https://solscan.io/tx/?cluster=devnet&tx=",
|
|
7659
7659
|
ton: "https://testnet.tonscan.org/tx/",
|
|
7660
|
-
tron: "https://
|
|
7660
|
+
tron: "https://nile.tronscan.org/#/transaction/",
|
|
7661
7661
|
spark: "https://testnet.spark.info/tx/"
|
|
7662
7662
|
}
|
|
7663
7663
|
};
|