@nesalia/cli 1.0.0 → 1.0.2
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/.turbo/turbo-lint.log +5 -0
- package/dist/index.js +1 -1
- package/dist/lib/auth/device-flow/config.d.ts.map +1 -1
- package/dist/lib/auth/device-flow/config.js +1 -1
- package/dist/lib/auth/device-flow/config.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
- package/src/lib/auth/device-flow/config.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { login, status, logout } from "./commands/index.js";
|
|
|
4
4
|
const program = new Command();
|
|
5
5
|
program
|
|
6
6
|
.name("nesalia")
|
|
7
|
-
.version("1.0.
|
|
7
|
+
.version("1.0.2")
|
|
8
8
|
.description("@nesalia/cli — Manage your account authentication");
|
|
9
9
|
program
|
|
10
10
|
.command("auth", { isDefault: false })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/lib/auth/device-flow/config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/lib/auth/device-flow/config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,QAAkD,CAAC;AACzE,eAAO,MAAM,eAAe,QAAiB,CAAC;AAC9C,eAAO,MAAM,KAAK,yBAAyB,CAAC;AAC5C,eAAO,MAAM,mBAAmB,IAAI,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const CLIENT_ID = process.env.CLI_AUTH_CLIENT_ID ?? "cli";
|
|
1
|
+
export const CLIENT_ID = process.env.CLI_AUTH_CLIENT_ID ?? "nesalia-cli";
|
|
2
2
|
export const POLL_TIMEOUT_MS = 30 * 60 * 1000; // 30 min max (matches server default expiresIn)
|
|
3
3
|
export const SCOPE = "openid profile email";
|
|
4
4
|
export const MAX_NETWORK_RETRIES = 3;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/lib/auth/device-flow/config.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,IAAI,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../src/lib/auth/device-flow/config.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,IAAI,aAAa,CAAC;AACzE,MAAM,CAAC,MAAM,eAAe,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,gDAAgD;AAC/F,MAAM,CAAC,MAAM,KAAK,GAAG,sBAAsB,CAAC;AAC5C,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const CLIENT_ID = process.env.CLI_AUTH_CLIENT_ID ?? "cli";
|
|
1
|
+
export const CLIENT_ID = process.env.CLI_AUTH_CLIENT_ID ?? "nesalia-cli";
|
|
2
2
|
export const POLL_TIMEOUT_MS = 30 * 60 * 1000; // 30 min max (matches server default expiresIn)
|
|
3
3
|
export const SCOPE = "openid profile email";
|
|
4
4
|
export const MAX_NETWORK_RETRIES = 3;
|