@emergentmethods/asknews-cli 0.1.0 → 0.1.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/dist/bin.js
CHANGED
|
@@ -11,7 +11,7 @@ import { Command, Option as Option2 } from "commander";
|
|
|
11
11
|
// package.json
|
|
12
12
|
var package_default = {
|
|
13
13
|
name: "@emergentmethods/asknews-cli",
|
|
14
|
-
version: "0.1.
|
|
14
|
+
version: "0.1.1",
|
|
15
15
|
description: "The official AskNews CLI for humans, automation, and agents",
|
|
16
16
|
type: "module",
|
|
17
17
|
license: "MIT",
|
|
@@ -163,7 +163,7 @@ async function deviceLogin(config, options) {
|
|
|
163
163
|
scope: options.scopes.join(" ")
|
|
164
164
|
});
|
|
165
165
|
const authorization = DeviceAuthorizationSchema.parse(device);
|
|
166
|
-
const browserUrl = authorization.
|
|
166
|
+
const browserUrl = authorization.verification_uri;
|
|
167
167
|
options.onPrompt({
|
|
168
168
|
verificationUri: authorization.verification_uri,
|
|
169
169
|
userCode: authorization.user_code,
|