@ref-finance/ref-sdk 1.4.0 → 1.4.1
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/ref-sdk.cjs.development.js +4 -4
- package/dist/ref-sdk.cjs.development.js.map +1 -1
- package/dist/ref-sdk.cjs.production.min.js +1 -1
- package/dist/ref-sdk.cjs.production.min.js.map +1 -1
- package/dist/ref-sdk.esm.js +4 -4
- package/dist/ref-sdk.esm.js.map +1 -1
- package/dist/ref-sdk.umd.development.js +4 -4
- package/dist/ref-sdk.umd.development.js.map +1 -1
- package/dist/ref-sdk.umd.production.min.js +1 -1
- package/dist/ref-sdk.umd.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
REF_FI_CONTRACT_ID: 'v2.ref-finance.near',
|
|
39
39
|
REF_TOKEN_ID: 'token.v2.ref-finance.near',
|
|
40
40
|
indexerUrl: indexerUrl || 'https://indexer.ref.finance',
|
|
41
|
-
explorerUrl: 'https://
|
|
41
|
+
explorerUrl: 'https://nearblocks.io',
|
|
42
42
|
REF_DCL_SWAP_CONTRACT_ID: 'dclv2.ref-labs.near'
|
|
43
43
|
};
|
|
44
44
|
case 'testnet':
|
|
@@ -5192,7 +5192,7 @@
|
|
|
5192
5192
|
}(), [tokens]);
|
|
5193
5193
|
React.useEffect(function () {
|
|
5194
5194
|
// Initializes token balances
|
|
5195
|
-
// Called in
|
|
5195
|
+
// Called in 15 seconds intervals
|
|
5196
5196
|
var initTokenBalances = /*#__PURE__*/function () {
|
|
5197
5197
|
var _ref10 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
|
|
5198
5198
|
var validTokens, ids;
|
|
@@ -5226,7 +5226,7 @@
|
|
|
5226
5226
|
};
|
|
5227
5227
|
}();
|
|
5228
5228
|
initTokenBalances();
|
|
5229
|
-
var interval = setInterval(initTokenBalances,
|
|
5229
|
+
var interval = setInterval(initTokenBalances, 15000);
|
|
5230
5230
|
return function () {
|
|
5231
5231
|
return clearInterval(interval);
|
|
5232
5232
|
};
|
|
@@ -6457,7 +6457,7 @@
|
|
|
6457
6457
|
style: {
|
|
6458
6458
|
color: primary
|
|
6459
6459
|
}
|
|
6460
|
-
}, (state === null || state === undefined) && React__default.createElement("p", null, "Waiting for confirmation"), state === '
|
|
6460
|
+
}, (state === null || state === undefined) && React__default.createElement("p", null, "Waiting for confirmation"), state === 'success' && tx && React__default.createElement("a", {
|
|
6461
6461
|
className: "text-primary font-semibold",
|
|
6462
6462
|
href: exports.config.explorerUrl + "/txns/" + tx,
|
|
6463
6463
|
target: "_blank",
|