@lavarage/sdk 7.5.20 → 7.5.21

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/idl/lavaragev2.ts CHANGED
@@ -433,11 +433,6 @@ export type Lavarage = {
433
433
  "isMut": true,
434
434
  "isSigner": false
435
435
  },
436
- {
437
- "name": "usersTokenAccount",
438
- "isMut": true,
439
- "isSigner": false
440
- },
441
436
  {
442
437
  "name": "collateralTokenProgram",
443
438
  "isMut": false,
@@ -543,11 +538,6 @@ export type Lavarage = {
543
538
  "isMut": true,
544
539
  "isSigner": false
545
540
  },
546
- {
547
- "name": "usersTokenAccount",
548
- "isMut": true,
549
- "isSigner": false
550
- },
551
541
  {
552
542
  "name": "collateralTokenProgram",
553
543
  "isMut": false,
@@ -2339,11 +2329,6 @@ export const IDL: Lavarage = {
2339
2329
  "isMut": true,
2340
2330
  "isSigner": false
2341
2331
  },
2342
- {
2343
- "name": "usersTokenAccount",
2344
- "isMut": true,
2345
- "isSigner": false
2346
- },
2347
2332
  {
2348
2333
  "name": "collateralTokenProgram",
2349
2334
  "isMut": false,
@@ -2449,11 +2434,6 @@ export const IDL: Lavarage = {
2449
2434
  "isMut": true,
2450
2435
  "isSigner": false
2451
2436
  },
2452
- {
2453
- "name": "usersTokenAccount",
2454
- "isMut": true,
2455
- "isSigner": false
2456
- },
2457
2437
  {
2458
2438
  "name": "collateralTokenProgram",
2459
2439
  "isMut": false,
package/index.ts CHANGED
@@ -746,7 +746,6 @@ export const borrowV2 = async (
746
746
  collateralTokenProgram: tokenProgram,
747
747
  associatedTokenProgram: ASSOCIATED_TOKEN_PROGRAM_ID,
748
748
  collateralMint: offer.account.collateralType,
749
- usersTokenAccount: fromTokenAccount.account!.address,
750
749
  quoteMint: quoteToken,
751
750
  feeRecipient: new PublicKey("6JfTobDvwuwZxZP6FR5JPmjdvQ4h4MovkEVH2FPsMSrF"),
752
751
  })
@@ -804,7 +803,6 @@ export const borrowV2 = async (
804
803
  collateralTokenProgram: tokenProgram,
805
804
  associatedTokenProgram: ASSOCIATED_TOKEN_PROGRAM_ID,
806
805
  collateralMint: offer.account.collateralType,
807
- usersTokenAccount: fromTokenAccount.account!.address,
808
806
  quoteMint: quoteToken,
809
807
  feeRecipient: new PublicKey("6JfTobDvwuwZxZP6FR5JPmjdvQ4h4MovkEVH2FPsMSrF"),
810
808
  })
@@ -1566,7 +1564,6 @@ export const openTradeV2 = async (
1566
1564
  collateralTokenProgram: tokenProgram,
1567
1565
  associatedTokenProgram: ASSOCIATED_TOKEN_PROGRAM_ID,
1568
1566
  collateralMint: offer.account.collateralType,
1569
- usersTokenAccount: fromTokenAccount.account!.address,
1570
1567
  quoteMint: quoteToken,
1571
1568
  feeRecipient: new PublicKey("6JfTobDvwuwZxZP6FR5JPmjdvQ4h4MovkEVH2FPsMSrF"),
1572
1569
  })
@@ -1624,7 +1621,6 @@ export const openTradeV2 = async (
1624
1621
  collateralTokenProgram: tokenProgram,
1625
1622
  associatedTokenProgram: ASSOCIATED_TOKEN_PROGRAM_ID,
1626
1623
  collateralMint: offer.account.collateralType,
1627
- usersTokenAccount: fromTokenAccount.account!.address,
1628
1624
  quoteMint: quoteToken,
1629
1625
  feeRecipient: new PublicKey("6JfTobDvwuwZxZP6FR5JPmjdvQ4h4MovkEVH2FPsMSrF"),
1630
1626
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lavarage/sdk",
3
- "version": "7.5.20",
3
+ "version": "7.5.21",
4
4
  "description": "Lavarage SDK",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",