@learncard/didkit-plugin 1.8.6 → 1.8.7
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 +52 -52
- package/dist/didkit/didkit_wasm.js +326 -324
- package/dist/didkit/didkit_wasm_bg.wasm +0 -0
- package/dist/didkit/didkit_wasm_bg.wasm.d.ts +27 -27
- package/dist/didkit-plugin.cjs.development.js +137 -137
- package/dist/didkit-plugin.cjs.development.js.map +2 -2
- package/dist/didkit-plugin.cjs.production.min.js +1 -1
- package/dist/didkit-plugin.cjs.production.min.js.map +3 -3
- package/dist/didkit-plugin.esm.js +137 -137
- package/dist/didkit-plugin.esm.js.map +2 -2
- package/dist/didkit_wasm.d.ts +52 -52
- package/dist/didkit_wasm.js +326 -324
- package/dist/didkit_wasm_bg.wasm +0 -0
- package/dist/didkit_wasm_bg.wasm.d.ts +27 -27
- package/package.json +3 -3
|
@@ -183,11 +183,25 @@ ${val.stack}`;
|
|
|
183
183
|
return className;
|
|
184
184
|
}
|
|
185
185
|
__name(debugString, "debugString");
|
|
186
|
-
function
|
|
187
|
-
const
|
|
186
|
+
function passArrayJsValueToWasm0(array, malloc) {
|
|
187
|
+
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
188
|
+
for (let i = 0; i < array.length; i++) {
|
|
189
|
+
const add = addToExternrefTable0(array[i]);
|
|
190
|
+
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
191
|
+
}
|
|
192
|
+
WASM_VECTOR_LEN = array.length;
|
|
193
|
+
return ptr;
|
|
194
|
+
}
|
|
195
|
+
__name(passArrayJsValueToWasm0, "passArrayJsValueToWasm0");
|
|
196
|
+
function decryptDagJwe(jwe, jwks) {
|
|
197
|
+
const ptr0 = passStringToWasm0(jwe, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
198
|
+
const len0 = WASM_VECTOR_LEN;
|
|
199
|
+
const ptr1 = passArrayJsValueToWasm0(jwks, wasm.__wbindgen_malloc);
|
|
200
|
+
const len1 = WASM_VECTOR_LEN;
|
|
201
|
+
const ret = wasm.decryptDagJwe(ptr0, len0, ptr1, len1);
|
|
188
202
|
return ret;
|
|
189
203
|
}
|
|
190
|
-
__name(
|
|
204
|
+
__name(decryptDagJwe, "decryptDagJwe");
|
|
191
205
|
function didResolver(did, input_metadata) {
|
|
192
206
|
const ptr0 = passStringToWasm0(did, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
193
207
|
const len0 = WASM_VECTOR_LEN;
|
|
@@ -197,21 +211,41 @@ function didResolver(did, input_metadata) {
|
|
|
197
211
|
return ret;
|
|
198
212
|
}
|
|
199
213
|
__name(didResolver, "didResolver");
|
|
200
|
-
function
|
|
201
|
-
const ptr0 = passStringToWasm0(
|
|
214
|
+
function issueCredential(credential, proof_options, key, context_map) {
|
|
215
|
+
const ptr0 = passStringToWasm0(credential, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
202
216
|
const len0 = WASM_VECTOR_LEN;
|
|
203
|
-
const ptr1 = passStringToWasm0(
|
|
217
|
+
const ptr1 = passStringToWasm0(proof_options, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
204
218
|
const len1 = WASM_VECTOR_LEN;
|
|
205
|
-
const
|
|
219
|
+
const ptr2 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
220
|
+
const len2 = WASM_VECTOR_LEN;
|
|
221
|
+
const ptr3 = passStringToWasm0(context_map, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
222
|
+
const len3 = WASM_VECTOR_LEN;
|
|
223
|
+
const ret = wasm.issueCredential(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
206
224
|
return ret;
|
|
207
225
|
}
|
|
208
|
-
__name(
|
|
209
|
-
function
|
|
210
|
-
const
|
|
211
|
-
|
|
212
|
-
|
|
226
|
+
__name(issueCredential, "issueCredential");
|
|
227
|
+
function issuePresentation(presentation, proof_options, key, context_map) {
|
|
228
|
+
const ptr0 = passStringToWasm0(presentation, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
229
|
+
const len0 = WASM_VECTOR_LEN;
|
|
230
|
+
const ptr1 = passStringToWasm0(proof_options, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
231
|
+
const len1 = WASM_VECTOR_LEN;
|
|
232
|
+
const ptr2 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
233
|
+
const len2 = WASM_VECTOR_LEN;
|
|
234
|
+
const ptr3 = passStringToWasm0(context_map, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
235
|
+
const len3 = WASM_VECTOR_LEN;
|
|
236
|
+
const ret = wasm.issuePresentation(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
237
|
+
return ret;
|
|
213
238
|
}
|
|
214
|
-
__name(
|
|
239
|
+
__name(issuePresentation, "issuePresentation");
|
|
240
|
+
function decryptJwe(jwe, jwks) {
|
|
241
|
+
const ptr0 = passStringToWasm0(jwe, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
242
|
+
const len0 = WASM_VECTOR_LEN;
|
|
243
|
+
const ptr1 = passArrayJsValueToWasm0(jwks, wasm.__wbindgen_malloc);
|
|
244
|
+
const len1 = WASM_VECTOR_LEN;
|
|
245
|
+
const ret = wasm.decryptJwe(ptr0, len0, ptr1, len1);
|
|
246
|
+
return ret;
|
|
247
|
+
}
|
|
248
|
+
__name(decryptJwe, "decryptJwe");
|
|
215
249
|
function passArray8ToWasm0(arg, malloc) {
|
|
216
250
|
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
217
251
|
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
@@ -219,28 +253,12 @@ function passArray8ToWasm0(arg, malloc) {
|
|
|
219
253
|
return ptr;
|
|
220
254
|
}
|
|
221
255
|
__name(passArray8ToWasm0, "passArray8ToWasm0");
|
|
222
|
-
function
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
227
|
-
const len0 = WASM_VECTOR_LEN;
|
|
228
|
-
const ret = wasm.generateEd25519KeyFromBytes(ptr0, len0);
|
|
229
|
-
var ptr2 = ret[0];
|
|
230
|
-
var len2 = ret[1];
|
|
231
|
-
if (ret[3]) {
|
|
232
|
-
ptr2 = 0;
|
|
233
|
-
len2 = 0;
|
|
234
|
-
throw takeFromExternrefTable0(ret[2]);
|
|
235
|
-
}
|
|
236
|
-
deferred3_0 = ptr2;
|
|
237
|
-
deferred3_1 = len2;
|
|
238
|
-
return getStringFromWasm0(ptr2, len2);
|
|
239
|
-
} finally {
|
|
240
|
-
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
241
|
-
}
|
|
256
|
+
function takeFromExternrefTable0(idx) {
|
|
257
|
+
const value = wasm.__wbindgen_export_4.get(idx);
|
|
258
|
+
wasm.__externref_table_dealloc(idx);
|
|
259
|
+
return value;
|
|
242
260
|
}
|
|
243
|
-
__name(
|
|
261
|
+
__name(takeFromExternrefTable0, "takeFromExternrefTable0");
|
|
244
262
|
function generateSecp256k1KeyFromBytes(bytes) {
|
|
245
263
|
let deferred3_0;
|
|
246
264
|
let deferred3_1;
|
|
@@ -263,34 +281,28 @@ function generateSecp256k1KeyFromBytes(bytes) {
|
|
|
263
281
|
}
|
|
264
282
|
}
|
|
265
283
|
__name(generateSecp256k1KeyFromBytes, "generateSecp256k1KeyFromBytes");
|
|
266
|
-
function
|
|
267
|
-
const
|
|
268
|
-
for (let i = 0; i < array.length; i++) {
|
|
269
|
-
const add = addToExternrefTable0(array[i]);
|
|
270
|
-
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
271
|
-
}
|
|
272
|
-
WASM_VECTOR_LEN = array.length;
|
|
273
|
-
return ptr;
|
|
274
|
-
}
|
|
275
|
-
__name(passArrayJsValueToWasm0, "passArrayJsValueToWasm0");
|
|
276
|
-
function createJwe(cleartext, recipients) {
|
|
277
|
-
const ptr0 = passStringToWasm0(cleartext, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
284
|
+
function verifyPresentation(vp, proof_options, context_map) {
|
|
285
|
+
const ptr0 = passStringToWasm0(vp, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
278
286
|
const len0 = WASM_VECTOR_LEN;
|
|
279
|
-
const ptr1 =
|
|
287
|
+
const ptr1 = passStringToWasm0(proof_options, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
280
288
|
const len1 = WASM_VECTOR_LEN;
|
|
281
|
-
const
|
|
289
|
+
const ptr2 = passStringToWasm0(context_map, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
290
|
+
const len2 = WASM_VECTOR_LEN;
|
|
291
|
+
const ret = wasm.verifyPresentation(ptr0, len0, ptr1, len1, ptr2, len2);
|
|
282
292
|
return ret;
|
|
283
293
|
}
|
|
284
|
-
__name(
|
|
285
|
-
function
|
|
286
|
-
const ptr0 = passStringToWasm0(
|
|
294
|
+
__name(verifyPresentation, "verifyPresentation");
|
|
295
|
+
function verifyCredential(vc, proof_options, context_map) {
|
|
296
|
+
const ptr0 = passStringToWasm0(vc, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
287
297
|
const len0 = WASM_VECTOR_LEN;
|
|
288
|
-
const ptr1 =
|
|
298
|
+
const ptr1 = passStringToWasm0(proof_options, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
289
299
|
const len1 = WASM_VECTOR_LEN;
|
|
290
|
-
const
|
|
300
|
+
const ptr2 = passStringToWasm0(context_map, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
301
|
+
const len2 = WASM_VECTOR_LEN;
|
|
302
|
+
const ret = wasm.verifyCredential(ptr0, len0, ptr1, len1, ptr2, len2);
|
|
291
303
|
return ret;
|
|
292
304
|
}
|
|
293
|
-
__name(
|
|
305
|
+
__name(verifyCredential, "verifyCredential");
|
|
294
306
|
function createDagJwe(cleartext, recipients) {
|
|
295
307
|
const ptr0 = passArrayJsValueToWasm0(recipients, wasm.__wbindgen_malloc);
|
|
296
308
|
const len0 = WASM_VECTOR_LEN;
|
|
@@ -298,15 +310,52 @@ function createDagJwe(cleartext, recipients) {
|
|
|
298
310
|
return ret;
|
|
299
311
|
}
|
|
300
312
|
__name(createDagJwe, "createDagJwe");
|
|
301
|
-
function
|
|
302
|
-
const ptr0 = passStringToWasm0(
|
|
313
|
+
function keyToVerificationMethod(method_pattern, jwk) {
|
|
314
|
+
const ptr0 = passStringToWasm0(method_pattern, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
303
315
|
const len0 = WASM_VECTOR_LEN;
|
|
304
|
-
const ptr1 =
|
|
316
|
+
const ptr1 = passStringToWasm0(jwk, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
305
317
|
const len1 = WASM_VECTOR_LEN;
|
|
306
|
-
const ret = wasm.
|
|
318
|
+
const ret = wasm.keyToVerificationMethod(ptr0, len0, ptr1, len1);
|
|
307
319
|
return ret;
|
|
308
320
|
}
|
|
309
|
-
__name(
|
|
321
|
+
__name(keyToVerificationMethod, "keyToVerificationMethod");
|
|
322
|
+
function contextLoader(url) {
|
|
323
|
+
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
324
|
+
const len0 = WASM_VECTOR_LEN;
|
|
325
|
+
const ret = wasm.contextLoader(ptr0, len0);
|
|
326
|
+
return ret;
|
|
327
|
+
}
|
|
328
|
+
__name(contextLoader, "contextLoader");
|
|
329
|
+
function resolveDID(did, input_metadata) {
|
|
330
|
+
const ptr0 = passStringToWasm0(did, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
331
|
+
const len0 = WASM_VECTOR_LEN;
|
|
332
|
+
const ptr1 = passStringToWasm0(input_metadata, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
333
|
+
const len1 = WASM_VECTOR_LEN;
|
|
334
|
+
const ret = wasm.resolveDID(ptr0, len0, ptr1, len1);
|
|
335
|
+
return ret;
|
|
336
|
+
}
|
|
337
|
+
__name(resolveDID, "resolveDID");
|
|
338
|
+
function clearCache() {
|
|
339
|
+
const ret = wasm.clearCache();
|
|
340
|
+
return ret;
|
|
341
|
+
}
|
|
342
|
+
__name(clearCache, "clearCache");
|
|
343
|
+
function createJwe(cleartext, recipients) {
|
|
344
|
+
const ptr0 = passStringToWasm0(cleartext, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
345
|
+
const len0 = WASM_VECTOR_LEN;
|
|
346
|
+
const ptr1 = passArrayJsValueToWasm0(recipients, wasm.__wbindgen_malloc);
|
|
347
|
+
const len1 = WASM_VECTOR_LEN;
|
|
348
|
+
const ret = wasm.createJwe(ptr0, len0, ptr1, len1);
|
|
349
|
+
return ret;
|
|
350
|
+
}
|
|
351
|
+
__name(createJwe, "createJwe");
|
|
352
|
+
function didToVerificationMethod(did) {
|
|
353
|
+
const ptr0 = passStringToWasm0(did, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
354
|
+
const len0 = WASM_VECTOR_LEN;
|
|
355
|
+
const ret = wasm.didToVerificationMethod(ptr0, len0);
|
|
356
|
+
return ret;
|
|
357
|
+
}
|
|
358
|
+
__name(didToVerificationMethod, "didToVerificationMethod");
|
|
310
359
|
function keyToDID(method_pattern, jwk) {
|
|
311
360
|
let deferred4_0;
|
|
312
361
|
let deferred4_1;
|
|
@@ -331,85 +380,36 @@ function keyToDID(method_pattern, jwk) {
|
|
|
331
380
|
}
|
|
332
381
|
}
|
|
333
382
|
__name(keyToDID, "keyToDID");
|
|
334
|
-
function
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
const len1 = WASM_VECTOR_LEN;
|
|
355
|
-
const ptr2 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
356
|
-
const len2 = WASM_VECTOR_LEN;
|
|
357
|
-
const ptr3 = passStringToWasm0(context_map, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
358
|
-
const len3 = WASM_VECTOR_LEN;
|
|
359
|
-
const ret = wasm.issueCredential(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
360
|
-
return ret;
|
|
361
|
-
}
|
|
362
|
-
__name(issueCredential, "issueCredential");
|
|
363
|
-
function verifyCredential(vc, proof_options, context_map) {
|
|
364
|
-
const ptr0 = passStringToWasm0(vc, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
365
|
-
const len0 = WASM_VECTOR_LEN;
|
|
366
|
-
const ptr1 = passStringToWasm0(proof_options, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
367
|
-
const len1 = WASM_VECTOR_LEN;
|
|
368
|
-
const ptr2 = passStringToWasm0(context_map, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
369
|
-
const len2 = WASM_VECTOR_LEN;
|
|
370
|
-
const ret = wasm.verifyCredential(ptr0, len0, ptr1, len1, ptr2, len2);
|
|
371
|
-
return ret;
|
|
372
|
-
}
|
|
373
|
-
__name(verifyCredential, "verifyCredential");
|
|
374
|
-
function issuePresentation(presentation, proof_options, key, context_map) {
|
|
375
|
-
const ptr0 = passStringToWasm0(presentation, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
376
|
-
const len0 = WASM_VECTOR_LEN;
|
|
377
|
-
const ptr1 = passStringToWasm0(proof_options, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
378
|
-
const len1 = WASM_VECTOR_LEN;
|
|
379
|
-
const ptr2 = passStringToWasm0(key, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
380
|
-
const len2 = WASM_VECTOR_LEN;
|
|
381
|
-
const ptr3 = passStringToWasm0(context_map, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
382
|
-
const len3 = WASM_VECTOR_LEN;
|
|
383
|
-
const ret = wasm.issuePresentation(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3);
|
|
384
|
-
return ret;
|
|
385
|
-
}
|
|
386
|
-
__name(issuePresentation, "issuePresentation");
|
|
387
|
-
function verifyPresentation(vp, proof_options, context_map) {
|
|
388
|
-
const ptr0 = passStringToWasm0(vp, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
389
|
-
const len0 = WASM_VECTOR_LEN;
|
|
390
|
-
const ptr1 = passStringToWasm0(proof_options, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
391
|
-
const len1 = WASM_VECTOR_LEN;
|
|
392
|
-
const ptr2 = passStringToWasm0(context_map, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
393
|
-
const len2 = WASM_VECTOR_LEN;
|
|
394
|
-
const ret = wasm.verifyPresentation(ptr0, len0, ptr1, len1, ptr2, len2);
|
|
395
|
-
return ret;
|
|
396
|
-
}
|
|
397
|
-
__name(verifyPresentation, "verifyPresentation");
|
|
398
|
-
function contextLoader(url) {
|
|
399
|
-
const ptr0 = passStringToWasm0(url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
400
|
-
const len0 = WASM_VECTOR_LEN;
|
|
401
|
-
const ret = wasm.contextLoader(ptr0, len0);
|
|
402
|
-
return ret;
|
|
383
|
+
function generateEd25519KeyFromBytes(bytes) {
|
|
384
|
+
let deferred3_0;
|
|
385
|
+
let deferred3_1;
|
|
386
|
+
try {
|
|
387
|
+
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
|
388
|
+
const len0 = WASM_VECTOR_LEN;
|
|
389
|
+
const ret = wasm.generateEd25519KeyFromBytes(ptr0, len0);
|
|
390
|
+
var ptr2 = ret[0];
|
|
391
|
+
var len2 = ret[1];
|
|
392
|
+
if (ret[3]) {
|
|
393
|
+
ptr2 = 0;
|
|
394
|
+
len2 = 0;
|
|
395
|
+
throw takeFromExternrefTable0(ret[2]);
|
|
396
|
+
}
|
|
397
|
+
deferred3_0 = ptr2;
|
|
398
|
+
deferred3_1 = len2;
|
|
399
|
+
return getStringFromWasm0(ptr2, len2);
|
|
400
|
+
} finally {
|
|
401
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
402
|
+
}
|
|
403
403
|
}
|
|
404
|
-
__name(
|
|
404
|
+
__name(generateEd25519KeyFromBytes, "generateEd25519KeyFromBytes");
|
|
405
405
|
function __wbg_adapter_54(arg0, arg1, arg2) {
|
|
406
|
-
wasm.
|
|
406
|
+
wasm.closure4151_externref_shim(arg0, arg1, arg2);
|
|
407
407
|
}
|
|
408
408
|
__name(__wbg_adapter_54, "__wbg_adapter_54");
|
|
409
|
-
function
|
|
410
|
-
wasm.
|
|
409
|
+
function __wbg_adapter_198(arg0, arg1, arg2, arg3) {
|
|
410
|
+
wasm.closure4547_externref_shim(arg0, arg1, arg2, arg3);
|
|
411
411
|
}
|
|
412
|
-
__name(
|
|
412
|
+
__name(__wbg_adapter_198, "__wbg_adapter_198");
|
|
413
413
|
var __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
|
414
414
|
var __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
415
415
|
async function __wbg_load(module2, imports) {
|
|
@@ -635,7 +635,7 @@ function __wbg_get_imports() {
|
|
|
635
635
|
const a = state0.a;
|
|
636
636
|
state0.a = 0;
|
|
637
637
|
try {
|
|
638
|
-
return
|
|
638
|
+
return __wbg_adapter_198(a, state0.b, arg02, arg12);
|
|
639
639
|
} finally {
|
|
640
640
|
state0.a = a;
|
|
641
641
|
}
|
|
@@ -877,8 +877,8 @@ function __wbg_get_imports() {
|
|
|
877
877
|
const ret = false;
|
|
878
878
|
return ret;
|
|
879
879
|
};
|
|
880
|
-
imports.wbg.
|
|
881
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
880
|
+
imports.wbg.__wbindgen_closure_wrapper12163 = function(arg0, arg1, arg2) {
|
|
881
|
+
const ret = makeMutClosure(arg0, arg1, 4152, __wbg_adapter_54);
|
|
882
882
|
return ret;
|
|
883
883
|
};
|
|
884
884
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
@@ -1009,7 +1009,7 @@ var didkit_wasm_default = __wbg_init;
|
|
|
1009
1009
|
// src/didkit/index.ts
|
|
1010
1010
|
var initialized = false;
|
|
1011
1011
|
var generating = false;
|
|
1012
|
-
var init = /* @__PURE__ */ __name(async (arg = "https://cdn.filestackcontent.com/
|
|
1012
|
+
var init = /* @__PURE__ */ __name(async (arg = "https://cdn.filestackcontent.com/Z4wMCHTiKaOUGdUC6NQ3") => {
|
|
1013
1013
|
while (generating) await new Promise((res) => setTimeout(res, 250));
|
|
1014
1014
|
if (initialized) return;
|
|
1015
1015
|
try {
|