@pd4castr/cli 0.0.2 → 0.0.4

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 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -51,7 +51,7 @@ import { Command } from "commander";
51
51
  // package.json
52
52
  var package_default = {
53
53
  name: "@pd4castr/cli",
54
- version: "0.0.2",
54
+ version: "0.0.4",
55
55
  description: "CLI tool for creating, testing, and publishing pd4castr models",
56
56
  main: "dist/index.js",
57
57
  type: "module",
@@ -232,7 +232,7 @@ var AUTH0_CLIENT_ID = "Q5tQNF57cQlVXnVsqnU0hhgy92rVb03W";
232
232
  var AUTH0_AUDIENCE = "https://api.pd4castr.com.au";
233
233
  var GLOBAL_CONFIG_FILE = ".pd4castr";
234
234
  var PROJECT_CONFIG_FILE = ".pd4castrrc.json";
235
- var API_URL = "https://api.pd4castr.com.au";
235
+ var API_URL = "https://pd4castr-api.pipelabs.app";
236
236
  var TEST_INPUT_DATA_DIR = "test_input";
237
237
  var TEST_OUTPUT_DATA_DIR = "test_output";
238
238
  var TEST_OUTPUT_FILENAME = `output-${Date.now()}.json`;
@@ -291,7 +291,7 @@ var auth0API = ky.create({ prefixUrl: `https://${AUTH0_DOMAIN}` });
291
291
  var payload = {
292
292
  client_id: AUTH0_CLIENT_ID,
293
293
  audience: AUTH0_AUDIENCE,
294
- scope: "openid profile"
294
+ scope: "openid email"
295
295
  };
296
296
  async function startAuthFlow() {
297
297
  const codeResponse = await auth0API.post("oauth/device/code", { json: payload }).json();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pd4castr/cli",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "CLI tool for creating, testing, and publishing pd4castr models",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",