@ref-finance/ref-sdk 1.1.8 → 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 +8 -5
- 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 +8 -5
- package/dist/ref-sdk.esm.js.map +1 -1
- package/dist/ref-sdk.umd.development.js +8 -5
- 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
|
@@ -51,7 +51,7 @@ function getConfig(env) {
|
|
|
51
51
|
REF_TOKEN_ID: 'token.v2.ref-finance.near',
|
|
52
52
|
indexerUrl: 'https://indexer.ref.finance',
|
|
53
53
|
explorerUrl: 'https://testnet.nearblocks.io',
|
|
54
|
-
REF_DCL_SWAP_CONTRACT_ID: '
|
|
54
|
+
REF_DCL_SWAP_CONTRACT_ID: 'dclv2.ref-labs.near'
|
|
55
55
|
};
|
|
56
56
|
case 'testnet':
|
|
57
57
|
return {
|
|
@@ -63,7 +63,7 @@ function getConfig(env) {
|
|
|
63
63
|
REF_FI_CONTRACT_ID: 'ref-finance-101.testnet',
|
|
64
64
|
REF_TOKEN_ID: 'ref.fakes.testnet',
|
|
65
65
|
explorerUrl: 'https://testnet.nearblocks.io',
|
|
66
|
-
REF_DCL_SWAP_CONTRACT_ID: '
|
|
66
|
+
REF_DCL_SWAP_CONTRACT_ID: 'dclv2.ref-dev.testnet'
|
|
67
67
|
};
|
|
68
68
|
default:
|
|
69
69
|
return {
|
|
@@ -7520,7 +7520,8 @@ var DCLSwap = /*#__PURE__*/function () {
|
|
|
7520
7520
|
Swap: {
|
|
7521
7521
|
pool_ids: pool_ids,
|
|
7522
7522
|
output_token: output_token,
|
|
7523
|
-
min_output_amount: min_output_amount
|
|
7523
|
+
min_output_amount: min_output_amount,
|
|
7524
|
+
client_id: ''
|
|
7524
7525
|
}
|
|
7525
7526
|
});
|
|
7526
7527
|
transactions.push({
|
|
@@ -7550,7 +7551,8 @@ var DCLSwap = /*#__PURE__*/function () {
|
|
|
7550
7551
|
SwapByOutput: {
|
|
7551
7552
|
pool_ids: _pool_ids,
|
|
7552
7553
|
output_token: _output_token,
|
|
7553
|
-
output_amount: output_amount
|
|
7554
|
+
output_amount: output_amount,
|
|
7555
|
+
client_id: ''
|
|
7554
7556
|
}
|
|
7555
7557
|
});
|
|
7556
7558
|
_context.next = 22;
|
|
@@ -7632,7 +7634,8 @@ var DCLSwap = /*#__PURE__*/function () {
|
|
|
7632
7634
|
LimitOrderWithSwap: {
|
|
7633
7635
|
pool_id: pool_id,
|
|
7634
7636
|
buy_token: buy_token,
|
|
7635
|
-
point: new_point
|
|
7637
|
+
point: new_point,
|
|
7638
|
+
client_id: ''
|
|
7636
7639
|
}
|
|
7637
7640
|
});
|
|
7638
7641
|
transactions.push({
|