@ref-finance/ref-sdk 1.3.1 → 1.3.2
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/README.md +60 -0
- package/dist/ref-sdk.cjs.development.js +3 -15
- 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 +3 -15
- package/dist/ref-sdk.esm.js.map +1 -1
- package/dist/ref-sdk.umd.development.js +3 -15
- 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 +2 -2
|
@@ -3865,11 +3865,7 @@
|
|
|
3865
3865
|
return near.account(exports.REF_FI_CONTRACT_ID);
|
|
3866
3866
|
case 3:
|
|
3867
3867
|
nearConnection = _context.sent;
|
|
3868
|
-
return _context.abrupt("return", nearConnection.viewFunction(
|
|
3869
|
-
contractId: exports.REF_FI_CONTRACT_ID,
|
|
3870
|
-
methodName: methodName,
|
|
3871
|
-
args: args
|
|
3872
|
-
}));
|
|
3868
|
+
return _context.abrupt("return", nearConnection.viewFunction(exports.REF_FI_CONTRACT_ID, methodName, args));
|
|
3873
3869
|
case 5:
|
|
3874
3870
|
case "end":
|
|
3875
3871
|
return _context.stop();
|
|
@@ -3893,11 +3889,7 @@
|
|
|
3893
3889
|
return near.account(exports.REF_FI_CONTRACT_ID);
|
|
3894
3890
|
case 3:
|
|
3895
3891
|
nearConnection = _context2.sent;
|
|
3896
|
-
return _context2.abrupt("return", nearConnection.viewFunction(
|
|
3897
|
-
contractId: tokenId,
|
|
3898
|
-
methodName: methodName,
|
|
3899
|
-
args: args
|
|
3900
|
-
}));
|
|
3892
|
+
return _context2.abrupt("return", nearConnection.viewFunction(tokenId, methodName, args));
|
|
3901
3893
|
case 5:
|
|
3902
3894
|
case "end":
|
|
3903
3895
|
return _context2.stop();
|
|
@@ -4189,11 +4181,7 @@
|
|
|
4189
4181
|
}
|
|
4190
4182
|
throw DCLInValid;
|
|
4191
4183
|
case 6:
|
|
4192
|
-
return _context10.abrupt("return", nearConnection.viewFunction(
|
|
4193
|
-
contractId: exports.config.REF_DCL_SWAP_CONTRACT_ID,
|
|
4194
|
-
methodName: methodName,
|
|
4195
|
-
args: args
|
|
4196
|
-
}));
|
|
4184
|
+
return _context10.abrupt("return", nearConnection.viewFunction(exports.config.REF_DCL_SWAP_CONTRACT_ID, methodName, args));
|
|
4197
4185
|
case 7:
|
|
4198
4186
|
case "end":
|
|
4199
4187
|
return _context10.stop();
|