@learncard/didkit-plugin 1.0.8 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/didkit/didkit_wasm.d.ts +11 -9
- package/dist/didkit/didkit_wasm.js +203 -154
- package/dist/didkit/didkit_wasm_bg.wasm +0 -0
- package/dist/didkit/didkit_wasm_bg.wasm.d.ts +5 -5
- package/dist/didkit/index.d.ts +1 -1
- package/dist/didkit-plugin.cjs.development.js +208 -157
- package/dist/didkit-plugin.cjs.development.js.map +2 -2
- package/dist/didkit-plugin.cjs.production.min.js +2 -2
- package/dist/didkit-plugin.cjs.production.min.js.map +2 -2
- package/dist/didkit-plugin.esm.js +208 -157
- package/dist/didkit-plugin.esm.js.map +2 -2
- package/dist/didkit_wasm.d.ts +11 -9
- package/dist/didkit_wasm.js +203 -154
- package/dist/didkit_wasm_bg.wasm +0 -0
- package/dist/didkit_wasm_bg.wasm.d.ts +5 -5
- package/package.json +1 -1
@@ -221,24 +221,26 @@ export interface InitOutput {
|
|
221
221
|
readonly contextLoader: (a: number, b: number) => number;
|
222
222
|
readonly didkit_error_message: () => number;
|
223
223
|
readonly didkit_error_code: () => number;
|
224
|
-
readonly __wbindgen_malloc: (a: number) => number;
|
225
|
-
readonly __wbindgen_realloc: (a: number, b: number, c: number) => number;
|
224
|
+
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
225
|
+
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
226
226
|
readonly __wbindgen_export_2: WebAssembly.Table;
|
227
|
-
readonly
|
227
|
+
readonly _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__heb2947e09b459f26: (a: number, b: number, c: number) => void;
|
228
228
|
readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
|
229
|
-
readonly __wbindgen_free: (a: number, b: number) => void;
|
229
|
+
readonly __wbindgen_free: (a: number, b: number, c: number) => void;
|
230
230
|
readonly __wbindgen_exn_store: (a: number) => void;
|
231
|
-
readonly
|
231
|
+
readonly wasm_bindgen__convert__closures__invoke2_mut__h37b98ed5001919e7: (a: number, b: number, c: number, d: number) => void;
|
232
232
|
}
|
233
233
|
|
234
|
+
export type SyncInitInput = BufferSource | WebAssembly.Module;
|
234
235
|
/**
|
235
|
-
*
|
236
|
+
* Instantiates the given `module`, which can either be bytes or
|
237
|
+
* a precompiled `WebAssembly.Module`.
|
236
238
|
*
|
237
|
-
* @param {
|
239
|
+
* @param {SyncInitInput} module
|
238
240
|
*
|
239
241
|
* @returns {InitOutput}
|
240
242
|
*/
|
241
|
-
export function initSync(
|
243
|
+
export function initSync(module: SyncInitInput): InitOutput;
|
242
244
|
|
243
245
|
/**
|
244
246
|
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
|
@@ -248,4 +250,4 @@ export function initSync(bytes: BufferSource): InitOutput;
|
|
248
250
|
*
|
249
251
|
* @returns {Promise<InitOutput>}
|
250
252
|
*/
|
251
|
-
export default function
|
253
|
+
export default function __wbg_init (module_or_path?: InitInput | Promise<InitInput>): Promise<InitOutput>;
|