@raydium-io/raydium-sdk-v2 0.2.36-alpha → 0.2.37-alpha

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raydium-io/raydium-sdk-v2",
3
- "version": "0.2.36-alpha",
3
+ "version": "0.2.37-alpha",
4
4
  "description": "An SDK for building applications on top of Raydium.",
5
5
  "license": "GPL-3.0",
6
6
  "main": "./lib/index.js",
@@ -1357,31 +1357,31 @@ export default class CpmmModule extends ModuleBase {
1357
1357
  const tokenAccountB =
1358
1358
  tokenAccRecord[poolInfo.mintB.address] || this.scope.account.getAssociatedTokenAccount(mintB, mintBProgram);
1359
1359
 
1360
- if (!tokenAccRecord[poolInfo.mintA.address])
1361
- txBuilder.addInstruction({
1362
- instructions: [
1363
- createAssociatedTokenAccountIdempotentInstruction(
1364
- this.scope.ownerPubKey,
1365
- tokenAccountA,
1366
- this.scope.ownerPubKey,
1367
- mintA,
1368
- mintAProgram,
1369
- ),
1370
- ],
1371
- });
1372
-
1373
- if (!tokenAccRecord[poolInfo.mintB.address])
1374
- txBuilder.addInstruction({
1375
- instructions: [
1376
- createAssociatedTokenAccountIdempotentInstruction(
1377
- this.scope.ownerPubKey,
1378
- tokenAccountB,
1379
- this.scope.ownerPubKey,
1380
- mintB,
1381
- mintBProgram,
1382
- ),
1383
- ],
1384
- });
1360
+ // if (!tokenAccRecord[poolInfo.mintA.address])
1361
+ // txBuilder.addInstruction({
1362
+ // instructions: [
1363
+ // createAssociatedTokenAccountIdempotentInstruction(
1364
+ // this.scope.ownerPubKey,
1365
+ // tokenAccountA,
1366
+ // this.scope.ownerPubKey,
1367
+ // mintA,
1368
+ // mintAProgram,
1369
+ // ),
1370
+ // ],
1371
+ // });
1372
+
1373
+ // if (!tokenAccRecord[poolInfo.mintB.address])
1374
+ // txBuilder.addInstruction({
1375
+ // instructions: [
1376
+ // createAssociatedTokenAccountIdempotentInstruction(
1377
+ // this.scope.ownerPubKey,
1378
+ // tokenAccountB,
1379
+ // this.scope.ownerPubKey,
1380
+ // mintB,
1381
+ // mintBProgram,
1382
+ // ),
1383
+ // ],
1384
+ // });
1385
1385
 
1386
1386
  tokenAccRecord[poolInfo.mintA.address] = tokenAccountA;
1387
1387
  tokenAccRecord[poolInfo.mintB.address] = tokenAccountB;