@interest-protocol/vortex-sdk 7.2.0 → 7.3.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/index.js CHANGED
@@ -39298,9 +39298,7 @@ const EXPECTED_DEPOSIT_WITH_ACCOUNT_COMMANDS = [
39298
39298
  },
39299
39299
  },
39300
39300
  {
39301
- MakeMoveVec: {
39302
- elements: [{ Input: 16 }],
39303
- },
39301
+ MakeMoveVec: {},
39304
39302
  },
39305
39303
  {
39306
39304
  MoveCall: {
@@ -39319,7 +39317,6 @@ const EXPECTED_DEPOSIT_WITH_ACCOUNT_COMMANDS = [
39319
39317
  {
39320
39318
  TransferObjects: {
39321
39319
  objects: [{ Result: 3 }],
39322
- address: { Input: 17 },
39323
39320
  },
39324
39321
  },
39325
39322
  ];
@@ -39380,7 +39377,6 @@ const EXPECTED_WITHDRAW_COMMANDS = [
39380
39377
  {
39381
39378
  TransferObjects: {
39382
39379
  objects: [{ Result: 3 }],
39383
- address: { Input: 15 },
39384
39380
  },
39385
39381
  },
39386
39382
  ];
@@ -39402,10 +39398,7 @@ function validateCommands(commands, expectedCommands) {
39402
39398
  }
39403
39399
  else if ('MakeMoveVec' in expected && expected.MakeMoveVec) {
39404
39400
  invariant('MakeMoveVec' in actual, `Command ${i}: Expected MakeMoveVec`);
39405
- const actualMakeMoveVec = actual.MakeMoveVec;
39406
- const expectedMakeMoveVec = expected.MakeMoveVec;
39407
- invariant(JSON.stringify(actualMakeMoveVec.elements) ===
39408
- JSON.stringify(expectedMakeMoveVec.elements), `Command ${i}: MakeMoveVec elements mismatch`);
39401
+ // Skip detailed validation of MakeMoveVec elements as they vary based on coin count
39409
39402
  }
39410
39403
  else if ('TransferObjects' in expected && expected.TransferObjects) {
39411
39404
  invariant('TransferObjects' in actual, `Command ${i}: Expected TransferObjects`);
@@ -39413,8 +39406,7 @@ function validateCommands(commands, expectedCommands) {
39413
39406
  const expectedTransfer = expected.TransferObjects;
39414
39407
  invariant(JSON.stringify(actualTransfer.objects) ===
39415
39408
  JSON.stringify(expectedTransfer.objects), `Command ${i}: TransferObjects objects mismatch`);
39416
- invariant(JSON.stringify(actualTransfer.address) ===
39417
- JSON.stringify(expectedTransfer.address), `Command ${i}: TransferObjects address mismatch`);
39409
+ // Skip address validation as input index varies based on coin count
39418
39410
  }
39419
39411
  }
39420
39412
  }