@glamsystems/glam-cli 0.1.24 → 0.1.25

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
@@ -8299,7 +8299,7 @@ function installSwapCommands(program, glamClient, cliConfig, txOptions = {}) {
8299
8299
  .option("-y, --yes", "Skip confirmation")
8300
8300
  .option("-d, --only-direct-routes", "Direct routes only")
8301
8301
  .action(async (from, to, amount, options) => {
8302
- const { maxAccounts, slippageBps, onlyDirectRoutes, exclude } = options;
8302
+ const { maxAccounts, slippageBps, onlyDirectRoutes } = options;
8303
8303
  const response = await fetch("https://tokens.jup.ag/tokens?tags=verified");
8304
8304
  const data = await response.json(); // an array of tokens
8305
8305
  const tokenFrom = data.find((t) => t.address === from || t.symbol.toLowerCase() === from.toLowerCase());
@@ -8833,7 +8833,7 @@ let globalOpts = { skipSimulation: false, config: null };
8833
8833
  program
8834
8834
  .name("glam-cli")
8835
8835
  .description("CLI for interacting with the GLAM Protocol")
8836
- .version("0.1.24")
8836
+ .version("0.1.25")
8837
8837
  // .option("-S, --skip-simulation", "Skip transaction simulation")
8838
8838
  // .option(
8839
8839
  // "-C, --config <path>",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glamsystems/glam-cli",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
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.1.24",
24
+ "@glamsystems/glam-sdk": "0.1.25",
25
25
  "commander": "^11.1.0",
26
26
  "inquirer": "^8.2.6",
27
27
  "@switchboard-xyz/common": "^3.0.0"