@learncard/didkit-plugin 1.5.21 → 1.5.23
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.
- package/dist/didkit/didkit_wasm.d.ts +5 -5
- package/dist/didkit/didkit_wasm.js +66 -43
- 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 +73 -48
- 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 +3 -3
- package/dist/didkit-plugin.esm.js +73 -48
- package/dist/didkit-plugin.esm.js.map +2 -2
- package/dist/didkit_wasm.d.ts +5 -5
- package/dist/didkit_wasm.js +66 -43
- package/dist/didkit_wasm_bg.wasm +0 -0
- package/dist/didkit_wasm_bg.wasm.d.ts +5 -5
- package/package.json +3 -3
@@ -77,16 +77,16 @@ export interface InitOutput {
|
|
77
77
|
readonly contextLoader: (a: number, b: number) => any;
|
78
78
|
readonly didkit_error_message: () => number;
|
79
79
|
readonly didkit_error_code: () => number;
|
80
|
-
readonly __wbindgen_exn_store: (a: number) => void;
|
81
|
-
readonly __externref_table_alloc: () => number;
|
82
|
-
readonly __wbindgen_export_2: WebAssembly.Table;
|
83
80
|
readonly __wbindgen_malloc: (a: number, b: number) => number;
|
84
81
|
readonly __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
82
|
+
readonly __wbindgen_exn_store: (a: number) => void;
|
83
|
+
readonly __externref_table_alloc: () => number;
|
84
|
+
readonly __wbindgen_export_4: WebAssembly.Table;
|
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
|
89
|
-
readonly
|
88
|
+
readonly closure4174_externref_shim: (a: number, b: number, c: any) => void;
|
89
|
+
readonly closure4576_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
90
90
|
readonly __wbindgen_start: () => void;
|
91
91
|
}
|
92
92
|
|
@@ -1,8 +1,6 @@
|
|
1
1
|
let wasm;
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
|
3
|
+
let WASM_VECTOR_LEN = 0;
|
6
4
|
|
7
5
|
let cachedUint8ArrayMemory0 = null;
|
8
6
|
|
@@ -13,37 +11,6 @@ function getUint8ArrayMemory0() {
|
|
13
11
|
return cachedUint8ArrayMemory0;
|
14
12
|
}
|
15
13
|
|
16
|
-
function getStringFromWasm0(ptr, len) {
|
17
|
-
ptr = ptr >>> 0;
|
18
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
19
|
-
}
|
20
|
-
|
21
|
-
function addToExternrefTable0(obj) {
|
22
|
-
const idx = wasm.__externref_table_alloc();
|
23
|
-
wasm.__wbindgen_export_2.set(idx, obj);
|
24
|
-
return idx;
|
25
|
-
}
|
26
|
-
|
27
|
-
function handleError(f, args) {
|
28
|
-
try {
|
29
|
-
return f.apply(this, args);
|
30
|
-
} catch (e) {
|
31
|
-
const idx = addToExternrefTable0(e);
|
32
|
-
wasm.__wbindgen_exn_store(idx);
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
function getArrayU8FromWasm0(ptr, len) {
|
37
|
-
ptr = ptr >>> 0;
|
38
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
39
|
-
}
|
40
|
-
|
41
|
-
function isLikeNone(x) {
|
42
|
-
return x === undefined || x === null;
|
43
|
-
}
|
44
|
-
|
45
|
-
let WASM_VECTOR_LEN = 0;
|
46
|
-
|
47
14
|
const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
|
48
15
|
|
49
16
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
@@ -107,6 +74,39 @@ function getDataViewMemory0() {
|
|
107
74
|
return cachedDataViewMemory0;
|
108
75
|
}
|
109
76
|
|
77
|
+
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
|
78
|
+
|
79
|
+
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
|
80
|
+
|
81
|
+
function getStringFromWasm0(ptr, len) {
|
82
|
+
ptr = ptr >>> 0;
|
83
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
84
|
+
}
|
85
|
+
|
86
|
+
function addToExternrefTable0(obj) {
|
87
|
+
const idx = wasm.__externref_table_alloc();
|
88
|
+
wasm.__wbindgen_export_4.set(idx, obj);
|
89
|
+
return idx;
|
90
|
+
}
|
91
|
+
|
92
|
+
function handleError(f, args) {
|
93
|
+
try {
|
94
|
+
return f.apply(this, args);
|
95
|
+
} catch (e) {
|
96
|
+
const idx = addToExternrefTable0(e);
|
97
|
+
wasm.__wbindgen_exn_store(idx);
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
function getArrayU8FromWasm0(ptr, len) {
|
102
|
+
ptr = ptr >>> 0;
|
103
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
104
|
+
}
|
105
|
+
|
106
|
+
function isLikeNone(x) {
|
107
|
+
return x === undefined || x === null;
|
108
|
+
}
|
109
|
+
|
110
110
|
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
111
111
|
? { register: () => {}, unregister: () => {} }
|
112
112
|
: new FinalizationRegistry(state => {
|
@@ -255,7 +255,7 @@ export function resolveDID(did, input_metadata) {
|
|
255
255
|
}
|
256
256
|
|
257
257
|
function takeFromExternrefTable0(idx) {
|
258
|
-
const value = wasm.
|
258
|
+
const value = wasm.__wbindgen_export_4.get(idx);
|
259
259
|
wasm.__externref_table_dealloc(idx);
|
260
260
|
return value;
|
261
261
|
}
|
@@ -809,12 +809,12 @@ export function contextLoader(url) {
|
|
809
809
|
return ret;
|
810
810
|
}
|
811
811
|
|
812
|
-
function
|
813
|
-
wasm.
|
812
|
+
function __wbg_adapter_54(arg0, arg1, arg2) {
|
813
|
+
wasm.closure4174_externref_shim(arg0, arg1, arg2);
|
814
814
|
}
|
815
815
|
|
816
|
-
function
|
817
|
-
wasm.
|
816
|
+
function __wbg_adapter_222(arg0, arg1, arg2, arg3) {
|
817
|
+
wasm.closure4576_externref_shim(arg0, arg1, arg2, arg3);
|
818
818
|
}
|
819
819
|
|
820
820
|
const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
@@ -855,6 +855,13 @@ async function __wbg_load(module, imports) {
|
|
855
855
|
function __wbg_get_imports() {
|
856
856
|
const imports = {};
|
857
857
|
imports.wbg = {};
|
858
|
+
imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
859
|
+
const ret = String(arg1);
|
860
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
861
|
+
const len1 = WASM_VECTOR_LEN;
|
862
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
863
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
864
|
+
};
|
858
865
|
imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
|
859
866
|
arg0.abort();
|
860
867
|
};
|
@@ -990,6 +997,10 @@ function __wbg_get_imports() {
|
|
990
997
|
const ret = Symbol.iterator;
|
991
998
|
return ret;
|
992
999
|
};
|
1000
|
+
imports.wbg.__wbg_keys_5c77a08ddc2fb8a6 = function(arg0) {
|
1001
|
+
const ret = Object.keys(arg0);
|
1002
|
+
return ret;
|
1003
|
+
};
|
993
1004
|
imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
|
994
1005
|
const ret = arg0.length;
|
995
1006
|
return ret;
|
@@ -1021,7 +1032,7 @@ function __wbg_get_imports() {
|
|
1021
1032
|
const a = state0.a;
|
1022
1033
|
state0.a = 0;
|
1023
1034
|
try {
|
1024
|
-
return
|
1035
|
+
return __wbg_adapter_222(a, state0.b, arg0, arg1);
|
1025
1036
|
} finally {
|
1026
1037
|
state0.a = a;
|
1027
1038
|
}
|
@@ -1088,6 +1099,10 @@ function __wbg_get_imports() {
|
|
1088
1099
|
const ret = arg0.process;
|
1089
1100
|
return ret;
|
1090
1101
|
};
|
1102
|
+
imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
|
1103
|
+
const ret = arg0.push(arg1);
|
1104
|
+
return ret;
|
1105
|
+
};
|
1091
1106
|
imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
|
1092
1107
|
queueMicrotask(arg0);
|
1093
1108
|
};
|
@@ -1130,6 +1145,10 @@ function __wbg_get_imports() {
|
|
1130
1145
|
const ret = arg0.set(arg1, arg2);
|
1131
1146
|
return ret;
|
1132
1147
|
};
|
1148
|
+
imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() { return handleError(function (arg0, arg1, arg2) {
|
1149
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
1150
|
+
return ret;
|
1151
|
+
}, arguments) };
|
1133
1152
|
imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
|
1134
1153
|
arg0.body = arg1;
|
1135
1154
|
};
|
@@ -1239,8 +1258,8 @@ function __wbg_get_imports() {
|
|
1239
1258
|
const ret = false;
|
1240
1259
|
return ret;
|
1241
1260
|
};
|
1242
|
-
imports.wbg.
|
1243
|
-
const ret = makeMutClosure(arg0, arg1,
|
1261
|
+
imports.wbg.__wbindgen_closure_wrapper12252 = function(arg0, arg1, arg2) {
|
1262
|
+
const ret = makeMutClosure(arg0, arg1, 4175, __wbg_adapter_54);
|
1244
1263
|
return ret;
|
1245
1264
|
};
|
1246
1265
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
@@ -1259,7 +1278,7 @@ function __wbg_get_imports() {
|
|
1259
1278
|
return ret;
|
1260
1279
|
};
|
1261
1280
|
imports.wbg.__wbindgen_init_externref_table = function() {
|
1262
|
-
const table = wasm.
|
1281
|
+
const table = wasm.__wbindgen_export_4;
|
1263
1282
|
const offset = table.grow(4);
|
1264
1283
|
table.set(0, undefined);
|
1265
1284
|
table.set(offset + 0, undefined);
|
@@ -1276,6 +1295,10 @@ function __wbg_get_imports() {
|
|
1276
1295
|
const ret = typeof(arg0) === 'function';
|
1277
1296
|
return ret;
|
1278
1297
|
};
|
1298
|
+
imports.wbg.__wbindgen_is_null = function(arg0) {
|
1299
|
+
const ret = arg0 === null;
|
1300
|
+
return ret;
|
1301
|
+
};
|
1279
1302
|
imports.wbg.__wbindgen_is_object = function(arg0) {
|
1280
1303
|
const val = arg0;
|
1281
1304
|
const ret = typeof(val) === 'object' && val !== null;
|
Binary file
|
@@ -38,14 +38,14 @@ export const verifyInvocation: (a: number, b: number, c: number, d: number) => a
|
|
38
38
|
export const contextLoader: (a: number, b: number) => any;
|
39
39
|
export const didkit_error_message: () => number;
|
40
40
|
export const didkit_error_code: () => number;
|
41
|
-
export const __wbindgen_exn_store: (a: number) => void;
|
42
|
-
export const __externref_table_alloc: () => number;
|
43
|
-
export const __wbindgen_export_2: WebAssembly.Table;
|
44
41
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
45
42
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
43
|
+
export const __wbindgen_exn_store: (a: number) => void;
|
44
|
+
export const __externref_table_alloc: () => number;
|
45
|
+
export const __wbindgen_export_4: WebAssembly.Table;
|
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
|
50
|
-
export const
|
49
|
+
export const closure4174_externref_shim: (a: number, b: number, c: any) => void;
|
50
|
+
export const closure4576_externref_shim: (a: number, b: number, c: any, d: any) => void;
|
51
51
|
export const __wbindgen_start: () => void;
|
@@ -28,12 +28,7 @@ module.exports = __toCommonJS(src_exports);
|
|
28
28
|
// src/didkit/pkg/didkit_wasm.js
|
29
29
|
var import_meta = {};
|
30
30
|
var wasm;
|
31
|
-
var
|
32
|
-
throw Error("TextDecoder not available");
|
33
|
-
} };
|
34
|
-
if (typeof TextDecoder !== "undefined") {
|
35
|
-
cachedTextDecoder.decode();
|
36
|
-
}
|
31
|
+
var WASM_VECTOR_LEN = 0;
|
37
32
|
var cachedUint8ArrayMemory0 = null;
|
38
33
|
function getUint8ArrayMemory0() {
|
39
34
|
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
@@ -42,36 +37,6 @@ function getUint8ArrayMemory0() {
|
|
42
37
|
return cachedUint8ArrayMemory0;
|
43
38
|
}
|
44
39
|
__name(getUint8ArrayMemory0, "getUint8ArrayMemory0");
|
45
|
-
function getStringFromWasm0(ptr, len) {
|
46
|
-
ptr = ptr >>> 0;
|
47
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
48
|
-
}
|
49
|
-
__name(getStringFromWasm0, "getStringFromWasm0");
|
50
|
-
function addToExternrefTable0(obj) {
|
51
|
-
const idx = wasm.__externref_table_alloc();
|
52
|
-
wasm.__wbindgen_export_2.set(idx, obj);
|
53
|
-
return idx;
|
54
|
-
}
|
55
|
-
__name(addToExternrefTable0, "addToExternrefTable0");
|
56
|
-
function handleError(f, args) {
|
57
|
-
try {
|
58
|
-
return f.apply(this, args);
|
59
|
-
} catch (e) {
|
60
|
-
const idx = addToExternrefTable0(e);
|
61
|
-
wasm.__wbindgen_exn_store(idx);
|
62
|
-
}
|
63
|
-
}
|
64
|
-
__name(handleError, "handleError");
|
65
|
-
function getArrayU8FromWasm0(ptr, len) {
|
66
|
-
ptr = ptr >>> 0;
|
67
|
-
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
68
|
-
}
|
69
|
-
__name(getArrayU8FromWasm0, "getArrayU8FromWasm0");
|
70
|
-
function isLikeNone(x) {
|
71
|
-
return x === void 0 || x === null;
|
72
|
-
}
|
73
|
-
__name(isLikeNone, "isLikeNone");
|
74
|
-
var WASM_VECTOR_LEN = 0;
|
75
40
|
var cachedTextEncoder = typeof TextEncoder !== "undefined" ? new TextEncoder("utf-8") : { encode: () => {
|
76
41
|
throw Error("TextEncoder not available");
|
77
42
|
} };
|
@@ -125,6 +90,41 @@ function getDataViewMemory0() {
|
|
125
90
|
return cachedDataViewMemory0;
|
126
91
|
}
|
127
92
|
__name(getDataViewMemory0, "getDataViewMemory0");
|
93
|
+
var cachedTextDecoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf-8", { ignoreBOM: true, fatal: true }) : { decode: () => {
|
94
|
+
throw Error("TextDecoder not available");
|
95
|
+
} };
|
96
|
+
if (typeof TextDecoder !== "undefined") {
|
97
|
+
cachedTextDecoder.decode();
|
98
|
+
}
|
99
|
+
function getStringFromWasm0(ptr, len) {
|
100
|
+
ptr = ptr >>> 0;
|
101
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
102
|
+
}
|
103
|
+
__name(getStringFromWasm0, "getStringFromWasm0");
|
104
|
+
function addToExternrefTable0(obj) {
|
105
|
+
const idx = wasm.__externref_table_alloc();
|
106
|
+
wasm.__wbindgen_export_4.set(idx, obj);
|
107
|
+
return idx;
|
108
|
+
}
|
109
|
+
__name(addToExternrefTable0, "addToExternrefTable0");
|
110
|
+
function handleError(f, args) {
|
111
|
+
try {
|
112
|
+
return f.apply(this, args);
|
113
|
+
} catch (e) {
|
114
|
+
const idx = addToExternrefTable0(e);
|
115
|
+
wasm.__wbindgen_exn_store(idx);
|
116
|
+
}
|
117
|
+
}
|
118
|
+
__name(handleError, "handleError");
|
119
|
+
function getArrayU8FromWasm0(ptr, len) {
|
120
|
+
ptr = ptr >>> 0;
|
121
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
122
|
+
}
|
123
|
+
__name(getArrayU8FromWasm0, "getArrayU8FromWasm0");
|
124
|
+
function isLikeNone(x) {
|
125
|
+
return x === void 0 || x === null;
|
126
|
+
}
|
127
|
+
__name(isLikeNone, "isLikeNone");
|
128
128
|
var CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
129
129
|
}, unregister: () => {
|
130
130
|
} } : new FinalizationRegistry((state) => {
|
@@ -233,7 +233,7 @@ function resolveDID(did, input_metadata) {
|
|
233
233
|
}
|
234
234
|
__name(resolveDID, "resolveDID");
|
235
235
|
function takeFromExternrefTable0(idx) {
|
236
|
-
const value = wasm.
|
236
|
+
const value = wasm.__wbindgen_export_4.get(idx);
|
237
237
|
wasm.__externref_table_dealloc(idx);
|
238
238
|
return value;
|
239
239
|
}
|
@@ -428,14 +428,14 @@ function contextLoader(url) {
|
|
428
428
|
return ret;
|
429
429
|
}
|
430
430
|
__name(contextLoader, "contextLoader");
|
431
|
-
function
|
432
|
-
wasm.
|
431
|
+
function __wbg_adapter_54(arg0, arg1, arg2) {
|
432
|
+
wasm.closure4174_externref_shim(arg0, arg1, arg2);
|
433
433
|
}
|
434
|
-
__name(
|
435
|
-
function
|
436
|
-
wasm.
|
434
|
+
__name(__wbg_adapter_54, "__wbg_adapter_54");
|
435
|
+
function __wbg_adapter_222(arg0, arg1, arg2, arg3) {
|
436
|
+
wasm.closure4576_externref_shim(arg0, arg1, arg2, arg3);
|
437
437
|
}
|
438
|
-
__name(
|
438
|
+
__name(__wbg_adapter_222, "__wbg_adapter_222");
|
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) {
|
@@ -466,6 +466,13 @@ __name(__wbg_load, "__wbg_load");
|
|
466
466
|
function __wbg_get_imports() {
|
467
467
|
const imports = {};
|
468
468
|
imports.wbg = {};
|
469
|
+
imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
470
|
+
const ret = String(arg1);
|
471
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
472
|
+
const len1 = WASM_VECTOR_LEN;
|
473
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
474
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
475
|
+
};
|
469
476
|
imports.wbg.__wbg_abort_775ef1d17fc65868 = function(arg0) {
|
470
477
|
arg0.abort();
|
471
478
|
};
|
@@ -617,6 +624,10 @@ function __wbg_get_imports() {
|
|
617
624
|
const ret = Symbol.iterator;
|
618
625
|
return ret;
|
619
626
|
};
|
627
|
+
imports.wbg.__wbg_keys_5c77a08ddc2fb8a6 = function(arg0) {
|
628
|
+
const ret = Object.keys(arg0);
|
629
|
+
return ret;
|
630
|
+
};
|
620
631
|
imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
|
621
632
|
const ret = arg0.length;
|
622
633
|
return ret;
|
@@ -650,7 +661,7 @@ function __wbg_get_imports() {
|
|
650
661
|
const a = state0.a;
|
651
662
|
state0.a = 0;
|
652
663
|
try {
|
653
|
-
return
|
664
|
+
return __wbg_adapter_222(a, state0.b, arg02, arg12);
|
654
665
|
} finally {
|
655
666
|
state0.a = a;
|
656
667
|
}
|
@@ -723,6 +734,10 @@ function __wbg_get_imports() {
|
|
723
734
|
const ret = arg0.process;
|
724
735
|
return ret;
|
725
736
|
};
|
737
|
+
imports.wbg.__wbg_push_737cfc8c1432c2c6 = function(arg0, arg1) {
|
738
|
+
const ret = arg0.push(arg1);
|
739
|
+
return ret;
|
740
|
+
};
|
726
741
|
imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
|
727
742
|
queueMicrotask(arg0);
|
728
743
|
};
|
@@ -771,6 +786,12 @@ function __wbg_get_imports() {
|
|
771
786
|
const ret = arg0.set(arg1, arg2);
|
772
787
|
return ret;
|
773
788
|
};
|
789
|
+
imports.wbg.__wbg_set_bb8cecf6a62b9f46 = function() {
|
790
|
+
return handleError(function(arg0, arg1, arg2) {
|
791
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
792
|
+
return ret;
|
793
|
+
}, arguments);
|
794
|
+
};
|
774
795
|
imports.wbg.__wbg_setbody_5923b78a95eedf29 = function(arg0, arg1) {
|
775
796
|
arg0.body = arg1;
|
776
797
|
};
|
@@ -882,8 +903,8 @@ function __wbg_get_imports() {
|
|
882
903
|
const ret = false;
|
883
904
|
return ret;
|
884
905
|
};
|
885
|
-
imports.wbg.
|
886
|
-
const ret = makeMutClosure(arg0, arg1,
|
906
|
+
imports.wbg.__wbindgen_closure_wrapper12252 = function(arg0, arg1, arg2) {
|
907
|
+
const ret = makeMutClosure(arg0, arg1, 4175, __wbg_adapter_54);
|
887
908
|
return ret;
|
888
909
|
};
|
889
910
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
@@ -902,7 +923,7 @@ function __wbg_get_imports() {
|
|
902
923
|
return ret;
|
903
924
|
};
|
904
925
|
imports.wbg.__wbindgen_init_externref_table = function() {
|
905
|
-
const table = wasm.
|
926
|
+
const table = wasm.__wbindgen_export_4;
|
906
927
|
const offset = table.grow(4);
|
907
928
|
table.set(0, void 0);
|
908
929
|
table.set(offset + 0, void 0);
|
@@ -919,6 +940,10 @@ function __wbg_get_imports() {
|
|
919
940
|
const ret = typeof arg0 === "function";
|
920
941
|
return ret;
|
921
942
|
};
|
943
|
+
imports.wbg.__wbindgen_is_null = function(arg0) {
|
944
|
+
const ret = arg0 === null;
|
945
|
+
return ret;
|
946
|
+
};
|
922
947
|
imports.wbg.__wbindgen_is_object = function(arg0) {
|
923
948
|
const val = arg0;
|
924
949
|
const ret = typeof val === "object" && val !== null;
|
@@ -1011,7 +1036,7 @@ var didkit_wasm_default = __wbg_init;
|
|
1011
1036
|
// src/didkit/index.ts
|
1012
1037
|
var initialized = false;
|
1013
1038
|
var generating = false;
|
1014
|
-
var init = /* @__PURE__ */ __name(async (arg = "https://cdn.filestackcontent.com/
|
1039
|
+
var init = /* @__PURE__ */ __name(async (arg = "https://cdn.filestackcontent.com/HtQSwGymRJ2gCQsvhyC6") => {
|
1015
1040
|
while (generating)
|
1016
1041
|
await new Promise((res) => setTimeout(res, 250));
|
1017
1042
|
if (initialized)
|