@contextual-io/cli 0.3.0 → 0.3.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.
package/README.md CHANGED
@@ -20,7 +20,7 @@ $ npm install -g @contextual-io/cli
20
20
  $ ctxl COMMAND
21
21
  running command...
22
22
  $ ctxl (--version)
23
- @contextual-io/cli/0.3.0 linux-x64 node-v25.2.1
23
+ @contextual-io/cli/0.3.1 linux-x64 node-v25.2.1
24
24
  $ ctxl --help [COMMAND]
25
25
  USAGE
26
26
  $ ctxl COMMAND
@@ -34,9 +34,9 @@ export const codeExchange = async ({ audience, clientId, domain }) => {
34
34
  method: "POST",
35
35
  });
36
36
  const codeJson = await codeRsp.json();
37
- const { device_code, interval, verification_uri_complete } = codeJson;
37
+ const { device_code, interval, user_code, verification_uri_complete } = codeJson;
38
38
  console.log("We've launched your web browser to complete the login process.");
39
- console.log("Verification code: %s", device_code);
39
+ console.log("Verification code: %s", user_code);
40
40
  console.log();
41
41
  console.log("Waiting for login to complete...");
42
42
  await open(`${verification_uri_complete}&audience=${audience}`);
@@ -759,5 +759,5 @@
759
759
  ]
760
760
  }
761
761
  },
762
- "version": "0.3.0"
762
+ "version": "0.3.1"
763
763
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contextual-io/cli",
3
3
  "description": "Contextual CLI",
4
- "version": "0.3.0",
4
+ "version": "0.3.1",
5
5
  "author": "Nasser Oloumi",
6
6
  "bin": {
7
7
  "ctxl": "./bin/run.js"