@gvnrdao/dh-mcp 0.5.3 → 0.5.4
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/boundary.js +603 -431
- package/dist/connector-embed.js +603 -431
- package/dist/connector.js +603 -431
- package/dist/index.js +603 -431
- package/package.json +3 -4
package/dist/boundary.js
CHANGED
|
@@ -289,9 +289,9 @@ var init_tx_validator = __esm({
|
|
|
289
289
|
}
|
|
290
290
|
});
|
|
291
291
|
|
|
292
|
-
//
|
|
292
|
+
// node_modules/bech32/dist/index.js
|
|
293
293
|
var require_dist = __commonJS({
|
|
294
|
-
"
|
|
294
|
+
"node_modules/bech32/dist/index.js"(exports2) {
|
|
295
295
|
"use strict";
|
|
296
296
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
297
297
|
exports2.bech32m = exports2.bech32 = void 0;
|
|
@@ -455,9 +455,9 @@ var require_dist = __commonJS({
|
|
|
455
455
|
}
|
|
456
456
|
});
|
|
457
457
|
|
|
458
|
-
//
|
|
458
|
+
// node_modules/@noble/hashes/cryptoNode.js
|
|
459
459
|
var require_cryptoNode = __commonJS({
|
|
460
|
-
"
|
|
460
|
+
"node_modules/@noble/hashes/cryptoNode.js"(exports2) {
|
|
461
461
|
"use strict";
|
|
462
462
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
463
463
|
exports2.crypto = void 0;
|
|
@@ -466,9 +466,9 @@ var require_cryptoNode = __commonJS({
|
|
|
466
466
|
}
|
|
467
467
|
});
|
|
468
468
|
|
|
469
|
-
//
|
|
469
|
+
// node_modules/@noble/hashes/utils.js
|
|
470
470
|
var require_utils = __commonJS({
|
|
471
|
-
"
|
|
471
|
+
"node_modules/@noble/hashes/utils.js"(exports2) {
|
|
472
472
|
"use strict";
|
|
473
473
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
474
474
|
exports2.wrapXOFConstructorWithOpts = exports2.wrapConstructorWithOpts = exports2.wrapConstructor = exports2.Hash = exports2.nextTick = exports2.swap32IfBE = exports2.byteSwapIfBE = exports2.swap8IfBE = exports2.isLE = void 0;
|
|
@@ -708,9 +708,9 @@ var require_utils = __commonJS({
|
|
|
708
708
|
}
|
|
709
709
|
});
|
|
710
710
|
|
|
711
|
-
//
|
|
711
|
+
// node_modules/@noble/hashes/_md.js
|
|
712
712
|
var require_md = __commonJS({
|
|
713
|
-
"
|
|
713
|
+
"node_modules/@noble/hashes/_md.js"(exports2) {
|
|
714
714
|
"use strict";
|
|
715
715
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
716
716
|
exports2.SHA512_IV = exports2.SHA384_IV = exports2.SHA224_IV = exports2.SHA256_IV = exports2.HashMD = void 0;
|
|
@@ -886,9 +886,9 @@ var require_md = __commonJS({
|
|
|
886
886
|
}
|
|
887
887
|
});
|
|
888
888
|
|
|
889
|
-
//
|
|
889
|
+
// node_modules/@noble/hashes/_u64.js
|
|
890
890
|
var require_u64 = __commonJS({
|
|
891
|
-
"
|
|
891
|
+
"node_modules/@noble/hashes/_u64.js"(exports2) {
|
|
892
892
|
"use strict";
|
|
893
893
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
894
894
|
exports2.toBig = exports2.shrSL = exports2.shrSH = exports2.rotrSL = exports2.rotrSH = exports2.rotrBL = exports2.rotrBH = exports2.rotr32L = exports2.rotr32H = exports2.rotlSL = exports2.rotlSH = exports2.rotlBL = exports2.rotlBH = exports2.add5L = exports2.add5H = exports2.add4L = exports2.add4H = exports2.add3L = exports2.add3H = void 0;
|
|
@@ -982,9 +982,9 @@ var require_u64 = __commonJS({
|
|
|
982
982
|
}
|
|
983
983
|
});
|
|
984
984
|
|
|
985
|
-
//
|
|
985
|
+
// node_modules/@noble/hashes/sha2.js
|
|
986
986
|
var require_sha2 = __commonJS({
|
|
987
|
-
"
|
|
987
|
+
"node_modules/@noble/hashes/sha2.js"(exports2) {
|
|
988
988
|
"use strict";
|
|
989
989
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
990
990
|
exports2.sha512_224 = exports2.sha512_256 = exports2.sha384 = exports2.sha512 = exports2.sha224 = exports2.sha256 = exports2.SHA512_256 = exports2.SHA512_224 = exports2.SHA384 = exports2.SHA512 = exports2.SHA224 = exports2.SHA256 = void 0;
|
|
@@ -1452,9 +1452,9 @@ var require_sha2 = __commonJS({
|
|
|
1452
1452
|
}
|
|
1453
1453
|
});
|
|
1454
1454
|
|
|
1455
|
-
//
|
|
1455
|
+
// node_modules/@noble/hashes/sha256.js
|
|
1456
1456
|
var require_sha256 = __commonJS({
|
|
1457
|
-
"
|
|
1457
|
+
"node_modules/@noble/hashes/sha256.js"(exports2) {
|
|
1458
1458
|
"use strict";
|
|
1459
1459
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1460
1460
|
exports2.sha224 = exports2.SHA224 = exports2.sha256 = exports2.SHA256 = void 0;
|
|
@@ -1466,9 +1466,9 @@ var require_sha256 = __commonJS({
|
|
|
1466
1466
|
}
|
|
1467
1467
|
});
|
|
1468
1468
|
|
|
1469
|
-
//
|
|
1469
|
+
// node_modules/bs58check/node_modules/base-x/src/index.js
|
|
1470
1470
|
var require_src = __commonJS({
|
|
1471
|
-
"
|
|
1471
|
+
"node_modules/bs58check/node_modules/base-x/src/index.js"(exports2, module2) {
|
|
1472
1472
|
"use strict";
|
|
1473
1473
|
function base(ALPHABET2) {
|
|
1474
1474
|
if (ALPHABET2.length >= 255) {
|
|
@@ -1602,9 +1602,9 @@ var require_src = __commonJS({
|
|
|
1602
1602
|
}
|
|
1603
1603
|
});
|
|
1604
1604
|
|
|
1605
|
-
//
|
|
1605
|
+
// node_modules/bs58check/node_modules/bs58/index.js
|
|
1606
1606
|
var require_bs58 = __commonJS({
|
|
1607
|
-
"
|
|
1607
|
+
"node_modules/bs58check/node_modules/bs58/index.js"(exports2, module2) {
|
|
1608
1608
|
"use strict";
|
|
1609
1609
|
var basex = require_src();
|
|
1610
1610
|
var ALPHABET2 = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
|
|
@@ -1612,9 +1612,9 @@ var require_bs58 = __commonJS({
|
|
|
1612
1612
|
}
|
|
1613
1613
|
});
|
|
1614
1614
|
|
|
1615
|
-
//
|
|
1615
|
+
// node_modules/bs58check/base.js
|
|
1616
1616
|
var require_base = __commonJS({
|
|
1617
|
-
"
|
|
1617
|
+
"node_modules/bs58check/base.js"(exports2, module2) {
|
|
1618
1618
|
"use strict";
|
|
1619
1619
|
var base58 = require_bs58();
|
|
1620
1620
|
module2.exports = function(checksumFn) {
|
|
@@ -1654,9 +1654,9 @@ var require_base = __commonJS({
|
|
|
1654
1654
|
}
|
|
1655
1655
|
});
|
|
1656
1656
|
|
|
1657
|
-
//
|
|
1657
|
+
// node_modules/bs58check/index.js
|
|
1658
1658
|
var require_bs58check = __commonJS({
|
|
1659
|
-
"
|
|
1659
|
+
"node_modules/bs58check/index.js"(exports2, module2) {
|
|
1660
1660
|
"use strict";
|
|
1661
1661
|
var { sha256: sha2564 } = require_sha256();
|
|
1662
1662
|
var bs58checkBase = require_base();
|
|
@@ -1667,9 +1667,9 @@ var require_bs58check = __commonJS({
|
|
|
1667
1667
|
}
|
|
1668
1668
|
});
|
|
1669
1669
|
|
|
1670
|
-
//
|
|
1670
|
+
// node_modules/delayed-stream/lib/delayed_stream.js
|
|
1671
1671
|
var require_delayed_stream = __commonJS({
|
|
1672
|
-
"
|
|
1672
|
+
"node_modules/delayed-stream/lib/delayed_stream.js"(exports2, module2) {
|
|
1673
1673
|
"use strict";
|
|
1674
1674
|
var Stream = require("stream").Stream;
|
|
1675
1675
|
var util4 = require("util");
|
|
@@ -1759,9 +1759,9 @@ var require_delayed_stream = __commonJS({
|
|
|
1759
1759
|
}
|
|
1760
1760
|
});
|
|
1761
1761
|
|
|
1762
|
-
//
|
|
1762
|
+
// node_modules/combined-stream/lib/combined_stream.js
|
|
1763
1763
|
var require_combined_stream = __commonJS({
|
|
1764
|
-
"
|
|
1764
|
+
"node_modules/combined-stream/lib/combined_stream.js"(exports2, module2) {
|
|
1765
1765
|
"use strict";
|
|
1766
1766
|
var util4 = require("util");
|
|
1767
1767
|
var Stream = require("stream").Stream;
|
|
@@ -1929,9 +1929,9 @@ var require_combined_stream = __commonJS({
|
|
|
1929
1929
|
}
|
|
1930
1930
|
});
|
|
1931
1931
|
|
|
1932
|
-
//
|
|
1932
|
+
// node_modules/axios/node_modules/mime-db/db.json
|
|
1933
1933
|
var require_db = __commonJS({
|
|
1934
|
-
"
|
|
1934
|
+
"node_modules/axios/node_modules/mime-db/db.json"(exports2, module2) {
|
|
1935
1935
|
module2.exports = {
|
|
1936
1936
|
"application/1d-interleaved-parityfec": {
|
|
1937
1937
|
source: "iana"
|
|
@@ -10454,17 +10454,17 @@ var require_db = __commonJS({
|
|
|
10454
10454
|
}
|
|
10455
10455
|
});
|
|
10456
10456
|
|
|
10457
|
-
//
|
|
10457
|
+
// node_modules/axios/node_modules/mime-db/index.js
|
|
10458
10458
|
var require_mime_db = __commonJS({
|
|
10459
|
-
"
|
|
10459
|
+
"node_modules/axios/node_modules/mime-db/index.js"(exports2, module2) {
|
|
10460
10460
|
"use strict";
|
|
10461
10461
|
module2.exports = require_db();
|
|
10462
10462
|
}
|
|
10463
10463
|
});
|
|
10464
10464
|
|
|
10465
|
-
//
|
|
10465
|
+
// node_modules/axios/node_modules/mime-types/index.js
|
|
10466
10466
|
var require_mime_types = __commonJS({
|
|
10467
|
-
"
|
|
10467
|
+
"node_modules/axios/node_modules/mime-types/index.js"(exports2) {
|
|
10468
10468
|
"use strict";
|
|
10469
10469
|
var db = require_mime_db();
|
|
10470
10470
|
var extname = require("path").extname;
|
|
@@ -10552,9 +10552,9 @@ var require_mime_types = __commonJS({
|
|
|
10552
10552
|
}
|
|
10553
10553
|
});
|
|
10554
10554
|
|
|
10555
|
-
//
|
|
10555
|
+
// node_modules/asynckit/lib/defer.js
|
|
10556
10556
|
var require_defer = __commonJS({
|
|
10557
|
-
"
|
|
10557
|
+
"node_modules/asynckit/lib/defer.js"(exports2, module2) {
|
|
10558
10558
|
"use strict";
|
|
10559
10559
|
module2.exports = defer;
|
|
10560
10560
|
function defer(fn) {
|
|
@@ -10568,9 +10568,9 @@ var require_defer = __commonJS({
|
|
|
10568
10568
|
}
|
|
10569
10569
|
});
|
|
10570
10570
|
|
|
10571
|
-
//
|
|
10571
|
+
// node_modules/asynckit/lib/async.js
|
|
10572
10572
|
var require_async = __commonJS({
|
|
10573
|
-
"
|
|
10573
|
+
"node_modules/asynckit/lib/async.js"(exports2, module2) {
|
|
10574
10574
|
"use strict";
|
|
10575
10575
|
var defer = require_defer();
|
|
10576
10576
|
module2.exports = async;
|
|
@@ -10592,9 +10592,9 @@ var require_async = __commonJS({
|
|
|
10592
10592
|
}
|
|
10593
10593
|
});
|
|
10594
10594
|
|
|
10595
|
-
//
|
|
10595
|
+
// node_modules/asynckit/lib/abort.js
|
|
10596
10596
|
var require_abort = __commonJS({
|
|
10597
|
-
"
|
|
10597
|
+
"node_modules/asynckit/lib/abort.js"(exports2, module2) {
|
|
10598
10598
|
"use strict";
|
|
10599
10599
|
module2.exports = abort;
|
|
10600
10600
|
function abort(state) {
|
|
@@ -10609,9 +10609,9 @@ var require_abort = __commonJS({
|
|
|
10609
10609
|
}
|
|
10610
10610
|
});
|
|
10611
10611
|
|
|
10612
|
-
//
|
|
10612
|
+
// node_modules/asynckit/lib/iterate.js
|
|
10613
10613
|
var require_iterate = __commonJS({
|
|
10614
|
-
"
|
|
10614
|
+
"node_modules/asynckit/lib/iterate.js"(exports2, module2) {
|
|
10615
10615
|
"use strict";
|
|
10616
10616
|
var async = require_async();
|
|
10617
10617
|
var abort = require_abort();
|
|
@@ -10643,9 +10643,9 @@ var require_iterate = __commonJS({
|
|
|
10643
10643
|
}
|
|
10644
10644
|
});
|
|
10645
10645
|
|
|
10646
|
-
//
|
|
10646
|
+
// node_modules/asynckit/lib/state.js
|
|
10647
10647
|
var require_state = __commonJS({
|
|
10648
|
-
"
|
|
10648
|
+
"node_modules/asynckit/lib/state.js"(exports2, module2) {
|
|
10649
10649
|
"use strict";
|
|
10650
10650
|
module2.exports = state;
|
|
10651
10651
|
function state(list, sortMethod) {
|
|
@@ -10666,9 +10666,9 @@ var require_state = __commonJS({
|
|
|
10666
10666
|
}
|
|
10667
10667
|
});
|
|
10668
10668
|
|
|
10669
|
-
//
|
|
10669
|
+
// node_modules/asynckit/lib/terminator.js
|
|
10670
10670
|
var require_terminator = __commonJS({
|
|
10671
|
-
"
|
|
10671
|
+
"node_modules/asynckit/lib/terminator.js"(exports2, module2) {
|
|
10672
10672
|
"use strict";
|
|
10673
10673
|
var abort = require_abort();
|
|
10674
10674
|
var async = require_async();
|
|
@@ -10684,9 +10684,9 @@ var require_terminator = __commonJS({
|
|
|
10684
10684
|
}
|
|
10685
10685
|
});
|
|
10686
10686
|
|
|
10687
|
-
//
|
|
10687
|
+
// node_modules/asynckit/parallel.js
|
|
10688
10688
|
var require_parallel = __commonJS({
|
|
10689
|
-
"
|
|
10689
|
+
"node_modules/asynckit/parallel.js"(exports2, module2) {
|
|
10690
10690
|
"use strict";
|
|
10691
10691
|
var iterate = require_iterate();
|
|
10692
10692
|
var initState = require_state();
|
|
@@ -10712,9 +10712,9 @@ var require_parallel = __commonJS({
|
|
|
10712
10712
|
}
|
|
10713
10713
|
});
|
|
10714
10714
|
|
|
10715
|
-
//
|
|
10715
|
+
// node_modules/asynckit/serialOrdered.js
|
|
10716
10716
|
var require_serialOrdered = __commonJS({
|
|
10717
|
-
"
|
|
10717
|
+
"node_modules/asynckit/serialOrdered.js"(exports2, module2) {
|
|
10718
10718
|
"use strict";
|
|
10719
10719
|
var iterate = require_iterate();
|
|
10720
10720
|
var initState = require_state();
|
|
@@ -10747,9 +10747,9 @@ var require_serialOrdered = __commonJS({
|
|
|
10747
10747
|
}
|
|
10748
10748
|
});
|
|
10749
10749
|
|
|
10750
|
-
//
|
|
10750
|
+
// node_modules/asynckit/serial.js
|
|
10751
10751
|
var require_serial = __commonJS({
|
|
10752
|
-
"
|
|
10752
|
+
"node_modules/asynckit/serial.js"(exports2, module2) {
|
|
10753
10753
|
"use strict";
|
|
10754
10754
|
var serialOrdered = require_serialOrdered();
|
|
10755
10755
|
module2.exports = serial;
|
|
@@ -10759,9 +10759,9 @@ var require_serial = __commonJS({
|
|
|
10759
10759
|
}
|
|
10760
10760
|
});
|
|
10761
10761
|
|
|
10762
|
-
//
|
|
10762
|
+
// node_modules/asynckit/index.js
|
|
10763
10763
|
var require_asynckit = __commonJS({
|
|
10764
|
-
"
|
|
10764
|
+
"node_modules/asynckit/index.js"(exports2, module2) {
|
|
10765
10765
|
"use strict";
|
|
10766
10766
|
module2.exports = {
|
|
10767
10767
|
parallel: require_parallel(),
|
|
@@ -10771,121 +10771,121 @@ var require_asynckit = __commonJS({
|
|
|
10771
10771
|
}
|
|
10772
10772
|
});
|
|
10773
10773
|
|
|
10774
|
-
//
|
|
10774
|
+
// node_modules/es-object-atoms/index.js
|
|
10775
10775
|
var require_es_object_atoms = __commonJS({
|
|
10776
|
-
"
|
|
10776
|
+
"node_modules/es-object-atoms/index.js"(exports2, module2) {
|
|
10777
10777
|
"use strict";
|
|
10778
10778
|
module2.exports = Object;
|
|
10779
10779
|
}
|
|
10780
10780
|
});
|
|
10781
10781
|
|
|
10782
|
-
//
|
|
10782
|
+
// node_modules/es-errors/index.js
|
|
10783
10783
|
var require_es_errors = __commonJS({
|
|
10784
|
-
"
|
|
10784
|
+
"node_modules/es-errors/index.js"(exports2, module2) {
|
|
10785
10785
|
"use strict";
|
|
10786
10786
|
module2.exports = Error;
|
|
10787
10787
|
}
|
|
10788
10788
|
});
|
|
10789
10789
|
|
|
10790
|
-
//
|
|
10790
|
+
// node_modules/es-errors/eval.js
|
|
10791
10791
|
var require_eval = __commonJS({
|
|
10792
|
-
"
|
|
10792
|
+
"node_modules/es-errors/eval.js"(exports2, module2) {
|
|
10793
10793
|
"use strict";
|
|
10794
10794
|
module2.exports = EvalError;
|
|
10795
10795
|
}
|
|
10796
10796
|
});
|
|
10797
10797
|
|
|
10798
|
-
//
|
|
10798
|
+
// node_modules/es-errors/range.js
|
|
10799
10799
|
var require_range = __commonJS({
|
|
10800
|
-
"
|
|
10800
|
+
"node_modules/es-errors/range.js"(exports2, module2) {
|
|
10801
10801
|
"use strict";
|
|
10802
10802
|
module2.exports = RangeError;
|
|
10803
10803
|
}
|
|
10804
10804
|
});
|
|
10805
10805
|
|
|
10806
|
-
//
|
|
10806
|
+
// node_modules/es-errors/ref.js
|
|
10807
10807
|
var require_ref = __commonJS({
|
|
10808
|
-
"
|
|
10808
|
+
"node_modules/es-errors/ref.js"(exports2, module2) {
|
|
10809
10809
|
"use strict";
|
|
10810
10810
|
module2.exports = ReferenceError;
|
|
10811
10811
|
}
|
|
10812
10812
|
});
|
|
10813
10813
|
|
|
10814
|
-
//
|
|
10814
|
+
// node_modules/es-errors/syntax.js
|
|
10815
10815
|
var require_syntax = __commonJS({
|
|
10816
|
-
"
|
|
10816
|
+
"node_modules/es-errors/syntax.js"(exports2, module2) {
|
|
10817
10817
|
"use strict";
|
|
10818
10818
|
module2.exports = SyntaxError;
|
|
10819
10819
|
}
|
|
10820
10820
|
});
|
|
10821
10821
|
|
|
10822
|
-
//
|
|
10822
|
+
// node_modules/es-errors/type.js
|
|
10823
10823
|
var require_type = __commonJS({
|
|
10824
|
-
"
|
|
10824
|
+
"node_modules/es-errors/type.js"(exports2, module2) {
|
|
10825
10825
|
"use strict";
|
|
10826
10826
|
module2.exports = TypeError;
|
|
10827
10827
|
}
|
|
10828
10828
|
});
|
|
10829
10829
|
|
|
10830
|
-
//
|
|
10830
|
+
// node_modules/es-errors/uri.js
|
|
10831
10831
|
var require_uri = __commonJS({
|
|
10832
|
-
"
|
|
10832
|
+
"node_modules/es-errors/uri.js"(exports2, module2) {
|
|
10833
10833
|
"use strict";
|
|
10834
10834
|
module2.exports = URIError;
|
|
10835
10835
|
}
|
|
10836
10836
|
});
|
|
10837
10837
|
|
|
10838
|
-
//
|
|
10838
|
+
// node_modules/math-intrinsics/abs.js
|
|
10839
10839
|
var require_abs = __commonJS({
|
|
10840
|
-
"
|
|
10840
|
+
"node_modules/math-intrinsics/abs.js"(exports2, module2) {
|
|
10841
10841
|
"use strict";
|
|
10842
10842
|
module2.exports = Math.abs;
|
|
10843
10843
|
}
|
|
10844
10844
|
});
|
|
10845
10845
|
|
|
10846
|
-
//
|
|
10846
|
+
// node_modules/math-intrinsics/floor.js
|
|
10847
10847
|
var require_floor = __commonJS({
|
|
10848
|
-
"
|
|
10848
|
+
"node_modules/math-intrinsics/floor.js"(exports2, module2) {
|
|
10849
10849
|
"use strict";
|
|
10850
10850
|
module2.exports = Math.floor;
|
|
10851
10851
|
}
|
|
10852
10852
|
});
|
|
10853
10853
|
|
|
10854
|
-
//
|
|
10854
|
+
// node_modules/math-intrinsics/max.js
|
|
10855
10855
|
var require_max = __commonJS({
|
|
10856
|
-
"
|
|
10856
|
+
"node_modules/math-intrinsics/max.js"(exports2, module2) {
|
|
10857
10857
|
"use strict";
|
|
10858
10858
|
module2.exports = Math.max;
|
|
10859
10859
|
}
|
|
10860
10860
|
});
|
|
10861
10861
|
|
|
10862
|
-
//
|
|
10862
|
+
// node_modules/math-intrinsics/min.js
|
|
10863
10863
|
var require_min = __commonJS({
|
|
10864
|
-
"
|
|
10864
|
+
"node_modules/math-intrinsics/min.js"(exports2, module2) {
|
|
10865
10865
|
"use strict";
|
|
10866
10866
|
module2.exports = Math.min;
|
|
10867
10867
|
}
|
|
10868
10868
|
});
|
|
10869
10869
|
|
|
10870
|
-
//
|
|
10870
|
+
// node_modules/math-intrinsics/pow.js
|
|
10871
10871
|
var require_pow = __commonJS({
|
|
10872
|
-
"
|
|
10872
|
+
"node_modules/math-intrinsics/pow.js"(exports2, module2) {
|
|
10873
10873
|
"use strict";
|
|
10874
10874
|
module2.exports = Math.pow;
|
|
10875
10875
|
}
|
|
10876
10876
|
});
|
|
10877
10877
|
|
|
10878
|
-
//
|
|
10878
|
+
// node_modules/math-intrinsics/round.js
|
|
10879
10879
|
var require_round = __commonJS({
|
|
10880
|
-
"
|
|
10880
|
+
"node_modules/math-intrinsics/round.js"(exports2, module2) {
|
|
10881
10881
|
"use strict";
|
|
10882
10882
|
module2.exports = Math.round;
|
|
10883
10883
|
}
|
|
10884
10884
|
});
|
|
10885
10885
|
|
|
10886
|
-
//
|
|
10886
|
+
// node_modules/math-intrinsics/isNaN.js
|
|
10887
10887
|
var require_isNaN = __commonJS({
|
|
10888
|
-
"
|
|
10888
|
+
"node_modules/math-intrinsics/isNaN.js"(exports2, module2) {
|
|
10889
10889
|
"use strict";
|
|
10890
10890
|
module2.exports = Number.isNaN || function isNaN2(a) {
|
|
10891
10891
|
return a !== a;
|
|
@@ -10893,9 +10893,9 @@ var require_isNaN = __commonJS({
|
|
|
10893
10893
|
}
|
|
10894
10894
|
});
|
|
10895
10895
|
|
|
10896
|
-
//
|
|
10896
|
+
// node_modules/math-intrinsics/sign.js
|
|
10897
10897
|
var require_sign = __commonJS({
|
|
10898
|
-
"
|
|
10898
|
+
"node_modules/math-intrinsics/sign.js"(exports2, module2) {
|
|
10899
10899
|
"use strict";
|
|
10900
10900
|
var $isNaN = require_isNaN();
|
|
10901
10901
|
module2.exports = function sign(number) {
|
|
@@ -10907,17 +10907,17 @@ var require_sign = __commonJS({
|
|
|
10907
10907
|
}
|
|
10908
10908
|
});
|
|
10909
10909
|
|
|
10910
|
-
//
|
|
10910
|
+
// node_modules/gopd/gOPD.js
|
|
10911
10911
|
var require_gOPD = __commonJS({
|
|
10912
|
-
"
|
|
10912
|
+
"node_modules/gopd/gOPD.js"(exports2, module2) {
|
|
10913
10913
|
"use strict";
|
|
10914
10914
|
module2.exports = Object.getOwnPropertyDescriptor;
|
|
10915
10915
|
}
|
|
10916
10916
|
});
|
|
10917
10917
|
|
|
10918
|
-
//
|
|
10918
|
+
// node_modules/gopd/index.js
|
|
10919
10919
|
var require_gopd = __commonJS({
|
|
10920
|
-
"
|
|
10920
|
+
"node_modules/gopd/index.js"(exports2, module2) {
|
|
10921
10921
|
"use strict";
|
|
10922
10922
|
var $gOPD = require_gOPD();
|
|
10923
10923
|
if ($gOPD) {
|
|
@@ -10931,9 +10931,9 @@ var require_gopd = __commonJS({
|
|
|
10931
10931
|
}
|
|
10932
10932
|
});
|
|
10933
10933
|
|
|
10934
|
-
//
|
|
10934
|
+
// node_modules/es-define-property/index.js
|
|
10935
10935
|
var require_es_define_property = __commonJS({
|
|
10936
|
-
"
|
|
10936
|
+
"node_modules/es-define-property/index.js"(exports2, module2) {
|
|
10937
10937
|
"use strict";
|
|
10938
10938
|
var $defineProperty = Object.defineProperty || false;
|
|
10939
10939
|
if ($defineProperty) {
|
|
@@ -10947,9 +10947,9 @@ var require_es_define_property = __commonJS({
|
|
|
10947
10947
|
}
|
|
10948
10948
|
});
|
|
10949
10949
|
|
|
10950
|
-
//
|
|
10950
|
+
// node_modules/has-symbols/shams.js
|
|
10951
10951
|
var require_shams = __commonJS({
|
|
10952
|
-
"
|
|
10952
|
+
"node_modules/has-symbols/shams.js"(exports2, module2) {
|
|
10953
10953
|
"use strict";
|
|
10954
10954
|
module2.exports = function hasSymbols() {
|
|
10955
10955
|
if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
|
|
@@ -11002,9 +11002,9 @@ var require_shams = __commonJS({
|
|
|
11002
11002
|
}
|
|
11003
11003
|
});
|
|
11004
11004
|
|
|
11005
|
-
//
|
|
11005
|
+
// node_modules/has-symbols/index.js
|
|
11006
11006
|
var require_has_symbols = __commonJS({
|
|
11007
|
-
"
|
|
11007
|
+
"node_modules/has-symbols/index.js"(exports2, module2) {
|
|
11008
11008
|
"use strict";
|
|
11009
11009
|
var origSymbol = typeof Symbol !== "undefined" && Symbol;
|
|
11010
11010
|
var hasSymbolSham = require_shams();
|
|
@@ -11026,26 +11026,26 @@ var require_has_symbols = __commonJS({
|
|
|
11026
11026
|
}
|
|
11027
11027
|
});
|
|
11028
11028
|
|
|
11029
|
-
//
|
|
11029
|
+
// node_modules/get-proto/Reflect.getPrototypeOf.js
|
|
11030
11030
|
var require_Reflect_getPrototypeOf = __commonJS({
|
|
11031
|
-
"
|
|
11031
|
+
"node_modules/get-proto/Reflect.getPrototypeOf.js"(exports2, module2) {
|
|
11032
11032
|
"use strict";
|
|
11033
11033
|
module2.exports = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
|
|
11034
11034
|
}
|
|
11035
11035
|
});
|
|
11036
11036
|
|
|
11037
|
-
//
|
|
11037
|
+
// node_modules/get-proto/Object.getPrototypeOf.js
|
|
11038
11038
|
var require_Object_getPrototypeOf = __commonJS({
|
|
11039
|
-
"
|
|
11039
|
+
"node_modules/get-proto/Object.getPrototypeOf.js"(exports2, module2) {
|
|
11040
11040
|
"use strict";
|
|
11041
11041
|
var $Object = require_es_object_atoms();
|
|
11042
11042
|
module2.exports = $Object.getPrototypeOf || null;
|
|
11043
11043
|
}
|
|
11044
11044
|
});
|
|
11045
11045
|
|
|
11046
|
-
//
|
|
11046
|
+
// node_modules/function-bind/implementation.js
|
|
11047
11047
|
var require_implementation = __commonJS({
|
|
11048
|
-
"
|
|
11048
|
+
"node_modules/function-bind/implementation.js"(exports2, module2) {
|
|
11049
11049
|
"use strict";
|
|
11050
11050
|
var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
|
|
11051
11051
|
var toStr = Object.prototype.toString;
|
|
@@ -11119,42 +11119,42 @@ var require_implementation = __commonJS({
|
|
|
11119
11119
|
}
|
|
11120
11120
|
});
|
|
11121
11121
|
|
|
11122
|
-
//
|
|
11122
|
+
// node_modules/function-bind/index.js
|
|
11123
11123
|
var require_function_bind = __commonJS({
|
|
11124
|
-
"
|
|
11124
|
+
"node_modules/function-bind/index.js"(exports2, module2) {
|
|
11125
11125
|
"use strict";
|
|
11126
11126
|
var implementation = require_implementation();
|
|
11127
11127
|
module2.exports = Function.prototype.bind || implementation;
|
|
11128
11128
|
}
|
|
11129
11129
|
});
|
|
11130
11130
|
|
|
11131
|
-
//
|
|
11131
|
+
// node_modules/call-bind-apply-helpers/functionCall.js
|
|
11132
11132
|
var require_functionCall = __commonJS({
|
|
11133
|
-
"
|
|
11133
|
+
"node_modules/call-bind-apply-helpers/functionCall.js"(exports2, module2) {
|
|
11134
11134
|
"use strict";
|
|
11135
11135
|
module2.exports = Function.prototype.call;
|
|
11136
11136
|
}
|
|
11137
11137
|
});
|
|
11138
11138
|
|
|
11139
|
-
//
|
|
11139
|
+
// node_modules/call-bind-apply-helpers/functionApply.js
|
|
11140
11140
|
var require_functionApply = __commonJS({
|
|
11141
|
-
"
|
|
11141
|
+
"node_modules/call-bind-apply-helpers/functionApply.js"(exports2, module2) {
|
|
11142
11142
|
"use strict";
|
|
11143
11143
|
module2.exports = Function.prototype.apply;
|
|
11144
11144
|
}
|
|
11145
11145
|
});
|
|
11146
11146
|
|
|
11147
|
-
//
|
|
11147
|
+
// node_modules/call-bind-apply-helpers/reflectApply.js
|
|
11148
11148
|
var require_reflectApply = __commonJS({
|
|
11149
|
-
"
|
|
11149
|
+
"node_modules/call-bind-apply-helpers/reflectApply.js"(exports2, module2) {
|
|
11150
11150
|
"use strict";
|
|
11151
11151
|
module2.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
|
|
11152
11152
|
}
|
|
11153
11153
|
});
|
|
11154
11154
|
|
|
11155
|
-
//
|
|
11155
|
+
// node_modules/call-bind-apply-helpers/actualApply.js
|
|
11156
11156
|
var require_actualApply = __commonJS({
|
|
11157
|
-
"
|
|
11157
|
+
"node_modules/call-bind-apply-helpers/actualApply.js"(exports2, module2) {
|
|
11158
11158
|
"use strict";
|
|
11159
11159
|
var bind2 = require_function_bind();
|
|
11160
11160
|
var $apply = require_functionApply();
|
|
@@ -11164,9 +11164,9 @@ var require_actualApply = __commonJS({
|
|
|
11164
11164
|
}
|
|
11165
11165
|
});
|
|
11166
11166
|
|
|
11167
|
-
//
|
|
11167
|
+
// node_modules/call-bind-apply-helpers/index.js
|
|
11168
11168
|
var require_call_bind_apply_helpers = __commonJS({
|
|
11169
|
-
"
|
|
11169
|
+
"node_modules/call-bind-apply-helpers/index.js"(exports2, module2) {
|
|
11170
11170
|
"use strict";
|
|
11171
11171
|
var bind2 = require_function_bind();
|
|
11172
11172
|
var $TypeError = require_type();
|
|
@@ -11181,9 +11181,9 @@ var require_call_bind_apply_helpers = __commonJS({
|
|
|
11181
11181
|
}
|
|
11182
11182
|
});
|
|
11183
11183
|
|
|
11184
|
-
//
|
|
11184
|
+
// node_modules/dunder-proto/get.js
|
|
11185
11185
|
var require_get = __commonJS({
|
|
11186
|
-
"
|
|
11186
|
+
"node_modules/dunder-proto/get.js"(exports2, module2) {
|
|
11187
11187
|
"use strict";
|
|
11188
11188
|
var callBind = require_call_bind_apply_helpers();
|
|
11189
11189
|
var gOPD = require_gopd();
|
|
@@ -11212,9 +11212,9 @@ var require_get = __commonJS({
|
|
|
11212
11212
|
}
|
|
11213
11213
|
});
|
|
11214
11214
|
|
|
11215
|
-
//
|
|
11215
|
+
// node_modules/get-proto/index.js
|
|
11216
11216
|
var require_get_proto = __commonJS({
|
|
11217
|
-
"
|
|
11217
|
+
"node_modules/get-proto/index.js"(exports2, module2) {
|
|
11218
11218
|
"use strict";
|
|
11219
11219
|
var reflectGetProto = require_Reflect_getPrototypeOf();
|
|
11220
11220
|
var originalGetProto = require_Object_getPrototypeOf();
|
|
@@ -11232,9 +11232,9 @@ var require_get_proto = __commonJS({
|
|
|
11232
11232
|
}
|
|
11233
11233
|
});
|
|
11234
11234
|
|
|
11235
|
-
//
|
|
11235
|
+
// node_modules/hasown/index.js
|
|
11236
11236
|
var require_hasown = __commonJS({
|
|
11237
|
-
"
|
|
11237
|
+
"node_modules/hasown/index.js"(exports2, module2) {
|
|
11238
11238
|
"use strict";
|
|
11239
11239
|
var call = Function.prototype.call;
|
|
11240
11240
|
var $hasOwn = Object.prototype.hasOwnProperty;
|
|
@@ -11243,9 +11243,9 @@ var require_hasown = __commonJS({
|
|
|
11243
11243
|
}
|
|
11244
11244
|
});
|
|
11245
11245
|
|
|
11246
|
-
//
|
|
11246
|
+
// node_modules/get-intrinsic/index.js
|
|
11247
11247
|
var require_get_intrinsic = __commonJS({
|
|
11248
|
-
"
|
|
11248
|
+
"node_modules/get-intrinsic/index.js"(exports2, module2) {
|
|
11249
11249
|
"use strict";
|
|
11250
11250
|
var undefined2;
|
|
11251
11251
|
var $Object = require_es_object_atoms();
|
|
@@ -11574,9 +11574,9 @@ var require_get_intrinsic = __commonJS({
|
|
|
11574
11574
|
}
|
|
11575
11575
|
});
|
|
11576
11576
|
|
|
11577
|
-
//
|
|
11577
|
+
// node_modules/has-tostringtag/shams.js
|
|
11578
11578
|
var require_shams2 = __commonJS({
|
|
11579
|
-
"
|
|
11579
|
+
"node_modules/has-tostringtag/shams.js"(exports2, module2) {
|
|
11580
11580
|
"use strict";
|
|
11581
11581
|
var hasSymbols = require_shams();
|
|
11582
11582
|
module2.exports = function hasToStringTagShams() {
|
|
@@ -11585,9 +11585,9 @@ var require_shams2 = __commonJS({
|
|
|
11585
11585
|
}
|
|
11586
11586
|
});
|
|
11587
11587
|
|
|
11588
|
-
//
|
|
11588
|
+
// node_modules/es-set-tostringtag/index.js
|
|
11589
11589
|
var require_es_set_tostringtag = __commonJS({
|
|
11590
|
-
"
|
|
11590
|
+
"node_modules/es-set-tostringtag/index.js"(exports2, module2) {
|
|
11591
11591
|
"use strict";
|
|
11592
11592
|
var GetIntrinsic = require_get_intrinsic();
|
|
11593
11593
|
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
|
|
@@ -11617,9 +11617,9 @@ var require_es_set_tostringtag = __commonJS({
|
|
|
11617
11617
|
}
|
|
11618
11618
|
});
|
|
11619
11619
|
|
|
11620
|
-
//
|
|
11620
|
+
// node_modules/axios/node_modules/form-data/lib/populate.js
|
|
11621
11621
|
var require_populate = __commonJS({
|
|
11622
|
-
"
|
|
11622
|
+
"node_modules/axios/node_modules/form-data/lib/populate.js"(exports2, module2) {
|
|
11623
11623
|
"use strict";
|
|
11624
11624
|
module2.exports = function(dst, src) {
|
|
11625
11625
|
Object.keys(src).forEach(function(prop) {
|
|
@@ -11630,9 +11630,9 @@ var require_populate = __commonJS({
|
|
|
11630
11630
|
}
|
|
11631
11631
|
});
|
|
11632
11632
|
|
|
11633
|
-
//
|
|
11633
|
+
// node_modules/axios/node_modules/form-data/lib/form_data.js
|
|
11634
11634
|
var require_form_data = __commonJS({
|
|
11635
|
-
"
|
|
11635
|
+
"node_modules/axios/node_modules/form-data/lib/form_data.js"(exports2, module2) {
|
|
11636
11636
|
"use strict";
|
|
11637
11637
|
var CombinedStream = require_combined_stream();
|
|
11638
11638
|
var util4 = require("util");
|
|
@@ -11952,9 +11952,9 @@ var require_form_data = __commonJS({
|
|
|
11952
11952
|
}
|
|
11953
11953
|
});
|
|
11954
11954
|
|
|
11955
|
-
//
|
|
11955
|
+
// node_modules/ms/index.js
|
|
11956
11956
|
var require_ms = __commonJS({
|
|
11957
|
-
"
|
|
11957
|
+
"node_modules/ms/index.js"(exports2, module2) {
|
|
11958
11958
|
"use strict";
|
|
11959
11959
|
var s = 1e3;
|
|
11960
11960
|
var m = s * 60;
|
|
@@ -12069,9 +12069,9 @@ var require_ms = __commonJS({
|
|
|
12069
12069
|
}
|
|
12070
12070
|
});
|
|
12071
12071
|
|
|
12072
|
-
//
|
|
12072
|
+
// node_modules/debug/src/common.js
|
|
12073
12073
|
var require_common = __commonJS({
|
|
12074
|
-
"
|
|
12074
|
+
"node_modules/debug/src/common.js"(exports2, module2) {
|
|
12075
12075
|
"use strict";
|
|
12076
12076
|
function setup(env) {
|
|
12077
12077
|
createDebug.debug = createDebug;
|
|
@@ -12247,9 +12247,9 @@ var require_common = __commonJS({
|
|
|
12247
12247
|
}
|
|
12248
12248
|
});
|
|
12249
12249
|
|
|
12250
|
-
//
|
|
12250
|
+
// node_modules/debug/src/browser.js
|
|
12251
12251
|
var require_browser = __commonJS({
|
|
12252
|
-
"
|
|
12252
|
+
"node_modules/debug/src/browser.js"(exports2, module2) {
|
|
12253
12253
|
"use strict";
|
|
12254
12254
|
exports2.formatArgs = formatArgs;
|
|
12255
12255
|
exports2.save = save;
|
|
@@ -12418,9 +12418,9 @@ var require_browser = __commonJS({
|
|
|
12418
12418
|
}
|
|
12419
12419
|
});
|
|
12420
12420
|
|
|
12421
|
-
//
|
|
12421
|
+
// node_modules/has-flag/index.js
|
|
12422
12422
|
var require_has_flag = __commonJS({
|
|
12423
|
-
"
|
|
12423
|
+
"node_modules/has-flag/index.js"(exports2, module2) {
|
|
12424
12424
|
"use strict";
|
|
12425
12425
|
module2.exports = (flag, argv = process.argv) => {
|
|
12426
12426
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
@@ -12431,9 +12431,9 @@ var require_has_flag = __commonJS({
|
|
|
12431
12431
|
}
|
|
12432
12432
|
});
|
|
12433
12433
|
|
|
12434
|
-
//
|
|
12434
|
+
// node_modules/supports-color/index.js
|
|
12435
12435
|
var require_supports_color = __commonJS({
|
|
12436
|
-
"
|
|
12436
|
+
"node_modules/supports-color/index.js"(exports2, module2) {
|
|
12437
12437
|
"use strict";
|
|
12438
12438
|
var os3 = require("os");
|
|
12439
12439
|
var tty = require("tty");
|
|
@@ -12533,9 +12533,9 @@ var require_supports_color = __commonJS({
|
|
|
12533
12533
|
}
|
|
12534
12534
|
});
|
|
12535
12535
|
|
|
12536
|
-
//
|
|
12536
|
+
// node_modules/debug/src/node.js
|
|
12537
12537
|
var require_node = __commonJS({
|
|
12538
|
-
"
|
|
12538
|
+
"node_modules/debug/src/node.js"(exports2, module2) {
|
|
12539
12539
|
"use strict";
|
|
12540
12540
|
var tty = require("tty");
|
|
12541
12541
|
var util4 = require("util");
|
|
@@ -12708,9 +12708,9 @@ var require_node = __commonJS({
|
|
|
12708
12708
|
}
|
|
12709
12709
|
});
|
|
12710
12710
|
|
|
12711
|
-
//
|
|
12711
|
+
// node_modules/debug/src/index.js
|
|
12712
12712
|
var require_src2 = __commonJS({
|
|
12713
|
-
"
|
|
12713
|
+
"node_modules/debug/src/index.js"(exports2, module2) {
|
|
12714
12714
|
"use strict";
|
|
12715
12715
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
12716
12716
|
module2.exports = require_browser();
|
|
@@ -12720,9 +12720,9 @@ var require_src2 = __commonJS({
|
|
|
12720
12720
|
}
|
|
12721
12721
|
});
|
|
12722
12722
|
|
|
12723
|
-
//
|
|
12723
|
+
// node_modules/agent-base/dist/src/promisify.js
|
|
12724
12724
|
var require_promisify = __commonJS({
|
|
12725
|
-
"
|
|
12725
|
+
"node_modules/agent-base/dist/src/promisify.js"(exports2) {
|
|
12726
12726
|
"use strict";
|
|
12727
12727
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
12728
12728
|
function promisify(fn) {
|
|
@@ -12742,9 +12742,9 @@ var require_promisify = __commonJS({
|
|
|
12742
12742
|
}
|
|
12743
12743
|
});
|
|
12744
12744
|
|
|
12745
|
-
//
|
|
12745
|
+
// node_modules/agent-base/dist/src/index.js
|
|
12746
12746
|
var require_src3 = __commonJS({
|
|
12747
|
-
"
|
|
12747
|
+
"node_modules/agent-base/dist/src/index.js"(exports2, module2) {
|
|
12748
12748
|
"use strict";
|
|
12749
12749
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
12750
12750
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -12925,9 +12925,9 @@ var require_src3 = __commonJS({
|
|
|
12925
12925
|
}
|
|
12926
12926
|
});
|
|
12927
12927
|
|
|
12928
|
-
//
|
|
12928
|
+
// node_modules/https-proxy-agent/dist/parse-proxy-response.js
|
|
12929
12929
|
var require_parse_proxy_response = __commonJS({
|
|
12930
|
-
"
|
|
12930
|
+
"node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports2) {
|
|
12931
12931
|
"use strict";
|
|
12932
12932
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
12933
12933
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -12991,9 +12991,9 @@ var require_parse_proxy_response = __commonJS({
|
|
|
12991
12991
|
}
|
|
12992
12992
|
});
|
|
12993
12993
|
|
|
12994
|
-
//
|
|
12994
|
+
// node_modules/https-proxy-agent/dist/agent.js
|
|
12995
12995
|
var require_agent = __commonJS({
|
|
12996
|
-
"
|
|
12996
|
+
"node_modules/https-proxy-agent/dist/agent.js"(exports2) {
|
|
12997
12997
|
"use strict";
|
|
12998
12998
|
var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
|
|
12999
12999
|
function adopt(value) {
|
|
@@ -13151,9 +13151,9 @@ var require_agent = __commonJS({
|
|
|
13151
13151
|
}
|
|
13152
13152
|
});
|
|
13153
13153
|
|
|
13154
|
-
//
|
|
13154
|
+
// node_modules/https-proxy-agent/dist/index.js
|
|
13155
13155
|
var require_dist2 = __commonJS({
|
|
13156
|
-
"
|
|
13156
|
+
"node_modules/https-proxy-agent/dist/index.js"(exports2, module2) {
|
|
13157
13157
|
"use strict";
|
|
13158
13158
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
13159
13159
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -13170,9 +13170,9 @@ var require_dist2 = __commonJS({
|
|
|
13170
13170
|
}
|
|
13171
13171
|
});
|
|
13172
13172
|
|
|
13173
|
-
//
|
|
13173
|
+
// node_modules/follow-redirects/debug.js
|
|
13174
13174
|
var require_debug = __commonJS({
|
|
13175
|
-
"
|
|
13175
|
+
"node_modules/follow-redirects/debug.js"(exports2, module2) {
|
|
13176
13176
|
"use strict";
|
|
13177
13177
|
var debug;
|
|
13178
13178
|
module2.exports = function() {
|
|
@@ -13191,9 +13191,9 @@ var require_debug = __commonJS({
|
|
|
13191
13191
|
}
|
|
13192
13192
|
});
|
|
13193
13193
|
|
|
13194
|
-
//
|
|
13194
|
+
// node_modules/follow-redirects/index.js
|
|
13195
13195
|
var require_follow_redirects = __commonJS({
|
|
13196
|
-
"
|
|
13196
|
+
"node_modules/follow-redirects/index.js"(exports2, module2) {
|
|
13197
13197
|
"use strict";
|
|
13198
13198
|
var url2 = require("url");
|
|
13199
13199
|
var URL3 = url2.URL;
|
|
@@ -13703,9 +13703,9 @@ var require_follow_redirects = __commonJS({
|
|
|
13703
13703
|
}
|
|
13704
13704
|
});
|
|
13705
13705
|
|
|
13706
|
-
//
|
|
13706
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/config.js
|
|
13707
13707
|
var require_config = __commonJS({
|
|
13708
|
-
"
|
|
13708
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/config.js"(exports2) {
|
|
13709
13709
|
"use strict";
|
|
13710
13710
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
13711
13711
|
exports2.validateNetwork = validateNetwork;
|
|
@@ -13718,41 +13718,41 @@ var require_config = __commonJS({
|
|
|
13718
13718
|
}
|
|
13719
13719
|
});
|
|
13720
13720
|
|
|
13721
|
-
//
|
|
13721
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/pkp-operations.js
|
|
13722
13722
|
var require_pkp_operations = __commonJS({
|
|
13723
|
-
"
|
|
13723
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/pkp-operations.js"(exports2) {
|
|
13724
13724
|
"use strict";
|
|
13725
13725
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
13726
13726
|
}
|
|
13727
13727
|
});
|
|
13728
13728
|
|
|
13729
|
-
//
|
|
13729
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/lit-action-execution.js
|
|
13730
13730
|
var require_lit_action_execution = __commonJS({
|
|
13731
|
-
"
|
|
13731
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/lit-action-execution.js"(exports2) {
|
|
13732
13732
|
"use strict";
|
|
13733
13733
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
13734
13734
|
}
|
|
13735
13735
|
});
|
|
13736
13736
|
|
|
13737
|
-
//
|
|
13737
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/lit-action-config.js
|
|
13738
13738
|
var require_lit_action_config = __commonJS({
|
|
13739
|
-
"
|
|
13739
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/lit-action-config.js"(exports2) {
|
|
13740
13740
|
"use strict";
|
|
13741
13741
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
13742
13742
|
}
|
|
13743
13743
|
});
|
|
13744
13744
|
|
|
13745
|
-
//
|
|
13745
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/authentication.js
|
|
13746
13746
|
var require_authentication = __commonJS({
|
|
13747
|
-
"
|
|
13747
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/authentication.js"(exports2) {
|
|
13748
13748
|
"use strict";
|
|
13749
13749
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
13750
13750
|
}
|
|
13751
13751
|
});
|
|
13752
13752
|
|
|
13753
|
-
//
|
|
13753
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/index.js
|
|
13754
13754
|
var require_interfaces = __commonJS({
|
|
13755
|
-
"
|
|
13755
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/index.js"(exports2) {
|
|
13756
13756
|
"use strict";
|
|
13757
13757
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
13758
13758
|
if (k2 === void 0) k2 = k;
|
|
@@ -13779,9 +13779,9 @@ var require_interfaces = __commonJS({
|
|
|
13779
13779
|
}
|
|
13780
13780
|
});
|
|
13781
13781
|
|
|
13782
|
-
//
|
|
13782
|
+
// node_modules/@gvnrdao/dh-lit-actions/pkg-dist/pkg-src/index.js
|
|
13783
13783
|
var require_pkg_src = __commonJS({
|
|
13784
|
-
"
|
|
13784
|
+
"node_modules/@gvnrdao/dh-lit-actions/pkg-dist/pkg-src/index.js"(exports2, module2) {
|
|
13785
13785
|
"use strict";
|
|
13786
13786
|
var __defProp3 = Object.defineProperty;
|
|
13787
13787
|
var __getOwnPropDesc3 = Object.getOwnPropertyDescriptor;
|
|
@@ -18372,9 +18372,9 @@ ${auth.clientId}`;
|
|
|
18372
18372
|
}
|
|
18373
18373
|
});
|
|
18374
18374
|
|
|
18375
|
-
//
|
|
18375
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/modules/auth-manager.module.js
|
|
18376
18376
|
var require_auth_manager_module = __commonJS({
|
|
18377
|
-
"
|
|
18377
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/modules/auth-manager.module.js"(exports2) {
|
|
18378
18378
|
"use strict";
|
|
18379
18379
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
18380
18380
|
exports2.LitAuthManager = void 0;
|
|
@@ -18437,9 +18437,9 @@ var require_auth_manager_module = __commonJS({
|
|
|
18437
18437
|
}
|
|
18438
18438
|
});
|
|
18439
18439
|
|
|
18440
|
-
//
|
|
18440
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/utils/connection-helpers.js
|
|
18441
18441
|
var require_connection_helpers = __commonJS({
|
|
18442
|
-
"
|
|
18442
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/utils/connection-helpers.js"(exports2) {
|
|
18443
18443
|
"use strict";
|
|
18444
18444
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
18445
18445
|
exports2.DEFAULT_RETRY_CONFIG = void 0;
|
|
@@ -18658,9 +18658,9 @@ var require_connection_helpers = __commonJS({
|
|
|
18658
18658
|
}
|
|
18659
18659
|
});
|
|
18660
18660
|
|
|
18661
|
-
//
|
|
18661
|
+
// node_modules/axios/dist/node/axios.cjs
|
|
18662
18662
|
var require_axios = __commonJS({
|
|
18663
|
-
"
|
|
18663
|
+
"node_modules/axios/dist/node/axios.cjs"(exports2, module2) {
|
|
18664
18664
|
"use strict";
|
|
18665
18665
|
var FormData$1 = require_form_data();
|
|
18666
18666
|
var crypto6 = require("crypto");
|
|
@@ -23441,9 +23441,9 @@ var require_axios = __commonJS({
|
|
|
23441
23441
|
}
|
|
23442
23442
|
});
|
|
23443
23443
|
|
|
23444
|
-
//
|
|
23444
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/utils/fetch-lit-action-from-ipfs.js
|
|
23445
23445
|
var require_fetch_lit_action_from_ipfs = __commonJS({
|
|
23446
|
-
"
|
|
23446
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/utils/fetch-lit-action-from-ipfs.js"(exports2) {
|
|
23447
23447
|
"use strict";
|
|
23448
23448
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
23449
23449
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
@@ -23504,9 +23504,9 @@ var require_fetch_lit_action_from_ipfs = __commonJS({
|
|
|
23504
23504
|
}
|
|
23505
23505
|
});
|
|
23506
23506
|
|
|
23507
|
-
//
|
|
23507
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/modules/action-executor.module.js
|
|
23508
23508
|
var require_action_executor_module = __commonJS({
|
|
23509
|
-
"
|
|
23509
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/modules/action-executor.module.js"(exports2) {
|
|
23510
23510
|
"use strict";
|
|
23511
23511
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
23512
23512
|
exports2.LitActionExecutor = void 0;
|
|
@@ -23737,9 +23737,9 @@ var require_action_executor_module = __commonJS({
|
|
|
23737
23737
|
}
|
|
23738
23738
|
});
|
|
23739
23739
|
|
|
23740
|
-
//
|
|
23740
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-authorizer.module.js
|
|
23741
23741
|
var require_pkp_authorizer_module = __commonJS({
|
|
23742
|
-
"
|
|
23742
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-authorizer.module.js"(exports2) {
|
|
23743
23743
|
"use strict";
|
|
23744
23744
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
23745
23745
|
exports2.PKPAuthorizerUtils = exports2.PKPAuthorizer = void 0;
|
|
@@ -23857,9 +23857,9 @@ var require_pkp_authorizer_module = __commonJS({
|
|
|
23857
23857
|
}
|
|
23858
23858
|
});
|
|
23859
23859
|
|
|
23860
|
-
//
|
|
23860
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-manager.module.js
|
|
23861
23861
|
var require_pkp_manager_module = __commonJS({
|
|
23862
|
-
"
|
|
23862
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-manager.module.js"(exports2) {
|
|
23863
23863
|
"use strict";
|
|
23864
23864
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
23865
23865
|
exports2.PKPManager = void 0;
|
|
@@ -24141,9 +24141,9 @@ var require_pkp_manager_module = __commonJS({
|
|
|
24141
24141
|
}
|
|
24142
24142
|
});
|
|
24143
24143
|
|
|
24144
|
-
//
|
|
24144
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-minter.module.js
|
|
24145
24145
|
var require_pkp_minter_module = __commonJS({
|
|
24146
|
-
"
|
|
24146
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-minter.module.js"(exports2) {
|
|
24147
24147
|
"use strict";
|
|
24148
24148
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
24149
24149
|
if (k2 === void 0) k2 = k;
|
|
@@ -24915,9 +24915,9 @@ var require_pkp_minter_module = __commonJS({
|
|
|
24915
24915
|
}
|
|
24916
24916
|
});
|
|
24917
24917
|
|
|
24918
|
-
//
|
|
24918
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-signer.module.js
|
|
24919
24919
|
var require_pkp_signer_module = __commonJS({
|
|
24920
|
-
"
|
|
24920
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-signer.module.js"(exports2) {
|
|
24921
24921
|
"use strict";
|
|
24922
24922
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
24923
24923
|
exports2.PKPSigner = void 0;
|
|
@@ -24977,9 +24977,9 @@ var require_pkp_signer_module = __commonJS({
|
|
|
24977
24977
|
}
|
|
24978
24978
|
});
|
|
24979
24979
|
|
|
24980
|
-
//
|
|
24980
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/utils/async-request.util.js
|
|
24981
24981
|
var require_async_request_util = __commonJS({
|
|
24982
|
-
"
|
|
24982
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/utils/async-request.util.js"(exports2) {
|
|
24983
24983
|
"use strict";
|
|
24984
24984
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
24985
24985
|
exports2.asyncRequest = asyncRequest;
|
|
@@ -25077,9 +25077,9 @@ var require_async_request_util = __commonJS({
|
|
|
25077
25077
|
}
|
|
25078
25078
|
});
|
|
25079
25079
|
|
|
25080
|
-
//
|
|
25080
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/utils/lit-core-lit-action-client.js
|
|
25081
25081
|
var require_lit_core_lit_action_client = __commonJS({
|
|
25082
|
-
"
|
|
25082
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/utils/lit-core-lit-action-client.js"(exports2) {
|
|
25083
25083
|
"use strict";
|
|
25084
25084
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
25085
25085
|
exports2.normalizeCoreLitActionResult = normalizeCoreLitActionResult;
|
|
@@ -25208,9 +25208,9 @@ var require_lit_core_lit_action_client = __commonJS({
|
|
|
25208
25208
|
}
|
|
25209
25209
|
});
|
|
25210
25210
|
|
|
25211
|
-
//
|
|
25211
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/modules/lit-ops.module.js
|
|
25212
25212
|
var require_lit_ops_module = __commonJS({
|
|
25213
|
-
"
|
|
25213
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/modules/lit-ops.module.js"(exports2) {
|
|
25214
25214
|
"use strict";
|
|
25215
25215
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
25216
25216
|
if (k2 === void 0) k2 = k;
|
|
@@ -28078,7 +28078,7 @@ var require_lit_ops_module = __commonJS({
|
|
|
28078
28078
|
}
|
|
28079
28079
|
});
|
|
28080
28080
|
|
|
28081
|
-
//
|
|
28081
|
+
// node_modules/uuid/dist/esm-node/rng.js
|
|
28082
28082
|
function rng() {
|
|
28083
28083
|
if (poolPtr > rnds8Pool.length - 16) {
|
|
28084
28084
|
import_crypto2.default.randomFillSync(rnds8Pool);
|
|
@@ -28088,7 +28088,7 @@ function rng() {
|
|
|
28088
28088
|
}
|
|
28089
28089
|
var import_crypto2, rnds8Pool, poolPtr;
|
|
28090
28090
|
var init_rng = __esm({
|
|
28091
|
-
"
|
|
28091
|
+
"node_modules/uuid/dist/esm-node/rng.js"() {
|
|
28092
28092
|
"use strict";
|
|
28093
28093
|
import_crypto2 = __toESM(require("crypto"));
|
|
28094
28094
|
rnds8Pool = new Uint8Array(256);
|
|
@@ -28096,29 +28096,29 @@ var init_rng = __esm({
|
|
|
28096
28096
|
}
|
|
28097
28097
|
});
|
|
28098
28098
|
|
|
28099
|
-
//
|
|
28099
|
+
// node_modules/uuid/dist/esm-node/regex.js
|
|
28100
28100
|
var regex_default;
|
|
28101
28101
|
var init_regex = __esm({
|
|
28102
|
-
"
|
|
28102
|
+
"node_modules/uuid/dist/esm-node/regex.js"() {
|
|
28103
28103
|
"use strict";
|
|
28104
28104
|
regex_default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
|
|
28105
28105
|
}
|
|
28106
28106
|
});
|
|
28107
28107
|
|
|
28108
|
-
//
|
|
28108
|
+
// node_modules/uuid/dist/esm-node/validate.js
|
|
28109
28109
|
function validate(uuid) {
|
|
28110
28110
|
return typeof uuid === "string" && regex_default.test(uuid);
|
|
28111
28111
|
}
|
|
28112
28112
|
var validate_default;
|
|
28113
28113
|
var init_validate = __esm({
|
|
28114
|
-
"
|
|
28114
|
+
"node_modules/uuid/dist/esm-node/validate.js"() {
|
|
28115
28115
|
"use strict";
|
|
28116
28116
|
init_regex();
|
|
28117
28117
|
validate_default = validate;
|
|
28118
28118
|
}
|
|
28119
28119
|
});
|
|
28120
28120
|
|
|
28121
|
-
//
|
|
28121
|
+
// node_modules/uuid/dist/esm-node/stringify.js
|
|
28122
28122
|
function unsafeStringify(arr, offset = 0) {
|
|
28123
28123
|
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
|
|
28124
28124
|
}
|
|
@@ -28131,7 +28131,7 @@ function stringify(arr, offset = 0) {
|
|
|
28131
28131
|
}
|
|
28132
28132
|
var byteToHex, stringify_default;
|
|
28133
28133
|
var init_stringify = __esm({
|
|
28134
|
-
"
|
|
28134
|
+
"node_modules/uuid/dist/esm-node/stringify.js"() {
|
|
28135
28135
|
"use strict";
|
|
28136
28136
|
init_validate();
|
|
28137
28137
|
byteToHex = [];
|
|
@@ -28142,7 +28142,7 @@ var init_stringify = __esm({
|
|
|
28142
28142
|
}
|
|
28143
28143
|
});
|
|
28144
28144
|
|
|
28145
|
-
//
|
|
28145
|
+
// node_modules/uuid/dist/esm-node/v1.js
|
|
28146
28146
|
function v1(options, buf, offset) {
|
|
28147
28147
|
let i = buf && offset || 0;
|
|
28148
28148
|
const b = buf || new Array(16);
|
|
@@ -28193,7 +28193,7 @@ function v1(options, buf, offset) {
|
|
|
28193
28193
|
}
|
|
28194
28194
|
var _nodeId, _clockseq, _lastMSecs, _lastNSecs, v1_default;
|
|
28195
28195
|
var init_v1 = __esm({
|
|
28196
|
-
"
|
|
28196
|
+
"node_modules/uuid/dist/esm-node/v1.js"() {
|
|
28197
28197
|
"use strict";
|
|
28198
28198
|
init_rng();
|
|
28199
28199
|
init_stringify();
|
|
@@ -28203,7 +28203,7 @@ var init_v1 = __esm({
|
|
|
28203
28203
|
}
|
|
28204
28204
|
});
|
|
28205
28205
|
|
|
28206
|
-
//
|
|
28206
|
+
// node_modules/uuid/dist/esm-node/parse.js
|
|
28207
28207
|
function parse(uuid) {
|
|
28208
28208
|
if (!validate_default(uuid)) {
|
|
28209
28209
|
throw TypeError("Invalid UUID");
|
|
@@ -28230,14 +28230,14 @@ function parse(uuid) {
|
|
|
28230
28230
|
}
|
|
28231
28231
|
var parse_default;
|
|
28232
28232
|
var init_parse = __esm({
|
|
28233
|
-
"
|
|
28233
|
+
"node_modules/uuid/dist/esm-node/parse.js"() {
|
|
28234
28234
|
"use strict";
|
|
28235
28235
|
init_validate();
|
|
28236
28236
|
parse_default = parse;
|
|
28237
28237
|
}
|
|
28238
28238
|
});
|
|
28239
28239
|
|
|
28240
|
-
//
|
|
28240
|
+
// node_modules/uuid/dist/esm-node/v35.js
|
|
28241
28241
|
function stringToBytes(str) {
|
|
28242
28242
|
str = unescape(encodeURIComponent(str));
|
|
28243
28243
|
const bytes = [];
|
|
@@ -28283,7 +28283,7 @@ function v35(name, version2, hashfunc) {
|
|
|
28283
28283
|
}
|
|
28284
28284
|
var DNS, URL2;
|
|
28285
28285
|
var init_v35 = __esm({
|
|
28286
|
-
"
|
|
28286
|
+
"node_modules/uuid/dist/esm-node/v35.js"() {
|
|
28287
28287
|
"use strict";
|
|
28288
28288
|
init_stringify();
|
|
28289
28289
|
init_parse();
|
|
@@ -28292,7 +28292,7 @@ var init_v35 = __esm({
|
|
|
28292
28292
|
}
|
|
28293
28293
|
});
|
|
28294
28294
|
|
|
28295
|
-
//
|
|
28295
|
+
// node_modules/uuid/dist/esm-node/md5.js
|
|
28296
28296
|
function md5(bytes) {
|
|
28297
28297
|
if (Array.isArray(bytes)) {
|
|
28298
28298
|
bytes = Buffer.from(bytes);
|
|
@@ -28303,17 +28303,17 @@ function md5(bytes) {
|
|
|
28303
28303
|
}
|
|
28304
28304
|
var import_crypto3, md5_default;
|
|
28305
28305
|
var init_md5 = __esm({
|
|
28306
|
-
"
|
|
28306
|
+
"node_modules/uuid/dist/esm-node/md5.js"() {
|
|
28307
28307
|
"use strict";
|
|
28308
28308
|
import_crypto3 = __toESM(require("crypto"));
|
|
28309
28309
|
md5_default = md5;
|
|
28310
28310
|
}
|
|
28311
28311
|
});
|
|
28312
28312
|
|
|
28313
|
-
//
|
|
28313
|
+
// node_modules/uuid/dist/esm-node/v3.js
|
|
28314
28314
|
var v3, v3_default;
|
|
28315
28315
|
var init_v3 = __esm({
|
|
28316
|
-
"
|
|
28316
|
+
"node_modules/uuid/dist/esm-node/v3.js"() {
|
|
28317
28317
|
"use strict";
|
|
28318
28318
|
init_v35();
|
|
28319
28319
|
init_md5();
|
|
@@ -28322,10 +28322,10 @@ var init_v3 = __esm({
|
|
|
28322
28322
|
}
|
|
28323
28323
|
});
|
|
28324
28324
|
|
|
28325
|
-
//
|
|
28325
|
+
// node_modules/uuid/dist/esm-node/native.js
|
|
28326
28326
|
var import_crypto4, native_default;
|
|
28327
28327
|
var init_native = __esm({
|
|
28328
|
-
"
|
|
28328
|
+
"node_modules/uuid/dist/esm-node/native.js"() {
|
|
28329
28329
|
"use strict";
|
|
28330
28330
|
import_crypto4 = __toESM(require("crypto"));
|
|
28331
28331
|
native_default = {
|
|
@@ -28334,7 +28334,7 @@ var init_native = __esm({
|
|
|
28334
28334
|
}
|
|
28335
28335
|
});
|
|
28336
28336
|
|
|
28337
|
-
//
|
|
28337
|
+
// node_modules/uuid/dist/esm-node/v4.js
|
|
28338
28338
|
function v4(options, buf, offset) {
|
|
28339
28339
|
if (native_default.randomUUID && !buf && !options) {
|
|
28340
28340
|
return native_default.randomUUID();
|
|
@@ -28354,7 +28354,7 @@ function v4(options, buf, offset) {
|
|
|
28354
28354
|
}
|
|
28355
28355
|
var v4_default;
|
|
28356
28356
|
var init_v4 = __esm({
|
|
28357
|
-
"
|
|
28357
|
+
"node_modules/uuid/dist/esm-node/v4.js"() {
|
|
28358
28358
|
"use strict";
|
|
28359
28359
|
init_native();
|
|
28360
28360
|
init_rng();
|
|
@@ -28363,7 +28363,7 @@ var init_v4 = __esm({
|
|
|
28363
28363
|
}
|
|
28364
28364
|
});
|
|
28365
28365
|
|
|
28366
|
-
//
|
|
28366
|
+
// node_modules/uuid/dist/esm-node/sha1.js
|
|
28367
28367
|
function sha1(bytes) {
|
|
28368
28368
|
if (Array.isArray(bytes)) {
|
|
28369
28369
|
bytes = Buffer.from(bytes);
|
|
@@ -28374,17 +28374,17 @@ function sha1(bytes) {
|
|
|
28374
28374
|
}
|
|
28375
28375
|
var import_crypto5, sha1_default;
|
|
28376
28376
|
var init_sha1 = __esm({
|
|
28377
|
-
"
|
|
28377
|
+
"node_modules/uuid/dist/esm-node/sha1.js"() {
|
|
28378
28378
|
"use strict";
|
|
28379
28379
|
import_crypto5 = __toESM(require("crypto"));
|
|
28380
28380
|
sha1_default = sha1;
|
|
28381
28381
|
}
|
|
28382
28382
|
});
|
|
28383
28383
|
|
|
28384
|
-
//
|
|
28384
|
+
// node_modules/uuid/dist/esm-node/v5.js
|
|
28385
28385
|
var v5, v5_default;
|
|
28386
28386
|
var init_v5 = __esm({
|
|
28387
|
-
"
|
|
28387
|
+
"node_modules/uuid/dist/esm-node/v5.js"() {
|
|
28388
28388
|
"use strict";
|
|
28389
28389
|
init_v35();
|
|
28390
28390
|
init_sha1();
|
|
@@ -28393,16 +28393,16 @@ var init_v5 = __esm({
|
|
|
28393
28393
|
}
|
|
28394
28394
|
});
|
|
28395
28395
|
|
|
28396
|
-
//
|
|
28396
|
+
// node_modules/uuid/dist/esm-node/nil.js
|
|
28397
28397
|
var nil_default;
|
|
28398
28398
|
var init_nil = __esm({
|
|
28399
|
-
"
|
|
28399
|
+
"node_modules/uuid/dist/esm-node/nil.js"() {
|
|
28400
28400
|
"use strict";
|
|
28401
28401
|
nil_default = "00000000-0000-0000-0000-000000000000";
|
|
28402
28402
|
}
|
|
28403
28403
|
});
|
|
28404
28404
|
|
|
28405
|
-
//
|
|
28405
|
+
// node_modules/uuid/dist/esm-node/version.js
|
|
28406
28406
|
function version(uuid) {
|
|
28407
28407
|
if (!validate_default(uuid)) {
|
|
28408
28408
|
throw TypeError("Invalid UUID");
|
|
@@ -28411,14 +28411,14 @@ function version(uuid) {
|
|
|
28411
28411
|
}
|
|
28412
28412
|
var version_default;
|
|
28413
28413
|
var init_version = __esm({
|
|
28414
|
-
"
|
|
28414
|
+
"node_modules/uuid/dist/esm-node/version.js"() {
|
|
28415
28415
|
"use strict";
|
|
28416
28416
|
init_validate();
|
|
28417
28417
|
version_default = version;
|
|
28418
28418
|
}
|
|
28419
28419
|
});
|
|
28420
28420
|
|
|
28421
|
-
//
|
|
28421
|
+
// node_modules/uuid/dist/esm-node/index.js
|
|
28422
28422
|
var esm_node_exports = {};
|
|
28423
28423
|
__export(esm_node_exports, {
|
|
28424
28424
|
NIL: () => nil_default,
|
|
@@ -28432,7 +28432,7 @@ __export(esm_node_exports, {
|
|
|
28432
28432
|
version: () => version_default
|
|
28433
28433
|
});
|
|
28434
28434
|
var init_esm_node = __esm({
|
|
28435
|
-
"
|
|
28435
|
+
"node_modules/uuid/dist/esm-node/index.js"() {
|
|
28436
28436
|
"use strict";
|
|
28437
28437
|
init_v1();
|
|
28438
28438
|
init_v3();
|
|
@@ -28446,9 +28446,9 @@ var init_esm_node = __esm({
|
|
|
28446
28446
|
}
|
|
28447
28447
|
});
|
|
28448
28448
|
|
|
28449
|
-
//
|
|
28449
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/modules/ticket-manager.module.js
|
|
28450
28450
|
var require_ticket_manager_module = __commonJS({
|
|
28451
|
-
"
|
|
28451
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/modules/ticket-manager.module.js"(exports2) {
|
|
28452
28452
|
"use strict";
|
|
28453
28453
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
28454
28454
|
exports2.TicketManager = void 0;
|
|
@@ -28542,9 +28542,9 @@ var require_ticket_manager_module = __commonJS({
|
|
|
28542
28542
|
}
|
|
28543
28543
|
});
|
|
28544
28544
|
|
|
28545
|
-
//
|
|
28545
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/modules/task-queue.module.js
|
|
28546
28546
|
var require_task_queue_module = __commonJS({
|
|
28547
|
-
"
|
|
28547
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/modules/task-queue.module.js"(exports2) {
|
|
28548
28548
|
"use strict";
|
|
28549
28549
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
28550
28550
|
exports2.TaskQueue = void 0;
|
|
@@ -28622,9 +28622,9 @@ var require_task_queue_module = __commonJS({
|
|
|
28622
28622
|
}
|
|
28623
28623
|
});
|
|
28624
28624
|
|
|
28625
|
-
//
|
|
28625
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/utils/logging.js
|
|
28626
28626
|
var require_logging = __commonJS({
|
|
28627
|
-
"
|
|
28627
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/utils/logging.js"(exports2) {
|
|
28628
28628
|
"use strict";
|
|
28629
28629
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
28630
28630
|
exports2.redactPositionIdForLog = redactPositionIdForLog;
|
|
@@ -28636,9 +28636,9 @@ var require_logging = __commonJS({
|
|
|
28636
28636
|
}
|
|
28637
28637
|
});
|
|
28638
28638
|
|
|
28639
|
-
//
|
|
28639
|
+
// node_modules/bn.js/lib/bn.js
|
|
28640
28640
|
var require_bn = __commonJS({
|
|
28641
|
-
"
|
|
28641
|
+
"node_modules/bn.js/lib/bn.js"(exports2, module2) {
|
|
28642
28642
|
"use strict";
|
|
28643
28643
|
(function(module3, exports3) {
|
|
28644
28644
|
"use strict";
|
|
@@ -31537,9 +31537,9 @@ var require_bn = __commonJS({
|
|
|
31537
31537
|
}
|
|
31538
31538
|
});
|
|
31539
31539
|
|
|
31540
|
-
//
|
|
31540
|
+
// node_modules/elliptic/package.json
|
|
31541
31541
|
var require_package = __commonJS({
|
|
31542
|
-
"
|
|
31542
|
+
"node_modules/elliptic/package.json"(exports2, module2) {
|
|
31543
31543
|
module2.exports = {
|
|
31544
31544
|
name: "elliptic",
|
|
31545
31545
|
version: "6.6.1",
|
|
@@ -31599,9 +31599,9 @@ var require_package = __commonJS({
|
|
|
31599
31599
|
}
|
|
31600
31600
|
});
|
|
31601
31601
|
|
|
31602
|
-
//
|
|
31602
|
+
// node_modules/elliptic/node_modules/bn.js/lib/bn.js
|
|
31603
31603
|
var require_bn2 = __commonJS({
|
|
31604
|
-
"
|
|
31604
|
+
"node_modules/elliptic/node_modules/bn.js/lib/bn.js"(exports2, module2) {
|
|
31605
31605
|
"use strict";
|
|
31606
31606
|
(function(module3, exports3) {
|
|
31607
31607
|
"use strict";
|
|
@@ -34420,9 +34420,9 @@ var require_bn2 = __commonJS({
|
|
|
34420
34420
|
}
|
|
34421
34421
|
});
|
|
34422
34422
|
|
|
34423
|
-
//
|
|
34423
|
+
// node_modules/minimalistic-assert/index.js
|
|
34424
34424
|
var require_minimalistic_assert = __commonJS({
|
|
34425
|
-
"
|
|
34425
|
+
"node_modules/minimalistic-assert/index.js"(exports2, module2) {
|
|
34426
34426
|
"use strict";
|
|
34427
34427
|
module2.exports = assert;
|
|
34428
34428
|
function assert(val, msg) {
|
|
@@ -34436,9 +34436,9 @@ var require_minimalistic_assert = __commonJS({
|
|
|
34436
34436
|
}
|
|
34437
34437
|
});
|
|
34438
34438
|
|
|
34439
|
-
//
|
|
34439
|
+
// node_modules/minimalistic-crypto-utils/lib/utils.js
|
|
34440
34440
|
var require_utils2 = __commonJS({
|
|
34441
|
-
"
|
|
34441
|
+
"node_modules/minimalistic-crypto-utils/lib/utils.js"(exports2) {
|
|
34442
34442
|
"use strict";
|
|
34443
34443
|
var utils = exports2;
|
|
34444
34444
|
function toArray2(msg, enc) {
|
|
@@ -34495,9 +34495,9 @@ var require_utils2 = __commonJS({
|
|
|
34495
34495
|
}
|
|
34496
34496
|
});
|
|
34497
34497
|
|
|
34498
|
-
//
|
|
34498
|
+
// node_modules/elliptic/lib/elliptic/utils.js
|
|
34499
34499
|
var require_utils3 = __commonJS({
|
|
34500
|
-
"
|
|
34500
|
+
"node_modules/elliptic/lib/elliptic/utils.js"(exports2) {
|
|
34501
34501
|
"use strict";
|
|
34502
34502
|
var utils = exports2;
|
|
34503
34503
|
var BN = require_bn2();
|
|
@@ -34601,9 +34601,9 @@ var require_utils3 = __commonJS({
|
|
|
34601
34601
|
}
|
|
34602
34602
|
});
|
|
34603
34603
|
|
|
34604
|
-
//
|
|
34604
|
+
// node_modules/brorand/index.js
|
|
34605
34605
|
var require_brorand = __commonJS({
|
|
34606
|
-
"
|
|
34606
|
+
"node_modules/brorand/index.js"(exports2, module2) {
|
|
34607
34607
|
"use strict";
|
|
34608
34608
|
var r;
|
|
34609
34609
|
module2.exports = function rand(len) {
|
|
@@ -34659,9 +34659,9 @@ var require_brorand = __commonJS({
|
|
|
34659
34659
|
}
|
|
34660
34660
|
});
|
|
34661
34661
|
|
|
34662
|
-
//
|
|
34662
|
+
// node_modules/elliptic/lib/elliptic/curve/base.js
|
|
34663
34663
|
var require_base2 = __commonJS({
|
|
34664
|
-
"
|
|
34664
|
+
"node_modules/elliptic/lib/elliptic/curve/base.js"(exports2, module2) {
|
|
34665
34665
|
"use strict";
|
|
34666
34666
|
var BN = require_bn2();
|
|
34667
34667
|
var utils = require_utils3();
|
|
@@ -34981,9 +34981,9 @@ var require_base2 = __commonJS({
|
|
|
34981
34981
|
}
|
|
34982
34982
|
});
|
|
34983
34983
|
|
|
34984
|
-
//
|
|
34984
|
+
// node_modules/inherits/inherits_browser.js
|
|
34985
34985
|
var require_inherits_browser = __commonJS({
|
|
34986
|
-
"
|
|
34986
|
+
"node_modules/inherits/inherits_browser.js"(exports2, module2) {
|
|
34987
34987
|
"use strict";
|
|
34988
34988
|
if (typeof Object.create === "function") {
|
|
34989
34989
|
module2.exports = function inherits2(ctor, superCtor) {
|
|
@@ -35014,9 +35014,9 @@ var require_inherits_browser = __commonJS({
|
|
|
35014
35014
|
}
|
|
35015
35015
|
});
|
|
35016
35016
|
|
|
35017
|
-
//
|
|
35017
|
+
// node_modules/inherits/inherits.js
|
|
35018
35018
|
var require_inherits = __commonJS({
|
|
35019
|
-
"
|
|
35019
|
+
"node_modules/inherits/inherits.js"(exports2, module2) {
|
|
35020
35020
|
"use strict";
|
|
35021
35021
|
try {
|
|
35022
35022
|
util4 = require("util");
|
|
@@ -35029,9 +35029,9 @@ var require_inherits = __commonJS({
|
|
|
35029
35029
|
}
|
|
35030
35030
|
});
|
|
35031
35031
|
|
|
35032
|
-
//
|
|
35032
|
+
// node_modules/elliptic/lib/elliptic/curve/short.js
|
|
35033
35033
|
var require_short = __commonJS({
|
|
35034
|
-
"
|
|
35034
|
+
"node_modules/elliptic/lib/elliptic/curve/short.js"(exports2, module2) {
|
|
35035
35035
|
"use strict";
|
|
35036
35036
|
var utils = require_utils3();
|
|
35037
35037
|
var BN = require_bn2();
|
|
@@ -35727,9 +35727,9 @@ var require_short = __commonJS({
|
|
|
35727
35727
|
}
|
|
35728
35728
|
});
|
|
35729
35729
|
|
|
35730
|
-
//
|
|
35730
|
+
// node_modules/elliptic/lib/elliptic/curve/mont.js
|
|
35731
35731
|
var require_mont = __commonJS({
|
|
35732
|
-
"
|
|
35732
|
+
"node_modules/elliptic/lib/elliptic/curve/mont.js"(exports2, module2) {
|
|
35733
35733
|
"use strict";
|
|
35734
35734
|
var BN = require_bn2();
|
|
35735
35735
|
var inherits2 = require_inherits();
|
|
@@ -35855,9 +35855,9 @@ var require_mont = __commonJS({
|
|
|
35855
35855
|
}
|
|
35856
35856
|
});
|
|
35857
35857
|
|
|
35858
|
-
//
|
|
35858
|
+
// node_modules/elliptic/lib/elliptic/curve/edwards.js
|
|
35859
35859
|
var require_edwards = __commonJS({
|
|
35860
|
-
"
|
|
35860
|
+
"node_modules/elliptic/lib/elliptic/curve/edwards.js"(exports2, module2) {
|
|
35861
35861
|
"use strict";
|
|
35862
35862
|
var utils = require_utils3();
|
|
35863
35863
|
var BN = require_bn2();
|
|
@@ -36156,9 +36156,9 @@ var require_edwards = __commonJS({
|
|
|
36156
36156
|
}
|
|
36157
36157
|
});
|
|
36158
36158
|
|
|
36159
|
-
//
|
|
36159
|
+
// node_modules/elliptic/lib/elliptic/curve/index.js
|
|
36160
36160
|
var require_curve = __commonJS({
|
|
36161
|
-
"
|
|
36161
|
+
"node_modules/elliptic/lib/elliptic/curve/index.js"(exports2) {
|
|
36162
36162
|
"use strict";
|
|
36163
36163
|
var curve = exports2;
|
|
36164
36164
|
curve.base = require_base2();
|
|
@@ -36168,9 +36168,9 @@ var require_curve = __commonJS({
|
|
|
36168
36168
|
}
|
|
36169
36169
|
});
|
|
36170
36170
|
|
|
36171
|
-
//
|
|
36171
|
+
// node_modules/hash.js/lib/hash/utils.js
|
|
36172
36172
|
var require_utils4 = __commonJS({
|
|
36173
|
-
"
|
|
36173
|
+
"node_modules/hash.js/lib/hash/utils.js"(exports2) {
|
|
36174
36174
|
"use strict";
|
|
36175
36175
|
var assert = require_minimalistic_assert();
|
|
36176
36176
|
var inherits2 = require_inherits();
|
|
@@ -36413,9 +36413,9 @@ var require_utils4 = __commonJS({
|
|
|
36413
36413
|
}
|
|
36414
36414
|
});
|
|
36415
36415
|
|
|
36416
|
-
//
|
|
36416
|
+
// node_modules/hash.js/lib/hash/common.js
|
|
36417
36417
|
var require_common2 = __commonJS({
|
|
36418
|
-
"
|
|
36418
|
+
"node_modules/hash.js/lib/hash/common.js"(exports2) {
|
|
36419
36419
|
"use strict";
|
|
36420
36420
|
var utils = require_utils4();
|
|
36421
36421
|
var assert = require_minimalistic_assert();
|
|
@@ -36492,9 +36492,9 @@ var require_common2 = __commonJS({
|
|
|
36492
36492
|
}
|
|
36493
36493
|
});
|
|
36494
36494
|
|
|
36495
|
-
//
|
|
36495
|
+
// node_modules/hash.js/lib/hash/sha/common.js
|
|
36496
36496
|
var require_common3 = __commonJS({
|
|
36497
|
-
"
|
|
36497
|
+
"node_modules/hash.js/lib/hash/sha/common.js"(exports2) {
|
|
36498
36498
|
"use strict";
|
|
36499
36499
|
var utils = require_utils4();
|
|
36500
36500
|
var rotr32 = utils.rotr32;
|
|
@@ -36538,9 +36538,9 @@ var require_common3 = __commonJS({
|
|
|
36538
36538
|
}
|
|
36539
36539
|
});
|
|
36540
36540
|
|
|
36541
|
-
//
|
|
36541
|
+
// node_modules/hash.js/lib/hash/sha/1.js
|
|
36542
36542
|
var require__ = __commonJS({
|
|
36543
|
-
"
|
|
36543
|
+
"node_modules/hash.js/lib/hash/sha/1.js"(exports2, module2) {
|
|
36544
36544
|
"use strict";
|
|
36545
36545
|
var utils = require_utils4();
|
|
36546
36546
|
var common = require_common2();
|
|
@@ -36610,9 +36610,9 @@ var require__ = __commonJS({
|
|
|
36610
36610
|
}
|
|
36611
36611
|
});
|
|
36612
36612
|
|
|
36613
|
-
//
|
|
36613
|
+
// node_modules/hash.js/lib/hash/sha/256.js
|
|
36614
36614
|
var require__2 = __commonJS({
|
|
36615
|
-
"
|
|
36615
|
+
"node_modules/hash.js/lib/hash/sha/256.js"(exports2, module2) {
|
|
36616
36616
|
"use strict";
|
|
36617
36617
|
var utils = require_utils4();
|
|
36618
36618
|
var common = require_common2();
|
|
@@ -36762,9 +36762,9 @@ var require__2 = __commonJS({
|
|
|
36762
36762
|
}
|
|
36763
36763
|
});
|
|
36764
36764
|
|
|
36765
|
-
//
|
|
36765
|
+
// node_modules/hash.js/lib/hash/sha/224.js
|
|
36766
36766
|
var require__3 = __commonJS({
|
|
36767
|
-
"
|
|
36767
|
+
"node_modules/hash.js/lib/hash/sha/224.js"(exports2, module2) {
|
|
36768
36768
|
"use strict";
|
|
36769
36769
|
var utils = require_utils4();
|
|
36770
36770
|
var SHA2562 = require__2();
|
|
@@ -36798,9 +36798,9 @@ var require__3 = __commonJS({
|
|
|
36798
36798
|
}
|
|
36799
36799
|
});
|
|
36800
36800
|
|
|
36801
|
-
//
|
|
36801
|
+
// node_modules/hash.js/lib/hash/sha/512.js
|
|
36802
36802
|
var require__4 = __commonJS({
|
|
36803
|
-
"
|
|
36803
|
+
"node_modules/hash.js/lib/hash/sha/512.js"(exports2, module2) {
|
|
36804
36804
|
"use strict";
|
|
36805
36805
|
var utils = require_utils4();
|
|
36806
36806
|
var common = require_common2();
|
|
@@ -37237,9 +37237,9 @@ var require__4 = __commonJS({
|
|
|
37237
37237
|
}
|
|
37238
37238
|
});
|
|
37239
37239
|
|
|
37240
|
-
//
|
|
37240
|
+
// node_modules/hash.js/lib/hash/sha/384.js
|
|
37241
37241
|
var require__5 = __commonJS({
|
|
37242
|
-
"
|
|
37242
|
+
"node_modules/hash.js/lib/hash/sha/384.js"(exports2, module2) {
|
|
37243
37243
|
"use strict";
|
|
37244
37244
|
var utils = require_utils4();
|
|
37245
37245
|
var SHA512 = require__4();
|
|
@@ -37281,9 +37281,9 @@ var require__5 = __commonJS({
|
|
|
37281
37281
|
}
|
|
37282
37282
|
});
|
|
37283
37283
|
|
|
37284
|
-
//
|
|
37284
|
+
// node_modules/hash.js/lib/hash/sha.js
|
|
37285
37285
|
var require_sha = __commonJS({
|
|
37286
|
-
"
|
|
37286
|
+
"node_modules/hash.js/lib/hash/sha.js"(exports2) {
|
|
37287
37287
|
"use strict";
|
|
37288
37288
|
exports2.sha1 = require__();
|
|
37289
37289
|
exports2.sha224 = require__3();
|
|
@@ -37293,9 +37293,9 @@ var require_sha = __commonJS({
|
|
|
37293
37293
|
}
|
|
37294
37294
|
});
|
|
37295
37295
|
|
|
37296
|
-
//
|
|
37296
|
+
// node_modules/hash.js/lib/hash/ripemd.js
|
|
37297
37297
|
var require_ripemd = __commonJS({
|
|
37298
|
-
"
|
|
37298
|
+
"node_modules/hash.js/lib/hash/ripemd.js"(exports2) {
|
|
37299
37299
|
"use strict";
|
|
37300
37300
|
var utils = require_utils4();
|
|
37301
37301
|
var common = require_common2();
|
|
@@ -37734,9 +37734,9 @@ var require_ripemd = __commonJS({
|
|
|
37734
37734
|
}
|
|
37735
37735
|
});
|
|
37736
37736
|
|
|
37737
|
-
//
|
|
37737
|
+
// node_modules/hash.js/lib/hash/hmac.js
|
|
37738
37738
|
var require_hmac = __commonJS({
|
|
37739
|
-
"
|
|
37739
|
+
"node_modules/hash.js/lib/hash/hmac.js"(exports2, module2) {
|
|
37740
37740
|
"use strict";
|
|
37741
37741
|
var utils = require_utils4();
|
|
37742
37742
|
var assert = require_minimalistic_assert();
|
|
@@ -37775,9 +37775,9 @@ var require_hmac = __commonJS({
|
|
|
37775
37775
|
}
|
|
37776
37776
|
});
|
|
37777
37777
|
|
|
37778
|
-
//
|
|
37778
|
+
// node_modules/hash.js/lib/hash.js
|
|
37779
37779
|
var require_hash = __commonJS({
|
|
37780
|
-
"
|
|
37780
|
+
"node_modules/hash.js/lib/hash.js"(exports2) {
|
|
37781
37781
|
"use strict";
|
|
37782
37782
|
var hash = exports2;
|
|
37783
37783
|
hash.utils = require_utils4();
|
|
@@ -37794,9 +37794,9 @@ var require_hash = __commonJS({
|
|
|
37794
37794
|
}
|
|
37795
37795
|
});
|
|
37796
37796
|
|
|
37797
|
-
//
|
|
37797
|
+
// node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js
|
|
37798
37798
|
var require_secp256k1 = __commonJS({
|
|
37799
|
-
"
|
|
37799
|
+
"node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js"(exports2, module2) {
|
|
37800
37800
|
"use strict";
|
|
37801
37801
|
module2.exports = {
|
|
37802
37802
|
doubles: {
|
|
@@ -38581,9 +38581,9 @@ var require_secp256k1 = __commonJS({
|
|
|
38581
38581
|
}
|
|
38582
38582
|
});
|
|
38583
38583
|
|
|
38584
|
-
//
|
|
38584
|
+
// node_modules/elliptic/lib/elliptic/curves.js
|
|
38585
38585
|
var require_curves = __commonJS({
|
|
38586
|
-
"
|
|
38586
|
+
"node_modules/elliptic/lib/elliptic/curves.js"(exports2) {
|
|
38587
38587
|
"use strict";
|
|
38588
38588
|
var curves = exports2;
|
|
38589
38589
|
var hash = require_hash();
|
|
@@ -38757,9 +38757,9 @@ var require_curves = __commonJS({
|
|
|
38757
38757
|
}
|
|
38758
38758
|
});
|
|
38759
38759
|
|
|
38760
|
-
//
|
|
38760
|
+
// node_modules/hmac-drbg/lib/hmac-drbg.js
|
|
38761
38761
|
var require_hmac_drbg = __commonJS({
|
|
38762
|
-
"
|
|
38762
|
+
"node_modules/hmac-drbg/lib/hmac-drbg.js"(exports2, module2) {
|
|
38763
38763
|
"use strict";
|
|
38764
38764
|
var hash = require_hash();
|
|
38765
38765
|
var utils = require_utils2();
|
|
@@ -38851,9 +38851,9 @@ var require_hmac_drbg = __commonJS({
|
|
|
38851
38851
|
}
|
|
38852
38852
|
});
|
|
38853
38853
|
|
|
38854
|
-
//
|
|
38854
|
+
// node_modules/elliptic/lib/elliptic/ec/key.js
|
|
38855
38855
|
var require_key = __commonJS({
|
|
38856
|
-
"
|
|
38856
|
+
"node_modules/elliptic/lib/elliptic/ec/key.js"(exports2, module2) {
|
|
38857
38857
|
"use strict";
|
|
38858
38858
|
var BN = require_bn2();
|
|
38859
38859
|
var utils = require_utils3();
|
|
@@ -38945,9 +38945,9 @@ var require_key = __commonJS({
|
|
|
38945
38945
|
}
|
|
38946
38946
|
});
|
|
38947
38947
|
|
|
38948
|
-
//
|
|
38948
|
+
// node_modules/elliptic/lib/elliptic/ec/signature.js
|
|
38949
38949
|
var require_signature = __commonJS({
|
|
38950
|
-
"
|
|
38950
|
+
"node_modules/elliptic/lib/elliptic/ec/signature.js"(exports2, module2) {
|
|
38951
38951
|
"use strict";
|
|
38952
38952
|
var BN = require_bn2();
|
|
38953
38953
|
var utils = require_utils3();
|
|
@@ -39100,9 +39100,9 @@ var require_signature = __commonJS({
|
|
|
39100
39100
|
}
|
|
39101
39101
|
});
|
|
39102
39102
|
|
|
39103
|
-
//
|
|
39103
|
+
// node_modules/elliptic/lib/elliptic/ec/index.js
|
|
39104
39104
|
var require_ec = __commonJS({
|
|
39105
|
-
"
|
|
39105
|
+
"node_modules/elliptic/lib/elliptic/ec/index.js"(exports2, module2) {
|
|
39106
39106
|
"use strict";
|
|
39107
39107
|
var BN = require_bn2();
|
|
39108
39108
|
var HmacDRBG = require_hmac_drbg();
|
|
@@ -39307,9 +39307,9 @@ var require_ec = __commonJS({
|
|
|
39307
39307
|
}
|
|
39308
39308
|
});
|
|
39309
39309
|
|
|
39310
|
-
//
|
|
39310
|
+
// node_modules/elliptic/lib/elliptic/eddsa/key.js
|
|
39311
39311
|
var require_key2 = __commonJS({
|
|
39312
|
-
"
|
|
39312
|
+
"node_modules/elliptic/lib/elliptic/eddsa/key.js"(exports2, module2) {
|
|
39313
39313
|
"use strict";
|
|
39314
39314
|
var utils = require_utils3();
|
|
39315
39315
|
var assert = utils.assert;
|
|
@@ -39381,9 +39381,9 @@ var require_key2 = __commonJS({
|
|
|
39381
39381
|
}
|
|
39382
39382
|
});
|
|
39383
39383
|
|
|
39384
|
-
//
|
|
39384
|
+
// node_modules/elliptic/lib/elliptic/eddsa/signature.js
|
|
39385
39385
|
var require_signature2 = __commonJS({
|
|
39386
|
-
"
|
|
39386
|
+
"node_modules/elliptic/lib/elliptic/eddsa/signature.js"(exports2, module2) {
|
|
39387
39387
|
"use strict";
|
|
39388
39388
|
var BN = require_bn2();
|
|
39389
39389
|
var utils = require_utils3();
|
|
@@ -39431,9 +39431,9 @@ var require_signature2 = __commonJS({
|
|
|
39431
39431
|
}
|
|
39432
39432
|
});
|
|
39433
39433
|
|
|
39434
|
-
//
|
|
39434
|
+
// node_modules/elliptic/lib/elliptic/eddsa/index.js
|
|
39435
39435
|
var require_eddsa = __commonJS({
|
|
39436
|
-
"
|
|
39436
|
+
"node_modules/elliptic/lib/elliptic/eddsa/index.js"(exports2, module2) {
|
|
39437
39437
|
"use strict";
|
|
39438
39438
|
var hash = require_hash();
|
|
39439
39439
|
var curves = require_curves();
|
|
@@ -39519,9 +39519,9 @@ var require_eddsa = __commonJS({
|
|
|
39519
39519
|
}
|
|
39520
39520
|
});
|
|
39521
39521
|
|
|
39522
|
-
//
|
|
39522
|
+
// node_modules/elliptic/lib/elliptic.js
|
|
39523
39523
|
var require_elliptic = __commonJS({
|
|
39524
|
-
"
|
|
39524
|
+
"node_modules/elliptic/lib/elliptic.js"(exports2) {
|
|
39525
39525
|
"use strict";
|
|
39526
39526
|
var elliptic = exports2;
|
|
39527
39527
|
elliptic.version = require_package().version;
|
|
@@ -39534,9 +39534,9 @@ var require_elliptic = __commonJS({
|
|
|
39534
39534
|
}
|
|
39535
39535
|
});
|
|
39536
39536
|
|
|
39537
|
-
//
|
|
39537
|
+
// node_modules/safe-buffer/index.js
|
|
39538
39538
|
var require_safe_buffer = __commonJS({
|
|
39539
|
-
"
|
|
39539
|
+
"node_modules/safe-buffer/index.js"(exports2, module2) {
|
|
39540
39540
|
"use strict";
|
|
39541
39541
|
var buffer = require("buffer");
|
|
39542
39542
|
var Buffer2 = buffer.Buffer;
|
|
@@ -39593,9 +39593,9 @@ var require_safe_buffer = __commonJS({
|
|
|
39593
39593
|
}
|
|
39594
39594
|
});
|
|
39595
39595
|
|
|
39596
|
-
//
|
|
39596
|
+
// node_modules/@gvnrdao/dh-lit-ops/node_modules/bip66/index.js
|
|
39597
39597
|
var require_bip66 = __commonJS({
|
|
39598
|
-
"
|
|
39598
|
+
"node_modules/@gvnrdao/dh-lit-ops/node_modules/bip66/index.js"(exports2, module2) {
|
|
39599
39599
|
"use strict";
|
|
39600
39600
|
var Buffer2 = require_safe_buffer().Buffer;
|
|
39601
39601
|
function check(buffer) {
|
|
@@ -39669,9 +39669,9 @@ var require_bip66 = __commonJS({
|
|
|
39669
39669
|
}
|
|
39670
39670
|
});
|
|
39671
39671
|
|
|
39672
|
-
//
|
|
39672
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/utils/bitcoin-signature.js
|
|
39673
39673
|
var require_bitcoin_signature = __commonJS({
|
|
39674
|
-
"
|
|
39674
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/utils/bitcoin-signature.js"(exports2) {
|
|
39675
39675
|
"use strict";
|
|
39676
39676
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
39677
39677
|
exports2.convertEthereumSignatureToBitcoinDER = convertEthereumSignatureToBitcoinDER;
|
|
@@ -39719,9 +39719,9 @@ var require_bitcoin_signature = __commonJS({
|
|
|
39719
39719
|
}
|
|
39720
39720
|
});
|
|
39721
39721
|
|
|
39722
|
-
//
|
|
39722
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/utils/bitcoin-broadcast.js
|
|
39723
39723
|
var require_bitcoin_broadcast = __commonJS({
|
|
39724
|
-
"
|
|
39724
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/utils/bitcoin-broadcast.js"(exports2) {
|
|
39725
39725
|
"use strict";
|
|
39726
39726
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
39727
39727
|
if (k2 === void 0) k2 = k;
|
|
@@ -39910,9 +39910,9 @@ var require_bitcoin_broadcast = __commonJS({
|
|
|
39910
39910
|
}
|
|
39911
39911
|
});
|
|
39912
39912
|
|
|
39913
|
-
//
|
|
39913
|
+
// node_modules/@gvnrdao/dh-lit-ops/dist/index.js
|
|
39914
39914
|
var require_dist3 = __commonJS({
|
|
39915
|
-
"
|
|
39915
|
+
"node_modules/@gvnrdao/dh-lit-ops/dist/index.js"(exports2) {
|
|
39916
39916
|
"use strict";
|
|
39917
39917
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
|
|
39918
39918
|
if (k2 === void 0) k2 = k;
|
|
@@ -44549,7 +44549,7 @@ var SafeModuleCeremony = class {
|
|
|
44549
44549
|
// src/boundary/upstream/real/plugin.ts
|
|
44550
44550
|
var import_ethers38 = require("ethers");
|
|
44551
44551
|
|
|
44552
|
-
//
|
|
44552
|
+
// node_modules/@gvnrdao/dh-sdk/dist/index.mjs
|
|
44553
44553
|
var import_ethers13 = require("ethers");
|
|
44554
44554
|
var import_ethers14 = require("ethers");
|
|
44555
44555
|
var import_ethers15 = require("ethers");
|
|
@@ -44560,7 +44560,7 @@ var import_ethers19 = require("ethers");
|
|
|
44560
44560
|
var import_ethers20 = require("ethers");
|
|
44561
44561
|
var import_ethers21 = require("ethers");
|
|
44562
44562
|
|
|
44563
|
-
//
|
|
44563
|
+
// node_modules/@noble/hashes/esm/utils.js
|
|
44564
44564
|
function isBytes(a) {
|
|
44565
44565
|
return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
|
|
44566
44566
|
}
|
|
@@ -44619,7 +44619,7 @@ function createHasher(hashCons) {
|
|
|
44619
44619
|
return hashC;
|
|
44620
44620
|
}
|
|
44621
44621
|
|
|
44622
|
-
//
|
|
44622
|
+
// node_modules/@noble/hashes/esm/_md.js
|
|
44623
44623
|
function setBigUint64(view, byteOffset, value, isLE) {
|
|
44624
44624
|
if (typeof view.setBigUint64 === "function")
|
|
44625
44625
|
return view.setBigUint64(byteOffset, value, isLE);
|
|
@@ -44739,7 +44739,7 @@ var SHA256_IV = /* @__PURE__ */ Uint32Array.from([
|
|
|
44739
44739
|
1541459225
|
|
44740
44740
|
]);
|
|
44741
44741
|
|
|
44742
|
-
//
|
|
44742
|
+
// node_modules/@noble/hashes/esm/sha2.js
|
|
44743
44743
|
var SHA256_K = /* @__PURE__ */ Uint32Array.from([
|
|
44744
44744
|
1116352408,
|
|
44745
44745
|
1899447441,
|
|
@@ -44879,10 +44879,10 @@ var SHA256 = class extends HashMD {
|
|
|
44879
44879
|
};
|
|
44880
44880
|
var sha256 = /* @__PURE__ */ createHasher(() => new SHA256());
|
|
44881
44881
|
|
|
44882
|
-
//
|
|
44882
|
+
// node_modules/@noble/hashes/esm/sha256.js
|
|
44883
44883
|
var sha2562 = sha256;
|
|
44884
44884
|
|
|
44885
|
-
//
|
|
44885
|
+
// node_modules/@noble/hashes/esm/legacy.js
|
|
44886
44886
|
var Rho160 = /* @__PURE__ */ Uint8Array.from([
|
|
44887
44887
|
7,
|
|
44888
44888
|
4,
|
|
@@ -45000,10 +45000,10 @@ var RIPEMD160 = class extends HashMD {
|
|
|
45000
45000
|
};
|
|
45001
45001
|
var ripemd160 = /* @__PURE__ */ createHasher(() => new RIPEMD160());
|
|
45002
45002
|
|
|
45003
|
-
//
|
|
45003
|
+
// node_modules/@noble/hashes/esm/ripemd160.js
|
|
45004
45004
|
var ripemd1602 = ripemd160;
|
|
45005
45005
|
|
|
45006
|
-
//
|
|
45006
|
+
// node_modules/@gvnrdao/dh-sdk/dist/index.mjs
|
|
45007
45007
|
var import_bech32 = __toESM(require_dist(), 1);
|
|
45008
45008
|
var import_bs58check = __toESM(require_bs58check(), 1);
|
|
45009
45009
|
var import_ethers22 = require("ethers");
|
|
@@ -45012,14 +45012,14 @@ var import_ethers24 = require("ethers");
|
|
|
45012
45012
|
var import_ethers25 = require("ethers");
|
|
45013
45013
|
var import_ethers26 = require("ethers");
|
|
45014
45014
|
|
|
45015
|
-
//
|
|
45015
|
+
// node_modules/axios/lib/helpers/bind.js
|
|
45016
45016
|
function bind(fn, thisArg) {
|
|
45017
45017
|
return function wrap() {
|
|
45018
45018
|
return fn.apply(thisArg, arguments);
|
|
45019
45019
|
};
|
|
45020
45020
|
}
|
|
45021
45021
|
|
|
45022
|
-
//
|
|
45022
|
+
// node_modules/axios/lib/utils.js
|
|
45023
45023
|
var { toString } = Object.prototype;
|
|
45024
45024
|
var { getPrototypeOf } = Object;
|
|
45025
45025
|
var { iterator, toStringTag } = Symbol;
|
|
@@ -45506,7 +45506,7 @@ var utils_default = {
|
|
|
45506
45506
|
isSafeIterable
|
|
45507
45507
|
};
|
|
45508
45508
|
|
|
45509
|
-
//
|
|
45509
|
+
// node_modules/axios/lib/helpers/parseHeaders.js
|
|
45510
45510
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
45511
45511
|
"age",
|
|
45512
45512
|
"authorization",
|
|
@@ -45552,7 +45552,7 @@ var parseHeaders_default = (rawHeaders) => {
|
|
|
45552
45552
|
return parsed;
|
|
45553
45553
|
};
|
|
45554
45554
|
|
|
45555
|
-
//
|
|
45555
|
+
// node_modules/axios/lib/helpers/sanitizeHeaderValue.js
|
|
45556
45556
|
function trimSPorHTAB(str) {
|
|
45557
45557
|
let start = 0;
|
|
45558
45558
|
let end = str.length;
|
|
@@ -45590,7 +45590,7 @@ function toByteStringHeaderObject(headers) {
|
|
|
45590
45590
|
return byteStringHeaders;
|
|
45591
45591
|
}
|
|
45592
45592
|
|
|
45593
|
-
//
|
|
45593
|
+
// node_modules/axios/lib/core/AxiosHeaders.js
|
|
45594
45594
|
var $internals = Symbol("internals");
|
|
45595
45595
|
function normalizeHeader(header) {
|
|
45596
45596
|
return header && String(header).trim().toLowerCase();
|
|
@@ -45923,7 +45923,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
|
45923
45923
|
utils_default.freezeMethods(AxiosHeaders);
|
|
45924
45924
|
var AxiosHeaders_default = AxiosHeaders;
|
|
45925
45925
|
|
|
45926
|
-
//
|
|
45926
|
+
// node_modules/axios/lib/core/AxiosError.js
|
|
45927
45927
|
var REDACTED = "[REDACTED ****]";
|
|
45928
45928
|
function hasOwnOrPrototypeToJSON(source) {
|
|
45929
45929
|
if (utils_default.hasOwnProp(source, "toJSON")) {
|
|
@@ -46085,11 +46085,11 @@ AxiosError.ERR_INVALID_URL = "ERR_INVALID_URL";
|
|
|
46085
46085
|
AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
|
|
46086
46086
|
var AxiosError_default = AxiosError;
|
|
46087
46087
|
|
|
46088
|
-
//
|
|
46088
|
+
// node_modules/axios/lib/platform/node/classes/FormData.js
|
|
46089
46089
|
var import_form_data = __toESM(require_form_data(), 1);
|
|
46090
46090
|
var FormData_default = import_form_data.default;
|
|
46091
46091
|
|
|
46092
|
-
//
|
|
46092
|
+
// node_modules/axios/lib/platform/node/classes/Buffer.js
|
|
46093
46093
|
var Buffer_default = {
|
|
46094
46094
|
isBufferAvailable() {
|
|
46095
46095
|
return typeof Buffer !== "undefined";
|
|
@@ -46099,7 +46099,7 @@ var Buffer_default = {
|
|
|
46099
46099
|
}
|
|
46100
46100
|
};
|
|
46101
46101
|
|
|
46102
|
-
//
|
|
46102
|
+
// node_modules/axios/lib/helpers/toFormData.js
|
|
46103
46103
|
var DEFAULT_FORM_DATA_MAX_DEPTH = 100;
|
|
46104
46104
|
function isVisitable(thing) {
|
|
46105
46105
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
@@ -46251,7 +46251,7 @@ function toFormData(obj, formData, options) {
|
|
|
46251
46251
|
}
|
|
46252
46252
|
var toFormData_default = toFormData;
|
|
46253
46253
|
|
|
46254
|
-
//
|
|
46254
|
+
// node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
46255
46255
|
function encode(str) {
|
|
46256
46256
|
const charMap = {
|
|
46257
46257
|
"!": "%21",
|
|
@@ -46281,7 +46281,7 @@ prototype.toString = function toString2(encoder) {
|
|
|
46281
46281
|
};
|
|
46282
46282
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
46283
46283
|
|
|
46284
|
-
//
|
|
46284
|
+
// node_modules/axios/lib/helpers/buildURL.js
|
|
46285
46285
|
function encode2(val) {
|
|
46286
46286
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
46287
46287
|
}
|
|
@@ -46311,7 +46311,7 @@ function buildURL(url2, params, options) {
|
|
|
46311
46311
|
return url2;
|
|
46312
46312
|
}
|
|
46313
46313
|
|
|
46314
|
-
//
|
|
46314
|
+
// node_modules/axios/lib/core/InterceptorManager.js
|
|
46315
46315
|
var InterceptorManager = class {
|
|
46316
46316
|
constructor() {
|
|
46317
46317
|
this.handlers = [];
|
|
@@ -46376,7 +46376,7 @@ var InterceptorManager = class {
|
|
|
46376
46376
|
};
|
|
46377
46377
|
var InterceptorManager_default = InterceptorManager;
|
|
46378
46378
|
|
|
46379
|
-
//
|
|
46379
|
+
// node_modules/axios/lib/defaults/transitional.js
|
|
46380
46380
|
var transitional_default = {
|
|
46381
46381
|
silentJSONParsing: true,
|
|
46382
46382
|
forcedJSONParsing: true,
|
|
@@ -46386,14 +46386,14 @@ var transitional_default = {
|
|
|
46386
46386
|
validateStatusUndefinedResolves: true
|
|
46387
46387
|
};
|
|
46388
46388
|
|
|
46389
|
-
//
|
|
46389
|
+
// node_modules/axios/lib/platform/node/index.js
|
|
46390
46390
|
var import_crypto = __toESM(require("crypto"), 1);
|
|
46391
46391
|
|
|
46392
|
-
//
|
|
46392
|
+
// node_modules/axios/lib/platform/node/classes/URLSearchParams.js
|
|
46393
46393
|
var import_url = __toESM(require("url"), 1);
|
|
46394
46394
|
var URLSearchParams_default = import_url.default.URLSearchParams;
|
|
46395
46395
|
|
|
46396
|
-
//
|
|
46396
|
+
// node_modules/axios/lib/platform/node/index.js
|
|
46397
46397
|
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
46398
46398
|
var DIGIT = "0123456789";
|
|
46399
46399
|
var ALPHABET = {
|
|
@@ -46423,7 +46423,7 @@ var node_default = {
|
|
|
46423
46423
|
protocols: ["http", "https", "file", "data"]
|
|
46424
46424
|
};
|
|
46425
46425
|
|
|
46426
|
-
//
|
|
46426
|
+
// node_modules/axios/lib/platform/common/utils.js
|
|
46427
46427
|
var utils_exports = {};
|
|
46428
46428
|
__export(utils_exports, {
|
|
46429
46429
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
@@ -46441,13 +46441,13 @@ var hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
46441
46441
|
})();
|
|
46442
46442
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
46443
46443
|
|
|
46444
|
-
//
|
|
46444
|
+
// node_modules/axios/lib/platform/index.js
|
|
46445
46445
|
var platform_default = {
|
|
46446
46446
|
...utils_exports,
|
|
46447
46447
|
...node_default
|
|
46448
46448
|
};
|
|
46449
46449
|
|
|
46450
|
-
//
|
|
46450
|
+
// node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
46451
46451
|
function toURLEncodedForm(data, options) {
|
|
46452
46452
|
return toFormData_default(data, new platform_default.classes.URLSearchParams(), {
|
|
46453
46453
|
visitor: function(value, key, path5, helpers) {
|
|
@@ -46461,7 +46461,7 @@ function toURLEncodedForm(data, options) {
|
|
|
46461
46461
|
});
|
|
46462
46462
|
}
|
|
46463
46463
|
|
|
46464
|
-
//
|
|
46464
|
+
// node_modules/axios/lib/helpers/formDataToJSON.js
|
|
46465
46465
|
var MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH;
|
|
46466
46466
|
function throwIfDepthExceeded(index) {
|
|
46467
46467
|
if (index > MAX_DEPTH) {
|
|
@@ -46529,7 +46529,7 @@ function formDataToJSON(formData) {
|
|
|
46529
46529
|
}
|
|
46530
46530
|
var formDataToJSON_default = formDataToJSON;
|
|
46531
46531
|
|
|
46532
|
-
//
|
|
46532
|
+
// node_modules/axios/lib/defaults/index.js
|
|
46533
46533
|
var own = (obj, key) => obj != null && utils_default.hasOwnProp(obj, key) ? obj[key] : void 0;
|
|
46534
46534
|
function stringifySafely2(rawValue, parser, encoder) {
|
|
46535
46535
|
if (utils_default.isString(rawValue)) {
|
|
@@ -46646,7 +46646,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch", "query"]
|
|
|
46646
46646
|
});
|
|
46647
46647
|
var defaults_default = defaults;
|
|
46648
46648
|
|
|
46649
|
-
//
|
|
46649
|
+
// node_modules/axios/lib/core/transformData.js
|
|
46650
46650
|
function transformData(fns, response) {
|
|
46651
46651
|
const config = this || defaults_default;
|
|
46652
46652
|
const context = response || config;
|
|
@@ -46659,12 +46659,12 @@ function transformData(fns, response) {
|
|
|
46659
46659
|
return data;
|
|
46660
46660
|
}
|
|
46661
46661
|
|
|
46662
|
-
//
|
|
46662
|
+
// node_modules/axios/lib/cancel/isCancel.js
|
|
46663
46663
|
function isCancel(value) {
|
|
46664
46664
|
return !!(value && value.__CANCEL__);
|
|
46665
46665
|
}
|
|
46666
46666
|
|
|
46667
|
-
//
|
|
46667
|
+
// node_modules/axios/lib/cancel/CanceledError.js
|
|
46668
46668
|
var CanceledError = class extends AxiosError_default {
|
|
46669
46669
|
/**
|
|
46670
46670
|
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
|
@@ -46683,7 +46683,7 @@ var CanceledError = class extends AxiosError_default {
|
|
|
46683
46683
|
};
|
|
46684
46684
|
var CanceledError_default = CanceledError;
|
|
46685
46685
|
|
|
46686
|
-
//
|
|
46686
|
+
// node_modules/axios/lib/core/settle.js
|
|
46687
46687
|
function settle(resolve, reject, response) {
|
|
46688
46688
|
const validateStatus2 = response.config.validateStatus;
|
|
46689
46689
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
@@ -46699,7 +46699,7 @@ function settle(resolve, reject, response) {
|
|
|
46699
46699
|
}
|
|
46700
46700
|
}
|
|
46701
46701
|
|
|
46702
|
-
//
|
|
46702
|
+
// node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
46703
46703
|
function isAbsoluteURL(url2) {
|
|
46704
46704
|
if (typeof url2 !== "string") {
|
|
46705
46705
|
return false;
|
|
@@ -46707,7 +46707,7 @@ function isAbsoluteURL(url2) {
|
|
|
46707
46707
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
46708
46708
|
}
|
|
46709
46709
|
|
|
46710
|
-
//
|
|
46710
|
+
// node_modules/axios/lib/helpers/combineURLs.js
|
|
46711
46711
|
function combineURLs(baseURL, relativeURL) {
|
|
46712
46712
|
if (!relativeURL) {
|
|
46713
46713
|
return baseURL;
|
|
@@ -46719,7 +46719,7 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
46719
46719
|
return baseURL.slice(0, end) + "/" + relativeURL.replace(/^\/+/, "");
|
|
46720
46720
|
}
|
|
46721
46721
|
|
|
46722
|
-
//
|
|
46722
|
+
// node_modules/axios/lib/core/buildFullPath.js
|
|
46723
46723
|
var malformedHttpProtocol = /^https?:(?!\/\/)/i;
|
|
46724
46724
|
var httpProtocolControlCharacters = /[\t\n\r]/g;
|
|
46725
46725
|
function stripLeadingC0ControlOrSpace(url2) {
|
|
@@ -46775,7 +46775,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {
|
|
|
46775
46775
|
return requestedURL;
|
|
46776
46776
|
}
|
|
46777
46777
|
|
|
46778
|
-
//
|
|
46778
|
+
// node_modules/proxy-from-env/index.js
|
|
46779
46779
|
var DEFAULT_PORTS = {
|
|
46780
46780
|
ftp: 21,
|
|
46781
46781
|
gopher: 70,
|
|
@@ -46842,7 +46842,7 @@ function getEnv(key) {
|
|
|
46842
46842
|
return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || "";
|
|
46843
46843
|
}
|
|
46844
46844
|
|
|
46845
|
-
//
|
|
46845
|
+
// node_modules/axios/lib/adapters/http.js
|
|
46846
46846
|
var import_https_proxy_agent = __toESM(require_dist2(), 1);
|
|
46847
46847
|
var import_http = __toESM(require("http"), 1);
|
|
46848
46848
|
var import_https = __toESM(require("https"), 1);
|
|
@@ -46852,16 +46852,16 @@ var import_path = require("path");
|
|
|
46852
46852
|
var import_follow_redirects = __toESM(require_follow_redirects(), 1);
|
|
46853
46853
|
var import_zlib = __toESM(require("zlib"), 1);
|
|
46854
46854
|
|
|
46855
|
-
//
|
|
46855
|
+
// node_modules/axios/lib/env/data.js
|
|
46856
46856
|
var VERSION = "1.19.0";
|
|
46857
46857
|
|
|
46858
|
-
//
|
|
46858
|
+
// node_modules/axios/lib/helpers/parseProtocol.js
|
|
46859
46859
|
function parseProtocol(url2) {
|
|
46860
46860
|
const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url2);
|
|
46861
46861
|
return match && match[1] || "";
|
|
46862
46862
|
}
|
|
46863
46863
|
|
|
46864
|
-
//
|
|
46864
|
+
// node_modules/axios/lib/helpers/fromDataURI.js
|
|
46865
46865
|
var DATA_URL_PATTERN = /^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;
|
|
46866
46866
|
function fromDataURI(uri, asBlob, options) {
|
|
46867
46867
|
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
@@ -46897,10 +46897,10 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
46897
46897
|
throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
|
|
46898
46898
|
}
|
|
46899
46899
|
|
|
46900
|
-
//
|
|
46900
|
+
// node_modules/axios/lib/adapters/http.js
|
|
46901
46901
|
var import_stream4 = __toESM(require("stream"), 1);
|
|
46902
46902
|
|
|
46903
|
-
//
|
|
46903
|
+
// node_modules/axios/lib/core/setFormDataHeaders.js
|
|
46904
46904
|
var FORM_DATA_CONTENT_HEADERS = ["content-type", "content-length"];
|
|
46905
46905
|
function setFormDataHeaders(headers, formHeaders, policy) {
|
|
46906
46906
|
if (policy !== "content-only") {
|
|
@@ -46914,7 +46914,7 @@ function setFormDataHeaders(headers, formHeaders, policy) {
|
|
|
46914
46914
|
});
|
|
46915
46915
|
}
|
|
46916
46916
|
|
|
46917
|
-
//
|
|
46917
|
+
// node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
46918
46918
|
var import_stream = __toESM(require("stream"), 1);
|
|
46919
46919
|
var kInternals = Symbol("internals");
|
|
46920
46920
|
var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
@@ -47037,14 +47037,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
|
47037
47037
|
};
|
|
47038
47038
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
47039
47039
|
|
|
47040
|
-
//
|
|
47040
|
+
// node_modules/axios/lib/adapters/http.js
|
|
47041
47041
|
var import_events = require("events");
|
|
47042
47042
|
|
|
47043
|
-
//
|
|
47043
|
+
// node_modules/axios/lib/helpers/formDataToStream.js
|
|
47044
47044
|
var import_util = __toESM(require("util"), 1);
|
|
47045
47045
|
var import_stream2 = require("stream");
|
|
47046
47046
|
|
|
47047
|
-
//
|
|
47047
|
+
// node_modules/axios/lib/helpers/readBlob.js
|
|
47048
47048
|
var { asyncIterator } = Symbol;
|
|
47049
47049
|
var readBlob = async function* (blob) {
|
|
47050
47050
|
if (blob.stream) {
|
|
@@ -47059,7 +47059,7 @@ var readBlob = async function* (blob) {
|
|
|
47059
47059
|
};
|
|
47060
47060
|
var readBlob_default = readBlob;
|
|
47061
47061
|
|
|
47062
|
-
//
|
|
47062
|
+
// node_modules/axios/lib/helpers/formDataToStream.js
|
|
47063
47063
|
var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
47064
47064
|
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
|
|
47065
47065
|
var CRLF = "\r\n";
|
|
@@ -47144,7 +47144,7 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
47144
47144
|
};
|
|
47145
47145
|
var formDataToStream_default = formDataToStream;
|
|
47146
47146
|
|
|
47147
|
-
//
|
|
47147
|
+
// node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
47148
47148
|
var import_stream3 = __toESM(require("stream"), 1);
|
|
47149
47149
|
var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
47150
47150
|
__transform(chunk, encoding, callback) {
|
|
@@ -47166,7 +47166,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
|
47166
47166
|
};
|
|
47167
47167
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
47168
47168
|
|
|
47169
|
-
//
|
|
47169
|
+
// node_modules/axios/lib/helpers/Http2Sessions.js
|
|
47170
47170
|
var import_http2 = __toESM(require("http2"), 1);
|
|
47171
47171
|
var import_util2 = __toESM(require("util"), 1);
|
|
47172
47172
|
var Http2Sessions = class {
|
|
@@ -47247,7 +47247,7 @@ var Http2Sessions = class {
|
|
|
47247
47247
|
};
|
|
47248
47248
|
var Http2Sessions_default = Http2Sessions;
|
|
47249
47249
|
|
|
47250
|
-
//
|
|
47250
|
+
// node_modules/axios/lib/helpers/callbackify.js
|
|
47251
47251
|
var callbackify = (fn, reducer) => {
|
|
47252
47252
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
47253
47253
|
const cb = args.pop();
|
|
@@ -47262,7 +47262,7 @@ var callbackify = (fn, reducer) => {
|
|
|
47262
47262
|
};
|
|
47263
47263
|
var callbackify_default = callbackify;
|
|
47264
47264
|
|
|
47265
|
-
//
|
|
47265
|
+
// node_modules/axios/lib/helpers/shouldBypassProxy.js
|
|
47266
47266
|
var LOOPBACK_HOSTNAMES = /* @__PURE__ */ new Set(["localhost", "0.0.0.0"]);
|
|
47267
47267
|
var isIPv4Loopback = (host) => {
|
|
47268
47268
|
const parts = host.split(".");
|
|
@@ -47463,7 +47463,7 @@ function shouldBypassProxy(location) {
|
|
|
47463
47463
|
});
|
|
47464
47464
|
}
|
|
47465
47465
|
|
|
47466
|
-
//
|
|
47466
|
+
// node_modules/axios/lib/helpers/speedometer.js
|
|
47467
47467
|
function speedometer(samplesCount, min) {
|
|
47468
47468
|
samplesCount = samplesCount || 10;
|
|
47469
47469
|
const bytes = new Array(samplesCount);
|
|
@@ -47499,7 +47499,7 @@ function speedometer(samplesCount, min) {
|
|
|
47499
47499
|
}
|
|
47500
47500
|
var speedometer_default = speedometer;
|
|
47501
47501
|
|
|
47502
|
-
//
|
|
47502
|
+
// node_modules/axios/lib/helpers/throttle.js
|
|
47503
47503
|
function throttle(fn, freq) {
|
|
47504
47504
|
let timestamp = 0;
|
|
47505
47505
|
let threshold = 1e3 / freq;
|
|
@@ -47534,7 +47534,7 @@ function throttle(fn, freq) {
|
|
|
47534
47534
|
}
|
|
47535
47535
|
var throttle_default = throttle;
|
|
47536
47536
|
|
|
47537
|
-
//
|
|
47537
|
+
// node_modules/axios/lib/helpers/progressEventReducer.js
|
|
47538
47538
|
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
47539
47539
|
let bytesNotified = 0;
|
|
47540
47540
|
const _speedometer = speedometer_default(50, 250);
|
|
@@ -47575,7 +47575,7 @@ var progressEventDecorator = (total, throttled) => {
|
|
|
47575
47575
|
};
|
|
47576
47576
|
var asyncDecorator = (fn, scheduler = utils_default.asap) => (...args) => scheduler(() => fn(...args));
|
|
47577
47577
|
|
|
47578
|
-
//
|
|
47578
|
+
// node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
|
|
47579
47579
|
var isHexDigit = (charCode) => charCode >= 48 && charCode <= 57 || charCode >= 65 && charCode <= 70 || charCode >= 97 && charCode <= 102;
|
|
47580
47580
|
var isPercentEncodedByte = (str, i, len) => i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2));
|
|
47581
47581
|
var hexValue = (charCode) => charCode <= 57 ? charCode - 48 : (charCode & 223) - 55;
|
|
@@ -47678,7 +47678,7 @@ function estimateDataURLBufferAllocation(url2) {
|
|
|
47678
47678
|
return estimateDataURLBytes(url2, estimateBase64BufferAllocation);
|
|
47679
47679
|
}
|
|
47680
47680
|
|
|
47681
|
-
//
|
|
47681
|
+
// node_modules/axios/lib/adapters/http.js
|
|
47682
47682
|
var zlibOptions = {
|
|
47683
47683
|
flush: import_zlib.default.constants.Z_SYNC_FLUSH,
|
|
47684
47684
|
finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
|
|
@@ -48640,7 +48640,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
48640
48640
|
});
|
|
48641
48641
|
};
|
|
48642
48642
|
|
|
48643
|
-
//
|
|
48643
|
+
// node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
48644
48644
|
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PURE__ */ ((origin2, isMSIE) => (url2) => {
|
|
48645
48645
|
url2 = new URL(url2, platform_default.origin);
|
|
48646
48646
|
return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
|
|
@@ -48649,7 +48649,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PUR
|
|
|
48649
48649
|
platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
|
|
48650
48650
|
) : () => true;
|
|
48651
48651
|
|
|
48652
|
-
//
|
|
48652
|
+
// node_modules/axios/lib/helpers/cookies.js
|
|
48653
48653
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
48654
48654
|
// Standard browser envs support document.cookie
|
|
48655
48655
|
{
|
|
@@ -48706,7 +48706,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
|
48706
48706
|
}
|
|
48707
48707
|
);
|
|
48708
48708
|
|
|
48709
|
-
//
|
|
48709
|
+
// node_modules/axios/lib/core/mergeConfig.js
|
|
48710
48710
|
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? { ...thing } : thing;
|
|
48711
48711
|
var ownEnumerableKeys = (thing) => {
|
|
48712
48712
|
if (Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor) {
|
|
@@ -48834,7 +48834,7 @@ function mergeConfig(config1, config2) {
|
|
|
48834
48834
|
return config;
|
|
48835
48835
|
}
|
|
48836
48836
|
|
|
48837
|
-
//
|
|
48837
|
+
// node_modules/axios/lib/helpers/resolveConfig.js
|
|
48838
48838
|
var encodeUTF8 = (str) => encodeURIComponent(str).replace(
|
|
48839
48839
|
/%([0-9A-F]{2})/gi,
|
|
48840
48840
|
(_, hex) => String.fromCharCode(parseInt(hex, 16))
|
|
@@ -48892,7 +48892,7 @@ function resolveConfig(config) {
|
|
|
48892
48892
|
}
|
|
48893
48893
|
var resolveConfig_default = resolveConfig;
|
|
48894
48894
|
|
|
48895
|
-
//
|
|
48895
|
+
// node_modules/axios/lib/adapters/xhr.js
|
|
48896
48896
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
48897
48897
|
var xhr_default = isXHRAdapterSupported && function(config) {
|
|
48898
48898
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
@@ -49039,7 +49039,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
49039
49039
|
});
|
|
49040
49040
|
};
|
|
49041
49041
|
|
|
49042
|
-
//
|
|
49042
|
+
// node_modules/axios/lib/helpers/composeSignals.js
|
|
49043
49043
|
var composeSignals = (signals, timeout) => {
|
|
49044
49044
|
signals = signals ? signals.filter(Boolean) : [];
|
|
49045
49045
|
if (!timeout && !signals.length) {
|
|
@@ -49088,7 +49088,7 @@ var composeSignals = (signals, timeout) => {
|
|
|
49088
49088
|
};
|
|
49089
49089
|
var composeSignals_default = composeSignals;
|
|
49090
49090
|
|
|
49091
|
-
//
|
|
49091
|
+
// node_modules/axios/lib/helpers/trackStream.js
|
|
49092
49092
|
var streamChunk = function* (chunk, chunkSize) {
|
|
49093
49093
|
let len = chunk.byteLength;
|
|
49094
49094
|
if (!chunkSize || len < chunkSize) {
|
|
@@ -49168,7 +49168,7 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
|
|
|
49168
49168
|
);
|
|
49169
49169
|
};
|
|
49170
49170
|
|
|
49171
|
-
//
|
|
49171
|
+
// node_modules/axios/lib/adapters/fetch.js
|
|
49172
49172
|
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
49173
49173
|
var { isFunction: isFunction2 } = utils_default;
|
|
49174
49174
|
var encodeUTF82 = (str) => encodeURIComponent(str).replace(
|
|
@@ -49585,7 +49585,7 @@ var getFetch = (config) => {
|
|
|
49585
49585
|
};
|
|
49586
49586
|
var adapter = getFetch();
|
|
49587
49587
|
|
|
49588
|
-
//
|
|
49588
|
+
// node_modules/axios/lib/adapters/adapters.js
|
|
49589
49589
|
var knownAdapters = {
|
|
49590
49590
|
http: http_default,
|
|
49591
49591
|
xhr: xhr_default,
|
|
@@ -49650,7 +49650,7 @@ var adapters_default = {
|
|
|
49650
49650
|
adapters: knownAdapters
|
|
49651
49651
|
};
|
|
49652
49652
|
|
|
49653
|
-
//
|
|
49653
|
+
// node_modules/axios/lib/core/dispatchRequest.js
|
|
49654
49654
|
function throwIfCancellationRequested(config) {
|
|
49655
49655
|
if (config.cancelToken) {
|
|
49656
49656
|
config.cancelToken.throwIfRequested();
|
|
@@ -49701,7 +49701,7 @@ function dispatchRequest(config) {
|
|
|
49701
49701
|
);
|
|
49702
49702
|
}
|
|
49703
49703
|
|
|
49704
|
-
//
|
|
49704
|
+
// node_modules/axios/lib/helpers/validator.js
|
|
49705
49705
|
var validators = {};
|
|
49706
49706
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
49707
49707
|
validators[type] = function validator(thing) {
|
|
@@ -49768,7 +49768,7 @@ var validator_default = {
|
|
|
49768
49768
|
validators
|
|
49769
49769
|
};
|
|
49770
49770
|
|
|
49771
|
-
//
|
|
49771
|
+
// node_modules/axios/lib/core/Axios.js
|
|
49772
49772
|
var validators2 = validator_default.validators;
|
|
49773
49773
|
var Axios = class {
|
|
49774
49774
|
constructor(instanceConfig) {
|
|
@@ -49987,7 +49987,7 @@ utils_default.forEach(["post", "put", "patch", "query"], function forEachMethodW
|
|
|
49987
49987
|
});
|
|
49988
49988
|
var Axios_default = Axios;
|
|
49989
49989
|
|
|
49990
|
-
//
|
|
49990
|
+
// node_modules/axios/lib/cancel/CancelToken.js
|
|
49991
49991
|
var CancelToken = class _CancelToken {
|
|
49992
49992
|
constructor(executor) {
|
|
49993
49993
|
if (typeof executor !== "function") {
|
|
@@ -50085,19 +50085,19 @@ var CancelToken = class _CancelToken {
|
|
|
50085
50085
|
};
|
|
50086
50086
|
var CancelToken_default = CancelToken;
|
|
50087
50087
|
|
|
50088
|
-
//
|
|
50088
|
+
// node_modules/axios/lib/helpers/spread.js
|
|
50089
50089
|
function spread(callback) {
|
|
50090
50090
|
return function wrap(arr) {
|
|
50091
50091
|
return callback.apply(null, arr);
|
|
50092
50092
|
};
|
|
50093
50093
|
}
|
|
50094
50094
|
|
|
50095
|
-
//
|
|
50095
|
+
// node_modules/axios/lib/helpers/isAxiosError.js
|
|
50096
50096
|
function isAxiosError(payload) {
|
|
50097
50097
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
50098
50098
|
}
|
|
50099
50099
|
|
|
50100
|
-
//
|
|
50100
|
+
// node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
50101
50101
|
var HttpStatusCode = {
|
|
50102
50102
|
Continue: 100,
|
|
50103
50103
|
SwitchingProtocols: 101,
|
|
@@ -50175,7 +50175,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
50175
50175
|
});
|
|
50176
50176
|
var HttpStatusCode_default = HttpStatusCode;
|
|
50177
50177
|
|
|
50178
|
-
//
|
|
50178
|
+
// node_modules/axios/lib/axios.js
|
|
50179
50179
|
function createInstance(defaultConfig) {
|
|
50180
50180
|
const context = new Axios_default(defaultConfig);
|
|
50181
50181
|
const instance = bind(Axios_default.prototype.request, context);
|
|
@@ -50208,7 +50208,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
|
|
|
50208
50208
|
axios.default = axios;
|
|
50209
50209
|
var axios_default = axios;
|
|
50210
50210
|
|
|
50211
|
-
//
|
|
50211
|
+
// node_modules/axios/index.js
|
|
50212
50212
|
var {
|
|
50213
50213
|
Axios: Axios2,
|
|
50214
50214
|
AxiosError: AxiosError2,
|
|
@@ -50229,7 +50229,7 @@ var {
|
|
|
50229
50229
|
create
|
|
50230
50230
|
} = axios_default;
|
|
50231
50231
|
|
|
50232
|
-
//
|
|
50232
|
+
// node_modules/@gvnrdao/dh-sdk/dist/index.mjs
|
|
50233
50233
|
var import_ethers27 = require("ethers");
|
|
50234
50234
|
var import_ethers28 = require("ethers");
|
|
50235
50235
|
var import_ethers29 = require("ethers");
|
|
@@ -50602,7 +50602,7 @@ var init_deployment_addresses = __esm2({
|
|
|
50602
50602
|
CARRY_AGENT_REGISTRY: "0x5595CB538D44E6Cf179D20364fD631D0477e69f7",
|
|
50603
50603
|
CARRY_AGENT_REGISTRY_IMPL: "0x1b11a3D5e46F3672E643c997f0d569DFf0b64a01",
|
|
50604
50604
|
AGENT_DELEGATION_REGISTRY: "0x6AE7fc6bE0925126b9D25b1B7Ce5AD5d127ec025",
|
|
50605
|
-
AGENT_DELEGATION_REGISTRY_IMPL: "
|
|
50605
|
+
AGENT_DELEGATION_REGISTRY_IMPL: "0xE931E4b9ceF2A48Ac7D57192da4B523756cFC310",
|
|
50606
50606
|
DH_AGENT_DELEGATE: "0xa5A14489ae883960df6E1463A41a47aBE9Ecc5AF"
|
|
50607
50607
|
}
|
|
50608
50608
|
};
|
|
@@ -50872,7 +50872,7 @@ var init_deployment_addresses = __esm2({
|
|
|
50872
50872
|
LOCALHOST_DEPLOYMENT = {
|
|
50873
50873
|
network: "localhost",
|
|
50874
50874
|
chainId: 1337,
|
|
50875
|
-
timestamp: "2026-07-
|
|
50875
|
+
timestamp: "2026-07-20T19:45:58.514Z",
|
|
50876
50876
|
deployer: "",
|
|
50877
50877
|
contracts: {
|
|
50878
50878
|
MessageHashBuilder: "0xa82fF9aFd8f496c3d6ac40E2a0F282E47488CFc9",
|
|
@@ -50892,30 +50892,6 @@ var init_deployment_addresses = __esm2({
|
|
|
50892
50892
|
PositionManager: "0x851356ae760d987E095750cCeb3bC6014560891C",
|
|
50893
50893
|
OperationAuthorizationRegistry: "0xc96304e3c037f81dA488ed9dEa1D8F2a48278a75",
|
|
50894
50894
|
PKPValidation: "0xD0141E899a65C95a556fE2B27e5982A6DE7fDD7A"
|
|
50895
|
-
},
|
|
50896
|
-
latestEnv: {
|
|
50897
|
-
UCD_TOKEN: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
|
50898
|
-
UCD_CONTROLLER: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
|
|
50899
|
-
POSITION_MANAGER: "0x851356ae760d987E095750cCeb3bC6014560891C",
|
|
50900
|
-
PKP_VALIDATION_REGISTRY: "0xD0141E899a65C95a556fE2B27e5982A6DE7fDD7A",
|
|
50901
|
-
PKP_VALIDATION_CID_V1: "0x12203af2054b0ab6e18d898ddfc7985593439fb82d22336133387c1169f98d3702ab",
|
|
50902
|
-
PKP_VALIDATION_CID_V3: "0x12203af2054b0ab6e18d898ddfc7985593439fb82d22336133387c1169f98d3702ab",
|
|
50903
|
-
PKP_ETH_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
|
|
50904
|
-
OPERATION_AUTHORIZATION_REGISTRY: "0xc96304e3c037f81dA488ed9dEa1D8F2a48278a75",
|
|
50905
|
-
UCD_MINT_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
|
|
50906
|
-
UCD_MINT_VALIDATOR_VERSION: 1,
|
|
50907
|
-
BTC_WITHDRAWAL_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
|
|
50908
|
-
BTC_WITHDRAWAL_VALIDATOR_VERSION: 3,
|
|
50909
|
-
UPDATE_BALANCE_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
|
|
50910
|
-
UPDATE_BALANCE_VALIDATOR_VERSION: 1,
|
|
50911
|
-
PROCESS_PAYMENT_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
|
|
50912
|
-
PROCESS_PAYMENT_VALIDATOR_VERSION: 1,
|
|
50913
|
-
EXTEND_POSITION_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
|
|
50914
|
-
EXTEND_POSITION_VALIDATOR_VERSION: 1,
|
|
50915
|
-
POSITION_MANAGER_CORE_MODULE: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
|
|
50916
|
-
LOAN_OPERATIONS_MANAGER_MODULE: "0x68B1D87F95878fE05B998F19b66F4baba5De1aed",
|
|
50917
|
-
TERM_MANAGER_MODULE: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
|
|
50918
|
-
COMMUNITY_MANAGER_MODULE: ""
|
|
50919
50895
|
}
|
|
50920
50896
|
};
|
|
50921
50897
|
LOCALHOST_CONTRACTS = {
|
|
@@ -55766,8 +55742,14 @@ function getMainnetConfig() {
|
|
|
55766
55742
|
agentModuleFactory: MAINNET_CONTRACTS.AgentModuleFactory || ""
|
|
55767
55743
|
},
|
|
55768
55744
|
subgraphs: {
|
|
55745
|
+
// KNOWN-WRONG placeholder (see GOAL-PLAN step 2 / dogfood F-CLI-4): this is a
|
|
55746
|
+
// SEPOLIA subgraph id in a mainnet (chainId 1) config, and this gateway host
|
|
55747
|
+
// needs an Authorization key the SDK does not (and must not) hold — so the
|
|
55748
|
+
// URL is doubly unusable. The `CCTPsd…` path segment is the subgraph's
|
|
55749
|
+
// PUBLIC ID, not a credential. The fix is a chain-correct SERVER-side proxy
|
|
55750
|
+
// (see mcp/docs/SUBGRAPH-PROXY-PLAN.md) — same rule as rpcUrls above:
|
|
55751
|
+
// never ship an API-keyed URL in a client config.
|
|
55769
55752
|
diamondHandsUrl: "https://gateway-arbitrum.network.thegraph.com/api/subgraphs/id/CCTPsdYqco2jChDLLBQTbdJWwoukVoMt1cXeR9ti6r9A"
|
|
55770
|
-
// Published Sepolia subgraph on Arbitrum One
|
|
55771
55753
|
},
|
|
55772
55754
|
litNetwork: "chipotle",
|
|
55773
55755
|
debug: false
|
|
@@ -56455,7 +56437,7 @@ async function generateMintAuthorization(positionId, amount, chainId, signerOrPr
|
|
|
56455
56437
|
signature
|
|
56456
56438
|
};
|
|
56457
56439
|
}
|
|
56458
|
-
async function generatePaymentAuthorization(positionId, amount, chainId,
|
|
56440
|
+
async function generatePaymentAuthorization(positionId, amount, chainId, signerOrPrecomputed) {
|
|
56459
56441
|
if (typeof positionId !== "string") {
|
|
56460
56442
|
throw new Error(`positionId must be a string, got ${typeof positionId}`);
|
|
56461
56443
|
}
|
|
@@ -56465,6 +56447,18 @@ async function generatePaymentAuthorization(positionId, amount, chainId, signer)
|
|
|
56465
56447
|
if (typeof chainId !== "number") {
|
|
56466
56448
|
throw new Error(`chainId must be a number, got ${typeof chainId}`);
|
|
56467
56449
|
}
|
|
56450
|
+
if (typeof signerOrPrecomputed === "object" && "signature" in signerOrPrecomputed && !("signMessage" in signerOrPrecomputed)) {
|
|
56451
|
+
const { timestamp: timestamp2, signature: signature2 } = signerOrPrecomputed;
|
|
56452
|
+
return {
|
|
56453
|
+
positionId,
|
|
56454
|
+
timestamp: timestamp2,
|
|
56455
|
+
chainId,
|
|
56456
|
+
amount: amount.toString(),
|
|
56457
|
+
action: "make-payment",
|
|
56458
|
+
signature: signature2
|
|
56459
|
+
};
|
|
56460
|
+
}
|
|
56461
|
+
const signer = signerOrPrecomputed;
|
|
56468
56462
|
const timestamp = await calculateNextQuantumTimestamp();
|
|
56469
56463
|
if (typeof timestamp !== "number") {
|
|
56470
56464
|
throw new Error(`timestamp must be a number, got ${typeof timestamp}`);
|
|
@@ -56702,6 +56696,24 @@ async function generateExtendAuthorization(positionId, newTerm, chainId, signerO
|
|
|
56702
56696
|
// Add caller address for Lit Action validation
|
|
56703
56697
|
};
|
|
56704
56698
|
}
|
|
56699
|
+
async function resolveAuthorizationInput(provider, signer, ctx) {
|
|
56700
|
+
if (!provider)
|
|
56701
|
+
return signer;
|
|
56702
|
+
const result = await provider(ctx);
|
|
56703
|
+
if (!result || typeof result.signature !== "string" || result.signature.length === 0) {
|
|
56704
|
+
throw new Error(
|
|
56705
|
+
"authorizationProvider returned no signature \u2014 refusing to fall back to the connected signer, which would prompt for the owner quorum this provider exists to avoid"
|
|
56706
|
+
);
|
|
56707
|
+
}
|
|
56708
|
+
if (!Number.isInteger(result.timestamp)) {
|
|
56709
|
+
throw new Error(
|
|
56710
|
+
`authorizationProvider returned a non-integer timestamp (${String(
|
|
56711
|
+
result.timestamp
|
|
56712
|
+
)}) \u2014 the protocol call must carry the same value the envelope was signed over`
|
|
56713
|
+
);
|
|
56714
|
+
}
|
|
56715
|
+
return { timestamp: result.timestamp, signature: result.signature };
|
|
56716
|
+
}
|
|
56705
56717
|
function buildLoginDomain(chainId) {
|
|
56706
56718
|
return {
|
|
56707
56719
|
name: "Diamond Hands",
|
|
@@ -69987,11 +69999,20 @@ var DiamondHandsSDK = class _DiamondHandsSDK {
|
|
|
69987
69999
|
{}
|
|
69988
70000
|
);
|
|
69989
70001
|
}
|
|
70002
|
+
const mintAuthInput = await resolveAuthorizationInput(
|
|
70003
|
+
request.authorizationProvider,
|
|
70004
|
+
signer2,
|
|
70005
|
+
{
|
|
70006
|
+
positionId: request.positionId,
|
|
70007
|
+
timestamp: calculateNextQuantumTimestamp(),
|
|
70008
|
+
amount: requestAmountWei.toString()
|
|
70009
|
+
}
|
|
70010
|
+
);
|
|
69990
70011
|
const auth = await generateMintAuthorization(
|
|
69991
70012
|
request.positionId,
|
|
69992
70013
|
BigInt(requestAmountWei.toString()),
|
|
69993
70014
|
chainId,
|
|
69994
|
-
|
|
70015
|
+
mintAuthInput
|
|
69995
70016
|
);
|
|
69996
70017
|
if (this.config.debug) {
|
|
69997
70018
|
log.info(` Authorization generated (attempt ${attempt})`, {});
|
|
@@ -71587,7 +71608,7 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
71587
71608
|
* @param _selectedTerm - Extension term in months
|
|
71588
71609
|
* @returns Transaction receipt
|
|
71589
71610
|
*/
|
|
71590
|
-
async extendPosition(_positionId, _selectedTerm, _rpcUrl, _bitcoinRpcUrl) {
|
|
71611
|
+
async extendPosition(_positionId, _selectedTerm, _rpcUrl, _bitcoinRpcUrl, _authorizationProvider) {
|
|
71591
71612
|
this.ensureInitialized();
|
|
71592
71613
|
if (typeof _positionId !== "string") {
|
|
71593
71614
|
throw new Error(`positionId must be a string, got ${typeof _positionId}`);
|
|
@@ -71681,11 +71702,23 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
71681
71702
|
}
|
|
71682
71703
|
}
|
|
71683
71704
|
const signer = this.getSignerOrThrow();
|
|
71705
|
+
const extendAuthInput = await resolveAuthorizationInput(
|
|
71706
|
+
_authorizationProvider,
|
|
71707
|
+
signer,
|
|
71708
|
+
{
|
|
71709
|
+
positionId: _positionId,
|
|
71710
|
+
timestamp: calculateNextQuantumTimestamp(),
|
|
71711
|
+
// The extend envelope binds the TERM, not an amount. Carried as "0" so
|
|
71712
|
+
// the context shape stays uniform across the four operations.
|
|
71713
|
+
amount: "0",
|
|
71714
|
+
selectedTerm: _selectedTerm
|
|
71715
|
+
}
|
|
71716
|
+
);
|
|
71684
71717
|
const auth = await generateExtendAuthorization(
|
|
71685
71718
|
_positionId,
|
|
71686
71719
|
_selectedTerm,
|
|
71687
71720
|
chainId,
|
|
71688
|
-
|
|
71721
|
+
extendAuthInput
|
|
71689
71722
|
);
|
|
71690
71723
|
if (this.config.debug) {
|
|
71691
71724
|
log.info(" Extend authorization generated", {
|
|
@@ -71941,7 +71974,8 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
71941
71974
|
positionId,
|
|
71942
71975
|
selectedTerm,
|
|
71943
71976
|
request.rpcUrl,
|
|
71944
|
-
request.customBitcoinRpcUrl
|
|
71977
|
+
request.customBitcoinRpcUrl,
|
|
71978
|
+
request.authorizationProvider
|
|
71945
71979
|
);
|
|
71946
71980
|
let newExpiryAt;
|
|
71947
71981
|
try {
|
|
@@ -72475,11 +72509,20 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
72475
72509
|
}
|
|
72476
72510
|
let auth;
|
|
72477
72511
|
try {
|
|
72512
|
+
const paymentAuthInput = await resolveAuthorizationInput(
|
|
72513
|
+
request.authorizationProvider,
|
|
72514
|
+
signer,
|
|
72515
|
+
{
|
|
72516
|
+
positionId: request.positionId,
|
|
72517
|
+
timestamp: calculateNextQuantumTimestamp(),
|
|
72518
|
+
amount: paymentAmountWei.toString()
|
|
72519
|
+
}
|
|
72520
|
+
);
|
|
72478
72521
|
auth = await generatePaymentAuthorization(
|
|
72479
72522
|
request.positionId,
|
|
72480
72523
|
paymentAmountWei,
|
|
72481
72524
|
chainId,
|
|
72482
|
-
|
|
72525
|
+
paymentAuthInput
|
|
72483
72526
|
);
|
|
72484
72527
|
} catch (authError) {
|
|
72485
72528
|
if (authError.message && authError.message.includes("BigNumber")) {
|
|
@@ -72991,7 +73034,7 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
72991
73034
|
* @param customBitcoinRpcUrl - Optional custom Bitcoin RPC URL (for local testing)
|
|
72992
73035
|
* @returns Withdrawal result with transaction details
|
|
72993
73036
|
*/
|
|
72994
|
-
async withdrawBTC(positionId, withdrawalAddress, withdrawalAmount) {
|
|
73037
|
+
async withdrawBTC(positionId, withdrawalAddress, withdrawalAmount, options) {
|
|
72995
73038
|
this.ensureInitialized();
|
|
72996
73039
|
try {
|
|
72997
73040
|
if (this.config.debug) {
|
|
@@ -73206,11 +73249,21 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
73206
73249
|
{}
|
|
73207
73250
|
);
|
|
73208
73251
|
}
|
|
73252
|
+
const withdrawAuthInput = await resolveAuthorizationInput(
|
|
73253
|
+
options?.authorizationProvider,
|
|
73254
|
+
signer,
|
|
73255
|
+
{
|
|
73256
|
+
positionId,
|
|
73257
|
+
timestamp: calculateNextQuantumTimestamp(),
|
|
73258
|
+
amount: BigInt(withdrawalAmount).toString(),
|
|
73259
|
+
destinationAddress: withdrawalAddress
|
|
73260
|
+
}
|
|
73261
|
+
);
|
|
73209
73262
|
const auth = await generateWithdrawAuthorization(
|
|
73210
73263
|
positionId,
|
|
73211
73264
|
BigInt(withdrawalAmount),
|
|
73212
73265
|
chainId,
|
|
73213
|
-
|
|
73266
|
+
withdrawAuthInput,
|
|
73214
73267
|
withdrawalAddress
|
|
73215
73268
|
// Pass destination address for message hash
|
|
73216
73269
|
);
|
|
@@ -74284,6 +74337,11 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
74284
74337
|
* (`MAX_ATTESTATION_AGE = 1 hour`) and replay-protects via
|
|
74285
74338
|
* `authorizedAt` binding.
|
|
74286
74339
|
*
|
|
74340
|
+
* WHO PAYS: in **service mode** lit-ops-server performs BOTH steps and its
|
|
74341
|
+
* relayer funds the transaction — the borrower is never prompted, because the
|
|
74342
|
+
* Bitcoin withdrawal this cleans up after has already settled. In **direct
|
|
74343
|
+
* mode** (CLI / tests / hardhat) the SDK's own signer submits step 2.
|
|
74344
|
+
*
|
|
74287
74345
|
* `invalidatorTxid` is either:
|
|
74288
74346
|
* - the borrower's own authorized broadcast (classified "consumed-as-authorized"
|
|
74289
74347
|
* by the LIT validator), once it has ≥6 confirmations on the BTC
|
|
@@ -74296,7 +74354,6 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
74296
74354
|
async recoverStaleSpend(params) {
|
|
74297
74355
|
this.ensureInitialized();
|
|
74298
74356
|
try {
|
|
74299
|
-
const signer = this.getSignerOrThrow();
|
|
74300
74357
|
const contractAddresses = this.getContractAddressesOrThrow();
|
|
74301
74358
|
const btcSpendAuthorizerAddress = contractAddresses.btcSpendAuthorizer;
|
|
74302
74359
|
if (!btcSpendAuthorizerAddress) {
|
|
@@ -74342,6 +74399,28 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
74342
74399
|
success: false,
|
|
74343
74400
|
error: json.error ?? "stale-spend recovery request failed"
|
|
74344
74401
|
};
|
|
74402
|
+
if (!attRes.success || !attRes.attestation) {
|
|
74403
|
+
return {
|
|
74404
|
+
success: false,
|
|
74405
|
+
failedStep: "attestation",
|
|
74406
|
+
error: attRes.error ?? attRes.reason ?? `LIT recovery attestation rejected${attRes.failedStep ? ` at step ${attRes.failedStep}` : ""}`
|
|
74407
|
+
};
|
|
74408
|
+
}
|
|
74409
|
+
if (!attRes.transactionHash && !attRes.alreadyCleared) {
|
|
74410
|
+
return {
|
|
74411
|
+
success: false,
|
|
74412
|
+
failedStep: "submit",
|
|
74413
|
+
error: "lit-ops-server returned a stale-spend attestation but did not submit it. The server is on a build without the recovery relayer, or its STALE_SPEND_RELAYER_PRIVATE_KEY is unset."
|
|
74414
|
+
};
|
|
74415
|
+
}
|
|
74416
|
+
return {
|
|
74417
|
+
success: true,
|
|
74418
|
+
...attRes.transactionHash && {
|
|
74419
|
+
transactionHash: attRes.transactionHash
|
|
74420
|
+
},
|
|
74421
|
+
...attRes.classification && { classification: attRes.classification },
|
|
74422
|
+
attestation: attRes.attestation
|
|
74423
|
+
};
|
|
74345
74424
|
} else {
|
|
74346
74425
|
const rpcUrl = params.rpcUrl ?? this.config.ethRpcUrl;
|
|
74347
74426
|
if (!rpcUrl) {
|
|
@@ -74391,7 +74470,7 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
74391
74470
|
[
|
|
74392
74471
|
"function cancelStaleSpendWithProof(bytes32 positionId, bytes32 utxoKey, uint256 authorizedAt, string calldata invalidatorTxid, uint256 attestationTimestamp, bytes calldata litSignature) external"
|
|
74393
74472
|
],
|
|
74394
|
-
|
|
74473
|
+
this.getSignerOrThrow()
|
|
74395
74474
|
);
|
|
74396
74475
|
const tx2 = await btcSpendAuthorizer["cancelStaleSpendWithProof"](
|
|
74397
74476
|
attRes.attestation.positionId,
|
|
@@ -75201,10 +75280,22 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
75201
75280
|
"getLoanGrant",
|
|
75202
75281
|
data
|
|
75203
75282
|
);
|
|
75283
|
+
const raw = (0, import_ethers13.getBytes)(data);
|
|
75284
|
+
const withdrawScopeSupported = raw.length >= 128;
|
|
75285
|
+
const minWithdrawRatioBps = withdrawScopeSupported ? Number(
|
|
75286
|
+
import_ethers13.AbiCoder.defaultAbiCoder().decode(["uint32"], raw.slice(96, 128))[0]
|
|
75287
|
+
) : 0;
|
|
75204
75288
|
return {
|
|
75205
75289
|
borrower,
|
|
75206
75290
|
scopeBits: Number(scopeBits),
|
|
75207
|
-
minCollateralRatioBps: Number(minCollateralRatioBps)
|
|
75291
|
+
minCollateralRatioBps: Number(minCollateralRatioBps),
|
|
75292
|
+
minWithdrawRatioBps,
|
|
75293
|
+
/**
|
|
75294
|
+
* True when the deployed registry is v2.1.0+ and therefore honours `SCOPE_WITHDRAW`. The
|
|
75295
|
+
* frontend gates its Withdrawal control on this so the control is absent — not disabled,
|
|
75296
|
+
* not "coming soon" — on a chain whose registry cannot support it.
|
|
75297
|
+
*/
|
|
75298
|
+
withdrawScopeSupported
|
|
75208
75299
|
};
|
|
75209
75300
|
}
|
|
75210
75301
|
/**
|
|
@@ -75246,10 +75337,14 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
75246
75337
|
const mintEnabled = hasGrant && (scopes & 4) !== 0;
|
|
75247
75338
|
const floor = grant.minCollateralRatioBps;
|
|
75248
75339
|
const agent = user ? await registry.agentOf(user) : null;
|
|
75340
|
+
const withdrawEnabled = hasGrant && grant.withdrawScopeSupported && (scopes & 8) !== 0;
|
|
75249
75341
|
return {
|
|
75250
75342
|
renewEnabled: hasGrant && (scopes & 1) !== 0,
|
|
75251
75343
|
repayEnabled: hasGrant && (scopes & 2) !== 0,
|
|
75252
75344
|
mintEnabled,
|
|
75345
|
+
withdrawEnabled,
|
|
75346
|
+
withdrawScopeSupported: grant.withdrawScopeSupported,
|
|
75347
|
+
minWithdrawRatioBps: withdrawEnabled ? grant.minWithdrawRatioBps : 0,
|
|
75253
75348
|
minCollateralRatioBps: mintEnabled ? floor : 0,
|
|
75254
75349
|
effectiveMintFloorBps: mintEnabled ? Math.max(floor, protocolMin) : 0,
|
|
75255
75350
|
protocolMinFloorBps: protocolMin,
|
|
@@ -75437,8 +75532,85 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
75437
75532
|
const receipt = await tx2.wait();
|
|
75438
75533
|
return { hash: tx2.hash, blockNumber: receipt?.blockNumber ?? 0 };
|
|
75439
75534
|
}
|
|
75440
|
-
/**
|
|
75441
|
-
|
|
75535
|
+
/**
|
|
75536
|
+
* Grant the agent the WITHDRAW scope for a position (registry v2.1.0+). Borrower-signed.
|
|
75537
|
+
*
|
|
75538
|
+
* CONTRACT WALLETS ONLY, and this is enforced here rather than on-chain. The withdrawal
|
|
75539
|
+
* validator's only non-borrower arm is `checkSafeAgentWithdrawAuthorization`, which requires a
|
|
75540
|
+
* factory-provenanced `AgentModule` whose `safe()` is the borrower — something an EOA cannot
|
|
75541
|
+
* have. The registry deliberately does NOT check wallet type ("Callable by any borrower (this
|
|
75542
|
+
* function does not itself require a Safe)"), so an EOA can record a grant that no code path
|
|
75543
|
+
* will ever satisfy. Refusing here keeps the supported path from writing a dead record.
|
|
75544
|
+
*
|
|
75545
|
+
* That refusal is ergonomics, NOT enforcement — `enableAutoWithdraw` is `external` and reachable
|
|
75546
|
+
* from any wallet. The real reason delegated withdrawal is closed to EOAs is that they can sign
|
|
75547
|
+
* inside the ~44s window themselves, so delegating buys them nothing and only adds risk.
|
|
75548
|
+
*
|
|
75549
|
+
* @param minWithdrawRatioBps Post-withdrawal collateral-ratio floor for AGENT withdrawals.
|
|
75550
|
+
* Clamped by the same governance minimum as the mint floor. **Inert at zero debt** — it
|
|
75551
|
+
* is a ratio, and the post-withdrawal ratio is infinite for any amount once debt is 0.
|
|
75552
|
+
* The operative bound there is the quorum-gated destination allowlist. Do not surface
|
|
75553
|
+
* this to users as a cap on how much an agent may withdraw.
|
|
75554
|
+
* There is no in-place raise: changing it means disable-then-re-enable, deliberately —
|
|
75555
|
+
* on the one scope that moves custodied BTC, incident response can only disable outright.
|
|
75556
|
+
*/
|
|
75557
|
+
async enableAutoWithdraw(positionId, minWithdrawRatioBps, options) {
|
|
75558
|
+
const pid = this.toBytes32(positionId);
|
|
75559
|
+
await this.assertBorrowerIsContractWallet(pid);
|
|
75560
|
+
await this.assertMintFloorAtOrAboveProtocolMin(minWithdrawRatioBps, "withdraw");
|
|
75561
|
+
const { registry, agentAddress } = await this.prepareAgentDelegation(pid, options);
|
|
75562
|
+
const tx2 = await registry.enableAutoWithdraw(pid, minWithdrawRatioBps);
|
|
75563
|
+
const receipt = await tx2.wait();
|
|
75564
|
+
return { hash: tx2.hash, blockNumber: receipt?.blockNumber ?? 0, agentAddress };
|
|
75565
|
+
}
|
|
75566
|
+
/**
|
|
75567
|
+
* Revoke the WITHDRAW scope for a position (also zeroes its withdraw floor). Borrower-signed.
|
|
75568
|
+
*
|
|
75569
|
+
* No wallet-type check: revoking is the safe direction, and an EOA that recorded a grant before
|
|
75570
|
+
* this guard existed must be able to clear it.
|
|
75571
|
+
*/
|
|
75572
|
+
async disableAutoWithdraw(positionId) {
|
|
75573
|
+
const addr = this.agentDelegationRegistryOrThrow();
|
|
75574
|
+
const signer = this.getSignerOrThrow();
|
|
75575
|
+
const registry = AgentDelegationRegistry__factory.connect(addr, signer);
|
|
75576
|
+
const pid = this.toBytes32(positionId);
|
|
75577
|
+
const tx2 = await registry.disableAutoWithdraw(pid);
|
|
75578
|
+
const receipt = await tx2.wait();
|
|
75579
|
+
await this.clearGate1IfNoScopesRemain(pid);
|
|
75580
|
+
return { hash: tx2.hash, blockNumber: receipt?.blockNumber ?? 0 };
|
|
75581
|
+
}
|
|
75582
|
+
/**
|
|
75583
|
+
* Layer 2 of the withdrawal-delegation gating: refuse to write a grant that could never be
|
|
75584
|
+
* satisfied. See `enableAutoWithdraw` for why this lives here and not in the registry.
|
|
75585
|
+
*/
|
|
75586
|
+
async assertBorrowerIsContractWallet(pid) {
|
|
75587
|
+
const details = await this.getPositionDetailsView(pid);
|
|
75588
|
+
const borrower = details?.borrower;
|
|
75589
|
+
if (!borrower) {
|
|
75590
|
+
throw new SDKError({
|
|
75591
|
+
message: `Could not resolve the borrower for position ${pid} \u2014 refusing to write a delegation grant against an unverified position`,
|
|
75592
|
+
category: "VALIDATION",
|
|
75593
|
+
severity: "HIGH"
|
|
75594
|
+
/* HIGH */
|
|
75595
|
+
});
|
|
75596
|
+
}
|
|
75597
|
+
const code = await this.getProviderOrThrow().getCode(borrower);
|
|
75598
|
+
if (!code || code === "0x") {
|
|
75599
|
+
throw new SDKError({
|
|
75600
|
+
message: `Withdrawal delegation is only available to contract wallets. Borrower ${borrower} is an EOA, and the withdrawal validator has no delegate arm for one \u2014 an EOA can sign inside the withdrawal quantum window itself, so the grant would be recorded on-chain and never honoured.`,
|
|
75601
|
+
category: "VALIDATION",
|
|
75602
|
+
severity: "MEDIUM"
|
|
75603
|
+
/* MEDIUM */
|
|
75604
|
+
});
|
|
75605
|
+
}
|
|
75606
|
+
}
|
|
75607
|
+
/**
|
|
75608
|
+
* Pre-flight the registry's `FloorBelowProtocolMin` guard with a message a user can act on.
|
|
75609
|
+
*
|
|
75610
|
+
* `agentMintFloorMinBps` is the governance floor-of-floors for BOTH the mint and withdraw
|
|
75611
|
+
* grants — one lever, one invariant — so `scope` only shapes the message.
|
|
75612
|
+
*/
|
|
75613
|
+
async assertMintFloorAtOrAboveProtocolMin(floorBps, scope = "mint") {
|
|
75442
75614
|
if (!Number.isInteger(floorBps) || floorBps <= 0) {
|
|
75443
75615
|
throw new SDKError({
|
|
75444
75616
|
message: `Invalid collateral floor: ${floorBps} bps \u2014 must be a positive integer`,
|
|
@@ -75450,7 +75622,7 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
75450
75622
|
const protocolMin = await this.getAgentMintFloorMinBps();
|
|
75451
75623
|
if (protocolMin === 0) {
|
|
75452
75624
|
throw new SDKError({
|
|
75453
|
-
message:
|
|
75625
|
+
message: `Agent ${scope === "mint" ? "minting" : "withdrawal"} is not configured on this network (agentMintFloorMinBps is 0) \u2014 the registry would reject every ${scope} grant`,
|
|
75454
75626
|
category: "CONFIGURATION",
|
|
75455
75627
|
severity: "HIGH"
|
|
75456
75628
|
/* HIGH */
|