@premai/api-sdk 1.0.32 → 1.0.33

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,10 +56,10 @@ async function loadPrem() {
56
56
  return cachedPrem;
57
57
  const isBare = typeof globalThis.Bare !== "undefined";
58
58
  if (isBare) {
59
- cachedPrem = await import("@premai/prem-rs", { with: { type: "script" } });
59
+ cachedPrem = await import("@premai/reticle", { with: { type: "script" } });
60
60
  return cachedPrem;
61
61
  }
62
- cachedPrem = await import("@premai/prem-rs");
62
+ cachedPrem = await import("@premai/reticle");
63
63
  return cachedPrem;
64
64
  }
65
65
  async function attest(apiKey, options = { enabled: true }) {
@@ -24,10 +24,10 @@ async function loadPrem() {
24
24
  return cachedPrem;
25
25
  const isBare = typeof globalThis.Bare !== "undefined";
26
26
  if (isBare) {
27
- cachedPrem = await import("@premai/prem-rs", { with: { type: "script" } });
27
+ cachedPrem = await import("@premai/reticle", { with: { type: "script" } });
28
28
  return cachedPrem;
29
29
  }
30
- cachedPrem = await import("@premai/prem-rs");
30
+ cachedPrem = await import("@premai/reticle");
31
31
  return cachedPrem;
32
32
  }
33
33
  function isAttestationError(err) {
@@ -255,10 +255,10 @@ async function loadPrem() {
255
255
  return cachedPrem;
256
256
  const isBare = typeof globalThis.Bare !== "undefined";
257
257
  if (isBare) {
258
- cachedPrem = await import("@premai/prem-rs", { with: { type: "script" } });
258
+ cachedPrem = await import("@premai/reticle", { with: { type: "script" } });
259
259
  return cachedPrem;
260
260
  }
261
- cachedPrem = await import("@premai/prem-rs");
261
+ cachedPrem = await import("@premai/reticle");
262
262
  return cachedPrem;
263
263
  }
264
264
  function isAttestationError(err) {
package/dist/index.cjs CHANGED
@@ -104,10 +104,10 @@ async function loadPrem() {
104
104
  return cachedPrem;
105
105
  const isBare = typeof globalThis.Bare !== "undefined";
106
106
  if (isBare) {
107
- cachedPrem = await import("@premai/prem-rs", { with: { type: "script" } });
107
+ cachedPrem = await import("@premai/reticle", { with: { type: "script" } });
108
108
  return cachedPrem;
109
109
  }
110
- cachedPrem = await import("@premai/prem-rs");
110
+ cachedPrem = await import("@premai/reticle");
111
111
  return cachedPrem;
112
112
  }
113
113
  function isAttestationError(err) {
package/dist/index.mjs CHANGED
@@ -27,10 +27,10 @@ async function loadPrem() {
27
27
  return cachedPrem;
28
28
  const isBare = typeof globalThis.Bare !== "undefined";
29
29
  if (isBare) {
30
- cachedPrem = await import("@premai/prem-rs", { with: { type: "script" } });
30
+ cachedPrem = await import("@premai/reticle", { with: { type: "script" } });
31
31
  return cachedPrem;
32
32
  }
33
- cachedPrem = await import("@premai/prem-rs");
33
+ cachedPrem = await import("@premai/reticle");
34
34
  return cachedPrem;
35
35
  }
36
36
  function isAttestationError(err) {
@@ -1,4 +1,4 @@
1
- import type * as PremRs from "@premai/prem-rs";
1
+ import type * as PremRs from "@premai/reticle";
2
2
  type AttestationError = Error & {
3
3
  cause: string[];
4
4
  kind?: PremRs.GatewayError;
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.32",
7
+ "version": "1.0.33",
8
8
  "main": "./dist/index.cjs",
9
9
  "bin": {
10
10
  "pcci-proxy": "./dist/cli.cjs"
@@ -65,7 +65,7 @@
65
65
  "@noble/curves": "^1.8.1",
66
66
  "@noble/hashes": "^1.7.1",
67
67
  "@noble/post-quantum": "^0.5.2",
68
- "@premai/prem-rs": "0.3.0",
68
+ "@premai/reticle": "0.3.1",
69
69
  "bare-abort-controller": "^1.1.1",
70
70
  "bare-crypto": "^1.13.5",
71
71
  "bare-encoding": "^1.0.3",