@ref-finance/ref-sdk 1.1.9 → 1.2.0
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 +7 -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 +7 -4
- package/dist/ref-sdk.esm.js.map +1 -1
- package/dist/ref-sdk.umd.development.js +7 -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
package/dist/ref-sdk.esm.js
CHANGED
|
@@ -56,7 +56,7 @@ function getConfig(env) {
|
|
|
56
56
|
REF_FI_CONTRACT_ID: 'ref-finance-101.testnet',
|
|
57
57
|
REF_TOKEN_ID: 'ref.fakes.testnet',
|
|
58
58
|
explorerUrl: 'https://testnet.nearblocks.io',
|
|
59
|
-
REF_DCL_SWAP_CONTRACT_ID: 'dclv2
|
|
59
|
+
REF_DCL_SWAP_CONTRACT_ID: 'dclv2.ref-dev.testnet'
|
|
60
60
|
};
|
|
61
61
|
default:
|
|
62
62
|
return {
|
|
@@ -7544,7 +7544,8 @@ var DCLSwap = /*#__PURE__*/function () {
|
|
|
7544
7544
|
Swap: {
|
|
7545
7545
|
pool_ids: pool_ids,
|
|
7546
7546
|
output_token: output_token,
|
|
7547
|
-
min_output_amount: min_output_amount
|
|
7547
|
+
min_output_amount: min_output_amount,
|
|
7548
|
+
client_id: ''
|
|
7548
7549
|
}
|
|
7549
7550
|
});
|
|
7550
7551
|
transactions.push({
|
|
@@ -7574,7 +7575,8 @@ var DCLSwap = /*#__PURE__*/function () {
|
|
|
7574
7575
|
SwapByOutput: {
|
|
7575
7576
|
pool_ids: _pool_ids,
|
|
7576
7577
|
output_token: _output_token,
|
|
7577
|
-
output_amount: output_amount
|
|
7578
|
+
output_amount: output_amount,
|
|
7579
|
+
client_id: ''
|
|
7578
7580
|
}
|
|
7579
7581
|
});
|
|
7580
7582
|
_context.next = 22;
|
|
@@ -7656,7 +7658,8 @@ var DCLSwap = /*#__PURE__*/function () {
|
|
|
7656
7658
|
LimitOrderWithSwap: {
|
|
7657
7659
|
pool_id: pool_id,
|
|
7658
7660
|
buy_token: buy_token,
|
|
7659
|
-
point: new_point
|
|
7661
|
+
point: new_point,
|
|
7662
|
+
client_id: ''
|
|
7660
7663
|
}
|
|
7661
7664
|
});
|
|
7662
7665
|
transactions.push({
|