@learncard/didkit-plugin 1.9.8 → 1.9.9
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/didkit/didkit_wasm.d.ts +29 -29
- package/dist/didkit/didkit_wasm.js +540 -517
- package/dist/didkit/didkit_wasm_bg.wasm +0 -0
- package/dist/didkit/didkit_wasm_bg.wasm.d.ts +3 -3
- package/dist/didkit/index.d.ts +9 -0
- package/dist/didkit/index.d.ts.map +1 -1
- package/dist/didkit-plugin.cjs.development.cjs +336 -326
- package/dist/didkit-plugin.cjs.development.cjs.map +2 -2
- package/dist/didkit-plugin.cjs.production.min.cjs +2 -2
- package/dist/didkit-plugin.cjs.production.min.cjs.map +3 -3
- package/dist/didkit-plugin.esm.js +336 -326
- package/dist/didkit-plugin.esm.js.map +2 -2
- package/dist/didkit_wasm.d.ts +29 -29
- package/dist/didkit_wasm.js +540 -517
- package/dist/didkit_wasm_bg.wasm +0 -0
- package/dist/didkit_wasm_bg.wasm.d.ts +3 -3
- package/package.json +3 -3
- package/src/didkit/index.ts +12 -3
- package/src/didkit/pkg/didkit_wasm.d.ts +29 -29
- package/src/didkit/pkg/didkit_wasm.js +540 -517
- package/src/didkit/pkg/didkit_wasm_bg.wasm +0 -0
- package/src/didkit/pkg/didkit_wasm_bg.wasm.d.ts +3 -3
|
Binary file
|
|
@@ -44,8 +44,8 @@ export const __wbindgen_exn_store: (a: number) => void;
|
|
|
44
44
|
export const __externref_table_alloc: () => number;
|
|
45
45
|
export const __wbindgen_export_4: WebAssembly.Table;
|
|
46
46
|
export const __wbindgen_export_5: WebAssembly.Table;
|
|
47
|
-
export const __externref_table_dealloc: (a: number) => void;
|
|
48
47
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
49
|
-
export const
|
|
50
|
-
export const
|
|
48
|
+
export const __externref_table_dealloc: (a: number) => void;
|
|
49
|
+
export const closure4206_externref_shim: (a: number, b: number, c: any) => void;
|
|
50
|
+
export const closure4605_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
|
51
51
|
export const __wbindgen_start: () => void;
|
package/dist/didkit/index.d.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { InitInput } from './pkg/didkit_wasm';
|
|
2
2
|
export * from './pkg/didkit_wasm';
|
|
3
|
+
/**
|
|
4
|
+
* Version-locked with `./pkg/didkit_wasm_bg.wasm`: the glue in `./pkg` only declares the imports
|
|
5
|
+
* of the binary it was generated from, so both must be published together or consumers relying on
|
|
6
|
+
* this default fail to instantiate with a `LinkError`.
|
|
7
|
+
*
|
|
8
|
+
* Kept as a standalone constant so `scripts/set-default-wasm-url.mjs` can rewrite it regardless of
|
|
9
|
+
* how Prettier wraps the `init` signature. Do not inline it back into the parameter list.
|
|
10
|
+
*/
|
|
11
|
+
export declare const DEFAULT_DIDKIT_WASM_URL = "https://assets.learncard.ai/didkit/sha256-60efb6027699fda135db0d817f7a541bbd660ae88bec9cbec9796feeb3740b96/didkit_wasm_bg.wasm";
|
|
3
12
|
export declare const init: (arg?: InitInput | Promise<InitInput>) => Promise<void>;
|
|
4
13
|
export default init;
|
|
5
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/didkit/index.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAErD,cAAc,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/didkit/index.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAErD,cAAc,mBAAmB,CAAC;AAElC;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,mIACgG,CAAC;AAKrI,eAAO,MAAM,IAAI,SAAe,SAAS,GAAG,OAAO,CAAC,SAAS,CAAC,kBAmB7D,CAAC;AAEF,eAAe,IAAI,CAAC"}
|