@learncard/didkit-plugin 1.8.6 → 1.8.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.
Binary file
@@ -1,51 +1,51 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  export const memory: WebAssembly.Memory;
4
- export const getVersion: () => [number, number];
4
+ export const DIDAuth: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
5
+ export const JWKFromTezos: (a: number, b: number) => any;
5
6
  export const clearCache: () => any;
7
+ export const completeDelegateCapability: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
8
+ export const completeInvokeCapability: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
9
+ export const completeIssueCredential: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
10
+ export const completeIssuePresentation: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
11
+ export const contextLoader: (a: number, b: number) => any;
12
+ export const createDagJwe: (a: any, b: number, c: number) => any;
13
+ export const createJwe: (a: number, b: number, c: number, d: number) => any;
14
+ export const decryptDagJwe: (a: number, b: number, c: number, d: number) => any;
15
+ export const decryptJwe: (a: number, b: number, c: number, d: number) => any;
16
+ export const delegateCapability: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
6
17
  export const didResolver: (a: number, b: number, c: number, d: number) => any;
7
- export const resolveDID: (a: number, b: number, c: number, d: number) => any;
18
+ export const didToVerificationMethod: (a: number, b: number) => any;
8
19
  export const generateEd25519Key: () => [number, number, number, number];
9
20
  export const generateEd25519KeyFromBytes: (a: number, b: number) => [number, number, number, number];
10
21
  export const generateSecp256k1Key: () => [number, number, number, number];
11
22
  export const generateSecp256k1KeyFromBytes: (a: number, b: number) => [number, number, number, number];
12
- export const createJwe: (a: number, b: number, c: number, d: number) => any;
13
- export const decryptJwe: (a: number, b: number, c: number, d: number) => any;
14
- export const createDagJwe: (a: any, b: number, c: number) => any;
15
- export const decryptDagJwe: (a: number, b: number, c: number, d: number) => any;
23
+ export const getVersion: () => [number, number];
24
+ export const invokeCapability: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
25
+ export const issueCredential: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
26
+ export const issuePresentation: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
16
27
  export const keyToDID: (a: number, b: number, c: number, d: number) => [number, number, number, number];
17
28
  export const keyToVerificationMethod: (a: number, b: number, c: number, d: number) => any;
18
- export const didToVerificationMethod: (a: number, b: number) => any;
19
- export const issueCredential: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
29
+ export const prepareDelegateCapability: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
30
+ export const prepareInvokeCapability: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
20
31
  export const prepareIssueCredential: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
21
- export const completeIssueCredential: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
22
- export const verifyCredential: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
23
- export const issuePresentation: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
24
32
  export const prepareIssuePresentation: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
25
- export const completeIssuePresentation: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
26
- export const verifyPresentation: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
27
- export const DIDAuth: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
28
- export const JWKFromTezos: (a: number, b: number) => any;
29
- export const delegateCapability: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
30
- export const prepareDelegateCapability: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
31
- export const completeDelegateCapability: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
33
+ export const resolveDID: (a: number, b: number, c: number, d: number) => any;
34
+ export const verifyCredential: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
32
35
  export const verifyDelegation: (a: number, b: number) => any;
33
- export const invokeCapability: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
34
- export const prepareInvokeCapability: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => any;
35
- export const completeInvokeCapability: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
36
- export const verifyInvocationSignature: (a: number, b: number) => any;
37
36
  export const verifyInvocation: (a: number, b: number, c: number, d: number) => any;
38
- export const contextLoader: (a: number, b: number) => any;
39
- export const didkit_error_message: () => number;
37
+ export const verifyInvocationSignature: (a: number, b: number) => any;
38
+ export const verifyPresentation: (a: number, b: number, c: number, d: number, e: number, f: number) => any;
40
39
  export const didkit_error_code: () => number;
40
+ export const didkit_error_message: () => number;
41
41
  export const __wbindgen_malloc: (a: number, b: number) => number;
42
42
  export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
43
43
  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 __wbindgen_free: (a: number, b: number, c: number) => void;
