@learncard/didkit-plugin 1.0.6 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/didkit/didkit_wasm.d.ts +9 -11
- package/dist/didkit/didkit_wasm.js +173 -218
- package/dist/didkit/didkit_wasm_bg.wasm +0 -0
- package/dist/didkit/didkit_wasm_bg.wasm.d.ts +5 -5
- package/dist/didkit-plugin.cjs.development.js +176 -213
- 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 +176 -213
- package/dist/didkit-plugin.esm.js.map +2 -2
- package/dist/didkit_wasm.d.ts +9 -11
- package/dist/didkit_wasm.js +173 -218
- package/dist/didkit_wasm_bg.wasm +0 -0
- package/dist/didkit_wasm_bg.wasm.d.ts +5 -5
- package/package.json +1 -1
@@ -221,26 +221,24 @@ 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
|
225
|
-
readonly __wbindgen_realloc: (a: number, b: number, c: number
|
224
|
+
readonly __wbindgen_malloc: (a: number) => number;
|
225
|
+
readonly __wbindgen_realloc: (a: number, b: number, c: 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__hd6ecfa201cc6ac51: (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
|
229
|
+
readonly __wbindgen_free: (a: number, b: number) => void;
|
230
230
|
readonly __wbindgen_exn_store: (a: number) => void;
|
231
|
-
readonly
|
231
|
+
readonly wasm_bindgen__convert__closures__invoke2_mut__h361d90515cfd8001: (a: number, b: number, c: number, d: number) => void;
|
232
232
|
}
|
233
233
|
|
234
|
-
export type SyncInitInput = BufferSource | WebAssembly.Module;
|
235
234
|
/**
|
236
|
-
*
|
237
|
-
* a precompiled `WebAssembly.Module`.
|
235
|
+
* Synchronously compiles the given `bytes` and instantiates the WebAssembly module.
|
238
236
|
*
|
239
|
-
* @param {
|
237
|
+
* @param {BufferSource} bytes
|
240
238
|
*
|
241
239
|
* @returns {InitOutput}
|
242
240
|
*/
|
243
|
-
export function initSync(
|
241
|
+
export function initSync(bytes: BufferSource): InitOutput;
|
244
242
|
|
245
243
|
/**
|
246
244
|
* If `module_or_path` is {RequestInfo} or {URL}, makes a request and
|
@@ -250,4 +248,4 @@ export function initSync(module: SyncInitInput): InitOutput;
|
|
250
248
|
*
|
251
249
|
* @returns {Promise<InitOutput>}
|
252
250
|
*/
|
253
|
-
export default function
|
251
|
+
export default function init (module_or_path?: InitInput | Promise<InitInput>): Promise<InitOutput>;
|