@glamsystems/glam-cli 1.0.2-alpha.0 → 1.0.2-alpha.1

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 +2 -2
  2. package/package.json +2 -2
package/main.js CHANGED
@@ -12673,7 +12673,7 @@ function parseStateJson(json) {
12673
12673
  accountType: { [state.accountType]: {} },
12674
12674
  name: state.name ? (0, glam_sdk_1.nameToChars)(state.name) : null,
12675
12675
  enabled: state.enabled !== false,
12676
- assets: (state.assets || []).map((asset) => new web3_js_1.PublicKey(asset)),
12676
+ assets: state.assets?.map((asset) => new web3_js_1.PublicKey(asset)) || null,
12677
12677
  baseAssetMint: state.baseAssetMint
12678
12678
  ? new web3_js_1.PublicKey(state.baseAssetMint)
12679
12679
  : null,
@@ -15695,7 +15695,7 @@ program
15695
15695
  initialize(config, skipSimulation);
15696
15696
  await (0, idl_1.idlCheck)(context.glamClient);
15697
15697
  })
15698
- .version("1.0.2-alpha.0");
15698
+ .version("1.0.2-alpha.1");
15699
15699
  program
15700
15700
  .command("env")
15701
15701
  .description("Display current environment setup")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glamsystems/glam-cli",
3
- "version": "1.0.2-alpha.0",
3
+ "version": "1.0.2-alpha.1",
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": "1.0.2-alpha.0",
24
+ "@glamsystems/glam-sdk": "1.0.2-alpha.1",
25
25
  "commander": "^11.1.0",
26
26
  "inquirer": "^8.2.6",
27
27
  "@switchboard-xyz/common": "^3.0.0"