@pd4castr/cli 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -479,8 +479,9 @@ var auth0API = ky2.create({ prefixUrl: `https://${AUTH0_DOMAIN}` });
479
479
  // src/commands/login/utils/complete-auth-flow.ts
480
480
  var FAILED_AUTH_ERRORS = /* @__PURE__ */ new Set(["expired_token", "access_denied"]);
481
481
  async function completeAuthFlow(authCtx) {
482
+ const env = getEnv();
482
483
  const payload = {
483
- client_id: AUTH0_CLIENT_ID,
484
+ client_id: env.auth0ClientId,
484
485
  grant_type: "urn:ietf:params:oauth:grant-type:device_code",
485
486
  device_code: authCtx.deviceCode
486
487
  };
@@ -1402,7 +1403,7 @@ import { Command } from "commander";
1402
1403
  // package.json
1403
1404
  var package_default = {
1404
1405
  name: "@pd4castr/cli",
1405
- version: "1.0.0",
1406
+ version: "1.0.1",
1406
1407
  description: "CLI tool for creating, testing, and publishing pd4castr models",
1407
1408
  main: "dist/index.js",
1408
1409
  type: "module",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pd4castr/cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "CLI tool for creating, testing, and publishing pd4castr models",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",