@meteora-ag/dlmm 1.3.7 → 1.3.8
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 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -5373,7 +5373,7 @@ import {
|
|
|
5373
5373
|
TOKEN_PROGRAM_ID,
|
|
5374
5374
|
TokenAccountNotFoundError,
|
|
5375
5375
|
TokenInvalidAccountOwnerError,
|
|
5376
|
-
|
|
5376
|
+
createAssociatedTokenAccountIdempotentInstruction,
|
|
5377
5377
|
createCloseAccountInstruction,
|
|
5378
5378
|
getAccount,
|
|
5379
5379
|
getAssociatedTokenAddressSync,
|
|
@@ -7621,7 +7621,7 @@ var getOrCreateATAInstruction = async (connection, tokenMint, owner, payer = own
|
|
|
7621
7621
|
return { ataPubKey: toAccount, ix: void 0 };
|
|
7622
7622
|
} catch (e) {
|
|
7623
7623
|
if (e instanceof TokenAccountNotFoundError || e instanceof TokenInvalidAccountOwnerError) {
|
|
7624
|
-
const ix =
|
|
7624
|
+
const ix = createAssociatedTokenAccountIdempotentInstruction(
|
|
7625
7625
|
payer,
|
|
7626
7626
|
toAccount,
|
|
7627
7627
|
owner,
|