@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/index.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;
|
|
@@ -44751,7 +44751,7 @@ var SafeModuleCeremony = class {
|
|
|
44751
44751
|
// src/boundary/upstream/real/plugin.ts
|
|
44752
44752
|
var import_ethers38 = require("ethers");
|
|
44753
44753
|
|
|
44754
|
-
//
|
|
44754
|
+
// node_modules/@gvnrdao/dh-sdk/dist/index.mjs
|
|
44755
44755
|
var import_ethers13 = require("ethers");
|
|
44756
44756
|
var import_ethers14 = require("ethers");
|
|
44757
44757
|
var import_ethers15 = require("ethers");
|
|
@@ -44762,7 +44762,7 @@ var import_ethers19 = require("ethers");
|
|
|
44762
44762
|
var import_ethers20 = require("ethers");
|
|
44763
44763
|
var import_ethers21 = require("ethers");
|
|
44764
44764
|
|
|
44765
|
-
//
|
|
44765
|
+
// node_modules/@noble/hashes/esm/utils.js
|
|
44766
44766
|
function isBytes(a) {
|
|
44767
44767
|
return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
|
|
44768
44768
|
}
|
|
@@ -44821,7 +44821,7 @@ function createHasher(hashCons) {
|
|
|
44821
44821
|
return hashC;
|
|
44822
44822
|
}
|
|
44823
44823
|
|
|
44824
|
-
//
|
|
44824
|
+
// node_modules/@noble/hashes/esm/_md.js
|
|
44825
44825
|
function setBigUint64(view, byteOffset, value, isLE) {
|
|
44826
44826
|
if (typeof view.setBigUint64 === "function")
|
|
44827
44827
|
return view.setBigUint64(byteOffset, value, isLE);
|
|
@@ -44941,7 +44941,7 @@ var SHA256_IV = /* @__PURE__ */ Uint32Array.from([
|
|
|
44941
44941
|
1541459225
|
|
44942
44942
|
]);
|
|
44943
44943
|
|
|
44944
|
-
//
|
|
44944
|
+
// node_modules/@noble/hashes/esm/sha2.js
|
|
44945
44945
|
var SHA256_K = /* @__PURE__ */ Uint32Array.from([
|
|
44946
44946
|
1116352408,
|
|
44947
44947
|
1899447441,
|
|
@@ -45081,10 +45081,10 @@ var SHA256 = class extends HashMD {
|
|
|
45081
45081
|
};
|
|
45082
45082
|
var sha256 = /* @__PURE__ */ createHasher(() => new SHA256());
|
|
45083
45083
|
|
|
45084
|
-
//
|
|
45084
|
+
// node_modules/@noble/hashes/esm/sha256.js
|
|
45085
45085
|
var sha2562 = sha256;
|
|
45086
45086
|
|
|
45087
|
-
//
|
|
45087
|
+
// node_modules/@noble/hashes/esm/legacy.js
|
|
45088
45088
|
var Rho160 = /* @__PURE__ */ Uint8Array.from([
|
|
45089
45089
|
7,
|
|
45090
45090
|
4,
|
|
@@ -45202,10 +45202,10 @@ var RIPEMD160 = class extends HashMD {
|
|
|
45202
45202
|
};
|
|
45203
45203
|
var ripemd160 = /* @__PURE__ */ createHasher(() => new RIPEMD160());
|
|
45204
45204
|
|
|
45205
|
-
//
|
|
45205
|
+
// node_modules/@noble/hashes/esm/ripemd160.js
|
|
45206
45206
|
var ripemd1602 = ripemd160;
|
|
45207
45207
|
|
|
45208
|
-
//
|
|
45208
|
+
// node_modules/@gvnrdao/dh-sdk/dist/index.mjs
|
|
45209
45209
|
var import_bech32 = __toESM(require_dist(), 1);
|
|
45210
45210
|
var import_bs58check = __toESM(require_bs58check(), 1);
|
|
45211
45211
|
var import_ethers22 = require("ethers");
|
|
@@ -45214,14 +45214,14 @@ var import_ethers24 = require("ethers");
|
|
|
45214
45214
|
var import_ethers25 = require("ethers");
|
|
45215
45215
|
var import_ethers26 = require("ethers");
|
|
45216
45216
|
|
|
45217
|
-
//
|
|
45217
|
+
// node_modules/axios/lib/helpers/bind.js
|
|
45218
45218
|
function bind(fn, thisArg) {
|
|
45219
45219
|
return function wrap() {
|
|
45220
45220
|
return fn.apply(thisArg, arguments);
|
|
45221
45221
|
};
|
|
45222
45222
|
}
|
|
45223
45223
|
|
|
45224
|
-
//
|
|
45224
|
+
// node_modules/axios/lib/utils.js
|
|
45225
45225
|
var { toString } = Object.prototype;
|
|
45226
45226
|
var { getPrototypeOf } = Object;
|
|
45227
45227
|
var { iterator, toStringTag } = Symbol;
|
|
@@ -45708,7 +45708,7 @@ var utils_default = {
|
|
|
45708
45708
|
isSafeIterable
|
|
45709
45709
|
};
|
|
45710
45710
|
|
|
45711
|
-
//
|
|
45711
|
+
// node_modules/axios/lib/helpers/parseHeaders.js
|
|
45712
45712
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
45713
45713
|
"age",
|
|
45714
45714
|
"authorization",
|
|
@@ -45754,7 +45754,7 @@ var parseHeaders_default = (rawHeaders) => {
|
|
|
45754
45754
|
return parsed;
|
|
45755
45755
|
};
|
|
45756
45756
|
|
|
45757
|
-
//
|
|
45757
|
+
// node_modules/axios/lib/helpers/sanitizeHeaderValue.js
|
|
45758
45758
|
function trimSPorHTAB(str) {
|
|
45759
45759
|
let start = 0;
|
|
45760
45760
|
let end = str.length;
|
|
@@ -45792,7 +45792,7 @@ function toByteStringHeaderObject(headers) {
|
|
|
45792
45792
|
return byteStringHeaders;
|
|
45793
45793
|
}
|
|
45794
45794
|
|
|
45795
|
-
//
|
|
45795
|
+
// node_modules/axios/lib/core/AxiosHeaders.js
|
|
45796
45796
|
var $internals = Symbol("internals");
|
|
45797
45797
|
function normalizeHeader(header) {
|
|
45798
45798
|
return header && String(header).trim().toLowerCase();
|
|
@@ -46125,7 +46125,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
|
46125
46125
|
utils_default.freezeMethods(AxiosHeaders);
|
|
46126
46126
|
var AxiosHeaders_default = AxiosHeaders;
|
|
46127
46127
|
|
|
46128
|
-
//
|
|
46128
|
+
// node_modules/axios/lib/core/AxiosError.js
|
|
46129
46129
|
var REDACTED = "[REDACTED ****]";
|
|
46130
46130
|
function hasOwnOrPrototypeToJSON(source) {
|
|
46131
46131
|
if (utils_default.hasOwnProp(source, "toJSON")) {
|
|
@@ -46287,11 +46287,11 @@ AxiosError.ERR_INVALID_URL = "ERR_INVALID_URL";
|
|
|
46287
46287
|
AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
|
|
46288
46288
|
var AxiosError_default = AxiosError;
|
|
46289
46289
|
|
|
46290
|
-
//
|
|
46290
|
+
// node_modules/axios/lib/platform/node/classes/FormData.js
|
|
46291
46291
|
var import_form_data = __toESM(require_form_data(), 1);
|
|
46292
46292
|
var FormData_default = import_form_data.default;
|
|
46293
46293
|
|
|
46294
|
-
//
|
|
46294
|
+
// node_modules/axios/lib/platform/node/classes/Buffer.js
|
|
46295
46295
|
var Buffer_default = {
|
|
46296
46296
|
isBufferAvailable() {
|
|
46297
46297
|
return typeof Buffer !== "undefined";
|
|
@@ -46301,7 +46301,7 @@ var Buffer_default = {
|
|
|
46301
46301
|
}
|
|
46302
46302
|
};
|
|
46303
46303
|
|
|
46304
|
-
//
|
|
46304
|
+
// node_modules/axios/lib/helpers/toFormData.js
|
|
46305
46305
|
var DEFAULT_FORM_DATA_MAX_DEPTH = 100;
|
|
46306
46306
|
function isVisitable(thing) {
|
|
46307
46307
|
return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
|
|
@@ -46453,7 +46453,7 @@ function toFormData(obj, formData, options) {
|
|
|
46453
46453
|
}
|
|
46454
46454
|
var toFormData_default = toFormData;
|
|
46455
46455
|
|
|
46456
|
-
//
|
|
46456
|
+
// node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
46457
46457
|
function encode(str) {
|
|
46458
46458
|
const charMap = {
|
|
46459
46459
|
"!": "%21",
|
|
@@ -46483,7 +46483,7 @@ prototype.toString = function toString2(encoder) {
|
|
|
46483
46483
|
};
|
|
46484
46484
|
var AxiosURLSearchParams_default = AxiosURLSearchParams;
|
|
46485
46485
|
|
|
46486
|
-
//
|
|
46486
|
+
// node_modules/axios/lib/helpers/buildURL.js
|
|
46487
46487
|
function encode2(val) {
|
|
46488
46488
|
return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
46489
46489
|
}
|
|
@@ -46513,7 +46513,7 @@ function buildURL(url2, params, options) {
|
|
|
46513
46513
|
return url2;
|
|
46514
46514
|
}
|
|
46515
46515
|
|
|
46516
|
-
//
|
|
46516
|
+
// node_modules/axios/lib/core/InterceptorManager.js
|
|
46517
46517
|
var InterceptorManager = class {
|
|
46518
46518
|
constructor() {
|
|
46519
46519
|
this.handlers = [];
|
|
@@ -46578,7 +46578,7 @@ var InterceptorManager = class {
|
|
|
46578
46578
|
};
|
|
46579
46579
|
var InterceptorManager_default = InterceptorManager;
|
|
46580
46580
|
|
|
46581
|
-
//
|
|
46581
|
+
// node_modules/axios/lib/defaults/transitional.js
|
|
46582
46582
|
var transitional_default = {
|
|
46583
46583
|
silentJSONParsing: true,
|
|
46584
46584
|
forcedJSONParsing: true,
|
|
@@ -46588,14 +46588,14 @@ var transitional_default = {
|
|
|
46588
46588
|
validateStatusUndefinedResolves: true
|
|
46589
46589
|
};
|
|
46590
46590
|
|
|
46591
|
-
//
|
|
46591
|
+
// node_modules/axios/lib/platform/node/index.js
|
|
46592
46592
|
var import_crypto = __toESM(require("crypto"), 1);
|
|
46593
46593
|
|
|
46594
|
-
//
|
|
46594
|
+
// node_modules/axios/lib/platform/node/classes/URLSearchParams.js
|
|
46595
46595
|
var import_url = __toESM(require("url"), 1);
|
|
46596
46596
|
var URLSearchParams_default = import_url.default.URLSearchParams;
|
|
46597
46597
|
|
|
46598
|
-
//
|
|
46598
|
+
// node_modules/axios/lib/platform/node/index.js
|
|
46599
46599
|
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
46600
46600
|
var DIGIT = "0123456789";
|
|
46601
46601
|
var ALPHABET = {
|
|
@@ -46625,7 +46625,7 @@ var node_default = {
|
|
|
46625
46625
|
protocols: ["http", "https", "file", "data"]
|
|
46626
46626
|
};
|
|
46627
46627
|
|
|
46628
|
-
//
|
|
46628
|
+
// node_modules/axios/lib/platform/common/utils.js
|
|
46629
46629
|
var utils_exports = {};
|
|
46630
46630
|
__export(utils_exports, {
|
|
46631
46631
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
@@ -46643,13 +46643,13 @@ var hasStandardBrowserWebWorkerEnv = (() => {
|
|
|
46643
46643
|
})();
|
|
46644
46644
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
46645
46645
|
|
|
46646
|
-
//
|
|
46646
|
+
// node_modules/axios/lib/platform/index.js
|
|
46647
46647
|
var platform_default = {
|
|
46648
46648
|
...utils_exports,
|
|
46649
46649
|
...node_default
|
|
46650
46650
|
};
|
|
46651
46651
|
|
|
46652
|
-
//
|
|
46652
|
+
// node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
46653
46653
|
function toURLEncodedForm(data, options) {
|
|
46654
46654
|
return toFormData_default(data, new platform_default.classes.URLSearchParams(), {
|
|
46655
46655
|
visitor: function(value, key, path5, helpers) {
|
|
@@ -46663,7 +46663,7 @@ function toURLEncodedForm(data, options) {
|
|
|
46663
46663
|
});
|
|
46664
46664
|
}
|
|
46665
46665
|
|
|
46666
|
-
//
|
|
46666
|
+
// node_modules/axios/lib/helpers/formDataToJSON.js
|
|
46667
46667
|
var MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH;
|
|
46668
46668
|
function throwIfDepthExceeded(index) {
|
|
46669
46669
|
if (index > MAX_DEPTH) {
|
|
@@ -46731,7 +46731,7 @@ function formDataToJSON(formData) {
|
|
|
46731
46731
|
}
|
|
46732
46732
|
var formDataToJSON_default = formDataToJSON;
|
|
46733
46733
|
|
|
46734
|
-
//
|
|
46734
|
+
// node_modules/axios/lib/defaults/index.js
|
|
46735
46735
|
var own = (obj, key) => obj != null && utils_default.hasOwnProp(obj, key) ? obj[key] : void 0;
|
|
46736
46736
|
function stringifySafely2(rawValue, parser, encoder) {
|
|
46737
46737
|
if (utils_default.isString(rawValue)) {
|
|
@@ -46848,7 +46848,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch", "query"]
|
|
|
46848
46848
|
});
|
|
46849
46849
|
var defaults_default = defaults;
|
|
46850
46850
|
|
|
46851
|
-
//
|
|
46851
|
+
// node_modules/axios/lib/core/transformData.js
|
|
46852
46852
|
function transformData(fns, response) {
|
|
46853
46853
|
const config = this || defaults_default;
|
|
46854
46854
|
const context = response || config;
|
|
@@ -46861,12 +46861,12 @@ function transformData(fns, response) {
|
|
|
46861
46861
|
return data;
|
|
46862
46862
|
}
|
|
46863
46863
|
|
|
46864
|
-
//
|
|
46864
|
+
// node_modules/axios/lib/cancel/isCancel.js
|
|
46865
46865
|
function isCancel(value) {
|
|
46866
46866
|
return !!(value && value.__CANCEL__);
|
|
46867
46867
|
}
|
|
46868
46868
|
|
|
46869
|
-
//
|
|
46869
|
+
// node_modules/axios/lib/cancel/CanceledError.js
|
|
46870
46870
|
var CanceledError = class extends AxiosError_default {
|
|
46871
46871
|
/**
|
|
46872
46872
|
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
|
@@ -46885,7 +46885,7 @@ var CanceledError = class extends AxiosError_default {
|
|
|
46885
46885
|
};
|
|
46886
46886
|
var CanceledError_default = CanceledError;
|
|
46887
46887
|
|
|
46888
|
-
//
|
|
46888
|
+
// node_modules/axios/lib/core/settle.js
|
|
46889
46889
|
function settle(resolve, reject, response) {
|
|
46890
46890
|
const validateStatus2 = response.config.validateStatus;
|
|
46891
46891
|
if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
|
|
@@ -46901,7 +46901,7 @@ function settle(resolve, reject, response) {
|
|
|
46901
46901
|
}
|
|
46902
46902
|
}
|
|
46903
46903
|
|
|
46904
|
-
//
|
|
46904
|
+
// node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
46905
46905
|
function isAbsoluteURL(url2) {
|
|
46906
46906
|
if (typeof url2 !== "string") {
|
|
46907
46907
|
return false;
|
|
@@ -46909,7 +46909,7 @@ function isAbsoluteURL(url2) {
|
|
|
46909
46909
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
|
|
46910
46910
|
}
|
|
46911
46911
|
|
|
46912
|
-
//
|
|
46912
|
+
// node_modules/axios/lib/helpers/combineURLs.js
|
|
46913
46913
|
function combineURLs(baseURL, relativeURL) {
|
|
46914
46914
|
if (!relativeURL) {
|
|
46915
46915
|
return baseURL;
|
|
@@ -46921,7 +46921,7 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
46921
46921
|
return baseURL.slice(0, end) + "/" + relativeURL.replace(/^\/+/, "");
|
|
46922
46922
|
}
|
|
46923
46923
|
|
|
46924
|
-
//
|
|
46924
|
+
// node_modules/axios/lib/core/buildFullPath.js
|
|
46925
46925
|
var malformedHttpProtocol = /^https?:(?!\/\/)/i;
|
|
46926
46926
|
var httpProtocolControlCharacters = /[\t\n\r]/g;
|
|
46927
46927
|
function stripLeadingC0ControlOrSpace(url2) {
|
|
@@ -46977,7 +46977,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {
|
|
|
46977
46977
|
return requestedURL;
|
|
46978
46978
|
}
|
|
46979
46979
|
|
|
46980
|
-
//
|
|
46980
|
+
// node_modules/proxy-from-env/index.js
|
|
46981
46981
|
var DEFAULT_PORTS = {
|
|
46982
46982
|
ftp: 21,
|
|
46983
46983
|
gopher: 70,
|
|
@@ -47044,7 +47044,7 @@ function getEnv(key) {
|
|
|
47044
47044
|
return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || "";
|
|
47045
47045
|
}
|
|
47046
47046
|
|
|
47047
|
-
//
|
|
47047
|
+
// node_modules/axios/lib/adapters/http.js
|
|
47048
47048
|
var import_https_proxy_agent = __toESM(require_dist2(), 1);
|
|
47049
47049
|
var import_http = __toESM(require("http"), 1);
|
|
47050
47050
|
var import_https = __toESM(require("https"), 1);
|
|
@@ -47054,16 +47054,16 @@ var import_path = require("path");
|
|
|
47054
47054
|
var import_follow_redirects = __toESM(require_follow_redirects(), 1);
|
|
47055
47055
|
var import_zlib = __toESM(require("zlib"), 1);
|
|
47056
47056
|
|
|
47057
|
-
//
|
|
47057
|
+
// node_modules/axios/lib/env/data.js
|
|
47058
47058
|
var VERSION = "1.19.0";
|
|
47059
47059
|
|
|
47060
|
-
//
|
|
47060
|
+
// node_modules/axios/lib/helpers/parseProtocol.js
|
|
47061
47061
|
function parseProtocol(url2) {
|
|
47062
47062
|
const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url2);
|
|
47063
47063
|
return match && match[1] || "";
|
|
47064
47064
|
}
|
|
47065
47065
|
|
|
47066
|
-
//
|
|
47066
|
+
// node_modules/axios/lib/helpers/fromDataURI.js
|
|
47067
47067
|
var DATA_URL_PATTERN = /^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;
|
|
47068
47068
|
function fromDataURI(uri, asBlob, options) {
|
|
47069
47069
|
const _Blob = options && options.Blob || platform_default.classes.Blob;
|
|
@@ -47099,10 +47099,10 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
47099
47099
|
throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
|
|
47100
47100
|
}
|
|
47101
47101
|
|
|
47102
|
-
//
|
|
47102
|
+
// node_modules/axios/lib/adapters/http.js
|
|
47103
47103
|
var import_stream4 = __toESM(require("stream"), 1);
|
|
47104
47104
|
|
|
47105
|
-
//
|
|
47105
|
+
// node_modules/axios/lib/core/setFormDataHeaders.js
|
|
47106
47106
|
var FORM_DATA_CONTENT_HEADERS = ["content-type", "content-length"];
|
|
47107
47107
|
function setFormDataHeaders(headers, formHeaders, policy) {
|
|
47108
47108
|
if (policy !== "content-only") {
|
|
@@ -47116,7 +47116,7 @@ function setFormDataHeaders(headers, formHeaders, policy) {
|
|
|
47116
47116
|
});
|
|
47117
47117
|
}
|
|
47118
47118
|
|
|
47119
|
-
//
|
|
47119
|
+
// node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
47120
47120
|
var import_stream = __toESM(require("stream"), 1);
|
|
47121
47121
|
var kInternals = Symbol("internals");
|
|
47122
47122
|
var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
@@ -47239,14 +47239,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
|
|
|
47239
47239
|
};
|
|
47240
47240
|
var AxiosTransformStream_default = AxiosTransformStream;
|
|
47241
47241
|
|
|
47242
|
-
//
|
|
47242
|
+
// node_modules/axios/lib/adapters/http.js
|
|
47243
47243
|
var import_events = require("events");
|
|
47244
47244
|
|
|
47245
|
-
//
|
|
47245
|
+
// node_modules/axios/lib/helpers/formDataToStream.js
|
|
47246
47246
|
var import_util = __toESM(require("util"), 1);
|
|
47247
47247
|
var import_stream2 = require("stream");
|
|
47248
47248
|
|
|
47249
|
-
//
|
|
47249
|
+
// node_modules/axios/lib/helpers/readBlob.js
|
|
47250
47250
|
var { asyncIterator } = Symbol;
|
|
47251
47251
|
var readBlob = async function* (blob) {
|
|
47252
47252
|
if (blob.stream) {
|
|
@@ -47261,7 +47261,7 @@ var readBlob = async function* (blob) {
|
|
|
47261
47261
|
};
|
|
47262
47262
|
var readBlob_default = readBlob;
|
|
47263
47263
|
|
|
47264
|
-
//
|
|
47264
|
+
// node_modules/axios/lib/helpers/formDataToStream.js
|
|
47265
47265
|
var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
47266
47266
|
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
|
|
47267
47267
|
var CRLF = "\r\n";
|
|
@@ -47346,7 +47346,7 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
47346
47346
|
};
|
|
47347
47347
|
var formDataToStream_default = formDataToStream;
|
|
47348
47348
|
|
|
47349
|
-
//
|
|
47349
|
+
// node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
47350
47350
|
var import_stream3 = __toESM(require("stream"), 1);
|
|
47351
47351
|
var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
47352
47352
|
__transform(chunk, encoding, callback) {
|
|
@@ -47368,7 +47368,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
|
|
|
47368
47368
|
};
|
|
47369
47369
|
var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
|
|
47370
47370
|
|
|
47371
|
-
//
|
|
47371
|
+
// node_modules/axios/lib/helpers/Http2Sessions.js
|
|
47372
47372
|
var import_http2 = __toESM(require("http2"), 1);
|
|
47373
47373
|
var import_util2 = __toESM(require("util"), 1);
|
|
47374
47374
|
var Http2Sessions = class {
|
|
@@ -47449,7 +47449,7 @@ var Http2Sessions = class {
|
|
|
47449
47449
|
};
|
|
47450
47450
|
var Http2Sessions_default = Http2Sessions;
|
|
47451
47451
|
|
|
47452
|
-
//
|
|
47452
|
+
// node_modules/axios/lib/helpers/callbackify.js
|
|
47453
47453
|
var callbackify = (fn, reducer) => {
|
|
47454
47454
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
47455
47455
|
const cb = args.pop();
|
|
@@ -47464,7 +47464,7 @@ var callbackify = (fn, reducer) => {
|
|
|
47464
47464
|
};
|
|
47465
47465
|
var callbackify_default = callbackify;
|
|
47466
47466
|
|
|
47467
|
-
//
|
|
47467
|
+
// node_modules/axios/lib/helpers/shouldBypassProxy.js
|
|
47468
47468
|
var LOOPBACK_HOSTNAMES = /* @__PURE__ */ new Set(["localhost", "0.0.0.0"]);
|
|
47469
47469
|
var isIPv4Loopback = (host) => {
|
|
47470
47470
|
const parts = host.split(".");
|
|
@@ -47665,7 +47665,7 @@ function shouldBypassProxy(location) {
|
|
|
47665
47665
|
});
|
|
47666
47666
|
}
|
|
47667
47667
|
|
|
47668
|
-
//
|
|
47668
|
+
// node_modules/axios/lib/helpers/speedometer.js
|
|
47669
47669
|
function speedometer(samplesCount, min) {
|
|
47670
47670
|
samplesCount = samplesCount || 10;
|
|
47671
47671
|
const bytes = new Array(samplesCount);
|
|
@@ -47701,7 +47701,7 @@ function speedometer(samplesCount, min) {
|
|
|
47701
47701
|
}
|
|
47702
47702
|
var speedometer_default = speedometer;
|
|
47703
47703
|
|
|
47704
|
-
//
|
|
47704
|
+
// node_modules/axios/lib/helpers/throttle.js
|
|
47705
47705
|
function throttle(fn, freq) {
|
|
47706
47706
|
let timestamp = 0;
|
|
47707
47707
|
let threshold = 1e3 / freq;
|
|
@@ -47736,7 +47736,7 @@ function throttle(fn, freq) {
|
|
|
47736
47736
|
}
|
|
47737
47737
|
var throttle_default = throttle;
|
|
47738
47738
|
|
|
47739
|
-
//
|
|
47739
|
+
// node_modules/axios/lib/helpers/progressEventReducer.js
|
|
47740
47740
|
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
47741
47741
|
let bytesNotified = 0;
|
|
47742
47742
|
const _speedometer = speedometer_default(50, 250);
|
|
@@ -47777,7 +47777,7 @@ var progressEventDecorator = (total, throttled) => {
|
|
|
47777
47777
|
};
|
|
47778
47778
|
var asyncDecorator = (fn, scheduler = utils_default.asap) => (...args) => scheduler(() => fn(...args));
|
|
47779
47779
|
|
|
47780
|
-
//
|
|
47780
|
+
// node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
|
|
47781
47781
|
var isHexDigit = (charCode) => charCode >= 48 && charCode <= 57 || charCode >= 65 && charCode <= 70 || charCode >= 97 && charCode <= 102;
|
|
47782
47782
|
var isPercentEncodedByte = (str, i, len) => i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2));
|
|
47783
47783
|
var hexValue = (charCode) => charCode <= 57 ? charCode - 48 : (charCode & 223) - 55;
|
|
@@ -47880,7 +47880,7 @@ function estimateDataURLBufferAllocation(url2) {
|
|
|
47880
47880
|
return estimateDataURLBytes(url2, estimateBase64BufferAllocation);
|
|
47881
47881
|
}
|
|
47882
47882
|
|
|
47883
|
-
//
|
|
47883
|
+
// node_modules/axios/lib/adapters/http.js
|
|
47884
47884
|
var zlibOptions = {
|
|
47885
47885
|
flush: import_zlib.default.constants.Z_SYNC_FLUSH,
|
|
47886
47886
|
finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
|
|
@@ -48842,7 +48842,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
48842
48842
|
});
|
|
48843
48843
|
};
|
|
48844
48844
|
|
|
48845
|
-
//
|
|
48845
|
+
// node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
48846
48846
|
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PURE__ */ ((origin2, isMSIE) => (url2) => {
|
|
48847
48847
|
url2 = new URL(url2, platform_default.origin);
|
|
48848
48848
|
return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
|
|
@@ -48851,7 +48851,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PUR
|
|
|
48851
48851
|
platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
|
|
48852
48852
|
) : () => true;
|
|
48853
48853
|
|
|
48854
|
-
//
|
|
48854
|
+
// node_modules/axios/lib/helpers/cookies.js
|
|
48855
48855
|
var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
48856
48856
|
// Standard browser envs support document.cookie
|
|
48857
48857
|
{
|
|
@@ -48908,7 +48908,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
|
|
|
48908
48908
|
}
|
|
48909
48909
|
);
|
|
48910
48910
|
|
|
48911
|
-
//
|
|
48911
|
+
// node_modules/axios/lib/core/mergeConfig.js
|
|
48912
48912
|
var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? { ...thing } : thing;
|
|
48913
48913
|
var ownEnumerableKeys = (thing) => {
|
|
48914
48914
|
if (Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor) {
|
|
@@ -49036,7 +49036,7 @@ function mergeConfig(config1, config2) {
|
|
|
49036
49036
|
return config;
|
|
49037
49037
|
}
|
|
49038
49038
|
|
|
49039
|
-
//
|
|
49039
|
+
// node_modules/axios/lib/helpers/resolveConfig.js
|
|
49040
49040
|
var encodeUTF8 = (str) => encodeURIComponent(str).replace(
|
|
49041
49041
|
/%([0-9A-F]{2})/gi,
|
|
49042
49042
|
(_, hex) => String.fromCharCode(parseInt(hex, 16))
|
|
@@ -49094,7 +49094,7 @@ function resolveConfig(config) {
|
|
|
49094
49094
|
}
|
|
49095
49095
|
var resolveConfig_default = resolveConfig;
|
|
49096
49096
|
|
|
49097
|
-
//
|
|
49097
|
+
// node_modules/axios/lib/adapters/xhr.js
|
|
49098
49098
|
var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
|
|
49099
49099
|
var xhr_default = isXHRAdapterSupported && function(config) {
|
|
49100
49100
|
return new Promise(function dispatchXhrRequest(resolve, reject) {
|
|
@@ -49241,7 +49241,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
|
|
|
49241
49241
|
});
|
|
49242
49242
|
};
|
|
49243
49243
|
|
|
49244
|
-
//
|
|
49244
|
+
// node_modules/axios/lib/helpers/composeSignals.js
|
|
49245
49245
|
var composeSignals = (signals, timeout) => {
|
|
49246
49246
|
signals = signals ? signals.filter(Boolean) : [];
|
|
49247
49247
|
if (!timeout && !signals.length) {
|
|
@@ -49290,7 +49290,7 @@ var composeSignals = (signals, timeout) => {
|
|
|
49290
49290
|
};
|
|
49291
49291
|
var composeSignals_default = composeSignals;
|
|
49292
49292
|
|
|
49293
|
-
//
|
|
49293
|
+
// node_modules/axios/lib/helpers/trackStream.js
|
|
49294
49294
|
var streamChunk = function* (chunk, chunkSize) {
|
|
49295
49295
|
let len = chunk.byteLength;
|
|
49296
49296
|
if (!chunkSize || len < chunkSize) {
|
|
@@ -49370,7 +49370,7 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
|
|
|
49370
49370
|
);
|
|
49371
49371
|
};
|
|
49372
49372
|
|
|
49373
|
-
//
|
|
49373
|
+
// node_modules/axios/lib/adapters/fetch.js
|
|
49374
49374
|
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
49375
49375
|
var { isFunction: isFunction2 } = utils_default;
|
|
49376
49376
|
var encodeUTF82 = (str) => encodeURIComponent(str).replace(
|
|
@@ -49787,7 +49787,7 @@ var getFetch = (config) => {
|
|
|
49787
49787
|
};
|
|
49788
49788
|
var adapter = getFetch();
|
|
49789
49789
|
|
|
49790
|
-
//
|
|
49790
|
+
// node_modules/axios/lib/adapters/adapters.js
|
|
49791
49791
|
var knownAdapters = {
|
|
49792
49792
|
http: http_default,
|
|
49793
49793
|
xhr: xhr_default,
|
|
@@ -49852,7 +49852,7 @@ var adapters_default = {
|
|
|
49852
49852
|
adapters: knownAdapters
|
|
49853
49853
|
};
|
|
49854
49854
|
|
|
49855
|
-
//
|
|
49855
|
+
// node_modules/axios/lib/core/dispatchRequest.js
|
|
49856
49856
|
function throwIfCancellationRequested(config) {
|
|
49857
49857
|
if (config.cancelToken) {
|
|
49858
49858
|
config.cancelToken.throwIfRequested();
|
|
@@ -49903,7 +49903,7 @@ function dispatchRequest(config) {
|
|
|
49903
49903
|
);
|
|
49904
49904
|
}
|
|
49905
49905
|
|
|
49906
|
-
//
|
|
49906
|
+
// node_modules/axios/lib/helpers/validator.js
|
|
49907
49907
|
var validators = {};
|
|
49908
49908
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
|
|
49909
49909
|
validators[type] = function validator(thing) {
|
|
@@ -49970,7 +49970,7 @@ var validator_default = {
|
|
|
49970
49970
|
validators
|
|
49971
49971
|
};
|
|
49972
49972
|
|
|
49973
|
-
//
|
|
49973
|
+
// node_modules/axios/lib/core/Axios.js
|
|
49974
49974
|
var validators2 = validator_default.validators;
|
|
49975
49975
|
var Axios = class {
|
|
49976
49976
|
constructor(instanceConfig) {
|
|
@@ -50189,7 +50189,7 @@ utils_default.forEach(["post", "put", "patch", "query"], function forEachMethodW
|
|
|
50189
50189
|
});
|
|
50190
50190
|
var Axios_default = Axios;
|
|
50191
50191
|
|
|
50192
|
-
//
|
|
50192
|
+
// node_modules/axios/lib/cancel/CancelToken.js
|
|
50193
50193
|
var CancelToken = class _CancelToken {
|
|
50194
50194
|
constructor(executor) {
|
|
50195
50195
|
if (typeof executor !== "function") {
|
|
@@ -50287,19 +50287,19 @@ var CancelToken = class _CancelToken {
|
|
|
50287
50287
|
};
|
|
50288
50288
|
var CancelToken_default = CancelToken;
|
|
50289
50289
|
|
|
50290
|
-
//
|
|
50290
|
+
// node_modules/axios/lib/helpers/spread.js
|
|
50291
50291
|
function spread(callback) {
|
|
50292
50292
|
return function wrap(arr) {
|
|
50293
50293
|
return callback.apply(null, arr);
|
|
50294
50294
|
};
|
|
50295
50295
|
}
|
|
50296
50296
|
|
|
50297
|
-
//
|
|
50297
|
+
// node_modules/axios/lib/helpers/isAxiosError.js
|
|
50298
50298
|
function isAxiosError(payload) {
|
|
50299
50299
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
50300
50300
|
}
|
|
50301
50301
|
|
|
50302
|
-
//
|
|
50302
|
+
// node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
50303
50303
|
var HttpStatusCode = {
|
|
50304
50304
|
Continue: 100,
|
|
50305
50305
|
SwitchingProtocols: 101,
|
|
@@ -50377,7 +50377,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
50377
50377
|
});
|
|
50378
50378
|
var HttpStatusCode_default = HttpStatusCode;
|
|
50379
50379
|
|
|
50380
|
-
//
|
|
50380
|
+
// node_modules/axios/lib/axios.js
|
|
50381
50381
|
function createInstance(defaultConfig) {
|
|
50382
50382
|
const context = new Axios_default(defaultConfig);
|
|
50383
50383
|
const instance = bind(Axios_default.prototype.request, context);
|
|
@@ -50410,7 +50410,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
|
|
|
50410
50410
|
axios.default = axios;
|
|
50411
50411
|
var axios_default = axios;
|
|
50412
50412
|
|
|
50413
|
-
//
|
|
50413
|
+
// node_modules/axios/index.js
|
|
50414
50414
|
var {
|
|
50415
50415
|
Axios: Axios2,
|
|
50416
50416
|
AxiosError: AxiosError2,
|
|
@@ -50431,7 +50431,7 @@ var {
|
|
|
50431
50431
|
create
|
|
50432
50432
|
} = axios_default;
|
|
50433
50433
|
|
|
50434
|
-
//
|
|
50434
|
+
// node_modules/@gvnrdao/dh-sdk/dist/index.mjs
|
|
50435
50435
|
var import_ethers27 = require("ethers");
|
|
50436
50436
|
var import_ethers28 = require("ethers");
|
|
50437
50437
|
var import_ethers29 = require("ethers");
|
|
@@ -50804,7 +50804,7 @@ var init_deployment_addresses = __esm2({
|
|
|
50804
50804
|
CARRY_AGENT_REGISTRY: "0x5595CB538D44E6Cf179D20364fD631D0477e69f7",
|
|
50805
50805
|
CARRY_AGENT_REGISTRY_IMPL: "0x1b11a3D5e46F3672E643c997f0d569DFf0b64a01",
|
|
50806
50806
|
AGENT_DELEGATION_REGISTRY: "0x6AE7fc6bE0925126b9D25b1B7Ce5AD5d127ec025",
|
|
50807
|
-
AGENT_DELEGATION_REGISTRY_IMPL: "
|
|
50807
|
+
AGENT_DELEGATION_REGISTRY_IMPL: "0xE931E4b9ceF2A48Ac7D57192da4B523756cFC310",
|
|
50808
50808
|
DH_AGENT_DELEGATE: "0xa5A14489ae883960df6E1463A41a47aBE9Ecc5AF"
|
|
50809
50809
|
}
|
|
50810
50810
|
};
|
|
@@ -51074,7 +51074,7 @@ var init_deployment_addresses = __esm2({
|
|
|
51074
51074
|
LOCALHOST_DEPLOYMENT = {
|
|
51075
51075
|
network: "localhost",
|
|
51076
51076
|
chainId: 1337,
|
|
51077
|
-
timestamp: "2026-07-
|
|
51077
|
+
timestamp: "2026-07-20T19:45:58.514Z",
|
|
51078
51078
|
deployer: "",
|
|
51079
51079
|
contracts: {
|
|
51080
51080
|
MessageHashBuilder: "0xa82fF9aFd8f496c3d6ac40E2a0F282E47488CFc9",
|
|
@@ -51094,30 +51094,6 @@ var init_deployment_addresses = __esm2({
|
|
|
51094
51094
|
PositionManager: "0x851356ae760d987E095750cCeb3bC6014560891C",
|
|
51095
51095
|
OperationAuthorizationRegistry: "0xc96304e3c037f81dA488ed9dEa1D8F2a48278a75",
|
|
51096
51096
|
PKPValidation: "0xD0141E899a65C95a556fE2B27e5982A6DE7fDD7A"
|
|
51097
|
-
},
|
|
51098
|
-
latestEnv: {
|
|
51099
|
-
UCD_TOKEN: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
|
|
51100
|
-
UCD_CONTROLLER: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
|
|
51101
|
-
POSITION_MANAGER: "0x851356ae760d987E095750cCeb3bC6014560891C",
|
|
51102
|
-
PKP_VALIDATION_REGISTRY: "0xD0141E899a65C95a556fE2B27e5982A6DE7fDD7A",
|
|
51103
|
-
PKP_VALIDATION_CID_V1: "0x12203af2054b0ab6e18d898ddfc7985593439fb82d22336133387c1169f98d3702ab",
|
|
51104
|
-
PKP_VALIDATION_CID_V3: "0x12203af2054b0ab6e18d898ddfc7985593439fb82d22336133387c1169f98d3702ab",
|
|
51105
|
-
PKP_ETH_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
|
|
51106
|
-
OPERATION_AUTHORIZATION_REGISTRY: "0xc96304e3c037f81dA488ed9dEa1D8F2a48278a75",
|
|
51107
|
-
UCD_MINT_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
|
|
51108
|
-
UCD_MINT_VALIDATOR_VERSION: 1,
|
|
51109
|
-
BTC_WITHDRAWAL_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
|
|
51110
|
-
BTC_WITHDRAWAL_VALIDATOR_VERSION: 3,
|
|
51111
|
-
UPDATE_BALANCE_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
|
|
51112
|
-
UPDATE_BALANCE_VALIDATOR_VERSION: 1,
|
|
51113
|
-
PROCESS_PAYMENT_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
|
|
51114
|
-
PROCESS_PAYMENT_VALIDATOR_VERSION: 1,
|
|
51115
|
-
EXTEND_POSITION_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
|
|
51116
|
-
EXTEND_POSITION_VALIDATOR_VERSION: 1,
|
|
51117
|
-
POSITION_MANAGER_CORE_MODULE: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
|
|
51118
|
-
LOAN_OPERATIONS_MANAGER_MODULE: "0x68B1D87F95878fE05B998F19b66F4baba5De1aed",
|
|
51119
|
-
TERM_MANAGER_MODULE: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
|
|
51120
|
-
COMMUNITY_MANAGER_MODULE: ""
|
|
51121
51097
|
}
|
|
51122
51098
|
};
|
|
51123
51099
|
LOCALHOST_CONTRACTS = {
|
|
@@ -55968,8 +55944,14 @@ function getMainnetConfig() {
|
|
|
55968
55944
|
agentModuleFactory: MAINNET_CONTRACTS.AgentModuleFactory || ""
|
|
55969
55945
|
},
|
|
55970
55946
|
subgraphs: {
|
|
55947
|
+
// KNOWN-WRONG placeholder (see GOAL-PLAN step 2 / dogfood F-CLI-4): this is a
|
|
55948
|
+
// SEPOLIA subgraph id in a mainnet (chainId 1) config, and this gateway host
|
|
55949
|
+
// needs an Authorization key the SDK does not (and must not) hold — so the
|
|
55950
|
+
// URL is doubly unusable. The `CCTPsd…` path segment is the subgraph's
|
|
55951
|
+
// PUBLIC ID, not a credential. The fix is a chain-correct SERVER-side proxy
|
|
55952
|
+
// (see mcp/docs/SUBGRAPH-PROXY-PLAN.md) — same rule as rpcUrls above:
|
|
55953
|
+
// never ship an API-keyed URL in a client config.
|
|
55971
55954
|
diamondHandsUrl: "https://gateway-arbitrum.network.thegraph.com/api/subgraphs/id/CCTPsdYqco2jChDLLBQTbdJWwoukVoMt1cXeR9ti6r9A"
|
|
55972
|
-
// Published Sepolia subgraph on Arbitrum One
|
|
55973
55955
|
},
|
|
55974
55956
|
litNetwork: "chipotle",
|
|
55975
55957
|
debug: false
|
|
@@ -56657,7 +56639,7 @@ async function generateMintAuthorization(positionId, amount, chainId, signerOrPr
|
|
|
56657
56639
|
signature
|
|
56658
56640
|
};
|
|
56659
56641
|
}
|
|
56660
|
-
async function generatePaymentAuthorization(positionId, amount, chainId,
|
|
56642
|
+
async function generatePaymentAuthorization(positionId, amount, chainId, signerOrPrecomputed) {
|
|
56661
56643
|
if (typeof positionId !== "string") {
|
|
56662
56644
|
throw new Error(`positionId must be a string, got ${typeof positionId}`);
|
|
56663
56645
|
}
|
|
@@ -56667,6 +56649,18 @@ async function generatePaymentAuthorization(positionId, amount, chainId, signer)
|
|
|
56667
56649
|
if (typeof chainId !== "number") {
|
|
56668
56650
|
throw new Error(`chainId must be a number, got ${typeof chainId}`);
|
|
56669
56651
|
}
|
|
56652
|
+
if (typeof signerOrPrecomputed === "object" && "signature" in signerOrPrecomputed && !("signMessage" in signerOrPrecomputed)) {
|
|
56653
|
+
const { timestamp: timestamp2, signature: signature2 } = signerOrPrecomputed;
|
|
56654
|
+
return {
|
|
56655
|
+
positionId,
|
|
56656
|
+
timestamp: timestamp2,
|
|
56657
|
+
chainId,
|
|
56658
|
+
amount: amount.toString(),
|
|
56659
|
+
action: "make-payment",
|
|
56660
|
+
signature: signature2
|
|
56661
|
+
};
|
|
56662
|
+
}
|
|
56663
|
+
const signer = signerOrPrecomputed;
|
|
56670
56664
|
const timestamp = await calculateNextQuantumTimestamp();
|
|
56671
56665
|
if (typeof timestamp !== "number") {
|
|
56672
56666
|
throw new Error(`timestamp must be a number, got ${typeof timestamp}`);
|
|
@@ -56904,6 +56898,24 @@ async function generateExtendAuthorization(positionId, newTerm, chainId, signerO
|
|
|
56904
56898
|
// Add caller address for Lit Action validation
|
|
56905
56899
|
};
|
|
56906
56900
|
}
|
|
56901
|
+
async function resolveAuthorizationInput(provider, signer, ctx) {
|
|
56902
|
+
if (!provider)
|
|
56903
|
+
return signer;
|
|
56904
|
+
const result = await provider(ctx);
|
|
56905
|
+
if (!result || typeof result.signature !== "string" || result.signature.length === 0) {
|
|
56906
|
+
throw new Error(
|
|
56907
|
+
"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"
|
|
56908
|
+
);
|
|
56909
|
+
}
|
|
56910
|
+
if (!Number.isInteger(result.timestamp)) {
|
|
56911
|
+
throw new Error(
|
|
56912
|
+
`authorizationProvider returned a non-integer timestamp (${String(
|
|
56913
|
+
result.timestamp
|
|
56914
|
+
)}) \u2014 the protocol call must carry the same value the envelope was signed over`
|
|
56915
|
+
);
|
|
56916
|
+
}
|
|
56917
|
+
return { timestamp: result.timestamp, signature: result.signature };
|
|
56918
|
+
}
|
|
56907
56919
|
function buildLoginDomain(chainId) {
|
|
56908
56920
|
return {
|
|
56909
56921
|
name: "Diamond Hands",
|
|
@@ -70189,11 +70201,20 @@ var DiamondHandsSDK = class _DiamondHandsSDK {
|
|
|
70189
70201
|
{}
|
|
70190
70202
|
);
|
|
70191
70203
|
}
|
|
70204
|
+
const mintAuthInput = await resolveAuthorizationInput(
|
|
70205
|
+
request.authorizationProvider,
|
|
70206
|
+
signer2,
|
|
70207
|
+
{
|
|
70208
|
+
positionId: request.positionId,
|
|
70209
|
+
timestamp: calculateNextQuantumTimestamp(),
|
|
70210
|
+
amount: requestAmountWei.toString()
|
|
70211
|
+
}
|
|
70212
|
+
);
|
|
70192
70213
|
const auth = await generateMintAuthorization(
|
|
70193
70214
|
request.positionId,
|
|
70194
70215
|
BigInt(requestAmountWei.toString()),
|
|
70195
70216
|
chainId,
|
|
70196
|
-
|
|
70217
|
+
mintAuthInput
|
|
70197
70218
|
);
|
|
70198
70219
|
if (this.config.debug) {
|
|
70199
70220
|
log.info(` Authorization generated (attempt ${attempt})`, {});
|
|
@@ -71789,7 +71810,7 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
71789
71810
|
* @param _selectedTerm - Extension term in months
|
|
71790
71811
|
* @returns Transaction receipt
|
|
71791
71812
|
*/
|
|
71792
|
-
async extendPosition(_positionId, _selectedTerm, _rpcUrl, _bitcoinRpcUrl) {
|
|
71813
|
+
async extendPosition(_positionId, _selectedTerm, _rpcUrl, _bitcoinRpcUrl, _authorizationProvider) {
|
|
71793
71814
|
this.ensureInitialized();
|
|
71794
71815
|
if (typeof _positionId !== "string") {
|
|
71795
71816
|
throw new Error(`positionId must be a string, got ${typeof _positionId}`);
|
|
@@ -71883,11 +71904,23 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
71883
71904
|
}
|
|
71884
71905
|
}
|
|
71885
71906
|
const signer = this.getSignerOrThrow();
|
|
71907
|
+
const extendAuthInput = await resolveAuthorizationInput(
|
|
71908
|
+
_authorizationProvider,
|
|
71909
|
+
signer,
|
|
71910
|
+
{
|
|
71911
|
+
positionId: _positionId,
|
|
71912
|
+
timestamp: calculateNextQuantumTimestamp(),
|
|
71913
|
+
// The extend envelope binds the TERM, not an amount. Carried as "0" so
|
|
71914
|
+
// the context shape stays uniform across the four operations.
|
|
71915
|
+
amount: "0",
|
|
71916
|
+
selectedTerm: _selectedTerm
|
|
71917
|
+
}
|
|
71918
|
+
);
|
|
71886
71919
|
const auth = await generateExtendAuthorization(
|
|
71887
71920
|
_positionId,
|
|
71888
71921
|
_selectedTerm,
|
|
71889
71922
|
chainId,
|
|
71890
|
-
|
|
71923
|
+
extendAuthInput
|
|
71891
71924
|
);
|
|
71892
71925
|
if (this.config.debug) {
|
|
71893
71926
|
log.info(" Extend authorization generated", {
|
|
@@ -72143,7 +72176,8 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
72143
72176
|
positionId,
|
|
72144
72177
|
selectedTerm,
|
|
72145
72178
|
request.rpcUrl,
|
|
72146
|
-
request.customBitcoinRpcUrl
|
|
72179
|
+
request.customBitcoinRpcUrl,
|
|
72180
|
+
request.authorizationProvider
|
|
72147
72181
|
);
|
|
72148
72182
|
let newExpiryAt;
|
|
72149
72183
|
try {
|
|
@@ -72677,11 +72711,20 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
72677
72711
|
}
|
|
72678
72712
|
let auth;
|
|
72679
72713
|
try {
|
|
72714
|
+
const paymentAuthInput = await resolveAuthorizationInput(
|
|
72715
|
+
request.authorizationProvider,
|
|
72716
|
+
signer,
|
|
72717
|
+
{
|
|
72718
|
+
positionId: request.positionId,
|
|
72719
|
+
timestamp: calculateNextQuantumTimestamp(),
|
|
72720
|
+
amount: paymentAmountWei.toString()
|
|
72721
|
+
}
|
|
72722
|
+
);
|
|
72680
72723
|
auth = await generatePaymentAuthorization(
|
|
72681
72724
|
request.positionId,
|
|
72682
72725
|
paymentAmountWei,
|
|
72683
72726
|
chainId,
|
|
72684
|
-
|
|
72727
|
+
paymentAuthInput
|
|
72685
72728
|
);
|
|
72686
72729
|
} catch (authError) {
|
|
72687
72730
|
if (authError.message && authError.message.includes("BigNumber")) {
|
|
@@ -73193,7 +73236,7 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
73193
73236
|
* @param customBitcoinRpcUrl - Optional custom Bitcoin RPC URL (for local testing)
|
|
73194
73237
|
* @returns Withdrawal result with transaction details
|
|
73195
73238
|
*/
|
|
73196
|
-
async withdrawBTC(positionId, withdrawalAddress, withdrawalAmount) {
|
|
73239
|
+
async withdrawBTC(positionId, withdrawalAddress, withdrawalAmount, options) {
|
|
73197
73240
|
this.ensureInitialized();
|
|
73198
73241
|
try {
|
|
73199
73242
|
if (this.config.debug) {
|
|
@@ -73408,11 +73451,21 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
73408
73451
|
{}
|
|
73409
73452
|
);
|
|
73410
73453
|
}
|
|
73454
|
+
const withdrawAuthInput = await resolveAuthorizationInput(
|
|
73455
|
+
options?.authorizationProvider,
|
|
73456
|
+
signer,
|
|
73457
|
+
{
|
|
73458
|
+
positionId,
|
|
73459
|
+
timestamp: calculateNextQuantumTimestamp(),
|
|
73460
|
+
amount: BigInt(withdrawalAmount).toString(),
|
|
73461
|
+
destinationAddress: withdrawalAddress
|
|
73462
|
+
}
|
|
73463
|
+
);
|
|
73411
73464
|
const auth = await generateWithdrawAuthorization(
|
|
73412
73465
|
positionId,
|
|
73413
73466
|
BigInt(withdrawalAmount),
|
|
73414
73467
|
chainId,
|
|
73415
|
-
|
|
73468
|
+
withdrawAuthInput,
|
|
73416
73469
|
withdrawalAddress
|
|
73417
73470
|
// Pass destination address for message hash
|
|
73418
73471
|
);
|
|
@@ -74486,6 +74539,11 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
74486
74539
|
* (`MAX_ATTESTATION_AGE = 1 hour`) and replay-protects via
|
|
74487
74540
|
* `authorizedAt` binding.
|
|
74488
74541
|
*
|
|
74542
|
+
* WHO PAYS: in **service mode** lit-ops-server performs BOTH steps and its
|
|
74543
|
+
* relayer funds the transaction — the borrower is never prompted, because the
|
|
74544
|
+
* Bitcoin withdrawal this cleans up after has already settled. In **direct
|
|
74545
|
+
* mode** (CLI / tests / hardhat) the SDK's own signer submits step 2.
|
|
74546
|
+
*
|
|
74489
74547
|
* `invalidatorTxid` is either:
|
|
74490
74548
|
* - the borrower's own authorized broadcast (classified "consumed-as-authorized"
|
|
74491
74549
|
* by the LIT validator), once it has ≥6 confirmations on the BTC
|
|
@@ -74498,7 +74556,6 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
74498
74556
|
async recoverStaleSpend(params) {
|
|
74499
74557
|
this.ensureInitialized();
|
|
74500
74558
|
try {
|
|
74501
|
-
const signer = this.getSignerOrThrow();
|
|
74502
74559
|
const contractAddresses = this.getContractAddressesOrThrow();
|
|
74503
74560
|
const btcSpendAuthorizerAddress = contractAddresses.btcSpendAuthorizer;
|
|
74504
74561
|
if (!btcSpendAuthorizerAddress) {
|
|
@@ -74544,6 +74601,28 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
74544
74601
|
success: false,
|
|
74545
74602
|
error: json.error ?? "stale-spend recovery request failed"
|
|
74546
74603
|
};
|
|
74604
|
+
if (!attRes.success || !attRes.attestation) {
|
|
74605
|
+
return {
|
|
74606
|
+
success: false,
|
|
74607
|
+
failedStep: "attestation",
|
|
74608
|
+
error: attRes.error ?? attRes.reason ?? `LIT recovery attestation rejected${attRes.failedStep ? ` at step ${attRes.failedStep}` : ""}`
|
|
74609
|
+
};
|
|
74610
|
+
}
|
|
74611
|
+
if (!attRes.transactionHash && !attRes.alreadyCleared) {
|
|
74612
|
+
return {
|
|
74613
|
+
success: false,
|
|
74614
|
+
failedStep: "submit",
|
|
74615
|
+
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."
|
|
74616
|
+
};
|
|
74617
|
+
}
|
|
74618
|
+
return {
|
|
74619
|
+
success: true,
|
|
74620
|
+
...attRes.transactionHash && {
|
|
74621
|
+
transactionHash: attRes.transactionHash
|
|
74622
|
+
},
|
|
74623
|
+
...attRes.classification && { classification: attRes.classification },
|
|
74624
|
+
attestation: attRes.attestation
|
|
74625
|
+
};
|
|
74547
74626
|
} else {
|
|
74548
74627
|
const rpcUrl = params.rpcUrl ?? this.config.ethRpcUrl;
|
|
74549
74628
|
if (!rpcUrl) {
|
|
@@ -74593,7 +74672,7 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
74593
74672
|
[
|
|
74594
74673
|
"function cancelStaleSpendWithProof(bytes32 positionId, bytes32 utxoKey, uint256 authorizedAt, string calldata invalidatorTxid, uint256 attestationTimestamp, bytes calldata litSignature) external"
|
|
74595
74674
|
],
|
|
74596
|
-
|
|
74675
|
+
this.getSignerOrThrow()
|
|
74597
74676
|
);
|
|
74598
74677
|
const tx2 = await btcSpendAuthorizer["cancelStaleSpendWithProof"](
|
|
74599
74678
|
attRes.attestation.positionId,
|
|
@@ -75403,10 +75482,22 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
75403
75482
|
"getLoanGrant",
|
|
75404
75483
|
data
|
|
75405
75484
|
);
|
|
75485
|
+
const raw = (0, import_ethers13.getBytes)(data);
|
|
75486
|
+
const withdrawScopeSupported = raw.length >= 128;
|
|
75487
|
+
const minWithdrawRatioBps = withdrawScopeSupported ? Number(
|
|
75488
|
+
import_ethers13.AbiCoder.defaultAbiCoder().decode(["uint32"], raw.slice(96, 128))[0]
|
|
75489
|
+
) : 0;
|
|
75406
75490
|
return {
|
|
75407
75491
|
borrower,
|
|
75408
75492
|
scopeBits: Number(scopeBits),
|
|
75409
|
-
minCollateralRatioBps: Number(minCollateralRatioBps)
|
|
75493
|
+
minCollateralRatioBps: Number(minCollateralRatioBps),
|
|
75494
|
+
minWithdrawRatioBps,
|
|
75495
|
+
/**
|
|
75496
|
+
* True when the deployed registry is v2.1.0+ and therefore honours `SCOPE_WITHDRAW`. The
|
|
75497
|
+
* frontend gates its Withdrawal control on this so the control is absent — not disabled,
|
|
75498
|
+
* not "coming soon" — on a chain whose registry cannot support it.
|
|
75499
|
+
*/
|
|
75500
|
+
withdrawScopeSupported
|
|
75410
75501
|
};
|
|
75411
75502
|
}
|
|
75412
75503
|
/**
|
|
@@ -75448,10 +75539,14 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
75448
75539
|
const mintEnabled = hasGrant && (scopes & 4) !== 0;
|
|
75449
75540
|
const floor = grant.minCollateralRatioBps;
|
|
75450
75541
|
const agent = user ? await registry.agentOf(user) : null;
|
|
75542
|
+
const withdrawEnabled = hasGrant && grant.withdrawScopeSupported && (scopes & 8) !== 0;
|
|
75451
75543
|
return {
|
|
75452
75544
|
renewEnabled: hasGrant && (scopes & 1) !== 0,
|
|
75453
75545
|
repayEnabled: hasGrant && (scopes & 2) !== 0,
|
|
75454
75546
|
mintEnabled,
|
|
75547
|
+
withdrawEnabled,
|
|
75548
|
+
withdrawScopeSupported: grant.withdrawScopeSupported,
|
|
75549
|
+
minWithdrawRatioBps: withdrawEnabled ? grant.minWithdrawRatioBps : 0,
|
|
75455
75550
|
minCollateralRatioBps: mintEnabled ? floor : 0,
|
|
75456
75551
|
effectiveMintFloorBps: mintEnabled ? Math.max(floor, protocolMin) : 0,
|
|
75457
75552
|
protocolMinFloorBps: protocolMin,
|
|
@@ -75639,8 +75734,85 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
75639
75734
|
const receipt = await tx2.wait();
|
|
75640
75735
|
return { hash: tx2.hash, blockNumber: receipt?.blockNumber ?? 0 };
|
|
75641
75736
|
}
|
|
75642
|
-
/**
|
|
75643
|
-
|
|
75737
|
+
/**
|
|
75738
|
+
* Grant the agent the WITHDRAW scope for a position (registry v2.1.0+). Borrower-signed.
|
|
75739
|
+
*
|
|
75740
|
+
* CONTRACT WALLETS ONLY, and this is enforced here rather than on-chain. The withdrawal
|
|
75741
|
+
* validator's only non-borrower arm is `checkSafeAgentWithdrawAuthorization`, which requires a
|
|
75742
|
+
* factory-provenanced `AgentModule` whose `safe()` is the borrower — something an EOA cannot
|
|
75743
|
+
* have. The registry deliberately does NOT check wallet type ("Callable by any borrower (this
|
|
75744
|
+
* function does not itself require a Safe)"), so an EOA can record a grant that no code path
|
|
75745
|
+
* will ever satisfy. Refusing here keeps the supported path from writing a dead record.
|
|
75746
|
+
*
|
|
75747
|
+
* That refusal is ergonomics, NOT enforcement — `enableAutoWithdraw` is `external` and reachable
|
|
75748
|
+
* from any wallet. The real reason delegated withdrawal is closed to EOAs is that they can sign
|
|
75749
|
+
* inside the ~44s window themselves, so delegating buys them nothing and only adds risk.
|
|
75750
|
+
*
|
|
75751
|
+
* @param minWithdrawRatioBps Post-withdrawal collateral-ratio floor for AGENT withdrawals.
|
|
75752
|
+
* Clamped by the same governance minimum as the mint floor. **Inert at zero debt** — it
|
|
75753
|
+
* is a ratio, and the post-withdrawal ratio is infinite for any amount once debt is 0.
|
|
75754
|
+
* The operative bound there is the quorum-gated destination allowlist. Do not surface
|
|
75755
|
+
* this to users as a cap on how much an agent may withdraw.
|
|
75756
|
+
* There is no in-place raise: changing it means disable-then-re-enable, deliberately —
|
|
75757
|
+
* on the one scope that moves custodied BTC, incident response can only disable outright.
|
|
75758
|
+
*/
|
|
75759
|
+
async enableAutoWithdraw(positionId, minWithdrawRatioBps, options) {
|
|
75760
|
+
const pid = this.toBytes32(positionId);
|
|
75761
|
+
await this.assertBorrowerIsContractWallet(pid);
|
|
75762
|
+
await this.assertMintFloorAtOrAboveProtocolMin(minWithdrawRatioBps, "withdraw");
|
|
75763
|
+
const { registry, agentAddress } = await this.prepareAgentDelegation(pid, options);
|
|
75764
|
+
const tx2 = await registry.enableAutoWithdraw(pid, minWithdrawRatioBps);
|
|
75765
|
+
const receipt = await tx2.wait();
|
|
75766
|
+
return { hash: tx2.hash, blockNumber: receipt?.blockNumber ?? 0, agentAddress };
|
|
75767
|
+
}
|
|
75768
|
+
/**
|
|
75769
|
+
* Revoke the WITHDRAW scope for a position (also zeroes its withdraw floor). Borrower-signed.
|
|
75770
|
+
*
|
|
75771
|
+
* No wallet-type check: revoking is the safe direction, and an EOA that recorded a grant before
|
|
75772
|
+
* this guard existed must be able to clear it.
|
|
75773
|
+
*/
|
|
75774
|
+
async disableAutoWithdraw(positionId) {
|
|
75775
|
+
const addr = this.agentDelegationRegistryOrThrow();
|
|
75776
|
+
const signer = this.getSignerOrThrow();
|
|
75777
|
+
const registry = AgentDelegationRegistry__factory.connect(addr, signer);
|
|
75778
|
+
const pid = this.toBytes32(positionId);
|
|
75779
|
+
const tx2 = await registry.disableAutoWithdraw(pid);
|
|
75780
|
+
const receipt = await tx2.wait();
|
|
75781
|
+
await this.clearGate1IfNoScopesRemain(pid);
|
|
75782
|
+
return { hash: tx2.hash, blockNumber: receipt?.blockNumber ?? 0 };
|
|
75783
|
+
}
|
|
75784
|
+
/**
|
|
75785
|
+
* Layer 2 of the withdrawal-delegation gating: refuse to write a grant that could never be
|
|
75786
|
+
* satisfied. See `enableAutoWithdraw` for why this lives here and not in the registry.
|
|
75787
|
+
*/
|
|
75788
|
+
async assertBorrowerIsContractWallet(pid) {
|
|
75789
|
+
const details = await this.getPositionDetailsView(pid);
|
|
75790
|
+
const borrower = details?.borrower;
|
|
75791
|
+
if (!borrower) {
|
|
75792
|
+
throw new SDKError({
|
|
75793
|
+
message: `Could not resolve the borrower for position ${pid} \u2014 refusing to write a delegation grant against an unverified position`,
|
|
75794
|
+
category: "VALIDATION",
|
|
75795
|
+
severity: "HIGH"
|
|
75796
|
+
/* HIGH */
|
|
75797
|
+
});
|
|
75798
|
+
}
|
|
75799
|
+
const code = await this.getProviderOrThrow().getCode(borrower);
|
|
75800
|
+
if (!code || code === "0x") {
|
|
75801
|
+
throw new SDKError({
|
|
75802
|
+
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.`,
|
|
75803
|
+
category: "VALIDATION",
|
|
75804
|
+
severity: "MEDIUM"
|
|
75805
|
+
/* MEDIUM */
|
|
75806
|
+
});
|
|
75807
|
+
}
|
|
75808
|
+
}
|
|
75809
|
+
/**
|
|
75810
|
+
* Pre-flight the registry's `FloorBelowProtocolMin` guard with a message a user can act on.
|
|
75811
|
+
*
|
|
75812
|
+
* `agentMintFloorMinBps` is the governance floor-of-floors for BOTH the mint and withdraw
|
|
75813
|
+
* grants — one lever, one invariant — so `scope` only shapes the message.
|
|
75814
|
+
*/
|
|
75815
|
+
async assertMintFloorAtOrAboveProtocolMin(floorBps, scope = "mint") {
|
|
75644
75816
|
if (!Number.isInteger(floorBps) || floorBps <= 0) {
|
|
75645
75817
|
throw new SDKError({
|
|
75646
75818
|
message: `Invalid collateral floor: ${floorBps} bps \u2014 must be a positive integer`,
|
|
@@ -75652,7 +75824,7 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
|
|
|
75652
75824
|
const protocolMin = await this.getAgentMintFloorMinBps();
|
|
75653
75825
|
if (protocolMin === 0) {
|
|
75654
75826
|
throw new SDKError({
|
|
75655
|
-
message:
|
|
75827
|
+
message: `Agent ${scope === "mint" ? "minting" : "withdrawal"} is not configured on this network (agentMintFloorMinBps is 0) \u2014 the registry would reject every ${scope} grant`,
|
|
75656
75828
|
category: "CONFIGURATION",
|
|
75657
75829
|
severity: "HIGH"
|
|
75658
75830
|
/* HIGH */
|