@glamsystems/glam-cli 0.2.0-alpha.1 → 0.2.0-alpha.2

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.
Files changed (2) hide show
  1. package/main.js +3 -3
  2. package/package.json +2 -2
package/main.js CHANGED
@@ -5333,7 +5333,7 @@ class VaultClient {
5333
5333
  .accounts({
5334
5334
  glamState: this.base.statePda,
5335
5335
  glamSigner,
5336
- from: this.base.getVaultAta(mint),
5336
+ from: this.base.getVaultAta(mint, tokenProgram),
5337
5337
  to: toAta,
5338
5338
  mint,
5339
5339
  cpiProgram: tokenProgram,
@@ -5845,8 +5845,8 @@ class TxBuilder {
5845
5845
  baseAssetMint,
5846
5846
  })
5847
5847
  .transaction();
5848
- const vTx = await this.base.intoVersionedTransaction(tx, txOptions);
5849
5848
  this.base.statePda = statePda;
5849
+ const vTx = await this.base.intoVersionedTransaction(tx, txOptions);
5850
5850
  return vTx;
5851
5851
  }
5852
5852
  async update(updated, txOptions) {
@@ -11332,7 +11332,7 @@ program
11332
11332
  }
11333
11333
  await (0, idl_1.idlCheck)(context.glamClient);
11334
11334
  })
11335
- .version("0.2.0-alpha.1");
11335
+ .version("0.2.0-alpha.2");
11336
11336
  program
11337
11337
  .command("env")
11338
11338
  .description("Display current environment setup")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glamsystems/glam-cli",
3
- "version": "0.2.0-alpha.1",
3
+ "version": "0.2.0-alpha.2",
4
4
  "description": "CLI for interacting with the GLAM Protocol",
5
5
  "main": "./main.js",
6
6
  "bin": {
@@ -21,7 +21,7 @@
21
21
  "node": ">=20.18.0"
22
22
  },
23
23
  "dependencies": {
24
- "@glamsystems/glam-sdk": "0.2.0-alpha.1",
24
+ "@glamsystems/glam-sdk": "0.2.0-alpha.2",
25
25
  "commander": "^11.1.0",
26
26
  "inquirer": "^8.2.6",
27
27
  "@switchboard-xyz/common": "^3.0.0"