@hinkal/common 0.0.23 → 0.0.26
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/assets/{snarkjsWorkerLauncher-DGyRhsnt.js → snarkjsWorkerLauncher-CA30lfwg.js} +1 -1
- package/assets/{snarkjsWorkerLogic-JVcROE0k.js → snarkjsWorkerLogic-CEwqbPan.js} +1678 -1699
- package/assets/{snarkjsWorkerLogic-asV4ifKL.js → snarkjsWorkerLogic-D1v0gyhW.js} +2 -2
- package/assets/{utxoWorkerLauncher-BHLbZZie.js → utxoWorkerLauncher-DD2MTdrZ.js} +1 -1
- package/assets/{utxoWorkerLogic-B5nYEbpt.js → utxoWorkerLogic-BrNVeSHt.js} +2 -2
- package/assets/{utxoWorkerLogic-DxfPxQs8.js → utxoWorkerLogic-POijX68C.js} +26689 -26663
- package/assets/viteWorkerURL.constant-CaH_VFjT.js +11 -0
- package/assets/{zkProofWorkerLauncher-D8OXlf5e.js → zkProofWorkerLauncher-DYFbaIEA.js} +1 -1
- package/assets/{zkProofWorkerLogic-Ch0jn4N_.js → zkProofWorkerLogic-D39_bgLU.js} +71 -70
- package/{index-DcZZLkPF.js → index-BStmYOii.js} +9 -8
- package/index.js +1 -1
- package/package.json +1 -1
- package/{snarkjsWorkerLogic-2nqMU9wj.js → snarkjsWorkerLogic-BU_p_jSn.js} +2 -2
- package/{utxoWorkerLogic-CLCVRQ27.js → utxoWorkerLogic-Dkcabya2.js} +2 -2
- package/viteWorkerURL.constant-DS1U1DdN.js +9 -0
- package/{workerProxy-u1IDSczf.js → workerProxy-BSXgbO_3.js} +1 -1
- package/{zkProofWorkerLogic-CQqAq0cY.js → zkProofWorkerLogic-CGqOom_s.js} +2 -2
- package/assets/viteWorkerURL.constant-dLfAyCEb.js +0 -11
- package/viteWorkerURL.constant-pxNQtpI_.js +0 -9
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { W as r } from "./zkProofWorkerLogic-D39_bgLU.js";
|
|
2
|
+
import "./zkProofWorkerLauncher-DYFbaIEA.js";
|
|
3
|
+
var o = self.location.href, e = "" + new URL("snarkjsWorkerLauncher-CA30lfwg.js", import.meta.url).href, a = "" + new URL("utxoWorkerLauncher-DD2MTdrZ.js", import.meta.url).href;
|
|
4
|
+
const n = {
|
|
5
|
+
[r.ZKProof]: o,
|
|
6
|
+
[r.SnarkJS]: e,
|
|
7
|
+
[r.UTXO]: a
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
n as workerViteURL
|
|
11
|
+
};
|
|
@@ -1192,7 +1192,7 @@ const It = /* @__PURE__ */ dt(mt), Ft = () => {
|
|
|
1192
1192
|
};
|
|
1193
1193
|
globalThis.process = It;
|
|
1194
1194
|
globalThis.Buffer = gr;
|
|
1195
|
-
const Tt = import("./zkProofWorkerLogic-
|
|
1195
|
+
const Tt = import("./zkProofWorkerLogic-D39_bgLU.js").then(function(h) {
|
|
1196
1196
|
return h.z;
|
|
1197
1197
|
});
|
|
1198
1198
|
addEventListener("message", async (h) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as dist$1, p as process$1, B as Buffer } from "./zkProofWorkerLauncher-
|
|
1
|
+
import { d as dist$1, p as process$1, B as Buffer } from "./zkProofWorkerLauncher-DYFbaIEA.js";
|
|
2
2
|
const hexLen = [0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4];
|
|
3
3
|
function fromString$1(a, d) {
|
|
4
4
|
if (!d || d == 10)
|
|
@@ -12204,25 +12204,26 @@ var tryTypedArrays = function(d) {
|
|
|
12204
12204
|
})(types$i);
|
|
12205
12205
|
var isBufferBrowser = function(d) {
|
|
12206
12206
|
return d && typeof d == "object" && typeof d.copy == "function" && typeof d.fill == "function" && typeof d.readUInt8 == "function";
|
|
12207
|
-
}, inherits_browser$1 = { exports: {} };
|
|
12208
|
-
|
|
12209
|
-
|
|
12210
|
-
|
|
12211
|
-
|
|
12212
|
-
|
|
12213
|
-
|
|
12214
|
-
|
|
12207
|
+
}, inherits_browser$1 = { exports: {} }, hasRequiredInherits_browser;
|
|
12208
|
+
function requireInherits_browser() {
|
|
12209
|
+
return hasRequiredInherits_browser || (hasRequiredInherits_browser = 1, typeof Object.create == "function" ? inherits_browser$1.exports = function(d, n) {
|
|
12210
|
+
n && (d.super_ = n, d.prototype = Object.create(n.prototype, {
|
|
12211
|
+
constructor: {
|
|
12212
|
+
value: d,
|
|
12213
|
+
enumerable: !1,
|
|
12214
|
+
writable: !0,
|
|
12215
|
+
configurable: !0
|
|
12216
|
+
}
|
|
12217
|
+
}));
|
|
12218
|
+
} : inherits_browser$1.exports = function(d, n) {
|
|
12219
|
+
if (n) {
|
|
12220
|
+
d.super_ = n;
|
|
12221
|
+
var c = function() {
|
|
12222
|
+
};
|
|
12223
|
+
c.prototype = n.prototype, d.prototype = new c(), d.prototype.constructor = d;
|
|
12215
12224
|
}
|
|
12216
|
-
})
|
|
12217
|
-
}
|
|
12218
|
-
if (n) {
|
|
12219
|
-
d.super_ = n;
|
|
12220
|
-
var c = function() {
|
|
12221
|
-
};
|
|
12222
|
-
c.prototype = n.prototype, d.prototype = new c(), d.prototype.constructor = d;
|
|
12223
|
-
}
|
|
12224
|
-
};
|
|
12225
|
-
var inherits_browserExports = inherits_browser$1.exports;
|
|
12225
|
+
}), inherits_browser$1.exports;
|
|
12226
|
+
}
|
|
12226
12227
|
(function(a) {
|
|
12227
12228
|
var d = Object.getOwnPropertyDescriptors || function(ue) {
|
|
12228
12229
|
for (var he = Object.keys(ue), fe = {}, pe = 0; pe < he.length; pe++)
|
|
@@ -12532,7 +12533,7 @@ var inherits_browserExports = inherits_browser$1.exports;
|
|
|
12532
12533
|
}
|
|
12533
12534
|
a.log = function() {
|
|
12534
12535
|
console.log("%s - %s", k(), a.format.apply(a, arguments));
|
|
12535
|
-
}, a.inherits =
|
|
12536
|
+
}, a.inherits = requireInherits_browser(), a._extend = function(ce, ue) {
|
|
12536
12537
|
if (!ue || !K(ue))
|
|
12537
12538
|
return ce;
|
|
12538
12539
|
for (var he = Object.keys(ue), fe = he.length; fe--; )
|
|
@@ -12949,7 +12950,7 @@ function require_stream_writable$1() {
|
|
|
12949
12950
|
return u.isBuffer(pe) || pe instanceof l;
|
|
12950
12951
|
}
|
|
12951
12952
|
var H = destroy_1$1, U = state, F = U.getHighWaterMark, de = errorsBrowser.codes, B = de.ERR_INVALID_ARG_TYPE, ne = de.ERR_METHOD_NOT_IMPLEMENTED, be = de.ERR_MULTIPLE_CALLBACK, L = de.ERR_STREAM_CANNOT_PIPE, V = de.ERR_STREAM_DESTROYED, q = de.ERR_STREAM_NULL_VALUES, P = de.ERR_STREAM_WRITE_AFTER_END, G = de.ERR_UNKNOWN_ENCODING, ie = H.errorOrDestroy;
|
|
12952
|
-
|
|
12953
|
+
requireInherits_browser()(ve, c);
|
|
12953
12954
|
function ye() {
|
|
12954
12955
|
}
|
|
12955
12956
|
function Be(pe, Ne, Ie) {
|
|
@@ -13170,7 +13171,7 @@ function require_stream_duplex$1() {
|
|
|
13170
13171
|
};
|
|
13171
13172
|
_stream_duplex$1 = y;
|
|
13172
13173
|
var d = require_stream_readable$1(), n = require_stream_writable$1();
|
|
13173
|
-
|
|
13174
|
+
requireInherits_browser()(y, d);
|
|
13174
13175
|
for (var c = a(n.prototype), u = 0; u < c.length; u++) {
|
|
13175
13176
|
var l = c[u];
|
|
13176
13177
|
y.prototype[l] || (y.prototype[l] = n.prototype[l]);
|
|
@@ -13623,7 +13624,7 @@ function require_stream_readable$1() {
|
|
|
13623
13624
|
Q && Q.debuglog ? H = Q.debuglog("stream") : H = function() {
|
|
13624
13625
|
};
|
|
13625
13626
|
var U = requireBuffer_list(), F = destroy_1$1, de = state, B = de.getHighWaterMark, ne = errorsBrowser.codes, be = ne.ERR_INVALID_ARG_TYPE, L = ne.ERR_STREAM_PUSH_AFTER_EOF, V = ne.ERR_METHOD_NOT_IMPLEMENTED, q = ne.ERR_STREAM_UNSHIFT_AFTER_END_EVENT, P, G, ie;
|
|
13626
|
-
|
|
13627
|
+
requireInherits_browser()(K, n);
|
|
13627
13628
|
var ye = F.errorOrDestroy, Be = ["error", "close", "destroy", "pause", "resume"];
|
|
13628
13629
|
function j(We, la, Ue) {
|
|
13629
13630
|
if (typeof We.prependListener == "function")
|
|
@@ -13950,7 +13951,7 @@ function require_stream_readable$1() {
|
|
|
13950
13951
|
return _stream_readable$1;
|
|
13951
13952
|
}
|
|
13952
13953
|
var _stream_transform$1 = Transform$1, _require$codes$1 = errorsBrowser.codes, ERR_METHOD_NOT_IMPLEMENTED = _require$codes$1.ERR_METHOD_NOT_IMPLEMENTED, ERR_MULTIPLE_CALLBACK = _require$codes$1.ERR_MULTIPLE_CALLBACK, ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes$1.ERR_TRANSFORM_ALREADY_TRANSFORMING, ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes$1.ERR_TRANSFORM_WITH_LENGTH_0, Duplex = require_stream_duplex$1();
|
|
13953
|
-
|
|
13954
|
+
requireInherits_browser()(Transform$1, Duplex);
|
|
13954
13955
|
function afterTransform(a, d) {
|
|
13955
13956
|
var n = this._transformState;
|
|
13956
13957
|
n.transforming = !1;
|
|
@@ -14011,7 +14012,7 @@ function done(a, d, n) {
|
|
|
14011
14012
|
return a.push(null);
|
|
14012
14013
|
}
|
|
14013
14014
|
var _stream_passthrough$1 = PassThrough, Transform = _stream_transform$1;
|
|
14014
|
-
|
|
14015
|
+
requireInherits_browser()(PassThrough, Transform);
|
|
14015
14016
|
function PassThrough(a) {
|
|
14016
14017
|
if (!(this instanceof PassThrough))
|
|
14017
14018
|
return new PassThrough(a);
|
|
@@ -19218,7 +19219,7 @@ function requireUtils$3() {
|
|
|
19218
19219
|
if (hasRequiredUtils$3)
|
|
19219
19220
|
return utils$k;
|
|
19220
19221
|
hasRequiredUtils$3 = 1;
|
|
19221
|
-
var a = requireMinimalisticAssert(), d =
|
|
19222
|
+
var a = requireMinimalisticAssert(), d = requireInherits_browser();
|
|
19222
19223
|
utils$k.inherits = d;
|
|
19223
19224
|
function n(_, I) {
|
|
19224
19225
|
return (_.charCodeAt(I) & 64512) !== 55296 || I < 0 || I + 1 >= _.length ? !1 : (_.charCodeAt(I + 1) & 64512) === 56320;
|
|
@@ -55093,7 +55094,7 @@ function requireHashBase$1() {
|
|
|
55093
55094
|
if (hasRequiredHashBase$1)
|
|
55094
55095
|
return hashBase$1;
|
|
55095
55096
|
hasRequiredHashBase$1 = 1;
|
|
55096
|
-
var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n =
|
|
55097
|
+
var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n = requireInherits_browser();
|
|
55097
55098
|
function c(l, y) {
|
|
55098
55099
|
if (!a.isBuffer(l) && typeof l != "string")
|
|
55099
55100
|
throw new TypeError(y + " must be a string or a buffer");
|
|
@@ -55151,7 +55152,7 @@ function requireMd5_js() {
|
|
|
55151
55152
|
if (hasRequiredMd5_js)
|
|
55152
55153
|
return md5_js;
|
|
55153
55154
|
hasRequiredMd5_js = 1;
|
|
55154
|
-
var a =
|
|
55155
|
+
var a = requireInherits_browser(), d = requireHashBase$1(), n = requireSafeBuffer$1().Buffer, c = new Array(16);
|
|
55155
55156
|
function u() {
|
|
55156
55157
|
d.call(this, 64), this._a = 1732584193, this._b = 4023233417, this._c = 2562383102, this._d = 271733878;
|
|
55157
55158
|
}
|
|
@@ -55187,7 +55188,7 @@ function requireHashBase() {
|
|
|
55187
55188
|
if (hasRequiredHashBase)
|
|
55188
55189
|
return hashBase;
|
|
55189
55190
|
hasRequiredHashBase = 1;
|
|
55190
|
-
var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n =
|
|
55191
|
+
var a = requireSafeBuffer$1().Buffer, d = readableBrowserExports.Transform, n = requireInherits_browser();
|
|
55191
55192
|
function c(l, y) {
|
|
55192
55193
|
if (!a.isBuffer(l) && typeof l != "string")
|
|
55193
55194
|
throw new TypeError(y + " must be a string or a buffer");
|
|
@@ -55245,7 +55246,7 @@ function requireRipemd160() {
|
|
|
55245
55246
|
if (hasRequiredRipemd160)
|
|
55246
55247
|
return ripemd160$3;
|
|
55247
55248
|
hasRequiredRipemd160 = 1;
|
|
55248
|
-
var a = require$$0$5.Buffer, d =
|
|
55249
|
+
var a = require$$0$5.Buffer, d = requireInherits_browser(), n = requireHashBase(), c = new Array(16), u = [
|
|
55249
55250
|
0,
|
|
55250
55251
|
1,
|
|
55251
55252
|
2,
|
|
@@ -55646,7 +55647,7 @@ function requireSha() {
|
|
|
55646
55647
|
if (hasRequiredSha)
|
|
55647
55648
|
return sha$1;
|
|
55648
55649
|
hasRequiredSha = 1;
|
|
55649
|
-
var a =
|
|
55650
|
+
var a = requireInherits_browser(), d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
|
|
55650
55651
|
1518500249,
|
|
55651
55652
|
1859775393,
|
|
55652
55653
|
-1894007588,
|
|
@@ -55687,7 +55688,7 @@ function requireSha1() {
|
|
|
55687
55688
|
if (hasRequiredSha1)
|
|
55688
55689
|
return sha1$1;
|
|
55689
55690
|
hasRequiredSha1 = 1;
|
|
55690
|
-
var a =
|
|
55691
|
+
var a = requireInherits_browser(), d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
|
|
55691
55692
|
1518500249,
|
|
55692
55693
|
1859775393,
|
|
55693
55694
|
-1894007588,
|
|
@@ -55731,7 +55732,7 @@ function requireSha256() {
|
|
|
55731
55732
|
if (hasRequiredSha256)
|
|
55732
55733
|
return sha256$4;
|
|
55733
55734
|
hasRequiredSha256 = 1;
|
|
55734
|
-
var a =
|
|
55735
|
+
var a = requireInherits_browser(), d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
|
|
55735
55736
|
1116352408,
|
|
55736
55737
|
1899447441,
|
|
55737
55738
|
3049323471,
|
|
@@ -55841,7 +55842,7 @@ function requireSha224() {
|
|
|
55841
55842
|
if (hasRequiredSha224)
|
|
55842
55843
|
return sha224$1;
|
|
55843
55844
|
hasRequiredSha224 = 1;
|
|
55844
|
-
var a =
|
|
55845
|
+
var a = requireInherits_browser(), d = requireSha256(), n = requireHash(), c = requireSafeBuffer$1().Buffer, u = new Array(64);
|
|
55845
55846
|
function l() {
|
|
55846
55847
|
this.init(), this._w = u, n.call(this, 64, 56);
|
|
55847
55848
|
}
|
|
@@ -55857,7 +55858,7 @@ function requireSha512() {
|
|
|
55857
55858
|
if (hasRequiredSha512)
|
|
55858
55859
|
return sha512$4;
|
|
55859
55860
|
hasRequiredSha512 = 1;
|
|
55860
|
-
var a =
|
|
55861
|
+
var a = requireInherits_browser(), d = requireHash(), n = requireSafeBuffer$1().Buffer, c = [
|
|
55861
55862
|
1116352408,
|
|
55862
55863
|
3609767458,
|
|
55863
55864
|
1899447441,
|
|
@@ -56082,7 +56083,7 @@ function requireSha384() {
|
|
|
56082
56083
|
if (hasRequiredSha384)
|
|
56083
56084
|
return sha384$1;
|
|
56084
56085
|
hasRequiredSha384 = 1;
|
|
56085
|
-
var a =
|
|
56086
|
+
var a = requireInherits_browser(), d = requireSha512(), n = requireHash(), c = requireSafeBuffer$1().Buffer, u = new Array(160);
|
|
56086
56087
|
function l() {
|
|
56087
56088
|
this.init(), this._w = u, n.call(this, 128, 112);
|
|
56088
56089
|
}
|
|
@@ -56115,7 +56116,7 @@ function requireStreamBrowserify() {
|
|
|
56115
56116
|
if (hasRequiredStreamBrowserify)
|
|
56116
56117
|
return streamBrowserify;
|
|
56117
56118
|
hasRequiredStreamBrowserify = 1, streamBrowserify = n;
|
|
56118
|
-
var a = eventsExports.EventEmitter, d =
|
|
56119
|
+
var a = eventsExports.EventEmitter, d = requireInherits_browser();
|
|
56119
56120
|
d(n, a), n.Readable = require_stream_readable$1(), n.Writable = require_stream_writable$1(), n.Duplex = require_stream_duplex$1(), n.Transform = _stream_transform$1, n.PassThrough = _stream_passthrough$1, n.finished = endOfStream, n.pipeline = pipeline_1, n.Stream = n;
|
|
56120
56121
|
function n() {
|
|
56121
56122
|
a.call(this);
|
|
@@ -56153,7 +56154,7 @@ function requireCipherBase() {
|
|
|
56153
56154
|
if (hasRequiredCipherBase)
|
|
56154
56155
|
return cipherBase;
|
|
56155
56156
|
hasRequiredCipherBase = 1;
|
|
56156
|
-
var a = requireSafeBuffer$1().Buffer, d = requireStreamBrowserify().Transform, n = requireString_decoder().StringDecoder, c =
|
|
56157
|
+
var a = requireSafeBuffer$1().Buffer, d = requireStreamBrowserify().Transform, n = requireString_decoder().StringDecoder, c = requireInherits_browser();
|
|
56157
56158
|
function u(l) {
|
|
56158
56159
|
d.call(this), this.hashMode = typeof l == "string", this.hashMode ? this[l] = this._finalOrDigest : this.final = this._finalOrDigest, this._final && (this.__final = this._final, this._final = null), this._decoder = null, this._encoding = null;
|
|
56159
56160
|
}
|
|
@@ -56200,7 +56201,7 @@ function requireBrowser$9() {
|
|
|
56200
56201
|
if (hasRequiredBrowser$9)
|
|
56201
56202
|
return browser$c;
|
|
56202
56203
|
hasRequiredBrowser$9 = 1;
|
|
56203
|
-
var a =
|
|
56204
|
+
var a = requireInherits_browser(), d = requireMd5_js(), n = requireRipemd160(), c = requireSha_js(), u = requireCipherBase();
|
|
56204
56205
|
function l(y) {
|
|
56205
56206
|
u.call(this, "digest"), this._hash = y;
|
|
56206
56207
|
}
|
|
@@ -56217,7 +56218,7 @@ function requireLegacy() {
|
|
|
56217
56218
|
if (hasRequiredLegacy)
|
|
56218
56219
|
return legacy;
|
|
56219
56220
|
hasRequiredLegacy = 1;
|
|
56220
|
-
var a =
|
|
56221
|
+
var a = requireInherits_browser(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = d.alloc(128), u = 64;
|
|
56221
56222
|
function l(y, Q) {
|
|
56222
56223
|
n.call(this, "digest"), typeof Q == "string" && (Q = d.from(Q)), this._alg = y, this._key = Q, Q.length > u ? Q = y(Q) : Q.length < u && (Q = d.concat([Q, c], u));
|
|
56223
56224
|
for (var H = this._ipad = d.allocUnsafe(u), U = this._opad = d.allocUnsafe(u), F = 0; F < u; F++)
|
|
@@ -56246,7 +56247,7 @@ function requireBrowser$8() {
|
|
|
56246
56247
|
if (hasRequiredBrowser$8)
|
|
56247
56248
|
return browser$b;
|
|
56248
56249
|
hasRequiredBrowser$8 = 1;
|
|
56249
|
-
var a =
|
|
56250
|
+
var a = requireInherits_browser(), d = requireLegacy(), n = requireCipherBase(), c = requireSafeBuffer$1().Buffer, u = requireMd5(), l = requireRipemd160(), y = requireSha_js(), Q = c.alloc(128);
|
|
56250
56251
|
function H(U, F) {
|
|
56251
56252
|
n.call(this, "digest"), typeof F == "string" && (F = c.from(F));
|
|
56252
56253
|
var de = U === "sha512" || U === "sha384" ? 128 : 64;
|
|
@@ -57365,7 +57366,7 @@ function requireDes$1() {
|
|
|
57365
57366
|
if (hasRequiredDes$1)
|
|
57366
57367
|
return des;
|
|
57367
57368
|
hasRequiredDes$1 = 1;
|
|
57368
|
-
var a = requireMinimalisticAssert(), d =
|
|
57369
|
+
var a = requireMinimalisticAssert(), d = requireInherits_browser(), n = requireUtils$2(), c = requireCipher();
|
|
57369
57370
|
function u() {
|
|
57370
57371
|
this.tmp = new Array(2), this.keys = null;
|
|
57371
57372
|
}
|
|
@@ -57441,7 +57442,7 @@ function requireCbc$1() {
|
|
|
57441
57442
|
if (hasRequiredCbc$1)
|
|
57442
57443
|
return cbc$1;
|
|
57443
57444
|
hasRequiredCbc$1 = 1;
|
|
57444
|
-
var a = requireMinimalisticAssert(), d =
|
|
57445
|
+
var a = requireMinimalisticAssert(), d = requireInherits_browser(), n = {};
|
|
57445
57446
|
function c(l) {
|
|
57446
57447
|
a.equal(l.length, 8, "Invalid IV length"), this.iv = new Array(8);
|
|
57447
57448
|
for (var y = 0; y < this.iv.length; y++)
|
|
@@ -57485,7 +57486,7 @@ function requireEde() {
|
|
|
57485
57486
|
if (hasRequiredEde)
|
|
57486
57487
|
return ede;
|
|
57487
57488
|
hasRequiredEde = 1;
|
|
57488
|
-
var a = requireMinimalisticAssert(), d =
|
|
57489
|
+
var a = requireMinimalisticAssert(), d = requireInherits_browser(), n = requireCipher(), c = requireDes$1();
|
|
57489
57490
|
function u(y, Q) {
|
|
57490
57491
|
a.equal(Q.length, 24, "Invalid key length");
|
|
57491
57492
|
var H = Q.slice(0, 8), U = Q.slice(8, 16), F = Q.slice(16, 24);
|
|
@@ -57520,7 +57521,7 @@ function requireBrowserifyDes() {
|
|
|
57520
57521
|
if (hasRequiredBrowserifyDes)
|
|
57521
57522
|
return browserifyDes;
|
|
57522
57523
|
hasRequiredBrowserifyDes = 1;
|
|
57523
|
-
var a = requireCipherBase(), d = requireDes(), n =
|
|
57524
|
+
var a = requireCipherBase(), d = requireDes(), n = requireInherits_browser(), c = requireSafeBuffer$1().Buffer, u = {
|
|
57524
57525
|
"des-ede3-cbc": d.CBC.instantiate(d.EDE),
|
|
57525
57526
|
"des-ede3": d.EDE,
|
|
57526
57527
|
"des-ede-cbc": d.CBC.instantiate(d.EDE),
|
|
@@ -58022,7 +58023,7 @@ function requireAuthCipher() {
|
|
|
58022
58023
|
if (hasRequiredAuthCipher)
|
|
58023
58024
|
return authCipher;
|
|
58024
58025
|
hasRequiredAuthCipher = 1;
|
|
58025
|
-
var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c =
|
|
58026
|
+
var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = requireInherits_browser(), u = requireGhash(), l = requireBufferXor(), y = requireIncr32();
|
|
58026
58027
|
function Q(F, de) {
|
|
58027
58028
|
var B = 0;
|
|
58028
58029
|
F.length !== de.length && B++;
|
|
@@ -58081,7 +58082,7 @@ function requireStreamCipher() {
|
|
|
58081
58082
|
if (hasRequiredStreamCipher)
|
|
58082
58083
|
return streamCipher;
|
|
58083
58084
|
hasRequiredStreamCipher = 1;
|
|
58084
|
-
var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c =
|
|
58085
|
+
var a = requireAes(), d = requireSafeBuffer$1().Buffer, n = requireCipherBase(), c = requireInherits_browser();
|
|
58085
58086
|
function u(l, y, Q, H) {
|
|
58086
58087
|
n.call(this), this._cipher = new a.AES(y), this._prev = d.from(Q), this._cache = d.allocUnsafe(0), this._secCache = d.allocUnsafe(0), this._decrypt = H, this._mode = l;
|
|
58087
58088
|
}
|
|
@@ -58122,7 +58123,7 @@ function requireEncrypter() {
|
|
|
58122
58123
|
if (hasRequiredEncrypter)
|
|
58123
58124
|
return encrypter;
|
|
58124
58125
|
hasRequiredEncrypter = 1;
|
|
58125
|
-
var a = requireModes$1(), d = requireAuthCipher(), n = requireSafeBuffer$1().Buffer, c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q =
|
|
58126
|
+
var a = requireModes$1(), d = requireAuthCipher(), n = requireSafeBuffer$1().Buffer, c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q = requireInherits_browser();
|
|
58126
58127
|
function H(ne, be, L) {
|
|
58127
58128
|
u.call(this), this._cache = new F(), this._cipher = new l.AES(be), this._prev = n.from(L), this._mode = ne, this._autopadding = !0;
|
|
58128
58129
|
}
|
|
@@ -58182,7 +58183,7 @@ function requireDecrypter() {
|
|
|
58182
58183
|
if (hasRequiredDecrypter)
|
|
58183
58184
|
return decrypter;
|
|
58184
58185
|
hasRequiredDecrypter = 1;
|
|
58185
|
-
var a = requireAuthCipher(), d = requireSafeBuffer$1().Buffer, n = requireModes$1(), c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q =
|
|
58186
|
+
var a = requireAuthCipher(), d = requireSafeBuffer$1().Buffer, n = requireModes$1(), c = requireStreamCipher(), u = requireCipherBase(), l = requireAes(), y = requireEvp_bytestokey(), Q = requireInherits_browser();
|
|
58186
58187
|
function H(ne, be, L) {
|
|
58187
58188
|
u.call(this), this._cache = new U(), this._last = void 0, this._cipher = new l.AES(be), this._prev = d.from(L), this._mode = ne, this._autopadding = !0;
|
|
58188
58189
|
}
|
|
@@ -61217,7 +61218,7 @@ function require_stream_writable() {
|
|
|
61217
61218
|
var n = !process$1.browser && ["v0.10", "v0.9."].indexOf(process$1.version.slice(0, 5)) > -1 ? setImmediate : a.nextTick, c;
|
|
61218
61219
|
L.WritableState = ne;
|
|
61219
61220
|
var u = Object.create(requireUtil());
|
|
61220
|
-
u.inherits =
|
|
61221
|
+
u.inherits = requireInherits_browser();
|
|
61221
61222
|
var l = {
|
|
61222
61223
|
deprecate: browser$e
|
|
61223
61224
|
}, y = requireStreamBrowser(), Q = requireSafeBuffer().Buffer, H = (typeof commonjsGlobal < "u" ? commonjsGlobal : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() {
|
|
@@ -61427,7 +61428,7 @@ function require_stream_duplex() {
|
|
|
61427
61428
|
};
|
|
61428
61429
|
_stream_duplex = H;
|
|
61429
61430
|
var n = Object.create(requireUtil());
|
|
61430
|
-
n.inherits =
|
|
61431
|
+
n.inherits = requireInherits_browser();
|
|
61431
61432
|
var c = require_stream_readable(), u = require_stream_writable();
|
|
61432
61433
|
n.inherits(H, c);
|
|
61433
61434
|
for (var l = d(u.prototype), y = 0; y < l.length; y++) {
|
|
@@ -61485,7 +61486,7 @@ function require_stream_readable() {
|
|
|
61485
61486
|
return l.isBuffer(Ne) || Ne instanceof y;
|
|
61486
61487
|
}
|
|
61487
61488
|
var U = Object.create(requireUtil());
|
|
61488
|
-
U.inherits =
|
|
61489
|
+
U.inherits = requireInherits_browser();
|
|
61489
61490
|
var F = util$c, de = void 0;
|
|
61490
61491
|
F && F.debuglog ? de = F.debuglog("stream") : de = function() {
|
|
61491
61492
|
};
|
|
@@ -61789,7 +61790,7 @@ function require_stream_transform() {
|
|
|
61789
61790
|
return _stream_transform;
|
|
61790
61791
|
hasRequired_stream_transform = 1, _stream_transform = c;
|
|
61791
61792
|
var a = require_stream_duplex(), d = Object.create(requireUtil());
|
|
61792
|
-
d.inherits =
|
|
61793
|
+
d.inherits = requireInherits_browser(), d.inherits(c, a);
|
|
61793
61794
|
function n(y, Q) {
|
|
61794
61795
|
var H = this._transformState;
|
|
61795
61796
|
H.transforming = !1;
|
|
@@ -61854,7 +61855,7 @@ function require_stream_passthrough() {
|
|
|
61854
61855
|
return _stream_passthrough;
|
|
61855
61856
|
hasRequired_stream_passthrough = 1, _stream_passthrough = n;
|
|
61856
61857
|
var a = require_stream_transform(), d = Object.create(requireUtil());
|
|
61857
|
-
d.inherits =
|
|
61858
|
+
d.inherits = requireInherits_browser(), d.inherits(n, a);
|
|
61858
61859
|
function n(c) {
|
|
61859
61860
|
if (!(this instanceof n))
|
|
61860
61861
|
return new n(c);
|
|
@@ -63414,7 +63415,7 @@ function requireShort() {
|
|
|
63414
63415
|
if (hasRequiredShort)
|
|
63415
63416
|
return short;
|
|
63416
63417
|
hasRequiredShort = 1;
|
|
63417
|
-
var a = requireUtils(), d = requireBn$3(), n =
|
|
63418
|
+
var a = requireUtils(), d = requireBn$3(), n = requireInherits_browser(), c = requireBase$1(), u = a.assert;
|
|
63418
63419
|
function l(H) {
|
|
63419
63420
|
c.call(this, "short", H), this.a = new d(H.a, 16).toRed(this.red), this.b = new d(H.b, 16).toRed(this.red), this.tinv = this.two.redInvm(), this.zeroA = this.a.fromRed().cmpn(0) === 0, this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0, this.endo = this._getEndomorphism(H), this._endoWnafT1 = new Array(4), this._endoWnafT2 = new Array(4);
|
|
63420
63421
|
}
|
|
@@ -63763,7 +63764,7 @@ function requireMont() {
|
|
|
63763
63764
|
if (hasRequiredMont)
|
|
63764
63765
|
return mont;
|
|
63765
63766
|
hasRequiredMont = 1;
|
|
63766
|
-
var a = requireBn$3(), d =
|
|
63767
|
+
var a = requireBn$3(), d = requireInherits_browser(), n = requireBase$1(), c = requireUtils();
|
|
63767
63768
|
function u(y) {
|
|
63768
63769
|
n.call(this, "mont", y), this.a = new a(y.a, 16).toRed(this.red), this.b = new a(y.b, 16).toRed(this.red), this.i4 = new a(4).toRed(this.red).redInvm(), this.two = new a(2).toRed(this.red), this.a24 = this.i4.redMul(this.a.redAdd(this.two));
|
|
63769
63770
|
}
|
|
@@ -63820,7 +63821,7 @@ function requireEdwards() {
|
|
|
63820
63821
|
if (hasRequiredEdwards)
|
|
63821
63822
|
return edwards;
|
|
63822
63823
|
hasRequiredEdwards = 1;
|
|
63823
|
-
var a = requireUtils(), d = requireBn$3(), n =
|
|
63824
|
+
var a = requireUtils(), d = requireBn$3(), n = requireInherits_browser(), c = requireBase$1(), u = a.assert;
|
|
63824
63825
|
function l(Q) {
|
|
63825
63826
|
this.twisted = (Q.a | 0) !== 1, this.mOneA = this.twisted && (Q.a | 0) === -1, this.extended = this.mOneA, c.call(this, "edwards", Q), this.a = new d(Q.a, 16).umod(this.red.m), this.a = this.a.toRed(this.red), this.c = new d(Q.c, 16).toRed(this.red), this.c2 = this.c.redSqr(), this.d = new d(Q.d, 16).toRed(this.red), this.dd = this.d.redAdd(this.d), u(!this.twisted || this.c.fromRed().cmpn(1) === 0), this.oneC = (Q.c | 0) === 1;
|
|
63826
63827
|
}
|
|
@@ -66551,7 +66552,7 @@ function requireVmBrowserify() {
|
|
|
66551
66552
|
var hasRequiredApi;
|
|
66552
66553
|
function requireApi() {
|
|
66553
66554
|
return hasRequiredApi || (hasRequiredApi = 1, function(a) {
|
|
66554
|
-
var d = requireAsn1$1(), n =
|
|
66555
|
+
var d = requireAsn1$1(), n = requireInherits_browser(), c = a;
|
|
66555
66556
|
c.define = function(y, Q) {
|
|
66556
66557
|
return new u(y, Q);
|
|
66557
66558
|
};
|
|
@@ -66590,7 +66591,7 @@ function requireReporter() {
|
|
|
66590
66591
|
if (hasRequiredReporter)
|
|
66591
66592
|
return reporter;
|
|
66592
66593
|
hasRequiredReporter = 1;
|
|
66593
|
-
var a =
|
|
66594
|
+
var a = requireInherits_browser();
|
|
66594
66595
|
function d(c) {
|
|
66595
66596
|
this._reporterState = {
|
|
66596
66597
|
obj: null,
|
|
@@ -66655,7 +66656,7 @@ function requireBuffer() {
|
|
|
66655
66656
|
if (hasRequiredBuffer)
|
|
66656
66657
|
return buffer;
|
|
66657
66658
|
hasRequiredBuffer = 1;
|
|
66658
|
-
var a =
|
|
66659
|
+
var a = requireInherits_browser(), d = requireBase().Reporter, n = require$$0$5.Buffer;
|
|
66659
66660
|
function c(l, y) {
|
|
66660
66661
|
if (d.call(this, y), !n.isBuffer(l)) {
|
|
66661
66662
|
this.error("Input not Buffer");
|
|
@@ -67095,7 +67096,7 @@ function requireDer$1() {
|
|
|
67095
67096
|
if (hasRequiredDer$1)
|
|
67096
67097
|
return der_1$1;
|
|
67097
67098
|
hasRequiredDer$1 = 1;
|
|
67098
|
-
var a =
|
|
67099
|
+
var a = requireInherits_browser(), d = requireAsn1$1(), n = d.base, c = d.bignum, u = d.constants.der;
|
|
67099
67100
|
function l(U) {
|
|
67100
67101
|
this.enc = "der", this.name = U.name, this.entity = U, this.tree = new y(), this.tree._init(U.body);
|
|
67101
67102
|
}
|
|
@@ -67266,7 +67267,7 @@ function requirePem$1() {
|
|
|
67266
67267
|
if (hasRequiredPem$1)
|
|
67267
67268
|
return pem$1;
|
|
67268
67269
|
hasRequiredPem$1 = 1;
|
|
67269
|
-
var a =
|
|
67270
|
+
var a = requireInherits_browser(), d = require$$0$5.Buffer, n = requireDer$1();
|
|
67270
67271
|
function c(u) {
|
|
67271
67272
|
n.call(this, u), this.enc = "pem";
|
|
67272
67273
|
}
|
|
@@ -67305,7 +67306,7 @@ function requireDer() {
|
|
|
67305
67306
|
if (hasRequiredDer)
|
|
67306
67307
|
return der_1;
|
|
67307
67308
|
hasRequiredDer = 1;
|
|
67308
|
-
var a =
|
|
67309
|
+
var a = requireInherits_browser(), d = require$$0$5.Buffer, n = requireAsn1$1(), c = n.base, u = n.constants.der;
|
|
67309
67310
|
function l(U) {
|
|
67310
67311
|
this.enc = "der", this.name = U.name, this.entity = U, this.tree = new y(), this.tree._init(U.body);
|
|
67311
67312
|
}
|
|
@@ -67454,7 +67455,7 @@ function requirePem() {
|
|
|
67454
67455
|
if (hasRequiredPem)
|
|
67455
67456
|
return pem;
|
|
67456
67457
|
hasRequiredPem = 1;
|
|
67457
|
-
var a =
|
|
67458
|
+
var a = requireInherits_browser(), d = requireDer();
|
|
67458
67459
|
function n(c) {
|
|
67459
67460
|
d.call(this, c), this.enc = "pem";
|
|
67460
67461
|
}
|
|
@@ -67917,7 +67918,7 @@ function requireBrowser$3() {
|
|
|
67917
67918
|
if (hasRequiredBrowser$3)
|
|
67918
67919
|
return browser$6;
|
|
67919
67920
|
hasRequiredBrowser$3 = 1;
|
|
67920
|
-
var a = requireSafeBuffer$1().Buffer, d = requireBrowser$9(), n = requireReadableBrowser(), c =
|
|
67921
|
+
var a = requireSafeBuffer$1().Buffer, d = requireBrowser$9(), n = requireReadableBrowser(), c = requireInherits_browser(), u = requireSign(), l = requireVerify(), y = require$$6$1;
|
|
67921
67922
|
Object.keys(y).forEach(function(de) {
|
|
67922
67923
|
y[de].id = a.from(y[de].id, "hex"), y[de.toLowerCase()] = y[de];
|
|
67923
67924
|
});
|
|
@@ -161607,24 +161608,24 @@ class WorkerFactory {
|
|
|
161607
161608
|
constructor() {
|
|
161608
161609
|
}
|
|
161609
161610
|
static resolveWorkerURL = async (d) => {
|
|
161610
|
-
const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-
|
|
161611
|
+
const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-CaH_VFjT.js");
|
|
161611
161612
|
return new URL(c[d], n);
|
|
161612
161613
|
};
|
|
161613
161614
|
static createWorker = async (d) => {
|
|
161614
|
-
if (WorkerFactory.isRunningInNode) {
|
|
161615
|
+
if (console.log({ isRunningInNode: WorkerFactory.isRunningInNode }), WorkerFactory.isRunningInNode) {
|
|
161615
161616
|
let c;
|
|
161616
161617
|
return d === WorkerVariant.SnarkJS ? c = await import(
|
|
161617
161618
|
/* @vite-ignore */
|
|
161618
|
-
"./snarkjsWorkerLogic-
|
|
161619
|
+
"./snarkjsWorkerLogic-D1v0gyhW.js"
|
|
161619
161620
|
) : d === WorkerVariant.ZKProof ? c = await Promise.resolve().then(function() {
|
|
161620
161621
|
return zkProofWorkerLogic;
|
|
161621
161622
|
}) : d === WorkerVariant.UTXO && (c = await import(
|
|
161622
161623
|
/* @vite-ignore */
|
|
161623
|
-
"./utxoWorkerLogic-
|
|
161624
|
+
"./utxoWorkerLogic-BrNVeSHt.js"
|
|
161624
161625
|
)), c.default;
|
|
161625
161626
|
}
|
|
161626
161627
|
const n = await WorkerFactory.resolveWorkerURL(d);
|
|
161627
|
-
return new Worker(n, { type: "module" });
|
|
161628
|
+
return console.log({ workerUrl: n, workerVariant: d }), new Worker(n, { type: "module" });
|
|
161628
161629
|
};
|
|
161629
161630
|
static getWebWorker(d) {
|
|
161630
161631
|
switch (d) {
|
|
@@ -300087,25 +300087,25 @@ class WorkerFactory {
|
|
|
300087
300087
|
constructor() {
|
|
300088
300088
|
}
|
|
300089
300089
|
static resolveWorkerURL = async (t) => {
|
|
300090
|
-
const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-
|
|
300090
|
+
const n = typeof document < "u" && document?.location?.href || "", { workerViteURL: c } = await import("./viteWorkerURL.constant-DS1U1DdN.js");
|
|
300091
300091
|
return new URL(c[t], n);
|
|
300092
300092
|
};
|
|
300093
300093
|
static createWorker = async (t) => {
|
|
300094
|
-
if (WorkerFactory.isRunningInNode) {
|
|
300094
|
+
if (console.log({ isRunningInNode: WorkerFactory.isRunningInNode }), WorkerFactory.isRunningInNode) {
|
|
300095
300095
|
let c;
|
|
300096
300096
|
return t === WorkerVariant.SnarkJS ? c = await import(
|
|
300097
300097
|
/* @vite-ignore */
|
|
300098
|
-
"./snarkjsWorkerLogic-
|
|
300098
|
+
"./snarkjsWorkerLogic-BU_p_jSn.js"
|
|
300099
300099
|
) : t === WorkerVariant.ZKProof ? c = await import(
|
|
300100
300100
|
/* @vite-ignore */
|
|
300101
|
-
"./zkProofWorkerLogic-
|
|
300101
|
+
"./zkProofWorkerLogic-CGqOom_s.js"
|
|
300102
300102
|
) : t === WorkerVariant.UTXO && (c = await import(
|
|
300103
300103
|
/* @vite-ignore */
|
|
300104
|
-
"./utxoWorkerLogic-
|
|
300104
|
+
"./utxoWorkerLogic-Dkcabya2.js"
|
|
300105
300105
|
)), c.default;
|
|
300106
300106
|
}
|
|
300107
300107
|
const n = await WorkerFactory.resolveWorkerURL(t);
|
|
300108
|
-
return new Worker(n, { type: "module" });
|
|
300108
|
+
return console.log({ workerUrl: n, workerVariant: t }), new Worker(n, { type: "module" });
|
|
300109
300109
|
};
|
|
300110
300110
|
static getWebWorker(t) {
|
|
300111
300111
|
switch (t) {
|
|
@@ -300121,8 +300121,9 @@ class WorkerFactory {
|
|
|
300121
300121
|
}
|
|
300122
300122
|
}
|
|
300123
300123
|
const performTaskWithWorker = async (a) => {
|
|
300124
|
+
console.log("start performTaskWithWorker");
|
|
300124
300125
|
const t = await WorkerFactory.getWebWorker(a.type);
|
|
300125
|
-
return new Promise((n, c) => {
|
|
300126
|
+
return console.log({ worker: t, type: a.type }), new Promise((n, c) => {
|
|
300126
300127
|
let l = {};
|
|
300127
300128
|
if (typeof window < "u" && window.location) {
|
|
300128
300129
|
const { origin: p, protocol: T, host: L, port: Q, hostname: R, href: X } = window.location;
|
|
@@ -300152,7 +300153,7 @@ const performTaskWithWorker = async (a) => {
|
|
|
300152
300153
|
}
|
|
300153
300154
|
}
|
|
300154
300155
|
};
|
|
300155
|
-
t.postMessage(u);
|
|
300156
|
+
console.log({ workerMessage: u }), t.postMessage(u);
|
|
300156
300157
|
});
|
|
300157
300158
|
};
|
|
300158
300159
|
var ZKProofWorkerActionType = /* @__PURE__ */ ((a) => (a[a.CALC_COMMITMENTS_SIBLING_AND_SIDES = 0] = "CALC_COMMITMENTS_SIBLING_AND_SIDES", a[a.CALC_ACCESS_TOKEN_SIBLING_AND_SIDES = 1] = "CALC_ACCESS_TOKEN_SIBLING_AND_SIDES", a[a.BUILD_IN_NULLIFIERS = 2] = "BUILD_IN_NULLIFIERS", a))(ZKProofWorkerActionType || {});
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c8 as s, a_ as t, aZ as i, N as r, b0 as o, a$ as n, cI as c, cJ as d, cM as l, cK as g, cL as A, d7 as b, fy as p, bH as y, dg as T, dq as R, fn as u, d8 as P, g2 as f, c7 as S, br as m, bs as C, bz as I, g0 as k, bG as E, fg as h, fm as D, fl as v, d4 as x, d3 as U, b2 as L, b7 as F, b6 as _, b5 as M, be as N, d9 as B, ct as O, d2 as w, aA as V, fi as H, fh as W, cW as G, dr as K, aG as Y, aF as z, cw as Z, gl as q, V as j, ft as Q, fj as X, fw as J, fx as $, fS as aa, fp as ea, fo as sa, fP as ta, M as ia, cH as ra, cU as oa, bI as na, bd as ca, ba as da, b4 as la, aX as ga, f$ as Aa, fq as ba, ge as pa, gd as ya, gb as Ta, gc as Ra, fr as ua, gg as Pa, ga as fa, g8 as Sa, g9 as ma, gf as Ca, g5 as Ia, g6 as ka, g7 as Ea, fZ as ha, b1 as Da, bb as va, c0 as xa, c9 as Ua, fY as La, g1 as Fa, fX as _a, fW as Ma, fV as Na, fU as Ba, fT as Oa, b8 as wa, bc as Va, b9 as Ha, b3 as Wa, fz as Ga, fk as Ka, gk as Ya, aY as za, fR as Za, f_ as qa, cO as ja, cP as Qa, cR as Xa, cQ as Ja, da as $a, dd as ae, dc as ee, de as se, gj as te, c_ as ie, l as re, U as oe, fu as ne, cp as ce, fv as de, fs as le, cT as ge, df as Ae, cq as be, dM as pe, eE as ye, aV as Te, aW as Re, bM as ue, ak as Pe, a5 as fe, Y as Se, cg as me, bO as Ce, an as Ie, a8 as ke, a0 as Ee, as as he, at as De, co as ve, eH as xe, bP as Ue, ap as Le, aa as Fe, a2 as _e, bx as Me, dz as Ne, dF as Be, dG as Oe, aq as we, ab as Ve, a3 as He, ca as We, aj as Ge, a6 as Ke, _ as Ye, ce as ze, c6 as Ze, ec as qe, eQ as je, eR as Qe, j as Xe, eS as Je, i as $e, eT as as, eX as es, eY as ss, dA as ts, ez as is, f8 as rs, dy as os, C as ns, E as cs, ek as ds, en as ls, au as gs, aB as As, d1 as bs, dt as ps, K as ys, s as Ts, bB as Rs, bC as us, ad as Ps, bD as fs, eP as Ss, aT as ms, e3 as Cs, eW as Is, dT as ks, f7 as Es, az as hs, bu as Ds, gh as vs, gi as xs, bt as Us, bm as Ls, cN as Fs, bw as _s, db as Ms, fa as Ns, fF as Bs, dX as Os, ee as ws, ef as Vs, cr as Hs, n as Ws, f6 as Gs, o as Ks, m as Ys, fd as zs, fe as Zs, ff as qs, bf as js, eV as Qs, eg as Xs, f2 as Js, f3 as $s, fQ as at, fB as et, fc as st, g4 as tt, g3 as it, f9 as rt, f5 as ot, cs as nt, f0 as ct, cb as dt, bK as lt, al as gt, a4 as At, X as bt, cd as pt, bY as yt, es as Tt, bn as Rt, cS as ut, c$ as Pt, d6 as ft, ck as St, dH as mt, eZ as Ct, dW as It, aM as kt, aO as Et, aK as ht, aN as Dt, eu as vt, ev as xt, ex as Ut, ey as Lt, eA as Ft, aL as _t, f1 as Mt, F as Nt, eb as Bt, D as Ot, cc as wt, e_ as Vt, e$ as Ht, bR as Wt, cv as Gt, bE as Kt, bF as Yt, x as zt, y as Zt, z as qt, A as jt, bQ as Qt, fJ as Xt, Q as Jt, R as $t, w as ai, fH as ei, eG as si, ah as ti, dZ as ii, d_ as ri, d0 as oi, S as ni, dV as ci, dU as di, dY as li, ai as gi, e8 as Ai, G as bi, bJ as pi, cX as yi, d$ as Ti, dO as Ri, aH as ui, aU as Pi, L as fi, eC as Si, eB as mi, e4 as Ci, e9 as Ii, ea as ki, fO as Ei, ax as hi, eM as Di, eN as vi, ch as xi, aI as Ui, T as Li, e2 as Fi, v as _i, eD as Mi, aJ as Ni, f4 as Bi, H as Oi, I as wi, J as Vi, eK as Hi, eL as Wi, eJ as Gi, dI as Ki, fI as Yi, ci as zi, fN as Zi, cx as qi, cy as ji, cz as Qi, cA as Xi, cB as Ji, cC as $i, cD as ar, cE as er, cF as sr, fE as tr, fb as ir, cu as rr, bi as or, aw as nr, em as cr, bj as dr, el as lr, aD as gr, aC as Ar, aE as br, bh as pr, bg as yr, fM as Tr, cj as Rr, cn as ur, di as Pr, bV as fr, dj as Sr, bX as mr, dn as Cr, bT as Ir, dk as kr, bS as Er, dl as hr, bU as Dr, dS as vr, ar as xr, av as Ur, ac as Lr, q as Fr, eo as _r, ep as Mr, c3 as Nr, c4 as Br, O as Or, P as wr, bZ as Vr, dN as Hr, du as Wr, dv as Gr, fD as Kr, cV as Yr, ay as zr, bl as Zr, dw as qr, dx as jr, bN as Qr, ao as Xr, ds as Jr, cf as $r, a9 as ao, a1 as eo, e5 as so, bp as to, fK as io, er as ro, bq as oo, dm as no, bW as co, c2 as lo, bL as go, am as Ao, a7 as bo, $ as po, h as yo, cm as To, cl as Ro, k as uo, by as Po, bA as fo, e7 as So, e6 as mo, d5 as Co, c5 as Io, et as ko, c1 as Eo, ei as ho, e0 as Do, dQ as vo, cG as xo, e1 as Uo, cY as Lo, eF as Fo, eO as _o, dh as Mo, dR as No, eI as Bo, fC as Oo, eU as wo, eh as Vo, dP as Ho, bo as Wo, fA as Go, b$ as Ko, bv as Yo, dB as zo, dC as Zo, ew as qo, dK as jo, fL as Qo, dE as Xo, dD as Jo, ej as $o, cZ as an, dp as en, dJ as sn, dL as tn, aR as rn, aP as on, aQ as nn, aS as cn, af as dn, ae as ln, ag as gn, eq as An, ed as bn, fG as pn, b_ as yn, bk as Tn } from "./index-
|
|
1
|
+
import { c8 as s, a_ as t, aZ as i, N as r, b0 as o, a$ as n, cI as c, cJ as d, cM as l, cK as g, cL as A, d7 as b, fy as p, bH as y, dg as T, dq as R, fn as u, d8 as P, g2 as f, c7 as S, br as m, bs as C, bz as I, g0 as k, bG as E, fg as h, fm as D, fl as v, d4 as x, d3 as U, b2 as L, b7 as F, b6 as _, b5 as M, be as N, d9 as B, ct as O, d2 as w, aA as V, fi as H, fh as W, cW as G, dr as K, aG as Y, aF as z, cw as Z, gl as q, V as j, ft as Q, fj as X, fw as J, fx as $, fS as aa, fp as ea, fo as sa, fP as ta, M as ia, cH as ra, cU as oa, bI as na, bd as ca, ba as da, b4 as la, aX as ga, f$ as Aa, fq as ba, ge as pa, gd as ya, gb as Ta, gc as Ra, fr as ua, gg as Pa, ga as fa, g8 as Sa, g9 as ma, gf as Ca, g5 as Ia, g6 as ka, g7 as Ea, fZ as ha, b1 as Da, bb as va, c0 as xa, c9 as Ua, fY as La, g1 as Fa, fX as _a, fW as Ma, fV as Na, fU as Ba, fT as Oa, b8 as wa, bc as Va, b9 as Ha, b3 as Wa, fz as Ga, fk as Ka, gk as Ya, aY as za, fR as Za, f_ as qa, cO as ja, cP as Qa, cR as Xa, cQ as Ja, da as $a, dd as ae, dc as ee, de as se, gj as te, c_ as ie, l as re, U as oe, fu as ne, cp as ce, fv as de, fs as le, cT as ge, df as Ae, cq as be, dM as pe, eE as ye, aV as Te, aW as Re, bM as ue, ak as Pe, a5 as fe, Y as Se, cg as me, bO as Ce, an as Ie, a8 as ke, a0 as Ee, as as he, at as De, co as ve, eH as xe, bP as Ue, ap as Le, aa as Fe, a2 as _e, bx as Me, dz as Ne, dF as Be, dG as Oe, aq as we, ab as Ve, a3 as He, ca as We, aj as Ge, a6 as Ke, _ as Ye, ce as ze, c6 as Ze, ec as qe, eQ as je, eR as Qe, j as Xe, eS as Je, i as $e, eT as as, eX as es, eY as ss, dA as ts, ez as is, f8 as rs, dy as os, C as ns, E as cs, ek as ds, en as ls, au as gs, aB as As, d1 as bs, dt as ps, K as ys, s as Ts, bB as Rs, bC as us, ad as Ps, bD as fs, eP as Ss, aT as ms, e3 as Cs, eW as Is, dT as ks, f7 as Es, az as hs, bu as Ds, gh as vs, gi as xs, bt as Us, bm as Ls, cN as Fs, bw as _s, db as Ms, fa as Ns, fF as Bs, dX as Os, ee as ws, ef as Vs, cr as Hs, n as Ws, f6 as Gs, o as Ks, m as Ys, fd as zs, fe as Zs, ff as qs, bf as js, eV as Qs, eg as Xs, f2 as Js, f3 as $s, fQ as at, fB as et, fc as st, g4 as tt, g3 as it, f9 as rt, f5 as ot, cs as nt, f0 as ct, cb as dt, bK as lt, al as gt, a4 as At, X as bt, cd as pt, bY as yt, es as Tt, bn as Rt, cS as ut, c$ as Pt, d6 as ft, ck as St, dH as mt, eZ as Ct, dW as It, aM as kt, aO as Et, aK as ht, aN as Dt, eu as vt, ev as xt, ex as Ut, ey as Lt, eA as Ft, aL as _t, f1 as Mt, F as Nt, eb as Bt, D as Ot, cc as wt, e_ as Vt, e$ as Ht, bR as Wt, cv as Gt, bE as Kt, bF as Yt, x as zt, y as Zt, z as qt, A as jt, bQ as Qt, fJ as Xt, Q as Jt, R as $t, w as ai, fH as ei, eG as si, ah as ti, dZ as ii, d_ as ri, d0 as oi, S as ni, dV as ci, dU as di, dY as li, ai as gi, e8 as Ai, G as bi, bJ as pi, cX as yi, d$ as Ti, dO as Ri, aH as ui, aU as Pi, L as fi, eC as Si, eB as mi, e4 as Ci, e9 as Ii, ea as ki, fO as Ei, ax as hi, eM as Di, eN as vi, ch as xi, aI as Ui, T as Li, e2 as Fi, v as _i, eD as Mi, aJ as Ni, f4 as Bi, H as Oi, I as wi, J as Vi, eK as Hi, eL as Wi, eJ as Gi, dI as Ki, fI as Yi, ci as zi, fN as Zi, cx as qi, cy as ji, cz as Qi, cA as Xi, cB as Ji, cC as $i, cD as ar, cE as er, cF as sr, fE as tr, fb as ir, cu as rr, bi as or, aw as nr, em as cr, bj as dr, el as lr, aD as gr, aC as Ar, aE as br, bh as pr, bg as yr, fM as Tr, cj as Rr, cn as ur, di as Pr, bV as fr, dj as Sr, bX as mr, dn as Cr, bT as Ir, dk as kr, bS as Er, dl as hr, bU as Dr, dS as vr, ar as xr, av as Ur, ac as Lr, q as Fr, eo as _r, ep as Mr, c3 as Nr, c4 as Br, O as Or, P as wr, bZ as Vr, dN as Hr, du as Wr, dv as Gr, fD as Kr, cV as Yr, ay as zr, bl as Zr, dw as qr, dx as jr, bN as Qr, ao as Xr, ds as Jr, cf as $r, a9 as ao, a1 as eo, e5 as so, bp as to, fK as io, er as ro, bq as oo, dm as no, bW as co, c2 as lo, bL as go, am as Ao, a7 as bo, $ as po, h as yo, cm as To, cl as Ro, k as uo, by as Po, bA as fo, e7 as So, e6 as mo, d5 as Co, c5 as Io, et as ko, c1 as Eo, ei as ho, e0 as Do, dQ as vo, cG as xo, e1 as Uo, cY as Lo, eF as Fo, eO as _o, dh as Mo, dR as No, eI as Bo, fC as Oo, eU as wo, eh as Vo, dP as Ho, bo as Wo, fA as Go, b$ as Ko, bv as Yo, dB as zo, dC as Zo, ew as qo, dK as jo, fL as Qo, dE as Xo, dD as Jo, ej as $o, cZ as an, dp as en, dJ as sn, dL as tn, aR as rn, aP as on, aQ as nn, aS as cn, af as dn, ae as ln, ag as gn, eq as An, ed as bn, fG as pn, b_ as yn, bk as Tn } from "./index-BStmYOii.js";
|
|
2
2
|
export {
|
|
3
3
|
s as ACCESS_TOKEN_MINTING_POINTS,
|
|
4
4
|
t as AIPRISE_KYB_TEMPLATE_ID_PROD,
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as Ua, p as Se, r as po, g as ho, B as Lo, a as mo, b as bo, c as en, d as ja, f as $a, u as zn } from "./index-
|
|
2
|
-
import { W as yo } from "./workerProxy-
|
|
1
|
+
import { e as Ua, p as Se, r as po, g as ho, B as Lo, a as mo, b as bo, c as en, d as ja, f as $a, u as zn } from "./index-BStmYOii.js";
|
|
2
|
+
import { W as yo } from "./workerProxy-BSXgbO_3.js";
|
|
3
3
|
const Co = [0, 1, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4];
|
|
4
4
|
function sn(c, t) {
|
|
5
5
|
if (!t || t == 10)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { U as y, l as h, m as U, B as p, n as f, o as g, q as d, s as x, k as T, t as u } from "./index-
|
|
2
|
-
import { W as v } from "./workerProxy-
|
|
1
|
+
import { U as y, l as h, m as U, B as p, n as f, o as g, q as d, s as x, k as T, t as u } from "./index-BStmYOii.js";
|
|
2
|
+
import { W as v } from "./workerProxy-BSXgbO_3.js";
|
|
3
3
|
const i = new v(), k = async ({ data: e }) => {
|
|
4
4
|
const { utxos: t, nullifiers: r } = e, o = t.filter((s) => {
|
|
5
5
|
const c = new y(s);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { W as r } from "./index-BStmYOii.js";
|
|
2
|
+
const o = "" + new URL("assets/zkProofWorkerLauncher-DYFbaIEA.js", import.meta.url).href, e = "" + new URL("assets/snarkjsWorkerLauncher-CA30lfwg.js", import.meta.url).href, s = "" + new URL("assets/utxoWorkerLauncher-DD2MTdrZ.js", import.meta.url).href, a = {
|
|
3
|
+
[r.ZKProof]: o,
|
|
4
|
+
[r.SnarkJS]: e,
|
|
5
|
+
[r.UTXO]: s
|
|
6
|
+
};
|
|
7
|
+
export {
|
|
8
|
+
a as workerViteURL
|
|
9
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as p, h as g, U as T, i as k, j as u, k as I, Z as m, l as M } from "./index-
|
|
2
|
-
import { W as C } from "./workerProxy-
|
|
1
|
+
import { M as p, h as g, U as T, i as k, j as u, k as I, Z as m, l as M } from "./index-BStmYOii.js";
|
|
2
|
+
import { W as C } from "./workerProxy-BSXgbO_3.js";
|
|
3
3
|
const d = new C(), h = (e) => {
|
|
4
4
|
const { inputUtxosSerialized: s, merkleTreeSerialized: n } = e.data, l = n.tree, i = new Map(
|
|
5
5
|
Object.entries(l).map(([a, c]) => [BigInt(a), BigInt(c)])
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { W as r } from "./zkProofWorkerLogic-Ch0jn4N_.js";
|
|
2
|
-
import "./zkProofWorkerLauncher-D8OXlf5e.js";
|
|
3
|
-
var o = self.location.href, e = "" + new URL("snarkjsWorkerLauncher-DGyRhsnt.js", import.meta.url).href, a = "" + new URL("utxoWorkerLauncher-BHLbZZie.js", import.meta.url).href;
|
|
4
|
-
const n = {
|
|
5
|
-
[r.ZKProof]: o,
|
|
6
|
-
[r.SnarkJS]: e,
|
|
7
|
-
[r.UTXO]: a
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
n as workerViteURL
|
|
11
|
-
};
|