@glamsystems/glam-cli 0.1.13 → 0.1.15
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/main.js +3 -9
- package/package.json +15 -3
package/main.js
CHANGED
|
@@ -5327,7 +5327,7 @@ let globalOpts = { skipSimulation: false };
|
|
|
5327
5327
|
program
|
|
5328
5328
|
.name("glam-cli")
|
|
5329
5329
|
.description("CLI for interacting with the GLAM Protocol")
|
|
5330
|
-
.version("0.1.
|
|
5330
|
+
.version("0.1.15")
|
|
5331
5331
|
.option("-S, --skip-simulation", "Skip transaction simulation");
|
|
5332
5332
|
program
|
|
5333
5333
|
.command("env")
|
|
@@ -5500,14 +5500,8 @@ program
|
|
|
5500
5500
|
const preInstructions = [];
|
|
5501
5501
|
const stateAccount = await glamClient.fetchStateAccount(statePda);
|
|
5502
5502
|
if (stateAccount.mints.length > 0) {
|
|
5503
|
-
const
|
|
5504
|
-
|
|
5505
|
-
.accounts({
|
|
5506
|
-
glamState: statePda,
|
|
5507
|
-
glamMint: glamClient.getMintPda(statePda, 0),
|
|
5508
|
-
})
|
|
5509
|
-
.instruction();
|
|
5510
|
-
preInstructions.push(closeShareClassIx);
|
|
5503
|
+
const closeMintIx = await glamClient.mint.closeMintIx(statePda, 0);
|
|
5504
|
+
preInstructions.push(closeMintIx);
|
|
5511
5505
|
}
|
|
5512
5506
|
try {
|
|
5513
5507
|
const builder = await glamClient.program.methods
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glamsystems/glam-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "CLI for interacting with the GLAM Protocol",
|
|
5
5
|
"main": "./main.js",
|
|
6
6
|
"bin": {
|
|
@@ -21,14 +21,26 @@
|
|
|
21
21
|
"node": ">=20.18.0"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@glamsystems/glam-sdk": "0.1.
|
|
24
|
+
"@glamsystems/glam-sdk": "0.1.15",
|
|
25
25
|
"commander": "^11.1.0",
|
|
26
|
-
"inquirer": "^8.2.6"
|
|
26
|
+
"inquirer": "^8.2.6",
|
|
27
|
+
"@switchboard-xyz/common": "^3.0.0"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
30
|
"@types/inquirer": "^8.2.10",
|
|
30
31
|
"typescript": "^5.0.0"
|
|
31
32
|
},
|
|
33
|
+
"pnpm": {
|
|
34
|
+
"overrides": {
|
|
35
|
+
"anchor-bankrun": "^0.4.0",
|
|
36
|
+
"solana-bankrun": "^0.4.0",
|
|
37
|
+
"@coral-xyz/anchor": "^0.31.0",
|
|
38
|
+
"@solana/web3.js": "^1.98.0",
|
|
39
|
+
"@solana/spl-token": "^0.4.6",
|
|
40
|
+
"@solana/spl-stake-pool": "^1.1.5",
|
|
41
|
+
"typescript": "^5.5.3"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
32
44
|
"publishConfig": {
|
|
33
45
|
"access": "public"
|
|
34
46
|
}
|