@yadurajfleetos/cli 0.1.2 → 0.1.3

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/dist/api.js +1 -1
  2. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -35,7 +35,7 @@ export async function request(method, path, opts = {}) {
35
35
  });
36
36
  let res;
37
37
  try {
38
- res = await send(profile.accessToken);
38
+ res = await send(opts.auth === false ? undefined : profile.accessToken);
39
39
  }
40
40
  catch (err) {
41
41
  throw new CliError(`Could not reach ${profile.api}. Is the control plane running?\n ${String(err)}`, EXIT.failure);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yadurajfleetos/cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Fleet OS command-line interface for deploying and orchestrating services on user-owned hardware",
5
5
  "type": "module",
6
6
  "license": "MIT",