@meteora-ag/dlmm 1.3.16-rc.0 → 1.3.16
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 +1 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -9,7 +9,6 @@ var _anchor = require('@coral-xyz/anchor');
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
|
|
13
12
|
var _spltoken = require('@solana/spl-token');
|
|
14
13
|
|
|
15
14
|
|
|
@@ -14269,11 +14268,10 @@ var DLMM = class {
|
|
|
14269
14268
|
preInstructions.push(transferIx);
|
|
14270
14269
|
}
|
|
14271
14270
|
} else {
|
|
14272
|
-
const createPositionOwnerTokenXIx = _spltoken.
|
|
14271
|
+
const createPositionOwnerTokenXIx = _spltoken.createAssociatedTokenAccountIdempotentInstruction.call(void 0,
|
|
14273
14272
|
payer,
|
|
14274
14273
|
positionOwner,
|
|
14275
14274
|
this.lbPair.tokenXMint,
|
|
14276
|
-
false,
|
|
14277
14275
|
this.tokenX.owner,
|
|
14278
14276
|
positionOwnerTokenX
|
|
14279
14277
|
);
|