@crypticdot/defituna-client 2.0.9 → 2.0.10
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.mjs +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -7161,7 +7161,7 @@ async function getCreateAtaInstructions(rpc, payer, mint, owner, tokenProgram =
|
|
|
7161
7161
|
if (owner == payer.address) {
|
|
7162
7162
|
cleanup.push(
|
|
7163
7163
|
(0, import_token_2022.getCloseAccountInstruction)(
|
|
7164
|
-
{ account: ata, destination:
|
|
7164
|
+
{ account: ata, destination: owner, owner: payer },
|
|
7165
7165
|
{ programAddress: tokenProgram }
|
|
7166
7166
|
)
|
|
7167
7167
|
);
|
package/dist/index.mjs
CHANGED
|
@@ -7245,7 +7245,7 @@ async function getCreateAtaInstructions(rpc, payer, mint, owner, tokenProgram =
|
|
|
7245
7245
|
if (owner == payer.address) {
|
|
7246
7246
|
cleanup.push(
|
|
7247
7247
|
getCloseAccountInstruction(
|
|
7248
|
-
{ account: ata, destination:
|
|
7248
|
+
{ account: ata, destination: owner, owner: payer },
|
|
7249
7249
|
{ programAddress: tokenProgram }
|
|
7250
7250
|
)
|
|
7251
7251
|
);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crypticdot/defituna-client",
|
|
3
3
|
"description": "Typescript client to interact with DefiTuna's on-chain program.",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.10",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"@codama/renderers-rust": "^1.0.22",
|
|
39
39
|
"@codama/visitors-core": "^1.2.13",
|
|
40
40
|
"@codama/nodes-from-anchor": "^1.1.14",
|
|
41
|
-
"@codama/renderers": "^1.0.
|
|
41
|
+
"@codama/renderers": "^1.0.24",
|
|
42
42
|
"@types/node": "22.9.0",
|
|
43
|
-
"codama": "^1.2.
|
|
43
|
+
"codama": "^1.2.14",
|
|
44
44
|
"dotenv": "^16.4.7",
|
|
45
45
|
"eslint": "^8.57.0",
|
|
46
46
|
"ts-node": "^10.9.2",
|