@premai/reticle 0.4.1 → 0.4.3

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,13 +1,15 @@
1
1
  {
2
2
  "name": "@premai/reticle",
3
3
  "type": "module",
4
- "version": "0.4.1",
4
+ "version": "0.4.3",
5
5
  "files": [
6
6
  "reticle_bg.wasm",
7
7
  "reticle.js",
8
8
  "reticle_bg.js",
9
9
  "reticle.d.ts",
10
- "reticle_bg.js"
10
+ "reticle_bg.js",
11
+ "reticle_main.js",
12
+ "snippets"
11
13
  ],
12
14
  "main": "reticle_main.js",
13
15
  "types": "reticle.d.ts",
package/reticle.d.ts CHANGED
@@ -305,6 +305,9 @@ export class VerifiedChain {
305
305
  to_pem(): ExportPem;
306
306
  }
307
307
 
308
+ declare function fetch2(input: any, init?: any | null): Promise<any>;
309
+ export { fetch2 as fetch }
310
+
308
311
  /**
309
312
  * Same as [`KeyChain:fetch_keychain`], put in for better wasm compatibility
310
313
  */
package/reticle.js CHANGED
@@ -1,9 +1,9 @@
1
1
  /* @ts-self-types="./reticle.d.ts" */
2
-
3
2
  import * as wasm from "./reticle_bg.wasm";
4
3
  import { __wbg_set_wasm } from "./reticle_bg.js";
4
+
5
5
  __wbg_set_wasm(wasm);
6
6
  wasm.__wbindgen_start();
7
7
  export {
8
- AttestHeaders, AttestResult, CRL, Client, ClientBuilder, Collateral, CpuModule, DecodedClaims, EATToken, ExportPem, GatewayError, GpuModule, Kds, KeyChain, Modules, NvidiaAttestResult, NvidiaNonce, ParsedAttestation, Pcs, QueryParams, QuoteVerifier, ResponseHeaders, SevNonce, TcbLevels, TdxNonce, TdxQuote, VerifiedChain, fetch_keychain
8
+ AttestHeaders, AttestResult, CRL, Client, ClientBuilder, Collateral, CpuModule, DecodedClaims, EATToken, ExportPem, GatewayError, GpuModule, Kds, KeyChain, Modules, NvidiaAttestResult, NvidiaNonce, ParsedAttestation, Pcs, QueryParams, QuoteVerifier, ResponseHeaders, SevNonce, TcbLevels, TdxNonce, TdxQuote, VerifiedChain, fetch, fetch_keychain
9
9
  } from "./reticle_bg.js";