propelix-cli 0.0.1-dev2 → 0.0.1-dev3

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.cjs +2 -6
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -17072,10 +17072,6 @@ var parseRequestArgs = (documentOrOptions, variables, requestHeaders) => {
17072
17072
 
17073
17073
  // src/lib/client.ts
17074
17074
  function createGraphQLClient(config) {
17075
- const url = new URL(`${config.baseUrl}/api/graphql`);
17076
- if (url.hostname.endsWith(".orb.local") || url.hostname === "localhost" || url.hostname === "127.0.0.1") {
17077
- process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
17078
- }
17079
17075
  return new GraphQLClient(`${config.baseUrl}/api/graphql`, {
17080
17076
  headers: { Authorization: `Bearer ${config.token}` }
17081
17077
  });
@@ -17095,10 +17091,10 @@ var ME_QUERY = `
17095
17091
 
17096
17092
  // src/index.ts
17097
17093
  var program2 = new Command();
17098
- program2.name("propelix").description("Propelix CLI").version("0.0.1-dev2").option("--base-url <url>", "API base URL (default: https://app.promptitude.ai)").option("--token <token>", "Auth token (overrides stored config)").option("--json", "Output as JSON");
17094
+ program2.name("propelix").description("Propelix CLI").version("0.0.1-dev3").option("--base-url <url>", "API base URL (default: https://app.promptitude.ai)").option("--token <token>", "Auth token (overrides stored config)").option("--json", "Output as JSON");
17099
17095
  registerAuthCommand(program2);
17100
17096
  program2.command("version").description("Print version number").action(() => {
17101
- console.log("0.0.1-dev2");
17097
+ console.log("0.0.1-dev3");
17102
17098
  });
17103
17099
  program2.command("whoami").description("Show the currently authenticated user").action(async () => {
17104
17100
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propelix-cli",
3
- "version": "0.0.1-dev2",
3
+ "version": "0.0.1-dev3",
4
4
  "description": "CLI for Propelix",
5
5
  "engines": { "node": ">=18" },
6
6
  "license": "UNLICENSED",