@premai/api-sdk 1.0.50 → 1.0.51

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.
@@ -346,7 +346,7 @@ function isProcessAlive(pid) {
346
346
 
347
347
  // src/launcher/proxy-subprocess.ts
348
348
  function resolveCliScript() {
349
- return new URL(import.meta.resolve("../cli")).pathname;
349
+ return new URL(import.meta.resolve(import.meta.url.endsWith(".ts") ? "../cli" : "./cli")).pathname;
350
350
  }
351
351
  async function postShutdown(host, port, token, timeoutMs = 5000) {
352
352
  try {
package/dist/cli.mjs CHANGED
@@ -2741,7 +2741,7 @@ function setLogLevel(level2) {
2741
2741
  });
2742
2742
  }
2743
2743
  // package.json
2744
- var version = "1.0.49";
2744
+ var version = "1.0.50";
2745
2745
 
2746
2746
  // src/server/route-prefix.ts
2747
2747
  function normalizeRoutePrefix(raw) {
package/dist/index.cjs CHANGED
@@ -2847,7 +2847,7 @@ var logger = import_winston.default.createLogger({
2847
2847
  transports: [fileTransport, consoleTransport]
2848
2848
  });
2849
2849
  // package.json
2850
- var version = "1.0.49";
2850
+ var version = "1.0.50";
2851
2851
 
2852
2852
  // src/server/route-prefix.ts
2853
2853
  function normalizeRoutePrefix(raw) {
package/dist/index.mjs CHANGED
@@ -2767,7 +2767,7 @@ var logger = winston.createLogger({
2767
2767
  transports: [fileTransport, consoleTransport]
2768
2768
  });
2769
2769
  // package.json
2770
- var version = "1.0.49";
2770
+ var version = "1.0.50";
2771
2771
 
2772
2772
  // src/server/route-prefix.ts
2773
2773
  function normalizeRoutePrefix(raw) {
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  },
5
5
  "homepage": "https://github.com/premai-io/api-sdk-ts",
6
6
  "name": "@premai/api-sdk",
7
- "version": "1.0.50",
7
+ "version": "1.0.51",
8
8
  "main": "./dist/index.cjs",
9
9
  "bin": {
10
10
  "confidential-proxy": "./dist/cli.mjs",