@contentauth/c2pa-web 0.15.5 → 0.16.0
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/README.md +4 -63
- package/dist/c2pa-CqMzdYCb.js +968 -0
- package/dist/c2pa_worker.js +154 -130
- package/dist/common.d.ts +2 -1
- package/dist/common.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +26 -24
- package/dist/inline.d.ts +1 -1
- package/dist/inline.d.ts.map +1 -1
- package/dist/inline.js +5 -4
- package/dist/lib/builder.d.ts +10 -0
- package/dist/lib/builder.d.ts.map +1 -1
- package/dist/lib/reader.d.ts +2 -2
- package/dist/lib/reader.d.ts.map +1 -1
- package/dist/lib/signer.d.ts +24 -0
- package/dist/lib/signer.d.ts.map +1 -1
- package/dist/lib/worker/rpc.d.ts +5 -1
- package/dist/lib/worker/rpc.d.ts.map +1 -1
- package/dist/resources/c2pa_bg.wasm +0 -0
- package/package.json +5 -5
- package/dist/c2pa-DX8BGA0J.js +0 -932
package/dist/c2pa_worker.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
var $ = (r, e) => () => (e || r((e = { exports: {} }).exports, e), e.exports);
|
|
2
|
-
var
|
|
2
|
+
var fe = $((ge, C) => {
|
|
3
3
|
class h {
|
|
4
4
|
static __wrap(e) {
|
|
5
5
|
const t = Object.create(h.prototype);
|
|
@@ -20,7 +20,7 @@ var be = $((le, P) => {
|
|
|
20
20
|
addAction(e) {
|
|
21
21
|
const t = o.wasmbuilder_addAction(this.__wbg_ptr, e);
|
|
22
22
|
if (t[1])
|
|
23
|
-
throw
|
|
23
|
+
throw d(t[0]);
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Add an assertion to the manifest under `label` with the given `data`.
|
|
@@ -28,9 +28,9 @@ var be = $((le, P) => {
|
|
|
28
28
|
* @param {any} data
|
|
29
29
|
*/
|
|
30
30
|
addAssertion(e, t) {
|
|
31
|
-
const n =
|
|
31
|
+
const n = b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a, c = o.wasmbuilder_addAssertion(this.__wbg_ptr, n, _, t);
|
|
32
32
|
if (c[1])
|
|
33
|
-
throw
|
|
33
|
+
throw d(c[0]);
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* Add an ingredient to the manifest from a JSON ingredient definition and a [`Blob`].
|
|
@@ -45,7 +45,7 @@ var be = $((le, P) => {
|
|
|
45
45
|
* @returns {Promise<void>}
|
|
46
46
|
*/
|
|
47
47
|
addIngredientFromBlob(e, t, n) {
|
|
48
|
-
const _ =
|
|
48
|
+
const _ = b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), c = a, s = b(t, o.__wbindgen_malloc, o.__wbindgen_realloc), i = a;
|
|
49
49
|
return o.wasmbuilder_addIngredientFromBlob(this.__wbg_ptr, _, c, s, i, n);
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
@@ -56,9 +56,9 @@ var be = $((le, P) => {
|
|
|
56
56
|
* @param {string} json
|
|
57
57
|
*/
|
|
58
58
|
addIngredient(e) {
|
|
59
|
-
const t =
|
|
59
|
+
const t = b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), n = a, _ = o.wasmbuilder_addIngredient(this.__wbg_ptr, t, n);
|
|
60
60
|
if (_[1])
|
|
61
|
-
throw
|
|
61
|
+
throw d(_[0]);
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
64
|
* Add a redaction for a JUMBF URI with the given reason.
|
|
@@ -69,9 +69,9 @@ var be = $((le, P) => {
|
|
|
69
69
|
* @param {any} reason
|
|
70
70
|
*/
|
|
71
71
|
addRedaction(e, t) {
|
|
72
|
-
const n =
|
|
72
|
+
const n = b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a, c = o.wasmbuilder_addRedaction(this.__wbg_ptr, n, _, t);
|
|
73
73
|
if (c[1])
|
|
74
|
-
throw
|
|
74
|
+
throw d(c[0]);
|
|
75
75
|
}
|
|
76
76
|
/**
|
|
77
77
|
* Add a [`Blob`] to the manifest as a resource. The ID must match an identifier in the manifest.
|
|
@@ -79,9 +79,9 @@ var be = $((le, P) => {
|
|
|
79
79
|
* @param {Blob} blob
|
|
80
80
|
*/
|
|
81
81
|
addResourceFromBlob(e, t) {
|
|
82
|
-
const n =
|
|
82
|
+
const n = b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a, c = o.wasmbuilder_addResourceFromBlob(this.__wbg_ptr, n, _, t);
|
|
83
83
|
if (c[1])
|
|
84
|
-
throw
|
|
84
|
+
throw d(c[0]);
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* Retains actions and ingredients together in one step, per
|
|
@@ -98,7 +98,7 @@ var be = $((le, P) => {
|
|
|
98
98
|
filterActionsAndIngredientsAt(e, t) {
|
|
99
99
|
const n = E(e, o.__wbindgen_malloc), _ = a, c = E(t, o.__wbindgen_malloc), s = a, i = o.wasmbuilder_filterActionsAndIngredientsAt(this.__wbg_ptr, n, _, c, s);
|
|
100
100
|
if (i[1])
|
|
101
|
-
throw
|
|
101
|
+
throw d(i[0]);
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
104
|
* Retains only the actions at the given 0-based indices into the actions currently returned
|
|
@@ -120,7 +120,7 @@ var be = $((le, P) => {
|
|
|
120
120
|
filterActionsAt(e) {
|
|
121
121
|
const t = E(e, o.__wbindgen_malloc), n = a, _ = o.wasmbuilder_filterActionsAt(this.__wbg_ptr, t, n);
|
|
122
122
|
if (_[1])
|
|
123
|
-
throw
|
|
123
|
+
throw d(_[0]);
|
|
124
124
|
}
|
|
125
125
|
/**
|
|
126
126
|
* Retains ingredients, rescuing an otherwise-orphaned ingredient when its 0-based index into
|
|
@@ -134,7 +134,7 @@ var be = $((le, P) => {
|
|
|
134
134
|
filterIngredientsAt(e) {
|
|
135
135
|
const t = E(e, o.__wbindgen_malloc), n = a, _ = o.wasmbuilder_filterIngredientsAt(this.__wbg_ptr, t, n);
|
|
136
136
|
if (_[1])
|
|
137
|
-
throw
|
|
137
|
+
throw d(_[0]);
|
|
138
138
|
}
|
|
139
139
|
/**
|
|
140
140
|
* Attempts to create a new `WasmBuilder` from a builder archive.
|
|
@@ -144,10 +144,10 @@ var be = $((le, P) => {
|
|
|
144
144
|
* @returns {WasmBuilder}
|
|
145
145
|
*/
|
|
146
146
|
static fromArchive(e, t) {
|
|
147
|
-
var n = w(t) ? 0 :
|
|
147
|
+
var n = w(t) ? 0 : b(t, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a;
|
|
148
148
|
const c = o.wasmbuilder_fromArchive(e, n, _);
|
|
149
149
|
if (c[2])
|
|
150
|
-
throw
|
|
150
|
+
throw d(c[1]);
|
|
151
151
|
return h.__wrap(c[0]);
|
|
152
152
|
}
|
|
153
153
|
/**
|
|
@@ -158,11 +158,11 @@ var be = $((le, P) => {
|
|
|
158
158
|
* @returns {WasmBuilder}
|
|
159
159
|
*/
|
|
160
160
|
static fromJson(e, t) {
|
|
161
|
-
const n =
|
|
162
|
-
var c = w(t) ? 0 :
|
|
161
|
+
const n = b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a;
|
|
162
|
+
var c = w(t) ? 0 : b(t, o.__wbindgen_malloc, o.__wbindgen_realloc), s = a;
|
|
163
163
|
const i = o.wasmbuilder_fromJson(n, _, c, s);
|
|
164
164
|
if (i[2])
|
|
165
|
-
throw
|
|
165
|
+
throw d(i[1]);
|
|
166
166
|
return h.__wrap(i[0]);
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
@@ -172,8 +172,8 @@ var be = $((le, P) => {
|
|
|
172
172
|
getDefinition() {
|
|
173
173
|
const e = o.wasmbuilder_getDefinition(this.__wbg_ptr);
|
|
174
174
|
if (e[2])
|
|
175
|
-
throw
|
|
176
|
-
return
|
|
175
|
+
throw d(e[1]);
|
|
176
|
+
return d(e[0]);
|
|
177
177
|
}
|
|
178
178
|
/**
|
|
179
179
|
* Creates a new `WasmBuilder` with a minimal manifest definition.
|
|
@@ -182,10 +182,10 @@ var be = $((le, P) => {
|
|
|
182
182
|
* @returns {WasmBuilder}
|
|
183
183
|
*/
|
|
184
184
|
static new(e) {
|
|
185
|
-
var t = w(e) ? 0 :
|
|
185
|
+
var t = w(e) ? 0 : b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), n = a;
|
|
186
186
|
const _ = o.wasmbuilder_new(t, n);
|
|
187
187
|
if (_[2])
|
|
188
|
-
throw
|
|
188
|
+
throw d(_[1]);
|
|
189
189
|
return h.__wrap(_[0]);
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
@@ -195,7 +195,7 @@ var be = $((le, P) => {
|
|
|
195
195
|
setIntent(e) {
|
|
196
196
|
const t = o.wasmbuilder_setIntent(this.__wbg_ptr, e);
|
|
197
197
|
if (t[1])
|
|
198
|
-
throw
|
|
198
|
+
throw d(t[0]);
|
|
199
199
|
}
|
|
200
200
|
/**
|
|
201
201
|
* Sets the state of the no_embed flag.
|
|
@@ -212,7 +212,7 @@ var be = $((le, P) => {
|
|
|
212
212
|
* @param {string} url
|
|
213
213
|
*/
|
|
214
214
|
setRemoteUrl(e) {
|
|
215
|
-
const t =
|
|
215
|
+
const t = b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), n = a;
|
|
216
216
|
o.wasmbuilder_setRemoteUrl(this.__wbg_ptr, t, n);
|
|
217
217
|
}
|
|
218
218
|
/**
|
|
@@ -221,9 +221,9 @@ var be = $((le, P) => {
|
|
|
221
221
|
* @param {Blob} blob
|
|
222
222
|
*/
|
|
223
223
|
setThumbnailFromBlob(e, t) {
|
|
224
|
-
const n =
|
|
224
|
+
const n = b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a, c = o.wasmbuilder_setThumbnailFromBlob(this.__wbg_ptr, n, _, t);
|
|
225
225
|
if (c[1])
|
|
226
|
-
throw
|
|
226
|
+
throw d(c[0]);
|
|
227
227
|
}
|
|
228
228
|
/**
|
|
229
229
|
* Sign an asset using the provided SignerDefinition, format, and source Blob.
|
|
@@ -237,7 +237,7 @@ var be = $((le, P) => {
|
|
|
237
237
|
* @returns {Promise<any>}
|
|
238
238
|
*/
|
|
239
239
|
signAndGetManifestBytes(e, t, n, _) {
|
|
240
|
-
const c =
|
|
240
|
+
const c = b(n, o.__wbindgen_malloc, o.__wbindgen_realloc), s = a;
|
|
241
241
|
return o.wasmbuilder_signAndGetManifestBytes(this.__wbg_ptr, e, t, c, s, _);
|
|
242
242
|
}
|
|
243
243
|
/**
|
|
@@ -253,7 +253,7 @@ var be = $((le, P) => {
|
|
|
253
253
|
* @returns {Promise<Uint8Array>}
|
|
254
254
|
*/
|
|
255
255
|
sign(e, t, n, _) {
|
|
256
|
-
const c =
|
|
256
|
+
const c = b(n, o.__wbindgen_malloc, o.__wbindgen_realloc), s = a;
|
|
257
257
|
return o.wasmbuilder_sign(this.__wbg_ptr, e, t, c, s, _);
|
|
258
258
|
}
|
|
259
259
|
/**
|
|
@@ -263,8 +263,8 @@ var be = $((le, P) => {
|
|
|
263
263
|
toArchive() {
|
|
264
264
|
const e = o.wasmbuilder_toArchive(this.__wbg_ptr);
|
|
265
265
|
if (e[2])
|
|
266
|
-
throw
|
|
267
|
-
return
|
|
266
|
+
throw d(e[1]);
|
|
267
|
+
return d(e[0]);
|
|
268
268
|
}
|
|
269
269
|
/**
|
|
270
270
|
* Replaces the actions in the `c2pa.actions`/`c2pa.actions.v2` assertions with
|
|
@@ -293,7 +293,7 @@ var be = $((le, P) => {
|
|
|
293
293
|
updateActionsAt(e) {
|
|
294
294
|
const t = o.wasmbuilder_updateActionsAt(this.__wbg_ptr, e);
|
|
295
295
|
if (t[1])
|
|
296
|
-
throw
|
|
296
|
+
throw d(t[0]);
|
|
297
297
|
}
|
|
298
298
|
/**
|
|
299
299
|
* Replaces the data of every assertion with an exact matching label, in positional order.
|
|
@@ -302,9 +302,19 @@ var be = $((le, P) => {
|
|
|
302
302
|
* @param {any} data
|
|
303
303
|
*/
|
|
304
304
|
updateAssertionsAt(e, t) {
|
|
305
|
-
const n =
|
|
305
|
+
const n = b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a, c = o.wasmbuilder_updateAssertionsAt(this.__wbg_ptr, n, _, t);
|
|
306
306
|
if (c[1])
|
|
307
|
-
throw
|
|
307
|
+
throw d(c[0]);
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* Updates a (known) property in the manifest definition.
|
|
311
|
+
* @param {string} property
|
|
312
|
+
* @param {any} value
|
|
313
|
+
*/
|
|
314
|
+
updateManifestProperty(e, t) {
|
|
315
|
+
const n = b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), _ = a, c = o.wasmbuilder_updateManifestProperty(this.__wbg_ptr, n, _, t);
|
|
316
|
+
if (c[1])
|
|
317
|
+
throw d(c[0]);
|
|
308
318
|
}
|
|
309
319
|
}
|
|
310
320
|
Symbol.dispose && (h.prototype[Symbol.dispose] = h.prototype.free);
|
|
@@ -337,8 +347,8 @@ var be = $((le, P) => {
|
|
|
337
347
|
activeManifest() {
|
|
338
348
|
const e = o.wasmreader_activeManifest(this.__wbg_ptr);
|
|
339
349
|
if (e[2])
|
|
340
|
-
throw
|
|
341
|
-
return
|
|
350
|
+
throw d(e[1]);
|
|
351
|
+
return d(e[0]);
|
|
342
352
|
}
|
|
343
353
|
/**
|
|
344
354
|
* Returns the asset's manifest store as crJSON.
|
|
@@ -363,8 +373,8 @@ var be = $((le, P) => {
|
|
|
363
373
|
* @returns {Promise<WasmReader>}
|
|
364
374
|
*/
|
|
365
375
|
static fromBlobFragment(e, t, n, _) {
|
|
366
|
-
const c =
|
|
367
|
-
var i = w(_) ? 0 :
|
|
376
|
+
const c = b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), s = a;
|
|
377
|
+
var i = w(_) ? 0 : b(_, o.__wbindgen_malloc, o.__wbindgen_realloc), u = a;
|
|
368
378
|
return o.wasmreader_fromBlobFragment(c, s, t, n, i, u);
|
|
369
379
|
}
|
|
370
380
|
/**
|
|
@@ -376,8 +386,8 @@ var be = $((le, P) => {
|
|
|
376
386
|
* @returns {Promise<WasmReader>}
|
|
377
387
|
*/
|
|
378
388
|
static fromBlob(e, t, n) {
|
|
379
|
-
const _ =
|
|
380
|
-
var s = w(n) ? 0 :
|
|
389
|
+
const _ = b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), c = a;
|
|
390
|
+
var s = w(n) ? 0 : b(n, o.__wbindgen_malloc, o.__wbindgen_realloc), i = a;
|
|
381
391
|
return o.wasmreader_fromBlob(_, c, t, s, i);
|
|
382
392
|
}
|
|
383
393
|
/**
|
|
@@ -395,8 +405,8 @@ var be = $((le, P) => {
|
|
|
395
405
|
* @returns {Promise<WasmReader>}
|
|
396
406
|
*/
|
|
397
407
|
static fromBytes(e, t, n) {
|
|
398
|
-
const _ =
|
|
399
|
-
var u = w(n) ? 0 :
|
|
408
|
+
const _ = b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), c = a, s = re(t, o.__wbindgen_malloc), i = a;
|
|
409
|
+
var u = w(n) ? 0 : b(n, o.__wbindgen_malloc, o.__wbindgen_realloc), g = a;
|
|
400
410
|
return o.wasmreader_fromBytes(_, c, s, i, u, g);
|
|
401
411
|
}
|
|
402
412
|
/**
|
|
@@ -419,8 +429,8 @@ var be = $((le, P) => {
|
|
|
419
429
|
manifestStore() {
|
|
420
430
|
const e = o.wasmreader_manifestStore(this.__wbg_ptr);
|
|
421
431
|
if (e[2])
|
|
422
|
-
throw
|
|
423
|
-
return
|
|
432
|
+
throw d(e[1]);
|
|
433
|
+
return d(e[0]);
|
|
424
434
|
}
|
|
425
435
|
/**
|
|
426
436
|
* Accepts a URI reference to a binary object in the resource store and returns a `js_sys::Uint8Array` containing the resource's bytes.
|
|
@@ -428,14 +438,21 @@ var be = $((le, P) => {
|
|
|
428
438
|
* @returns {Uint8Array}
|
|
429
439
|
*/
|
|
430
440
|
resourceToBytes(e) {
|
|
431
|
-
const t =
|
|
441
|
+
const t = b(e, o.__wbindgen_malloc, o.__wbindgen_realloc), n = a, _ = o.wasmreader_resourceToBytes(this.__wbg_ptr, t, n);
|
|
432
442
|
if (_[2])
|
|
433
|
-
throw
|
|
434
|
-
return
|
|
443
|
+
throw d(_[1]);
|
|
444
|
+
return d(_[0]);
|
|
435
445
|
}
|
|
436
446
|
}
|
|
437
447
|
Symbol.dispose && (M.prototype[Symbol.dispose] = M.prototype.free);
|
|
438
|
-
function H() {
|
|
448
|
+
function H(r) {
|
|
449
|
+
const e = o.encodeSignerPayload(r);
|
|
450
|
+
if (e[3])
|
|
451
|
+
throw d(e[2]);
|
|
452
|
+
var t = A(e[0], e[1]).slice();
|
|
453
|
+
return o.__wbindgen_free(e[0], e[1] * 1, 1), t;
|
|
454
|
+
}
|
|
455
|
+
function X() {
|
|
439
456
|
return {
|
|
440
457
|
__proto__: null,
|
|
441
458
|
"./c2pa_bg.js": {
|
|
@@ -447,7 +464,7 @@ var be = $((le, P) => {
|
|
|
447
464
|
return Number(e);
|
|
448
465
|
},
|
|
449
466
|
__wbg_String_8564e559799eccda: function(e, t) {
|
|
450
|
-
const n = String(t), _ =
|
|
467
|
+
const n = String(t), _ = b(n, o.__wbindgen_malloc, o.__wbindgen_realloc), c = a;
|
|
451
468
|
m().setInt32(e + 4, c, !0), m().setInt32(e + 0, _, !0);
|
|
452
469
|
},
|
|
453
470
|
__wbg___wbindgen_bigint_get_as_i64_a2383202b9353e4c: function(e, t) {
|
|
@@ -459,7 +476,7 @@ var be = $((le, P) => {
|
|
|
459
476
|
return w(n) ? 16777215 : n ? 1 : 0;
|
|
460
477
|
},
|
|
461
478
|
__wbg___wbindgen_debug_string_4687d8d8c2017d52: function(e, t) {
|
|
462
|
-
const n = x(t), _ =
|
|
479
|
+
const n = x(t), _ = b(n, o.__wbindgen_malloc, o.__wbindgen_realloc), c = a;
|
|
463
480
|
m().setInt32(e + 4, c, !0), m().setInt32(e + 0, _, !0);
|
|
464
481
|
},
|
|
465
482
|
__wbg___wbindgen_in_92f62ee1427d9e49: function(e, t) {
|
|
@@ -496,7 +513,7 @@ var be = $((le, P) => {
|
|
|
496
513
|
},
|
|
497
514
|
__wbg___wbindgen_string_get_0380ccaa2f57f0d9: function(e, t) {
|
|
498
515
|
const n = t, _ = typeof n == "string" ? n : void 0;
|
|
499
|
-
var c = w(_) ? 0 :
|
|
516
|
+
var c = w(_) ? 0 : b(_, o.__wbindgen_malloc, o.__wbindgen_realloc), s = a;
|
|
500
517
|
m().setInt32(e + 4, s, !0), m().setInt32(e + 0, c, !0);
|
|
501
518
|
},
|
|
502
519
|
__wbg___wbindgen_throw_41e9ee4f547fc59a: function(e, t) {
|
|
@@ -565,17 +582,17 @@ var be = $((le, P) => {
|
|
|
565
582
|
},
|
|
566
583
|
__wbg_getRandomValues_436a51d0629d84e1: function() {
|
|
567
584
|
return l(function(e, t) {
|
|
568
|
-
globalThis.crypto.getRandomValues(
|
|
585
|
+
globalThis.crypto.getRandomValues(A(e, t));
|
|
569
586
|
}, arguments);
|
|
570
587
|
},
|
|
571
588
|
__wbg_getRandomValues_a608c4436c19407a: function() {
|
|
572
589
|
return l(function(e, t) {
|
|
573
|
-
globalThis.crypto.getRandomValues(
|
|
590
|
+
globalThis.crypto.getRandomValues(A(e, t));
|
|
574
591
|
}, arguments);
|
|
575
592
|
},
|
|
576
593
|
__wbg_getRandomValues_a678b7300e8ed57f: function() {
|
|
577
594
|
return l(function(e, t) {
|
|
578
|
-
globalThis.crypto.getRandomValues(
|
|
595
|
+
globalThis.crypto.getRandomValues(A(e, t));
|
|
579
596
|
}, arguments);
|
|
580
597
|
},
|
|
581
598
|
__wbg_getRandomValues_c44a50d8cfdaebeb: function() {
|
|
@@ -710,7 +727,7 @@ var be = $((le, P) => {
|
|
|
710
727
|
return new Array();
|
|
711
728
|
},
|
|
712
729
|
__wbg_new_from_slice_9a868026ffa4208a: function(e, t) {
|
|
713
|
-
return new Uint8Array(
|
|
730
|
+
return new Uint8Array(A(e, t));
|
|
714
731
|
},
|
|
715
732
|
__wbg_new_typed_b01cb72a8af741a3: function(e, t) {
|
|
716
733
|
try {
|
|
@@ -718,7 +735,7 @@ var be = $((le, P) => {
|
|
|
718
735
|
const u = n.a;
|
|
719
736
|
n.a = 0;
|
|
720
737
|
try {
|
|
721
|
-
return
|
|
738
|
+
return Q(u, n.b, s, i);
|
|
722
739
|
} finally {
|
|
723
740
|
n.a = u;
|
|
724
741
|
}
|
|
@@ -754,7 +771,7 @@ var be = $((le, P) => {
|
|
|
754
771
|
return e.process;
|
|
755
772
|
},
|
|
756
773
|
__wbg_prototypesetcall_bc27214492979395: function(e, t, n) {
|
|
757
|
-
Uint8Array.prototype.set.call(
|
|
774
|
+
Uint8Array.prototype.set.call(A(e, t), n);
|
|
758
775
|
},
|
|
759
776
|
__wbg_queueMicrotask_9833f9a49df95a49: function(e) {
|
|
760
777
|
return e.queueMicrotask;
|
|
@@ -774,7 +791,7 @@ var be = $((le, P) => {
|
|
|
774
791
|
},
|
|
775
792
|
__wbg_require_b4edbdcf3e2a1ef0: function() {
|
|
776
793
|
return l(function() {
|
|
777
|
-
return
|
|
794
|
+
return C.require;
|
|
778
795
|
}, arguments);
|
|
779
796
|
},
|
|
780
797
|
__wbg_resolve_0076e10020304ede: function(e) {
|
|
@@ -784,7 +801,7 @@ var be = $((le, P) => {
|
|
|
784
801
|
return setTimeout(e, t);
|
|
785
802
|
},
|
|
786
803
|
__wbg_set_575d3ddb70fe831d: function(e, t, n) {
|
|
787
|
-
e.set(
|
|
804
|
+
e.set(A(t, n));
|
|
788
805
|
},
|
|
789
806
|
__wbg_set_6ae97e73113c4f0b: function(e, t, n) {
|
|
790
807
|
return e.set(t, n);
|
|
@@ -799,10 +816,10 @@ var be = $((le, P) => {
|
|
|
799
816
|
e.body = t;
|
|
800
817
|
},
|
|
801
818
|
__wbg_set_cache_7507c4cc5938ccc7: function(e, t) {
|
|
802
|
-
e.cache =
|
|
819
|
+
e.cache = Z[t];
|
|
803
820
|
},
|
|
804
821
|
__wbg_set_credentials_e0dcce31ca532b7d: function(e, t) {
|
|
805
|
-
e.credentials =
|
|
822
|
+
e.credentials = ee[t];
|
|
806
823
|
},
|
|
807
824
|
__wbg_set_headers_40ad33dcf016613f: function(e, t) {
|
|
808
825
|
e.headers = t;
|
|
@@ -811,7 +828,7 @@ var be = $((le, P) => {
|
|
|
811
828
|
e.method = p(t, n);
|
|
812
829
|
},
|
|
813
830
|
__wbg_set_mode_74e772635acb96ec: function(e, t) {
|
|
814
|
-
e.mode =
|
|
831
|
+
e.mode = te[t];
|
|
815
832
|
},
|
|
816
833
|
__wbg_set_signal_2dbd377604627f26: function(e, t) {
|
|
817
834
|
e.signal = t;
|
|
@@ -828,24 +845,24 @@ var be = $((le, P) => {
|
|
|
828
845
|
}, arguments);
|
|
829
846
|
},
|
|
830
847
|
__wbg_stack_3b0d974bbf31e44f: function(e, t) {
|
|
831
|
-
const n = t.stack, _ =
|
|
848
|
+
const n = t.stack, _ = b(n, o.__wbindgen_malloc, o.__wbindgen_realloc), c = a;
|
|
832
849
|
m().setInt32(e + 4, c, !0), m().setInt32(e + 0, _, !0);
|
|
833
850
|
},
|
|
834
851
|
__wbg_static_accessor_GLOBAL_266715b9d96ba635: function() {
|
|
835
852
|
const e = typeof global > "u" ? null : global;
|
|
836
|
-
return w(e) ? 0 :
|
|
853
|
+
return w(e) ? 0 : R(e);
|
|
837
854
|
},
|
|
838
855
|
__wbg_static_accessor_GLOBAL_THIS_10fb7dc1ae063179: function() {
|
|
839
856
|
const e = typeof globalThis > "u" ? null : globalThis;
|
|
840
|
-
return w(e) ? 0 :
|
|
857
|
+
return w(e) ? 0 : R(e);
|
|
841
858
|
},
|
|
842
859
|
__wbg_static_accessor_SELF_0b583911f537483a: function() {
|
|
843
860
|
const e = typeof self > "u" ? null : self;
|
|
844
|
-
return w(e) ? 0 :
|
|
861
|
+
return w(e) ? 0 : R(e);
|
|
845
862
|
},
|
|
846
863
|
__wbg_static_accessor_WINDOW_d7f903d1508cbdc4: function() {
|
|
847
864
|
const e = typeof window > "u" ? null : window;
|
|
848
|
-
return w(e) ? 0 :
|
|
865
|
+
return w(e) ? 0 : R(e);
|
|
849
866
|
},
|
|
850
867
|
__wbg_status_ce0a98d3c57125f3: function(e) {
|
|
851
868
|
return e.status;
|
|
@@ -865,7 +882,7 @@ var be = $((le, P) => {
|
|
|
865
882
|
return e.then(t);
|
|
866
883
|
},
|
|
867
884
|
__wbg_url_8e28edeab4cd6bed: function(e, t) {
|
|
868
|
-
const n = t.url, _ =
|
|
885
|
+
const n = t.url, _ = b(n, o.__wbindgen_malloc, o.__wbindgen_realloc), c = a;
|
|
869
886
|
m().setInt32(e + 4, c, !0), m().setInt32(e + 0, _, !0);
|
|
870
887
|
},
|
|
871
888
|
__wbg_valueOf_6abcff09c8156bb6: function(e) {
|
|
@@ -881,10 +898,10 @@ var be = $((le, P) => {
|
|
|
881
898
|
return M.__wrap(e);
|
|
882
899
|
},
|
|
883
900
|
__wbindgen_generic_0000000000000001: function(e, t) {
|
|
884
|
-
return L(e, t,
|
|
901
|
+
return L(e, t, K);
|
|
885
902
|
},
|
|
886
903
|
__wbindgen_generic_0000000000000002: function(e, t) {
|
|
887
|
-
return L(e, t,
|
|
904
|
+
return L(e, t, Y);
|
|
888
905
|
},
|
|
889
906
|
__wbindgen_generic_0000000000000003: function(e) {
|
|
890
907
|
return e;
|
|
@@ -893,7 +910,7 @@ var be = $((le, P) => {
|
|
|
893
910
|
return e;
|
|
894
911
|
},
|
|
895
912
|
__wbindgen_generic_0000000000000005: function(e, t) {
|
|
896
|
-
return
|
|
913
|
+
return A(e, t);
|
|
897
914
|
},
|
|
898
915
|
__wbindgen_generic_0000000000000006: function(e, t) {
|
|
899
916
|
return p(e, t);
|
|
@@ -902,7 +919,7 @@ var be = $((le, P) => {
|
|
|
902
919
|
return BigInt.asUintN(64, e);
|
|
903
920
|
},
|
|
904
921
|
__wbindgen_generic_0000000000000008: function(e, t) {
|
|
905
|
-
var n =
|
|
922
|
+
var n = A(e, t).slice();
|
|
906
923
|
return o.__wbindgen_free(e, t * 1, 1), n;
|
|
907
924
|
},
|
|
908
925
|
__wbindgen_init_externref_table: function() {
|
|
@@ -912,24 +929,24 @@ var be = $((le, P) => {
|
|
|
912
929
|
}
|
|
913
930
|
};
|
|
914
931
|
}
|
|
915
|
-
function
|
|
932
|
+
function Y(r, e) {
|
|
916
933
|
o.wasm_bindgen_255200e6d97c625a___convert__closures_____invoke_______true_(r, e);
|
|
917
934
|
}
|
|
918
|
-
function
|
|
935
|
+
function K(r, e, t) {
|
|
919
936
|
const n = o.wasm_bindgen_255200e6d97c625a___convert__closures_____invoke___wasm_bindgen_255200e6d97c625a___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_255200e6d97c625a___JsError___true_(r, e, t);
|
|
920
937
|
if (n[1])
|
|
921
|
-
throw
|
|
938
|
+
throw d(n[0]);
|
|
922
939
|
}
|
|
923
|
-
function
|
|
940
|
+
function Q(r, e, t, n) {
|
|
924
941
|
o.wasm_bindgen_255200e6d97c625a___convert__closures_____invoke___js_sys_bd80bcec31efc073___Function_fn_wasm_bindgen_255200e6d97c625a___JsValue_____wasm_bindgen_255200e6d97c625a___sys__Undefined___js_sys_bd80bcec31efc073___Function_fn_wasm_bindgen_255200e6d97c625a___JsValue_____wasm_bindgen_255200e6d97c625a___sys__Undefined_______true_(r, e, t, n);
|
|
925
942
|
}
|
|
926
|
-
const
|
|
943
|
+
const Z = ["default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached"], ee = ["omit", "same-origin", "include"], te = ["same-origin", "no-cors", "cors", "navigate"], z = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
927
944
|
}, unregister: () => {
|
|
928
945
|
} } : new FinalizationRegistry((r) => o.__wbg_wasmbuilder_free(r, 1)), N = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
929
946
|
}, unregister: () => {
|
|
930
947
|
} } : new FinalizationRegistry((r) => o.__wbg_wasmreader_free(r, 1));
|
|
931
948
|
typeof FinalizationRegistry > "u" || new FinalizationRegistry((r) => o.__wbg_wasmsigner_free(r, 1));
|
|
932
|
-
function
|
|
949
|
+
function R(r) {
|
|
933
950
|
const e = o.__externref_table_alloc();
|
|
934
951
|
return o.__wbindgen_externrefs.set(e, r), e;
|
|
935
952
|
}
|
|
@@ -973,29 +990,29 @@ var be = $((le, P) => {
|
|
|
973
990
|
return r instanceof Error ? `${r.name}: ${r.message}
|
|
974
991
|
${r.stack}` : n;
|
|
975
992
|
}
|
|
976
|
-
function
|
|
977
|
-
return r = r >>> 0,
|
|
993
|
+
function A(r, e) {
|
|
994
|
+
return r = r >>> 0, S().subarray(r / 1, r / 1 + e);
|
|
978
995
|
}
|
|
979
|
-
let
|
|
996
|
+
let F = null;
|
|
980
997
|
function m() {
|
|
981
|
-
return (
|
|
998
|
+
return (F === null || F.buffer.detached === !0 || F.buffer.detached === void 0 && F.buffer !== o.memory.buffer) && (F = new DataView(o.memory.buffer)), F;
|
|
982
999
|
}
|
|
983
1000
|
function p(r, e) {
|
|
984
|
-
return
|
|
1001
|
+
return oe(r >>> 0, e);
|
|
985
1002
|
}
|
|
986
1003
|
let B = null;
|
|
987
|
-
function
|
|
1004
|
+
function ne() {
|
|
988
1005
|
return (B === null || B.byteLength === 0) && (B = new Uint32Array(o.memory.buffer)), B;
|
|
989
1006
|
}
|
|
990
1007
|
let T = null;
|
|
991
|
-
function
|
|
1008
|
+
function S() {
|
|
992
1009
|
return (T === null || T.byteLength === 0) && (T = new Uint8Array(o.memory.buffer)), T;
|
|
993
1010
|
}
|
|
994
1011
|
function l(r, e) {
|
|
995
1012
|
try {
|
|
996
1013
|
return r.apply(this, e);
|
|
997
1014
|
} catch (t) {
|
|
998
|
-
const n =
|
|
1015
|
+
const n = R(t);
|
|
999
1016
|
o.__wbindgen_exn_store(n);
|
|
1000
1017
|
}
|
|
1001
1018
|
}
|
|
@@ -1019,19 +1036,19 @@ ${r.stack}` : n;
|
|
|
1019
1036
|
}
|
|
1020
1037
|
function E(r, e) {
|
|
1021
1038
|
const t = e(r.length * 4, 4) >>> 0;
|
|
1022
|
-
return
|
|
1039
|
+
return ne().set(r, t / 4), a = r.length, t;
|
|
1023
1040
|
}
|
|
1024
|
-
function
|
|
1041
|
+
function re(r, e) {
|
|
1025
1042
|
const t = e(r.length * 1, 1) >>> 0;
|
|
1026
|
-
return
|
|
1043
|
+
return S().set(r, t / 1), a = r.length, t;
|
|
1027
1044
|
}
|
|
1028
|
-
function
|
|
1045
|
+
function b(r, e, t) {
|
|
1029
1046
|
if (t === void 0) {
|
|
1030
1047
|
const i = j.encode(r), u = e(i.length, 1) >>> 0;
|
|
1031
|
-
return
|
|
1048
|
+
return S().subarray(u, u + i.length).set(i), a = i.length, u;
|
|
1032
1049
|
}
|
|
1033
1050
|
let n = r.length, _ = e(n, 1) >>> 0;
|
|
1034
|
-
const c =
|
|
1051
|
+
const c = S();
|
|
1035
1052
|
let s = 0;
|
|
1036
1053
|
for (; s < n; s++) {
|
|
1037
1054
|
const i = r.charCodeAt(s);
|
|
@@ -1040,21 +1057,21 @@ ${r.stack}` : n;
|
|
|
1040
1057
|
}
|
|
1041
1058
|
if (s !== n) {
|
|
1042
1059
|
s !== 0 && (r = r.slice(s)), _ = t(_, n, n = s + r.length * 3, 1) >>> 0;
|
|
1043
|
-
const i =
|
|
1060
|
+
const i = S().subarray(_ + s, _ + n), u = j.encodeInto(r, i);
|
|
1044
1061
|
s += u.written, _ = t(_, n, s, 1) >>> 0;
|
|
1045
1062
|
}
|
|
1046
1063
|
return a = s, _;
|
|
1047
1064
|
}
|
|
1048
|
-
function
|
|
1065
|
+
function d(r) {
|
|
1049
1066
|
const e = o.__wbindgen_externrefs.get(r);
|
|
1050
1067
|
return o.__externref_table_dealloc(r), e;
|
|
1051
1068
|
}
|
|
1052
1069
|
let O = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
|
|
1053
1070
|
O.decode();
|
|
1054
|
-
const
|
|
1071
|
+
const _e = 2146435072;
|
|
1055
1072
|
let U = 0;
|
|
1056
|
-
function
|
|
1057
|
-
return U += e, U >=
|
|
1073
|
+
function oe(r, e) {
|
|
1074
|
+
return U += e, U >= _e && (O = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), O.decode(), U = e), O.decode(S().subarray(r, r + e));
|
|
1058
1075
|
}
|
|
1059
1076
|
const j = new TextEncoder();
|
|
1060
1077
|
"encodeInto" in j || (j.encodeInto = function(r, e) {
|
|
@@ -1065,18 +1082,18 @@ ${r.stack}` : n;
|
|
|
1065
1082
|
};
|
|
1066
1083
|
});
|
|
1067
1084
|
let a = 0, o;
|
|
1068
|
-
function
|
|
1069
|
-
return o = r.exports,
|
|
1085
|
+
function ce(r, e) {
|
|
1086
|
+
return o = r.exports, F = null, B = null, T = null, o.__wbindgen_start(), o;
|
|
1070
1087
|
}
|
|
1071
|
-
function
|
|
1088
|
+
function se(r) {
|
|
1072
1089
|
if (o !== void 0) return o;
|
|
1073
1090
|
r !== void 0 && (Object.getPrototypeOf(r) === Object.prototype ? { module: r } = r : console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));
|
|
1074
|
-
const e =
|
|
1091
|
+
const e = X();
|
|
1075
1092
|
r instanceof WebAssembly.Module || (r = new WebAssembly.Module(r));
|
|
1076
1093
|
const t = new WebAssembly.Instance(r, e);
|
|
1077
|
-
return
|
|
1094
|
+
return ce(t);
|
|
1078
1095
|
}
|
|
1079
|
-
function
|
|
1096
|
+
function P() {
|
|
1080
1097
|
let r = 0;
|
|
1081
1098
|
const e = /* @__PURE__ */ new Map();
|
|
1082
1099
|
return {
|
|
@@ -1095,18 +1112,18 @@ ${r.stack}` : n;
|
|
|
1095
1112
|
}
|
|
1096
1113
|
};
|
|
1097
1114
|
}
|
|
1098
|
-
const
|
|
1099
|
-
function
|
|
1115
|
+
const W = Symbol("transfer");
|
|
1116
|
+
function I(r, e) {
|
|
1100
1117
|
return {
|
|
1101
|
-
type:
|
|
1118
|
+
type: W,
|
|
1102
1119
|
value: r,
|
|
1103
1120
|
transfer: e ? Array.isArray(e) ? e : [e] : [r]
|
|
1104
1121
|
};
|
|
1105
1122
|
}
|
|
1106
1123
|
function V(r) {
|
|
1107
|
-
return !!(r && typeof r == "object" && Reflect.get(r, "type") ===
|
|
1124
|
+
return !!(r && typeof r == "object" && Reflect.get(r, "type") === W);
|
|
1108
1125
|
}
|
|
1109
|
-
function
|
|
1126
|
+
function q(r = "default") {
|
|
1110
1127
|
return {
|
|
1111
1128
|
createTx(e) {
|
|
1112
1129
|
const t = /* @__PURE__ */ new Map(), n = e ?? self;
|
|
@@ -1121,14 +1138,14 @@ ${r.stack}` : n;
|
|
|
1121
1138
|
{
|
|
1122
1139
|
get(_, c) {
|
|
1123
1140
|
return (...s) => {
|
|
1124
|
-
const i =
|
|
1125
|
-
return s.forEach((
|
|
1126
|
-
V(
|
|
1141
|
+
const i = ie(), u = [], g = [];
|
|
1142
|
+
return s.forEach((v) => {
|
|
1143
|
+
V(v) ? (u.push(v.value), g.push(...v.transfer)) : u.push(v);
|
|
1127
1144
|
}), n.postMessage(
|
|
1128
1145
|
{ method: c, args: u, id: i, channelName: r },
|
|
1129
1146
|
{ transfer: g }
|
|
1130
|
-
), new Promise((
|
|
1131
|
-
t.set(i, { resolve:
|
|
1147
|
+
), new Promise((v, G) => {
|
|
1148
|
+
t.set(i, { resolve: v, reject: G });
|
|
1132
1149
|
});
|
|
1133
1150
|
};
|
|
1134
1151
|
}
|
|
@@ -1155,17 +1172,17 @@ ${r.stack}` : n;
|
|
|
1155
1172
|
}
|
|
1156
1173
|
};
|
|
1157
1174
|
}
|
|
1158
|
-
function
|
|
1175
|
+
function ie() {
|
|
1159
1176
|
return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
|
|
1160
1177
|
}
|
|
1161
|
-
const { rx:
|
|
1162
|
-
function
|
|
1178
|
+
const { rx: ae } = q(), { createTx: ue } = q("worker");
|
|
1179
|
+
function de(r) {
|
|
1163
1180
|
if (!(r != null && r.manifests))
|
|
1164
1181
|
return r;
|
|
1165
1182
|
const e = r.manifests, t = Object.assign(/* @__PURE__ */ Object.create(null), e), n = Object.getPrototypeOf(e);
|
|
1166
1183
|
return n !== null && n !== Object.prototype && (t.__proto__ = n), r.manifests = t, r;
|
|
1167
1184
|
}
|
|
1168
|
-
const y =
|
|
1185
|
+
const y = P(), f = P(), k = ue();
|
|
1169
1186
|
function D(r) {
|
|
1170
1187
|
return r.map((e) => ({
|
|
1171
1188
|
sigType: e.sigType,
|
|
@@ -1174,14 +1191,18 @@ ${r.stack}` : n;
|
|
|
1174
1191
|
roles: e.roles,
|
|
1175
1192
|
sign: async (t) => {
|
|
1176
1193
|
const n = t.referencedAssertions.map((c) => c.hash.buffer);
|
|
1177
|
-
return await k.cawgSign(e.requestId,
|
|
1194
|
+
return await k.cawgSign(e.requestId, I(t, n));
|
|
1178
1195
|
}
|
|
1179
1196
|
}));
|
|
1180
1197
|
}
|
|
1181
|
-
|
|
1182
|
-
|
|
1198
|
+
ae(
|
|
1199
|
+
be({
|
|
1183
1200
|
async initWorker(r) {
|
|
1184
|
-
|
|
1201
|
+
se({ module: r });
|
|
1202
|
+
},
|
|
1203
|
+
encodeSignerPayload(r) {
|
|
1204
|
+
const e = H(r);
|
|
1205
|
+
return I(e, e.buffer);
|
|
1185
1206
|
},
|
|
1186
1207
|
async reader_fromBlob(r, e, t) {
|
|
1187
1208
|
const n = await M.fromBlob(r, e, t);
|
|
@@ -1201,7 +1222,7 @@ ${r.stack}` : n;
|
|
|
1201
1222
|
},
|
|
1202
1223
|
reader_manifestStore(r) {
|
|
1203
1224
|
const e = y.get(r);
|
|
1204
|
-
return
|
|
1225
|
+
return de(e.manifestStore());
|
|
1205
1226
|
},
|
|
1206
1227
|
reader_activeManifest(r) {
|
|
1207
1228
|
return y.get(r).activeManifest();
|
|
@@ -1214,7 +1235,7 @@ ${r.stack}` : n;
|
|
|
1214
1235
|
},
|
|
1215
1236
|
reader_resourceToBytes(r, e) {
|
|
1216
1237
|
const n = y.get(r).resourceToBytes(e);
|
|
1217
|
-
return
|
|
1238
|
+
return I(n, n.buffer);
|
|
1218
1239
|
},
|
|
1219
1240
|
reader_free(r) {
|
|
1220
1241
|
y.get(r).free(), y.remove(r);
|
|
@@ -1267,6 +1288,9 @@ ${r.stack}` : n;
|
|
|
1267
1288
|
builder_setNoEmbed(r, e) {
|
|
1268
1289
|
f.get(r).setNoEmbed(e);
|
|
1269
1290
|
},
|
|
1291
|
+
builder_updateManifestProperty(r, e, t) {
|
|
1292
|
+
f.get(r).updateManifestProperty(e, t);
|
|
1293
|
+
},
|
|
1270
1294
|
builder_setThumbnailFromBlob(r, e, t) {
|
|
1271
1295
|
f.get(r).setThumbnailFromBlob(e, t);
|
|
1272
1296
|
},
|
|
@@ -1284,7 +1308,7 @@ ${r.stack}` : n;
|
|
|
1284
1308
|
},
|
|
1285
1309
|
builder_toArchive(r) {
|
|
1286
1310
|
const t = f.get(r).toArchive();
|
|
1287
|
-
return
|
|
1311
|
+
return I(t, t.buffer);
|
|
1288
1312
|
},
|
|
1289
1313
|
async builder_sign(r, e, t, n, _, c) {
|
|
1290
1314
|
const i = await f.get(r).sign(
|
|
@@ -1293,7 +1317,7 @@ ${r.stack}` : n;
|
|
|
1293
1317
|
alg: t.alg,
|
|
1294
1318
|
sign: async (u) => await k.sign(
|
|
1295
1319
|
e,
|
|
1296
|
-
|
|
1320
|
+
I(u, u.buffer),
|
|
1297
1321
|
t.reserveSize
|
|
1298
1322
|
)
|
|
1299
1323
|
},
|
|
@@ -1301,7 +1325,7 @@ ${r.stack}` : n;
|
|
|
1301
1325
|
_,
|
|
1302
1326
|
c
|
|
1303
1327
|
);
|
|
1304
|
-
return
|
|
1328
|
+
return I(i, i.buffer);
|
|
1305
1329
|
},
|
|
1306
1330
|
async builder_signAndGetManifestBytes(r, e, t, n, _, c) {
|
|
1307
1331
|
const s = f.get(r), { manifest: i, asset: u } = await s.signAndGetManifestBytes(
|
|
@@ -1310,7 +1334,7 @@ ${r.stack}` : n;
|
|
|
1310
1334
|
alg: t.alg,
|
|
1311
1335
|
sign: async (g) => await k.sign(
|
|
1312
1336
|
e,
|
|
1313
|
-
|
|
1337
|
+
I(g, g.buffer),
|
|
1314
1338
|
t.reserveSize
|
|
1315
1339
|
)
|
|
1316
1340
|
},
|
|
@@ -1318,7 +1342,7 @@ ${r.stack}` : n;
|
|
|
1318
1342
|
_,
|
|
1319
1343
|
c
|
|
1320
1344
|
);
|
|
1321
|
-
return
|
|
1345
|
+
return I(
|
|
1322
1346
|
{
|
|
1323
1347
|
manifest: i,
|
|
1324
1348
|
asset: u
|
|
@@ -1331,7 +1355,7 @@ ${r.stack}` : n;
|
|
|
1331
1355
|
}
|
|
1332
1356
|
})
|
|
1333
1357
|
);
|
|
1334
|
-
function
|
|
1358
|
+
function be(r) {
|
|
1335
1359
|
const e = {};
|
|
1336
1360
|
for (const [t, n] of Object.entries(r))
|
|
1337
1361
|
e[t] = async (..._) => {
|
|
@@ -1344,4 +1368,4 @@ ${r.stack}` : n;
|
|
|
1344
1368
|
return e;
|
|
1345
1369
|
}
|
|
1346
1370
|
});
|
|
1347
|
-
export default
|
|
1371
|
+
export default fe();
|