@typus/typus-sdk 1.2.0 → 1.2.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.
@@ -252,7 +252,7 @@ function getRebateTx(input) {
252
252
  });
253
253
  var balance = input.tx.moveCall({
254
254
  target: "0x1::option::destroy_some",
255
- typeArguments: ["0x2::balance::Balance<" + input.typeArgument + ">"],
255
+ typeArguments: ["0x2::balance::Balance<".concat(input.typeArgument, ">")],
256
256
  arguments: [input.tx.object(result[0])],
257
257
  });
258
258
  var mfud_coin = input.tx.moveCall({
@@ -254,6 +254,7 @@ function getHarvestTx(input) {
254
254
  input.typeArguments.push(input.incentiveToken);
255
255
  var receipt = input.tx.moveCall({
256
256
  target: "0x1::option::destroy_some",
257
+ typeArguments: ["".concat(input.typusFrameworkOriginPackageId, "::vault::TypusDepositReceipt")],
257
258
  arguments: [input.tx.object(result[1])],
258
259
  });
259
260
  input.tx = getRedeemTx({
@@ -523,7 +524,7 @@ function getRebateTx(input) {
523
524
  });
524
525
  var balance = input.tx.moveCall({
525
526
  target: "0x1::option::destroy_some",
526
- typeArguments: ["0x2::balance::Balance<" + input.typeArgument + ">"],
527
+ typeArguments: ["0x2::balance::Balance<".concat(input.typeArgument, ">")],
527
528
  arguments: [input.tx.object(result[0])],
528
529
  });
529
530
  input.tx.moveCall({
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@typus/typus-sdk",
3
3
  "author": "Typus",
4
4
  "description": "typus sdk",
5
- "version": "1.2.0",
5
+ "version": "1.2.1",
6
6
  "dependencies": {
7
7
  "@mysten/bcs": "^0.7.3",
8
8
  "@mysten/kiosk": "0.7.12",