48
47
  export const __externref_table_dealloc: (a: number) => void;
49
- export const closure4184_externref_shim: (a: number, b: number, c: any) => void;
50
- export const closure4586_externref_shim: (a: number, b: number, c: any, d: any) => void;
48
+ export const __wbindgen_free: (a: number, b: number, c: number) => void;
49
+ export const closure4007_externref_shim: (a: number, b: number, c: any) => void;
50
+ export const closure4398_externref_shim: (a: number, b: number, c: any, d: any) => void;
51
51
  export const __wbindgen_start: () => void;
@@ -210,29 +210,37 @@ ${val.stack}`;
210
210
  return className;
211
211
  }
212
212
  __name(debugString, "debugString");
213
- function clearCache() {
214
- const ret = wasm.clearCache();
213
+ function issueCredential(credential, proof_options, key, context_map) {
214
+ const ptr0 = passStringToWasm0(credential, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
215
+ const len0 = WASM_VECTOR_LEN;
216
+ const ptr1 = passStringToWasm0(proof_options, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
217
+ const len1 = WASM_VECTOR_LEN;
218
+ const ptr2 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
219
+ const len2 = WASM_VECTOR_LEN;
220
+ const ptr3 = passStringToWasm0(context_map, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
221
+ const len3 = WASM_VECTOR_LEN;
222
+ const ret = wasm.issueCredential(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
215
223
  return ret;
216
224
  }
217
- __name(clearCache, "clearCache");
218
- function didResolver(did, input_metadata) {
219
- const ptr0 = passStringToWasm0(did, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
225
+ __name(issueCredential, "issueCredential");
226
+ function verifyPresentation(vp, proof_options, context_map) {
227
+ const ptr0 = passStringToWasm0(vp, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
220
228
  const len0 = WASM_VECTOR_LEN;
221
- const ptr1 = passStringToWasm0(input_metadata, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
229
+ const ptr1 = passStringToWasm0(proof_options, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
222
230
  const len1 = WASM_VECTOR_LEN;
223
- const ret = wasm.didResolver(ptr0, len0, ptr1, len1);
231
+ const ptr2 = passStringToWasm0(context_map, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
232
+ const len2 = WASM_VECTOR_LEN;
233
+ const ret = wasm.verifyPresentation(ptr0, len0, ptr1, len1, ptr2, len2);
224
234
  return ret;
225
235
  }
226
- __name(didResolver, "didResolver");
227
- function resolveDID(did, input_metadata) {
228
- const ptr0 = passStringToWasm0(did, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
236
+ __name(verifyPresentation, "verifyPresentation");
237
+ function contextLoader(url) {
238
+ const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
229
239
  const len0 = WASM_VECTOR_LEN;
230
- const ptr1 = passStringToWasm0(input_metadata, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
231
- const len1 = WASM_VECTOR_LEN;
232
- const ret = wasm.resolveDID(ptr0, len0, ptr1, len1);
240
+ const ret = wasm.contextLoader(ptr0, len0);
233
241
  return ret;
234
242
  }
235
- __name(resolveDID, "resolveDID");
243
+ __name(contextLoader, "contextLoader");
236
244
  function takeFromExternrefTable0(idx) {
237
245
  const value = wasm.__wbindgen_export_4.get(idx);
238
246
  wasm.__externref_table_dealloc(idx);
@@ -268,28 +276,6 @@ function generateEd25519KeyFromBytes(bytes) {
268
276
  }
269
277
  }
270
278
  __name(generateEd25519KeyFromBytes, "generateEd25519KeyFromBytes");
271
- function generateSecp256k1KeyFromBytes(bytes) {
272
- let deferred3_0;
273
- let deferred3_1;
274
- try {
275
- const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
276
- const len0 = WASM_VECTOR_LEN;
277
- const ret = wasm.generateSecp256k1KeyFromBytes(ptr0, len0);
278
- var ptr2 = ret[0];
279
- var len2 = ret[1];
280
- if (ret[3]) {
281
- ptr2 = 0;
282
- len2 = 0;
283
- throw takeFromExternrefTable0(ret[2]);
284
- }
285
- deferred3_0 = ptr2;
286
- deferred3_1 = len2;
287
- return getStringFromWasm0(ptr2, len2);
288
- } finally {
289
- wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
290
- }
291
- }
292
- __name(generateSecp256k1KeyFromBytes, "generateSecp256k1KeyFromBytes");
293
279
  function passArrayJsValueToWasm0(array, malloc) {
294
280
  const ptr = malloc(array.length * 4, 4) >>> 0;
295
281
  for (let i = 0; i < array.length; i++) {
@@ -309,22 +295,31 @@ function createJwe(cleartext, recipients) {
309
295
  return ret;
310
296
  }
311
297
  __name(createJwe, "createJwe");
312
- function decryptJwe(jwe, jwks) {
313
- const ptr0 = passStringToWasm0(jwe, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
298
+ function didResolver(did, input_metadata) {
299
+ const ptr0 = passStringToWasm0(did, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
314
300
  const len0 = WASM_VECTOR_LEN;
315
- const ptr1 = passArrayJsValueToWasm0(jwks, wasm.__wbindgen_malloc);
301
+ const ptr1 = passStringToWasm0(input_metadata, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
316
302
  const len1 = WASM_VECTOR_LEN;
317
- const ret = wasm.decryptJwe(ptr0, len0, ptr1, len1);
303
+ const ret = wasm.didResolver(ptr0, len0, ptr1, len1);
318
304
  return ret;
319
305
  }
320
- __name(decryptJwe, "decryptJwe");
321
- function createDagJwe(cleartext, recipients) {
322
- const ptr0 = passArrayJsValueToWasm0(recipients, wasm.__wbindgen_malloc);
306
+ __name(didResolver, "didResolver");
307
+ function keyToVerificationMethod(method_pattern, jwk) {
308
+ const ptr0 = passStringToWasm0(method_pattern, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
323
309
  const len0 = WASM_VECTOR_LEN;
324
- const ret = wasm.createDagJwe(cleartext, ptr0, len0);
310
+ const ptr1 = passStringToWasm0(jwk, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
311
+ const len1 = WASM_VECTOR_LEN;
312
+ const ret = wasm.keyToVerificationMethod(ptr0, len0, ptr1, len1);
325
313
  return ret;
326
314
  }
327
- __name(createDagJwe, "createDagJwe");
315
+ __name(keyToVerificationMethod, "keyToVerificationMethod");
316
+ function didToVerificationMethod(did) {
317
+ const ptr0 = passStringToWasm0(did, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
318
+ const len0 = WASM_VECTOR_LEN;
319
+ const ret = wasm.didToVerificationMethod(ptr0, len0);
320
+ return ret;
321
+ }
322
+ __name(didToVerificationMethod, "didToVerificationMethod");
328
323
  function decryptDagJwe(jwe, jwks) {
329
324
  const ptr0 = passStringToWasm0(jwe, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
330
325
  const len0 = WASM_VECTOR_LEN;
@@ -358,24 +353,37 @@ function keyToDID(method_pattern, jwk) {
358
353
  }
359
354
  }
360
355
  __name(keyToDID, "keyToDID");
361
- function keyToVerificationMethod(method_pattern, jwk) {
362
- const ptr0 = passStringToWasm0(method_pattern, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
356
+ function createDagJwe(cleartext, recipients) {
357
+ const ptr0 = passArrayJsValueToWasm0(recipients, wasm.__wbindgen_malloc);
363
358
  const len0 = WASM_VECTOR_LEN;
364
- const ptr1 = passStringToWasm0(jwk, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
365
- const len1 = WASM_VECTOR_LEN;
366
- const ret = wasm.keyToVerificationMethod(ptr0, len0, ptr1, len1);
359
+ const ret = wasm.createDagJwe(cleartext, ptr0, len0);
367
360
  return ret;
368
361
  }
369
- __name(keyToVerificationMethod, "keyToVerificationMethod");
370
- function didToVerificationMethod(did) {
371
- const ptr0 = passStringToWasm0(did, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
372
- const len0 = WASM_VECTOR_LEN;
373
- const ret = wasm.didToVerificationMethod(ptr0, len0);
374
- return ret;
362
+ __name(createDagJwe, "createDagJwe");
363
+ function generateSecp256k1KeyFromBytes(bytes) {
364
+ let deferred3_0;
365
+ let deferred3_1;
366
+ try {
367
+ const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
368
+ const len0 = WASM_VECTOR_LEN;
369
+ const ret = wasm.generateSecp256k1KeyFromBytes(ptr0, len0);
370
+ var ptr2 = ret[0];
371
+ var len2 = ret[1];
372
+ if (ret[3]) {
373
+ ptr2 = 0;
374
+ len2 = 0;
375
+ throw takeFromExternrefTable0(ret[2]);
376
+ }
377
+ deferred3_0 = ptr2;
378
+ deferred3_1 = len2;
379
+ return getStringFromWasm0(ptr2, len2);
380
+ } finally {
381
+ wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
382
+ }
375
383
  }
376
- __name(didToVerificationMethod, "didToVerificationMethod");
377
- function issueCredential(credential, proof_options, key, context_map) {
378
- const ptr0 = passStringToWasm0(credential, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
384
+ __name(generateSecp256k1KeyFromBytes, "generateSecp256k1KeyFromBytes");
385
+ function issuePresentation(presentation, proof_options, key, context_map) {
386
+ const ptr0 = passStringToWasm0(presentation, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
379
387
  const len0 = WASM_VECTOR_LEN;
380
388
  const ptr1 = passStringToWasm0(proof_options, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
381
389
  const len1 = WASM_VECTOR_LEN;
@@ -383,60 +391,52 @@ function issueCredential(credential, proof_options, key, context_map) {
383
391
  const len2 = WASM_VECTOR_LEN;
384
392
  const ptr3 = passStringToWasm0(context_map, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
385
393
  const len3 = WASM_VECTOR_LEN;
386
- const ret = wasm.issueCredential(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
394
+ const ret = wasm.issuePresentation(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
387
395
  return ret;
388
396
  }
389
- __name(issueCredential, "issueCredential");
390
- function verifyCredential(vc, proof_options, context_map) {
391
- const ptr0 = passStringToWasm0(vc, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
397
+ __name(issuePresentation, "issuePresentation");
398
+ function resolveDID(did, input_metadata) {
399
+ const ptr0 = passStringToWasm0(did, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
392
400
  const len0 = WASM_VECTOR_LEN;
393
- const ptr1 = passStringToWasm0(proof_options, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
401
+ const ptr1 = passStringToWasm0(input_metadata, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
394
402
  const len1 = WASM_VECTOR_LEN;
395
- const ptr2 = passStringToWasm0(context_map, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
396
- const len2 = WASM_VECTOR_LEN;
397
- const ret = wasm.verifyCredential(ptr0, len0, ptr1, len1, ptr2, len2);
403
+ const ret = wasm.resolveDID(ptr0, len0, ptr1, len1);
398
404
  return ret;
399
405
  }
400
- __name(verifyCredential, "verifyCredential");
401
- function issuePresentation(presentation, proof_options, key, context_map) {
402
- const ptr0 = passStringToWasm0(presentation, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
406
+ __name(resolveDID, "resolveDID");
407
+ function decryptJwe(jwe, jwks) {
408
+ const ptr0 = passStringToWasm0(jwe, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
403
409
  const len0 = WASM_VECTOR_LEN;
404
- const ptr1 = passStringToWasm0(proof_options, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
410
+ const ptr1 = passArrayJsValueToWasm0(jwks, wasm.__wbindgen_malloc);
405
411
  const len1 = WASM_VECTOR_LEN;
406
- const ptr2 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
407
- const len2 = WASM_VECTOR_LEN;
408
- const ptr3 = passStringToWasm0(context_map, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
409
- const len3 = WASM_VECTOR_LEN;
410
- const ret = wasm.issuePresentation(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
412
+ const ret = wasm.decryptJwe(ptr0, len0, ptr1, len1);
411
413
  return ret;
412
414
  }
413
- __name(issuePresentation, "issuePresentation");
414
- function verifyPresentation(vp, proof_options, context_map) {
415
- const ptr0 = passStringToWasm0(vp, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
415
+ __name(decryptJwe, "decryptJwe");
416
+ function verifyCredential(vc, proof_options, context_map) {
417
+ const ptr0 = passStringToWasm0(vc, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
416
418
  const len0 = WASM_VECTOR_LEN;
417
419
  const ptr1 = passStringToWasm0(proof_options, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
418
420
  const len1 = WASM_VECTOR_LEN;
419
421
  const ptr2 = passStringToWasm0(context_map, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
420
422
  const len2 = WASM_VECTOR_LEN;
421
- const ret = wasm.verifyPresentation(ptr0, len0, ptr1, len1, ptr2, len2);
423
+ const ret = wasm.verifyCredential(ptr0, len0, ptr1, len1, ptr2, len2);
422
424
  return ret;
423
425
  }
424
- __name(verifyPresentation, "verifyPresentation");
425
- function contextLoader(url) {
426
- const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
427
- const len0 = WASM_VECTOR_LEN;
428
- const ret = wasm.contextLoader(ptr0, len0);
426
+ __name(verifyCredential, "verifyCredential");
427
+ function clearCache() {
428
+ const ret = wasm.clearCache();
429
429
  return ret;
430
430
  }
431
- __name(contextLoader, "contextLoader");
431
+ __name(clearCache, "clearCache");
432
432
  function __wbg_adapter_54(arg0, arg1, arg2) {
433
- wasm.closure4184_externref_shim(arg0, arg1, arg2);
433
+ wasm.closure4007_externref_shim(arg0, arg1, arg2);
434
434
  }
435
435
  __name(__wbg_adapter_54, "__wbg_adapter_54");
436
- function __wbg_adapter_222(arg0, arg1, arg2, arg3) {
437
- wasm.closure4586_externref_shim(arg0, arg1, arg2, arg3);
436
+ function __wbg_adapter_200(arg0, arg1, arg2, arg3) {
437
+ wasm.closure4398_externref_shim(arg0, arg1, arg2, arg3);
438
438
  }
439
- __name(__wbg_adapter_222, "__wbg_adapter_222");
439
+ __name(__wbg_adapter_200, "__wbg_adapter_200");
440
440
  var __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
441
441
  var __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
442
442
  async function __wbg_load(module2, imports) {
@@ -508,7 +508,7 @@ function __wbg_get_imports() {
508
508
  const ret = arg0.crypto;
509
509
  return ret;
510
510
  };
511
- imports.wbg.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
511
+ imports.wbg.__wbg_crypto_ed58b8e10a292839 = function(arg0) {
512
512
  const ret = arg0.crypto;
513
513
  return ret;
514
514
  };
@@ -535,16 +535,11 @@ function __wbg_get_imports() {
535
535
  imports.wbg.__wbg_getRandomValues_371e7ade8bd92088 = function(arg0, arg1) {
536
536
  arg0.getRandomValues(arg1);
537
537
  };
538
- imports.wbg.__wbg_getRandomValues_3c9c0d586e575a16 = function() {
539
- return handleError(function(arg0, arg1) {
540
- globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
541
- }, arguments);
542
- };
543
538
  imports.wbg.__wbg_getRandomValues_7dfe5bd1b67c9ca1 = function(arg0) {
544
539
  const ret = arg0.getRandomValues;
545
540
  return ret;
546
541
  };
547
- imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() {
542
+ imports.wbg.__wbg_getRandomValues_bcb4912f16000dc4 = function() {
548
543
  return handleError(function(arg0, arg1) {
549
544
  arg0.getRandomValues(arg1);
550
545
  }, arguments);
@@ -637,7 +632,7 @@ function __wbg_get_imports() {
637
632
  const ret = arg0.length;
638
633
  return ret;
639
634
  };
640
- imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
635
+ imports.wbg.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
641
636
  const ret = arg0.msCrypto;
642
637
  return ret;
643
638
  };
@@ -662,7 +657,7 @@ function __wbg_get_imports() {
662
657
  const a = state0.a;
663
658
  state0.a = 0;
664
659
  try {
665
- return __wbg_adapter_222(a, state0.b, arg02, arg12);
660
+ return __wbg_adapter_200(a, state0.b, arg02, arg12);
666
661
  } finally {
667
662
  state0.a = a;
668
663
  }
@@ -723,7 +718,7 @@ function __wbg_get_imports() {
723
718
  return ret;
724
719
  }, arguments);
725
720
  };
726
- imports.wbg.__wbg_node_905d3e251edff8a2 = function(arg0) {
721
+ imports.wbg.__wbg_node_02999533c4ea02e3 = function(arg0) {
727
722
  const ret = arg0.node;
728
723
  return ret;
729
724
  };
@@ -731,7 +726,7 @@ function __wbg_get_imports() {
731
726
  const ret = arg0.now();
732
727
  return ret;
733
728
  };
734
- imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
729
+ imports.wbg.__wbg_process_5c1d670bc53614b8 = function(arg0) {
735
730
  const ret = arg0.process;
736
731
  return ret;
737
732
  };
@@ -749,7 +744,7 @@ function __wbg_get_imports() {
749
744
  imports.wbg.__wbg_randomFillSync_994ac6d9ade7a695 = function(arg0, arg1, arg2) {
750
745
  arg0.randomFillSync(getArrayU8FromWasm0(arg1, arg2));
751
746
  };
752
- imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() {
747
+ imports.wbg.__wbg_randomFillSync_ab2cfe79ebbf2740 = function() {
753
748
  return handleError(function(arg0, arg1) {
754
749
  arg0.randomFillSync(arg1);
755
750
  }, arguments);
@@ -758,7 +753,7 @@ function __wbg_get_imports() {
758
753
  const ret = arg0.require(getStringFromWasm0(arg1, arg2));
759
754
  return ret;
760
755
  };
761
- imports.wbg.__wbg_require_60cc747a6bc5215a = function() {
756
+ imports.wbg.__wbg_require_79b1e9274cde3c87 = function() {
762
757
  return handleError(function() {
763
758
  const ret = module.require;
764
759
  return ret;
@@ -868,7 +863,7 @@ function __wbg_get_imports() {
868
863
  const ret = arg0.value;
869
864
  return ret;
870
865
  };
871
- imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
866
+ imports.wbg.__wbg_versions_c71aa1626a93e0a1 = function(arg0) {
872
867
  const ret = arg0.versions;
873
868
  return ret;
874
869
  };
@@ -904,8 +899,8 @@ function __wbg_get_imports() {
904
899
  const ret = false;
905
900
  return ret;
906
901
  };
907
- imports.wbg.__wbindgen_closure_wrapper12250 = function(arg0, arg1, arg2) {
908
- const ret = makeMutClosure(arg0, arg1, 4185, __wbg_adapter_54);
902
+ imports.wbg.__wbindgen_closure_wrapper12039 = function(arg0, arg1, arg2) {
903
+ const ret = makeMutClosure(arg0, arg1, 4008, __wbg_adapter_54);
909
904
  return ret;
910
905
  };
911
906
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
@@ -1036,7 +1031,7 @@ var didkit_wasm_default = __wbg_init;
1036
1031
  // src/didkit/index.ts
1037
1032
  var initialized = false;
1038
1033
  var generating = false;
1039
- var init = /* @__PURE__ */ __name(async (arg = "https://cdn.filestackcontent.com/HReKwBTm2Wha4Wlo4uwe") => {
1034
+ var init = /* @__PURE__ */ __name(async (arg = "https://cdn.filestackcontent.com/Vhyjqv0NTnmViw4TLmlj") => {
1040
1035
  while (generating) await new Promise((res) => setTimeout(res, 250));
1041
1036
  if (initialized) return;
1042
1037
  try {