@learncard/didkit-plugin 1.0.6 → 1.0.8

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.
@@ -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, b: number) => number;
225
- readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => 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 _dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h7955a8bde413354d: (a: number, b: number, c: number) => void;
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, c: number) => void;
229
+ readonly __wbindgen_free: (a: number, b: number) => void;
230
230
  readonly __wbindgen_exn_store: (a: number) => void;
231
- readonly wasm_bindgen__convert__closures__invoke2_mut__h787c66a4f6d2c392: (a: number, b: number, c: number, d: number) => void;
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
- * Instantiates the given `module`, which can either be bytes or
237
- * a precompiled `WebAssembly.Module`.
235
+ * Synchronously compiles the given `bytes` and instantiates the WebAssembly module.
238
236
  *
239
- * @param {SyncInitInput} module
237
+ * @param {BufferSource} bytes
240
238
  *
241
239
  * @returns {InitOutput}
242
240
  */
243
- export function initSync(module: SyncInitInput): InitOutput;
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 __wbg_init (module_or_path?: InitInput | Promise<InitInput>): Promise<InitOutput>;
251
+ export default function init (module_or_path?: InitInput | Promise<InitInput>): Promise<InitOutput>;