@learncard/didkit-plugin 1.5.17 → 1.5.19

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.
@@ -85,8 +85,8 @@ export interface InitOutput {
85
85
  readonly __wbindgen_export_5: WebAssembly.Table;
86
86
  readonly __wbindgen_free: (a: number, b: number, c: number) => void;
87
87
  readonly __externref_table_dealloc: (a: number) => void;
88
- readonly closure4130_externref_shim: (a: number, b: number, c: any) => void;
89
- readonly closure4531_externref_shim: (a: number, b: number, c: any, d: any) => void;
88
+ readonly closure4177_externref_shim: (a: number, b: number, c: any) => void;
89
+ readonly closure4579_externref_shim: (a: number, b: number, c: any, d: any) => void;
90
90
  readonly __wbindgen_start: () => void;
91
91
  }
92
92
 
@@ -810,11 +810,11 @@ export function contextLoader(url) {
810
810
  }
811
811
 
812
812
  function __wbg_adapter_52(arg0, arg1, arg2) {
813
- wasm.closure4130_externref_shim(arg0, arg1, arg2);
813
+ wasm.closure4177_externref_shim(arg0, arg1, arg2);
814
814
  }
815
815
 
816
- function __wbg_adapter_212(arg0, arg1, arg2, arg3) {
817
- wasm.closure4531_externref_shim(arg0, arg1, arg2, arg3);
816
+ function __wbg_adapter_214(arg0, arg1, arg2, arg3) {
817
+ wasm.closure4579_externref_shim(arg0, arg1, arg2, arg3);
818
818
  }
819
819
 
820
820
  const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
@@ -881,7 +881,7 @@ function __wbg_get_imports() {
881
881
  const ret = arg0.crypto;
882
882
  return ret;
883
883
  };
884
- imports.wbg.__wbg_crypto_ed58b8e10a292839 = function(arg0) {
884
+ imports.wbg.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
885
885
  const ret = arg0.crypto;
886
886
  return ret;
887
887
  };
@@ -908,11 +908,14 @@ function __wbg_get_imports() {
908
908
  imports.wbg.__wbg_getRandomValues_371e7ade8bd92088 = function(arg0, arg1) {
909
909
  arg0.getRandomValues(arg1);
910
910
  };
911
+ imports.wbg.__wbg_getRandomValues_3c9c0d586e575a16 = function() { return handleError(function (arg0, arg1) {
912
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
913
+ }, arguments) };
911
914
  imports.wbg.__wbg_getRandomValues_7dfe5bd1b67c9ca1 = function(arg0) {
912
915
  const ret = arg0.getRandomValues;
913
916
  return ret;
914
917
  };
915
- imports.wbg.__wbg_getRandomValues_bcb4912f16000dc4 = function() { return handleError(function (arg0, arg1) {
918
+ imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() { return handleError(function (arg0, arg1) {
916
919
  arg0.getRandomValues(arg1);
917
920
  }, arguments) };
918
921
  imports.wbg.__wbg_getTime_46267b1c24877e30 = function(arg0) {
@@ -995,7 +998,7 @@ function __wbg_get_imports() {
995
998
  const ret = arg0.length;
996
999
  return ret;
997
1000
  };
998
- imports.wbg.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
1001
+ imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
999
1002
  const ret = arg0.msCrypto;
1000
1003
  return ret;
1001
1004
  };
@@ -1018,7 +1021,7 @@ function __wbg_get_imports() {
1018
1021
  const a = state0.a;
1019
1022
  state0.a = 0;
1020
1023
  try {
1021
- return __wbg_adapter_212(a, state0.b, arg0, arg1);
1024
+ return __wbg_adapter_214(a, state0.b, arg0, arg1);
1022
1025
  } finally {
1023
1026
  state0.a = a;
1024
1027
  }
@@ -1073,7 +1076,7 @@ function __wbg_get_imports() {
1073
1076
  const ret = arg0.next();
1074
1077
  return ret;
1075
1078
  }, arguments) };
1076
- imports.wbg.__wbg_node_02999533c4ea02e3 = function(arg0) {
1079
+ imports.wbg.__wbg_node_905d3e251edff8a2 = function(arg0) {
1077
1080
  const ret = arg0.node;
1078
1081
  return ret;
1079
1082
  };
@@ -1081,7 +1084,7 @@ function __wbg_get_imports() {
1081
1084
  const ret = arg0.now();
1082
1085
  return ret;
1083
1086
  };
1084
- imports.wbg.__wbg_process_5c1d670bc53614b8 = function(arg0) {
1087
+ imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
1085
1088
  const ret = arg0.process;
1086
1089
  return ret;
1087
1090
  };
@@ -1095,14 +1098,14 @@ function __wbg_get_imports() {
1095
1098
  imports.wbg.__wbg_randomFillSync_994ac6d9ade7a695 = function(arg0, arg1, arg2) {
1096
1099
  arg0.randomFillSync(getArrayU8FromWasm0(arg1, arg2));
1097
1100
  };
1098
- imports.wbg.__wbg_randomFillSync_ab2cfe79ebbf2740 = function() { return handleError(function (arg0, arg1) {
1101
+ imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() { return handleError(function (arg0, arg1) {
1099
1102
  arg0.randomFillSync(arg1);
1100
1103
  }, arguments) };
1101
1104
  imports.wbg.__wbg_require_0d6aeaec3c042c88 = function(arg0, arg1, arg2) {
1102
1105
  const ret = arg0.require(getStringFromWasm0(arg1, arg2));
1103
1106
  return ret;
1104
1107
  };
1105
- imports.wbg.__wbg_require_79b1e9274cde3c87 = function() { return handleError(function () {
1108
+ imports.wbg.__wbg_require_60cc747a6bc5215a = function() { return handleError(function () {
1106
1109
  const ret = module.require;
1107
1110
  return ret;
1108
1111
  }, arguments) };
@@ -1200,7 +1203,7 @@ function __wbg_get_imports() {
1200
1203
  const ret = arg0.value;
1201
1204
  return ret;
1202
1205
  };
1203
- imports.wbg.__wbg_versions_c71aa1626a93e0a1 = function(arg0) {
1206
+ imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
1204
1207
  const ret = arg0.versions;
1205
1208
  return ret;
1206
1209
  };
@@ -1236,8 +1239,8 @@ function __wbg_get_imports() {
1236
1239
  const ret = false;
1237
1240
  return ret;
1238
1241
  };
1239
- imports.wbg.__wbindgen_closure_wrapper12542 = function(arg0, arg1, arg2) {
1240
- const ret = makeMutClosure(arg0, arg1, 4131, __wbg_adapter_52);
1242
+ imports.wbg.__wbindgen_closure_wrapper12244 = function(arg0, arg1, arg2) {
1243
+ const ret = makeMutClosure(arg0, arg1, 4178, __wbg_adapter_52);
1241
1244
  return ret;
1242
1245
  };
1243
1246
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
Binary file
@@ -46,6 +46,6 @@ export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) =>
46
46
  export const __wbindgen_export_5: WebAssembly.Table;
47
47
  export const __wbindgen_free: (a: number, b: number, c: number) => void;
48
48
  export const __externref_table_dealloc: (a: number) => void;
49
- export const closure4130_externref_shim: (a: number, b: number, c: any) => void;
50
- export const closure4531_externref_shim: (a: number, b: number, c: any, d: any) => void;
49
+ export const closure4177_externref_shim: (a: number, b: number, c: any) => void;
50
+ export const closure4579_externref_shim: (a: number, b: number, c: any, d: any) => void;
51
51
  export const __wbindgen_start: () => void;
@@ -429,13 +429,13 @@ function contextLoader(url) {
429
429
  }
430
430
  __name(contextLoader, "contextLoader");
431
431
  function __wbg_adapter_52(arg0, arg1, arg2) {
432
- wasm.closure4130_externref_shim(arg0, arg1, arg2);
432
+ wasm.closure4177_externref_shim(arg0, arg1, arg2);
433
433
  }
434
434
  __name(__wbg_adapter_52, "__wbg_adapter_52");
435
- function __wbg_adapter_212(arg0, arg1, arg2, arg3) {
436
- wasm.closure4531_externref_shim(arg0, arg1, arg2, arg3);
435
+ function __wbg_adapter_214(arg0, arg1, arg2, arg3) {
436
+ wasm.closure4579_externref_shim(arg0, arg1, arg2, arg3);
437
437
  }
438
- __name(__wbg_adapter_212, "__wbg_adapter_212");
438
+ __name(__wbg_adapter_214, "__wbg_adapter_214");
439
439
  var __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
440
440
  var __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
441
441
  async function __wbg_load(module2, imports) {
@@ -500,7 +500,7 @@ function __wbg_get_imports() {
500
500
  const ret = arg0.crypto;
501
501
  return ret;
502
502
  };
503
- imports.wbg.__wbg_crypto_ed58b8e10a292839 = function(arg0) {
503
+ imports.wbg.__wbg_crypto_574e78ad8b13b65f = function(arg0) {
504
504
  const ret = arg0.crypto;
505
505
  return ret;
506
506
  };
@@ -527,11 +527,16 @@ function __wbg_get_imports() {
527
527
  imports.wbg.__wbg_getRandomValues_371e7ade8bd92088 = function(arg0, arg1) {
528
528
  arg0.getRandomValues(arg1);
529
529
  };
530
+ imports.wbg.__wbg_getRandomValues_3c9c0d586e575a16 = function() {
531
+ return handleError(function(arg0, arg1) {
532
+ globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
533
+ }, arguments);
534
+ };
530
535
  imports.wbg.__wbg_getRandomValues_7dfe5bd1b67c9ca1 = function(arg0) {
531
536
  const ret = arg0.getRandomValues;
532
537
  return ret;
533
538
  };
534
- imports.wbg.__wbg_getRandomValues_bcb4912f16000dc4 = function() {
539
+ imports.wbg.__wbg_getRandomValues_b8f5dbd5f3995a9e = function() {
535
540
  return handleError(function(arg0, arg1) {
536
541
  arg0.getRandomValues(arg1);
537
542
  }, arguments);
@@ -620,7 +625,7 @@ function __wbg_get_imports() {
620
625
  const ret = arg0.length;
621
626
  return ret;
622
627
  };
623
- imports.wbg.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
628
+ imports.wbg.__wbg_msCrypto_a61aeb35a24c1329 = function(arg0) {
624
629
  const ret = arg0.msCrypto;
625
630
  return ret;
626
631
  };
@@ -645,7 +650,7 @@ function __wbg_get_imports() {
645
650
  const a = state0.a;
646
651
  state0.a = 0;
647
652
  try {
648
- return __wbg_adapter_212(a, state0.b, arg02, arg12);
653
+ return __wbg_adapter_214(a, state0.b, arg02, arg12);
649
654
  } finally {
650
655
  state0.a = a;
651
656
  }
@@ -706,7 +711,7 @@ function __wbg_get_imports() {
706
711
  return ret;
707
712
  }, arguments);
708
713
  };
709
- imports.wbg.__wbg_node_02999533c4ea02e3 = function(arg0) {
714
+ imports.wbg.__wbg_node_905d3e251edff8a2 = function(arg0) {
710
715
  const ret = arg0.node;
711
716
  return ret;
712
717
  };
@@ -714,7 +719,7 @@ function __wbg_get_imports() {
714
719
  const ret = arg0.now();
715
720
  return ret;
716
721
  };
717
- imports.wbg.__wbg_process_5c1d670bc53614b8 = function(arg0) {
722
+ imports.wbg.__wbg_process_dc0fbacc7c1c06f7 = function(arg0) {
718
723
  const ret = arg0.process;
719
724
  return ret;
720
725
  };
@@ -728,7 +733,7 @@ function __wbg_get_imports() {
728
733
  imports.wbg.__wbg_randomFillSync_994ac6d9ade7a695 = function(arg0, arg1, arg2) {
729
734
  arg0.randomFillSync(getArrayU8FromWasm0(arg1, arg2));
730
735
  };
731
- imports.wbg.__wbg_randomFillSync_ab2cfe79ebbf2740 = function() {
736
+ imports.wbg.__wbg_randomFillSync_ac0988aba3254290 = function() {
732
737
  return handleError(function(arg0, arg1) {
733
738
  arg0.randomFillSync(arg1);
734
739
  }, arguments);
@@ -737,7 +742,7 @@ function __wbg_get_imports() {
737
742
  const ret = arg0.require(getStringFromWasm0(arg1, arg2));
738
743
  return ret;
739
744
  };
740
- imports.wbg.__wbg_require_79b1e9274cde3c87 = function() {
745
+ imports.wbg.__wbg_require_60cc747a6bc5215a = function() {
741
746
  return handleError(function() {
742
747
  const ret = module.require;
743
748
  return ret;
@@ -841,7 +846,7 @@ function __wbg_get_imports() {
841
846
  const ret = arg0.value;
842
847
  return ret;
843
848
  };
844
- imports.wbg.__wbg_versions_c71aa1626a93e0a1 = function(arg0) {
849
+ imports.wbg.__wbg_versions_c01dfd4722a88165 = function(arg0) {
845
850
  const ret = arg0.versions;
846
851
  return ret;
847
852
  };
@@ -877,8 +882,8 @@ function __wbg_get_imports() {
877
882
  const ret = false;
878
883
  return ret;
879
884
  };
880
- imports.wbg.__wbindgen_closure_wrapper12542 = function(arg0, arg1, arg2) {
881
- const ret = makeMutClosure(arg0, arg1, 4131, __wbg_adapter_52);
885
+ imports.wbg.__wbindgen_closure_wrapper12244 = function(arg0, arg1, arg2) {
886
+ const ret = makeMutClosure(arg0, arg1, 4178, __wbg_adapter_52);
882
887
  return ret;
883
888
  };
884
889
  imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
@@ -1006,7 +1011,7 @@ var didkit_wasm_default = __wbg_init;
1006
1011
  // src/didkit/index.ts
1007
1012
  var initialized = false;
1008
1013
  var generating = false;
1009
- var init = /* @__PURE__ */ __name(async (arg = "https://cdn.filestackcontent.com/uJ4ZnJoLRyuHyLgrSDIr") => {
1014
+ var init = /* @__PURE__ */ __name(async (arg = "https://cdn.filestackcontent.com/PgdfQggQBqLIAuZWQbKg") => {
1010
1015
  while (generating)
1011
1016
  await new Promise((res) => setTimeout(res, 250));
1012
1017
  if (initialized)