@premai/reticle 0.3.0 → 0.3.1
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/package.json
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@premai/reticle",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.1",
|
|
5
5
|
"files": [
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
6
|
+
"reticle_bg.wasm",
|
|
7
|
+
"reticle.js",
|
|
8
|
+
"reticle_bg.js",
|
|
9
|
+
"reticle.d.ts",
|
|
10
|
+
"reticle_bg.js"
|
|
11
11
|
],
|
|
12
|
-
"main": "
|
|
13
|
-
"types": "
|
|
12
|
+
"main": "reticle_main.js",
|
|
13
|
+
"types": "reticle.d.ts",
|
|
14
14
|
"sideEffects": [
|
|
15
|
-
"./
|
|
15
|
+
"./reticle.js",
|
|
16
16
|
"./snippets/*"
|
|
17
17
|
],
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
20
|
"browser": {
|
|
21
|
-
"types": "./
|
|
22
|
-
"default": "./
|
|
21
|
+
"types": "./reticle.d.ts",
|
|
22
|
+
"default": "./reticle.js"
|
|
23
23
|
},
|
|
24
24
|
"default": {
|
|
25
|
-
"types": "./
|
|
26
|
-
"default": "./
|
|
25
|
+
"types": "./reticle.d.ts",
|
|
26
|
+
"default": "./reticle_main.js"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* @ts-self-types="./
|
|
1
|
+
/* @ts-self-types="./reticle.d.ts" */
|
|
2
2
|
|
|
3
|
-
import * as wasm from "./
|
|
4
|
-
import { __wbg_set_wasm } from "./
|
|
3
|
+
import * as wasm from "./reticle_bg.wasm";
|
|
4
|
+
import { __wbg_set_wasm } from "./reticle_bg.js";
|
|
5
5
|
__wbg_set_wasm(wasm);
|
|
6
6
|
wasm.__wbindgen_start();
|
|
7
7
|
export {
|
|
8
8
|
AttestHeaders, AttestResult, Client, ClientBuilder, Collateral, CpuModule, GatewayError, GpuModule, Modules, NvidiaAttestResult, Pcs, QueryParams, QuoteVerifier, ResponseHeaders, TcbLevels, TdxNonce, TdxQuote
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reticle_bg.js";
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @ts-self-types="./
|
|
1
|
+
/* @ts-self-types="./reticle.d.ts" */
|
|
2
2
|
|
|
3
3
|
class AttestHeaders {
|
|
4
4
|
static __wrap(ptr) {
|
|
@@ -1639,7 +1639,7 @@ function __wbg_get_imports() {
|
|
|
1639
1639
|
};
|
|
1640
1640
|
return {
|
|
1641
1641
|
__proto__: null,
|
|
1642
|
-
"./
|
|
1642
|
+
"./reticle_bg.js": import0,
|
|
1643
1643
|
};
|
|
1644
1644
|
}
|
|
1645
1645
|
|
|
@@ -1976,7 +1976,7 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
1976
1976
|
|
|
1977
1977
|
let WASM_VECTOR_LEN = 0;
|
|
1978
1978
|
|
|
1979
|
-
const wasmPath = `${__dirname}/
|
|
1979
|
+
const wasmPath = `${__dirname}/reticle_bg.wasm`;
|
|
1980
1980
|
const wasmBytes = require('fs').readFileSync(wasmPath);
|
|
1981
1981
|
const wasmModule = new WebAssembly.Module(wasmBytes);
|
|
1982
1982
|
let wasm = new WebAssembly.Instance(wasmModule, __wbg_get_imports()).exports;
|
|
File without changes
|
|
File without changes
|