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