@hawksightco/hawk-sdk 1.3.3 → 1.3.5
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.
|
@@ -494,7 +494,7 @@ class IyfMainIxGenerator {
|
|
|
494
494
|
hsFeeOwner: addresses_1.SITE_FEE_OWNER,
|
|
495
495
|
associatedTokenProgram: addresses_1.ASSOCIATED_TOKEN_PROGRAM,
|
|
496
496
|
tokenProgram: addresses_1.TOKEN_PROGRAM_ID,
|
|
497
|
-
|
|
497
|
+
tokenProgram2022: addresses_1.TOKEN_2022_PROGRAM_ID,
|
|
498
498
|
systemProgram: web3.SystemProgram.programId,
|
|
499
499
|
})
|
|
500
500
|
.remainingAccounts(remainingAccounts)
|
|
@@ -563,7 +563,7 @@ class IyfMainIxGenerator {
|
|
|
563
563
|
hsFeeOwner: addresses_1.SITE_FEE_OWNER,
|
|
564
564
|
associatedTokenProgram: addresses_1.ASSOCIATED_TOKEN_PROGRAM,
|
|
565
565
|
tokenProgram: addresses_1.TOKEN_PROGRAM_ID,
|
|
566
|
-
|
|
566
|
+
tokenProgram2022: addresses_1.TOKEN_2022_PROGRAM_ID,
|
|
567
567
|
systemProgram: web3.SystemProgram.programId,
|
|
568
568
|
})
|
|
569
569
|
.remainingAccounts(remainingAccounts)
|
package/dist/src/meteora.js
CHANGED
|
@@ -1345,8 +1345,8 @@ class InitializePositionAndAddLiquidityByStrategyBuilder {
|
|
|
1345
1345
|
*/
|
|
1346
1346
|
default() {
|
|
1347
1347
|
return [
|
|
1348
|
-
// Step 1: Init wSOL token account for user wallet (if X or Y token is wSOL)
|
|
1349
|
-
...this.wrapSolIxs,
|
|
1348
|
+
// // Step 1: Init wSOL token account for user wallet (if X or Y token is wSOL)
|
|
1349
|
+
// ...this.wrapSolIxs,
|
|
1350
1350
|
// Step 2: Deposit X and Y token to UserPDA
|
|
1351
1351
|
this.depositToPdaIxs,
|
|
1352
1352
|
// Step 3: Add liquidity by strategy
|