@premai/api-sdk 1.0.43 → 1.0.45
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/bare.cjs +1 -2
- package/dist/bare.mjs +1 -2
- package/package.json +2 -2
package/dist/bare.cjs
CHANGED
|
@@ -25974,8 +25974,7 @@ async function installBareWasm3(options = {}) {
|
|
|
25974
25974
|
_wasm3Installed = true;
|
|
25975
25975
|
await import("@premai/bare-wasm3/global");
|
|
25976
25976
|
if (options.ioNudge) {
|
|
25977
|
-
const ioNudge = options.ioNudge;
|
|
25978
25977
|
const OriginalInstance = globalThis.WebAssembly.Instance;
|
|
25979
|
-
globalThis.WebAssembly.Instance = (module2, imports) => new OriginalInstance(module2, imports, { ioNudge });
|
|
25978
|
+
globalThis.WebAssembly.Instance = new Proxy(OriginalInstance, (module2, imports) => new OriginalInstance(module2, imports, { ioNudge: options.ioNudge }));
|
|
25980
25979
|
}
|
|
25981
25980
|
}
|
package/dist/bare.mjs
CHANGED
|
@@ -25915,9 +25915,8 @@ async function installBareWasm3(options = {}) {
|
|
|
25915
25915
|
_wasm3Installed = true;
|
|
25916
25916
|
await import("@premai/bare-wasm3/global");
|
|
25917
25917
|
if (options.ioNudge) {
|
|
25918
|
-
const ioNudge = options.ioNudge;
|
|
25919
25918
|
const OriginalInstance = globalThis.WebAssembly.Instance;
|
|
25920
|
-
globalThis.WebAssembly.Instance = (module, imports) => new OriginalInstance(module, imports, { ioNudge });
|
|
25919
|
+
globalThis.WebAssembly.Instance = new Proxy(OriginalInstance, (module, imports) => new OriginalInstance(module, imports, { ioNudge: options.ioNudge }));
|
|
25921
25920
|
}
|
|
25922
25921
|
}
|
|
25923
25922
|
export {
|
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.
|
|
7
|
+
"version": "1.0.45",
|
|
8
8
|
"main": "./dist/index.cjs",
|
|
9
9
|
"bin": {
|
|
10
10
|
"confidential-proxy": "./dist/cli.mjs",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@noble/curves": "^1.8.1",
|
|
67
67
|
"@noble/hashes": "^1.7.1",
|
|
68
68
|
"@noble/post-quantum": "^0.5.2",
|
|
69
|
-
"@premai/bare-wasm3": "^0.1.
|
|
69
|
+
"@premai/bare-wasm3": "^0.1.6",
|
|
70
70
|
"@premai/reticle": "^0.4.8",
|
|
71
71
|
"@types/react": "^19.2.15",
|
|
72
72
|
"bare-abort-controller": "^1.1.2",
|