@premai/api-sdk 1.0.33 → 1.0.34

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/dist/cli.cjs CHANGED
@@ -56,7 +56,7 @@ async function loadPrem() {
56
56
  return cachedPrem;
57
57
  const isBare = typeof globalThis.Bare !== "undefined";
58
58
  if (isBare) {
59
- cachedPrem = await import("@premai/reticle", { with: { type: "script" } });
59
+ cachedPrem = await (async (s, y) => await import(s, y))("@premai/reticle", { with: { type: "script" } });
60
60
  return cachedPrem;
61
61
  }
62
62
  cachedPrem = await import("@premai/reticle");
@@ -24,7 +24,7 @@ async function loadPrem() {
24
24
  return cachedPrem;
25
25
  const isBare = typeof globalThis.Bare !== "undefined";
26
26
  if (isBare) {
27
- cachedPrem = await import("@premai/reticle", { with: { type: "script" } });
27
+ cachedPrem = await (async (s, y) => await import(s, y))("@premai/reticle", { with: { type: "script" } });
28
28
  return cachedPrem;
29
29
  }
30
30
  cachedPrem = await import("@premai/reticle");
@@ -255,7 +255,7 @@ async function loadPrem() {
255
255
  return cachedPrem;
256
256
  const isBare = typeof globalThis.Bare !== "undefined";
257
257
  if (isBare) {
258
- cachedPrem = await import("@premai/reticle", { with: { type: "script" } });
258
+ cachedPrem = await (async (s, y) => await import(s, y))("@premai/reticle", { with: { type: "script" } });
259
259
  return cachedPrem;
260
260
  }
261
261
  cachedPrem = await import("@premai/reticle");
package/dist/index.cjs CHANGED
@@ -104,7 +104,7 @@ async function loadPrem() {
104
104
  return cachedPrem;
105
105
  const isBare = typeof globalThis.Bare !== "undefined";
106
106
  if (isBare) {
107
- cachedPrem = await import("@premai/reticle", { with: { type: "script" } });
107
+ cachedPrem = await (async (s, y) => await import(s, y))("@premai/reticle", { with: { type: "script" } });
108
108
  return cachedPrem;
109
109
  }
110
110
  cachedPrem = await import("@premai/reticle");
package/dist/index.mjs CHANGED
@@ -27,7 +27,7 @@ async function loadPrem() {
27
27
  return cachedPrem;
28
28
  const isBare = typeof globalThis.Bare !== "undefined";
29
29
  if (isBare) {
30
- cachedPrem = await import("@premai/reticle", { with: { type: "script" } });
30
+ cachedPrem = await (async (s, y) => await import(s, y))("@premai/reticle", { with: { type: "script" } });
31
31
  return cachedPrem;
32
32
  }
33
33
  cachedPrem = await import("@premai/reticle");
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.33",
7
+ "version": "1.0.34",
8
8
  "main": "./dist/index.cjs",
9
9
  "bin": {
10
10
  "pcci-proxy": "./dist/cli.cjs"
@@ -82,7 +82,7 @@
82
82
  },
83
83
  "devDependencies": {
84
84
  "@biomejs/biome": "2.3.10",
85
- "@types/bun": "^1.3.6",
85
+ "@types/bun": "^1.3.13",
86
86
  "@types/express": "^4.17.21",
87
87
  "@types/multer": "^2.0.0",
88
88
  "@types/node": "^22.15.21",