@gvnrdao/dh-mcp 0.5.3 → 0.5.5

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/connector.js CHANGED
@@ -408,9 +408,9 @@ var init_tx_validator = __esm({
408
408
  }
409
409
  });
410
410
 
411
- // ../sdk/node_modules/bech32/dist/index.js
411
+ // node_modules/bech32/dist/index.js
412
412
  var require_dist = __commonJS({
413
- "../sdk/node_modules/bech32/dist/index.js"(exports2) {
413
+ "node_modules/bech32/dist/index.js"(exports2) {
414
414
  "use strict";
415
415
  Object.defineProperty(exports2, "__esModule", { value: true });
416
416
  exports2.bech32m = exports2.bech32 = void 0;
@@ -574,9 +574,9 @@ var require_dist = __commonJS({
574
574
  }
575
575
  });
576
576
 
577
- // ../sdk/node_modules/@noble/hashes/cryptoNode.js
577
+ // node_modules/@noble/hashes/cryptoNode.js
578
578
  var require_cryptoNode = __commonJS({
579
- "../sdk/node_modules/@noble/hashes/cryptoNode.js"(exports2) {
579
+ "node_modules/@noble/hashes/cryptoNode.js"(exports2) {
580
580
  "use strict";
581
581
  Object.defineProperty(exports2, "__esModule", { value: true });
582
582
  exports2.crypto = void 0;
@@ -585,9 +585,9 @@ var require_cryptoNode = __commonJS({
585
585
  }
586
586
  });
587
587
 
588
- // ../sdk/node_modules/@noble/hashes/utils.js
588
+ // node_modules/@noble/hashes/utils.js
589
589
  var require_utils = __commonJS({
590
- "../sdk/node_modules/@noble/hashes/utils.js"(exports2) {
590
+ "node_modules/@noble/hashes/utils.js"(exports2) {
591
591
  "use strict";
592
592
  Object.defineProperty(exports2, "__esModule", { value: true });
593
593
  exports2.wrapXOFConstructorWithOpts = exports2.wrapConstructorWithOpts = exports2.wrapConstructor = exports2.Hash = exports2.nextTick = exports2.swap32IfBE = exports2.byteSwapIfBE = exports2.swap8IfBE = exports2.isLE = void 0;
@@ -827,9 +827,9 @@ var require_utils = __commonJS({
827
827
  }
828
828
  });
829
829
 
830
- // ../sdk/node_modules/@noble/hashes/_md.js
830
+ // node_modules/@noble/hashes/_md.js
831
831
  var require_md = __commonJS({
832
- "../sdk/node_modules/@noble/hashes/_md.js"(exports2) {
832
+ "node_modules/@noble/hashes/_md.js"(exports2) {
833
833
  "use strict";
834
834
  Object.defineProperty(exports2, "__esModule", { value: true });
835
835
  exports2.SHA512_IV = exports2.SHA384_IV = exports2.SHA224_IV = exports2.SHA256_IV = exports2.HashMD = void 0;
@@ -1005,9 +1005,9 @@ var require_md = __commonJS({
1005
1005
  }
1006
1006
  });
1007
1007
 
1008
- // ../sdk/node_modules/@noble/hashes/_u64.js
1008
+ // node_modules/@noble/hashes/_u64.js
1009
1009
  var require_u64 = __commonJS({
1010
- "../sdk/node_modules/@noble/hashes/_u64.js"(exports2) {
1010
+ "node_modules/@noble/hashes/_u64.js"(exports2) {
1011
1011
  "use strict";
1012
1012
  Object.defineProperty(exports2, "__esModule", { value: true });
1013
1013
  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;
@@ -1101,9 +1101,9 @@ var require_u64 = __commonJS({
1101
1101
  }
1102
1102
  });
1103
1103
 
1104
- // ../sdk/node_modules/@noble/hashes/sha2.js
1104
+ // node_modules/@noble/hashes/sha2.js
1105
1105
  var require_sha2 = __commonJS({
1106
- "../sdk/node_modules/@noble/hashes/sha2.js"(exports2) {
1106
+ "node_modules/@noble/hashes/sha2.js"(exports2) {
1107
1107
  "use strict";
1108
1108
  Object.defineProperty(exports2, "__esModule", { value: true });
1109
1109
  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;
@@ -1571,9 +1571,9 @@ var require_sha2 = __commonJS({
1571
1571
  }
1572
1572
  });
1573
1573
 
1574
- // ../sdk/node_modules/@noble/hashes/sha256.js
1574
+ // node_modules/@noble/hashes/sha256.js
1575
1575
  var require_sha256 = __commonJS({
1576
- "../sdk/node_modules/@noble/hashes/sha256.js"(exports2) {
1576
+ "node_modules/@noble/hashes/sha256.js"(exports2) {
1577
1577
  "use strict";
1578
1578
  Object.defineProperty(exports2, "__esModule", { value: true });
1579
1579
  exports2.sha224 = exports2.SHA224 = exports2.sha256 = exports2.SHA256 = void 0;
@@ -1585,9 +1585,9 @@ var require_sha256 = __commonJS({
1585
1585
  }
1586
1586
  });
1587
1587
 
1588
- // ../sdk/node_modules/bs58check/node_modules/base-x/src/index.js
1588
+ // node_modules/bs58check/node_modules/base-x/src/index.js
1589
1589
  var require_src = __commonJS({
1590
- "../sdk/node_modules/bs58check/node_modules/base-x/src/index.js"(exports2, module2) {
1590
+ "node_modules/bs58check/node_modules/base-x/src/index.js"(exports2, module2) {
1591
1591
  "use strict";
1592
1592
  function base(ALPHABET2) {
1593
1593
  if (ALPHABET2.length >= 255) {
@@ -1721,9 +1721,9 @@ var require_src = __commonJS({
1721
1721
  }
1722
1722
  });
1723
1723
 
1724
- // ../sdk/node_modules/bs58check/node_modules/bs58/index.js
1724
+ // node_modules/bs58check/node_modules/bs58/index.js
1725
1725
  var require_bs58 = __commonJS({
1726
- "../sdk/node_modules/bs58check/node_modules/bs58/index.js"(exports2, module2) {
1726
+ "node_modules/bs58check/node_modules/bs58/index.js"(exports2, module2) {
1727
1727
  "use strict";
1728
1728
  var basex = require_src();
1729
1729
  var ALPHABET2 = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
@@ -1731,9 +1731,9 @@ var require_bs58 = __commonJS({
1731
1731
  }
1732
1732
  });
1733
1733
 
1734
- // ../sdk/node_modules/bs58check/base.js
1734
+ // node_modules/bs58check/base.js
1735
1735
  var require_base = __commonJS({
1736
- "../sdk/node_modules/bs58check/base.js"(exports2, module2) {
1736
+ "node_modules/bs58check/base.js"(exports2, module2) {
1737
1737
  "use strict";
1738
1738
  var base58 = require_bs58();
1739
1739
  module2.exports = function(checksumFn) {
@@ -1773,9 +1773,9 @@ var require_base = __commonJS({
1773
1773
  }
1774
1774
  });
1775
1775
 
1776
- // ../sdk/node_modules/bs58check/index.js
1776
+ // node_modules/bs58check/index.js
1777
1777
  var require_bs58check = __commonJS({
1778
- "../sdk/node_modules/bs58check/index.js"(exports2, module2) {
1778
+ "node_modules/bs58check/index.js"(exports2, module2) {
1779
1779
  "use strict";
1780
1780
  var { sha256: sha2564 } = require_sha256();
1781
1781
  var bs58checkBase = require_base();
@@ -1786,9 +1786,9 @@ var require_bs58check = __commonJS({
1786
1786
  }
1787
1787
  });
1788
1788
 
1789
- // ../sdk/node_modules/delayed-stream/lib/delayed_stream.js
1789
+ // node_modules/delayed-stream/lib/delayed_stream.js
1790
1790
  var require_delayed_stream = __commonJS({
1791
- "../sdk/node_modules/delayed-stream/lib/delayed_stream.js"(exports2, module2) {
1791
+ "node_modules/delayed-stream/lib/delayed_stream.js"(exports2, module2) {
1792
1792
  "use strict";
1793
1793
  var Stream = require("stream").Stream;
1794
1794
  var util4 = require("util");
@@ -1878,9 +1878,9 @@ var require_delayed_stream = __commonJS({
1878
1878
  }
1879
1879
  });
1880
1880
 
1881
- // ../sdk/node_modules/combined-stream/lib/combined_stream.js
1881
+ // node_modules/combined-stream/lib/combined_stream.js
1882
1882
  var require_combined_stream = __commonJS({
1883
- "../sdk/node_modules/combined-stream/lib/combined_stream.js"(exports2, module2) {
1883
+ "node_modules/combined-stream/lib/combined_stream.js"(exports2, module2) {
1884
1884
  "use strict";
1885
1885
  var util4 = require("util");
1886
1886
  var Stream = require("stream").Stream;
@@ -2048,9 +2048,9 @@ var require_combined_stream = __commonJS({
2048
2048
  }
2049
2049
  });
2050
2050
 
2051
- // ../sdk/node_modules/mime-db/db.json
2051
+ // node_modules/axios/node_modules/mime-db/db.json
2052
2052
  var require_db = __commonJS({
2053
- "../sdk/node_modules/mime-db/db.json"(exports2, module2) {
2053
+ "node_modules/axios/node_modules/mime-db/db.json"(exports2, module2) {
2054
2054
  module2.exports = {
2055
2055
  "application/1d-interleaved-parityfec": {
2056
2056
  source: "iana"
@@ -10573,17 +10573,17 @@ var require_db = __commonJS({
10573
10573
  }
10574
10574
  });
10575
10575
 
10576
- // ../sdk/node_modules/mime-db/index.js
10576
+ // node_modules/axios/node_modules/mime-db/index.js
10577
10577
  var require_mime_db = __commonJS({
10578
- "../sdk/node_modules/mime-db/index.js"(exports2, module2) {
10578
+ "node_modules/axios/node_modules/mime-db/index.js"(exports2, module2) {
10579
10579
  "use strict";
10580
10580
  module2.exports = require_db();
10581
10581
  }
10582
10582
  });
10583
10583
 
10584
- // ../sdk/node_modules/mime-types/index.js
10584
+ // node_modules/axios/node_modules/mime-types/index.js
10585
10585
  var require_mime_types = __commonJS({
10586
- "../sdk/node_modules/mime-types/index.js"(exports2) {
10586
+ "node_modules/axios/node_modules/mime-types/index.js"(exports2) {
10587
10587
  "use strict";
10588
10588
  var db = require_mime_db();
10589
10589
  var extname = require("path").extname;
@@ -10671,9 +10671,9 @@ var require_mime_types = __commonJS({
10671
10671
  }
10672
10672
  });
10673
10673
 
10674
- // ../sdk/node_modules/asynckit/lib/defer.js
10674
+ // node_modules/asynckit/lib/defer.js
10675
10675
  var require_defer = __commonJS({
10676
- "../sdk/node_modules/asynckit/lib/defer.js"(exports2, module2) {
10676
+ "node_modules/asynckit/lib/defer.js"(exports2, module2) {
10677
10677
  "use strict";
10678
10678
  module2.exports = defer;
10679
10679
  function defer(fn) {
@@ -10687,9 +10687,9 @@ var require_defer = __commonJS({
10687
10687
  }
10688
10688
  });
10689
10689
 
10690
- // ../sdk/node_modules/asynckit/lib/async.js
10690
+ // node_modules/asynckit/lib/async.js
10691
10691
  var require_async = __commonJS({
10692
- "../sdk/node_modules/asynckit/lib/async.js"(exports2, module2) {
10692
+ "node_modules/asynckit/lib/async.js"(exports2, module2) {
10693
10693
  "use strict";
10694
10694
  var defer = require_defer();
10695
10695
  module2.exports = async;
@@ -10711,9 +10711,9 @@ var require_async = __commonJS({
10711
10711
  }
10712
10712
  });
10713
10713
 
10714
- // ../sdk/node_modules/asynckit/lib/abort.js
10714
+ // node_modules/asynckit/lib/abort.js
10715
10715
  var require_abort = __commonJS({
10716
- "../sdk/node_modules/asynckit/lib/abort.js"(exports2, module2) {
10716
+ "node_modules/asynckit/lib/abort.js"(exports2, module2) {
10717
10717
  "use strict";
10718
10718
  module2.exports = abort;
10719
10719
  function abort(state) {
@@ -10728,9 +10728,9 @@ var require_abort = __commonJS({
10728
10728
  }
10729
10729
  });
10730
10730
 
10731
- // ../sdk/node_modules/asynckit/lib/iterate.js
10731
+ // node_modules/asynckit/lib/iterate.js
10732
10732
  var require_iterate = __commonJS({
10733
- "../sdk/node_modules/asynckit/lib/iterate.js"(exports2, module2) {
10733
+ "node_modules/asynckit/lib/iterate.js"(exports2, module2) {
10734
10734
  "use strict";
10735
10735
  var async = require_async();
10736
10736
  var abort = require_abort();
@@ -10762,9 +10762,9 @@ var require_iterate = __commonJS({
10762
10762
  }
10763
10763
  });
10764
10764
 
10765
- // ../sdk/node_modules/asynckit/lib/state.js
10765
+ // node_modules/asynckit/lib/state.js
10766
10766
  var require_state = __commonJS({
10767
- "../sdk/node_modules/asynckit/lib/state.js"(exports2, module2) {
10767
+ "node_modules/asynckit/lib/state.js"(exports2, module2) {
10768
10768
  "use strict";
10769
10769
  module2.exports = state;
10770
10770
  function state(list, sortMethod) {
@@ -10785,9 +10785,9 @@ var require_state = __commonJS({
10785
10785
  }
10786
10786
  });
10787
10787
 
10788
- // ../sdk/node_modules/asynckit/lib/terminator.js
10788
+ // node_modules/asynckit/lib/terminator.js
10789
10789
  var require_terminator = __commonJS({
10790
- "../sdk/node_modules/asynckit/lib/terminator.js"(exports2, module2) {
10790
+ "node_modules/asynckit/lib/terminator.js"(exports2, module2) {
10791
10791
  "use strict";
10792
10792
  var abort = require_abort();
10793
10793
  var async = require_async();
@@ -10803,9 +10803,9 @@ var require_terminator = __commonJS({
10803
10803
  }
10804
10804
  });
10805
10805
 
10806
- // ../sdk/node_modules/asynckit/parallel.js
10806
+ // node_modules/asynckit/parallel.js
10807
10807
  var require_parallel = __commonJS({
10808
- "../sdk/node_modules/asynckit/parallel.js"(exports2, module2) {
10808
+ "node_modules/asynckit/parallel.js"(exports2, module2) {
10809
10809
  "use strict";
10810
10810
  var iterate = require_iterate();
10811
10811
  var initState = require_state();
@@ -10831,9 +10831,9 @@ var require_parallel = __commonJS({
10831
10831
  }
10832
10832
  });
10833
10833
 
10834
- // ../sdk/node_modules/asynckit/serialOrdered.js
10834
+ // node_modules/asynckit/serialOrdered.js
10835
10835
  var require_serialOrdered = __commonJS({
10836
- "../sdk/node_modules/asynckit/serialOrdered.js"(exports2, module2) {
10836
+ "node_modules/asynckit/serialOrdered.js"(exports2, module2) {
10837
10837
  "use strict";
10838
10838
  var iterate = require_iterate();
10839
10839
  var initState = require_state();
@@ -10866,9 +10866,9 @@ var require_serialOrdered = __commonJS({
10866
10866
  }
10867
10867
  });
10868
10868
 
10869
- // ../sdk/node_modules/asynckit/serial.js
10869
+ // node_modules/asynckit/serial.js
10870
10870
  var require_serial = __commonJS({
10871
- "../sdk/node_modules/asynckit/serial.js"(exports2, module2) {
10871
+ "node_modules/asynckit/serial.js"(exports2, module2) {
10872
10872
  "use strict";
10873
10873
  var serialOrdered = require_serialOrdered();
10874
10874
  module2.exports = serial;
@@ -10878,9 +10878,9 @@ var require_serial = __commonJS({
10878
10878
  }
10879
10879
  });
10880
10880
 
10881
- // ../sdk/node_modules/asynckit/index.js
10881
+ // node_modules/asynckit/index.js
10882
10882
  var require_asynckit = __commonJS({
10883
- "../sdk/node_modules/asynckit/index.js"(exports2, module2) {
10883
+ "node_modules/asynckit/index.js"(exports2, module2) {
10884
10884
  "use strict";
10885
10885
  module2.exports = {
10886
10886
  parallel: require_parallel(),
@@ -10890,121 +10890,121 @@ var require_asynckit = __commonJS({
10890
10890
  }
10891
10891
  });
10892
10892
 
10893
- // ../sdk/node_modules/es-object-atoms/index.js
10893
+ // node_modules/es-object-atoms/index.js
10894
10894
  var require_es_object_atoms = __commonJS({
10895
- "../sdk/node_modules/es-object-atoms/index.js"(exports2, module2) {
10895
+ "node_modules/es-object-atoms/index.js"(exports2, module2) {
10896
10896
  "use strict";
10897
10897
  module2.exports = Object;
10898
10898
  }
10899
10899
  });
10900
10900
 
10901
- // ../sdk/node_modules/es-errors/index.js
10901
+ // node_modules/es-errors/index.js
10902
10902
  var require_es_errors = __commonJS({
10903
- "../sdk/node_modules/es-errors/index.js"(exports2, module2) {
10903
+ "node_modules/es-errors/index.js"(exports2, module2) {
10904
10904
  "use strict";
10905
10905
  module2.exports = Error;
10906
10906
  }
10907
10907
  });
10908
10908
 
10909
- // ../sdk/node_modules/es-errors/eval.js
10909
+ // node_modules/es-errors/eval.js
10910
10910
  var require_eval = __commonJS({
10911
- "../sdk/node_modules/es-errors/eval.js"(exports2, module2) {
10911
+ "node_modules/es-errors/eval.js"(exports2, module2) {
10912
10912
  "use strict";
10913
10913
  module2.exports = EvalError;
10914
10914
  }
10915
10915
  });
10916
10916
 
10917
- // ../sdk/node_modules/es-errors/range.js
10917
+ // node_modules/es-errors/range.js
10918
10918
  var require_range = __commonJS({
10919
- "../sdk/node_modules/es-errors/range.js"(exports2, module2) {
10919
+ "node_modules/es-errors/range.js"(exports2, module2) {
10920
10920
  "use strict";
10921
10921
  module2.exports = RangeError;
10922
10922
  }
10923
10923
  });
10924
10924
 
10925
- // ../sdk/node_modules/es-errors/ref.js
10925
+ // node_modules/es-errors/ref.js
10926
10926
  var require_ref = __commonJS({
10927
- "../sdk/node_modules/es-errors/ref.js"(exports2, module2) {
10927
+ "node_modules/es-errors/ref.js"(exports2, module2) {
10928
10928
  "use strict";
10929
10929
  module2.exports = ReferenceError;
10930
10930
  }
10931
10931
  });
10932
10932
 
10933
- // ../sdk/node_modules/es-errors/syntax.js
10933
+ // node_modules/es-errors/syntax.js
10934
10934
  var require_syntax = __commonJS({
10935
- "../sdk/node_modules/es-errors/syntax.js"(exports2, module2) {
10935
+ "node_modules/es-errors/syntax.js"(exports2, module2) {
10936
10936
  "use strict";
10937
10937
  module2.exports = SyntaxError;
10938
10938
  }
10939
10939
  });
10940
10940
 
10941
- // ../sdk/node_modules/es-errors/type.js
10941
+ // node_modules/es-errors/type.js
10942
10942
  var require_type = __commonJS({
10943
- "../sdk/node_modules/es-errors/type.js"(exports2, module2) {
10943
+ "node_modules/es-errors/type.js"(exports2, module2) {
10944
10944
  "use strict";
10945
10945
  module2.exports = TypeError;
10946
10946
  }
10947
10947
  });
10948
10948
 
10949
- // ../sdk/node_modules/es-errors/uri.js
10949
+ // node_modules/es-errors/uri.js
10950
10950
  var require_uri = __commonJS({
10951
- "../sdk/node_modules/es-errors/uri.js"(exports2, module2) {
10951
+ "node_modules/es-errors/uri.js"(exports2, module2) {
10952
10952
  "use strict";
10953
10953
  module2.exports = URIError;
10954
10954
  }
10955
10955
  });
10956
10956
 
10957
- // ../sdk/node_modules/math-intrinsics/abs.js
10957
+ // node_modules/math-intrinsics/abs.js
10958
10958
  var require_abs = __commonJS({
10959
- "../sdk/node_modules/math-intrinsics/abs.js"(exports2, module2) {
10959
+ "node_modules/math-intrinsics/abs.js"(exports2, module2) {
10960
10960
  "use strict";
10961
10961
  module2.exports = Math.abs;
10962
10962
  }
10963
10963
  });
10964
10964
 
10965
- // ../sdk/node_modules/math-intrinsics/floor.js
10965
+ // node_modules/math-intrinsics/floor.js
10966
10966
  var require_floor = __commonJS({
10967
- "../sdk/node_modules/math-intrinsics/floor.js"(exports2, module2) {
10967
+ "node_modules/math-intrinsics/floor.js"(exports2, module2) {
10968
10968
  "use strict";
10969
10969
  module2.exports = Math.floor;
10970
10970
  }
10971
10971
  });
10972
10972
 
10973
- // ../sdk/node_modules/math-intrinsics/max.js
10973
+ // node_modules/math-intrinsics/max.js
10974
10974
  var require_max = __commonJS({
10975
- "../sdk/node_modules/math-intrinsics/max.js"(exports2, module2) {
10975
+ "node_modules/math-intrinsics/max.js"(exports2, module2) {
10976
10976
  "use strict";
10977
10977
  module2.exports = Math.max;
10978
10978
  }
10979
10979
  });
10980
10980
 
10981
- // ../sdk/node_modules/math-intrinsics/min.js
10981
+ // node_modules/math-intrinsics/min.js
10982
10982
  var require_min = __commonJS({
10983
- "../sdk/node_modules/math-intrinsics/min.js"(exports2, module2) {
10983
+ "node_modules/math-intrinsics/min.js"(exports2, module2) {
10984
10984
  "use strict";
10985
10985
  module2.exports = Math.min;
10986
10986
  }
10987
10987
  });
10988
10988
 
10989
- // ../sdk/node_modules/math-intrinsics/pow.js
10989
+ // node_modules/math-intrinsics/pow.js
10990
10990
  var require_pow = __commonJS({
10991
- "../sdk/node_modules/math-intrinsics/pow.js"(exports2, module2) {
10991
+ "node_modules/math-intrinsics/pow.js"(exports2, module2) {
10992
10992
  "use strict";
10993
10993
  module2.exports = Math.pow;
10994
10994
  }
10995
10995
  });
10996
10996
 
10997
- // ../sdk/node_modules/math-intrinsics/round.js
10997
+ // node_modules/math-intrinsics/round.js
10998
10998
  var require_round = __commonJS({
10999
- "../sdk/node_modules/math-intrinsics/round.js"(exports2, module2) {
10999
+ "node_modules/math-intrinsics/round.js"(exports2, module2) {
11000
11000
  "use strict";
11001
11001
  module2.exports = Math.round;
11002
11002
  }
11003
11003
  });
11004
11004
 
11005
- // ../sdk/node_modules/math-intrinsics/isNaN.js
11005
+ // node_modules/math-intrinsics/isNaN.js
11006
11006
  var require_isNaN = __commonJS({
11007
- "../sdk/node_modules/math-intrinsics/isNaN.js"(exports2, module2) {
11007
+ "node_modules/math-intrinsics/isNaN.js"(exports2, module2) {
11008
11008
  "use strict";
11009
11009
  module2.exports = Number.isNaN || function isNaN2(a) {
11010
11010
  return a !== a;
@@ -11012,9 +11012,9 @@ var require_isNaN = __commonJS({
11012
11012
  }
11013
11013
  });
11014
11014
 
11015
- // ../sdk/node_modules/math-intrinsics/sign.js
11015
+ // node_modules/math-intrinsics/sign.js
11016
11016
  var require_sign = __commonJS({
11017
- "../sdk/node_modules/math-intrinsics/sign.js"(exports2, module2) {
11017
+ "node_modules/math-intrinsics/sign.js"(exports2, module2) {
11018
11018
  "use strict";
11019
11019
  var $isNaN = require_isNaN();
11020
11020
  module2.exports = function sign(number) {
@@ -11026,17 +11026,17 @@ var require_sign = __commonJS({
11026
11026
  }
11027
11027
  });
11028
11028
 
11029
- // ../sdk/node_modules/gopd/gOPD.js
11029
+ // node_modules/gopd/gOPD.js
11030
11030
  var require_gOPD = __commonJS({
11031
- "../sdk/node_modules/gopd/gOPD.js"(exports2, module2) {
11031
+ "node_modules/gopd/gOPD.js"(exports2, module2) {
11032
11032
  "use strict";
11033
11033
  module2.exports = Object.getOwnPropertyDescriptor;
11034
11034
  }
11035
11035
  });
11036
11036
 
11037
- // ../sdk/node_modules/gopd/index.js
11037
+ // node_modules/gopd/index.js
11038
11038
  var require_gopd = __commonJS({
11039
- "../sdk/node_modules/gopd/index.js"(exports2, module2) {
11039
+ "node_modules/gopd/index.js"(exports2, module2) {
11040
11040
  "use strict";
11041
11041
  var $gOPD = require_gOPD();
11042
11042
  if ($gOPD) {
@@ -11050,9 +11050,9 @@ var require_gopd = __commonJS({
11050
11050
  }
11051
11051
  });
11052
11052
 
11053
- // ../sdk/node_modules/es-define-property/index.js
11053
+ // node_modules/es-define-property/index.js
11054
11054
  var require_es_define_property = __commonJS({
11055
- "../sdk/node_modules/es-define-property/index.js"(exports2, module2) {
11055
+ "node_modules/es-define-property/index.js"(exports2, module2) {
11056
11056
  "use strict";
11057
11057
  var $defineProperty = Object.defineProperty || false;
11058
11058
  if ($defineProperty) {
@@ -11066,9 +11066,9 @@ var require_es_define_property = __commonJS({
11066
11066
  }
11067
11067
  });
11068
11068
 
11069
- // ../sdk/node_modules/has-symbols/shams.js
11069
+ // node_modules/has-symbols/shams.js
11070
11070
  var require_shams = __commonJS({
11071
- "../sdk/node_modules/has-symbols/shams.js"(exports2, module2) {
11071
+ "node_modules/has-symbols/shams.js"(exports2, module2) {
11072
11072
  "use strict";
11073
11073
  module2.exports = function hasSymbols() {
11074
11074
  if (typeof Symbol !== "function" || typeof Object.getOwnPropertySymbols !== "function") {
@@ -11121,9 +11121,9 @@ var require_shams = __commonJS({
11121
11121
  }
11122
11122
  });
11123
11123
 
11124
- // ../sdk/node_modules/has-symbols/index.js
11124
+ // node_modules/has-symbols/index.js
11125
11125
  var require_has_symbols = __commonJS({
11126
- "../sdk/node_modules/has-symbols/index.js"(exports2, module2) {
11126
+ "node_modules/has-symbols/index.js"(exports2, module2) {
11127
11127
  "use strict";
11128
11128
  var origSymbol = typeof Symbol !== "undefined" && Symbol;
11129
11129
  var hasSymbolSham = require_shams();
@@ -11145,26 +11145,26 @@ var require_has_symbols = __commonJS({
11145
11145
  }
11146
11146
  });
11147
11147
 
11148
- // ../sdk/node_modules/get-proto/Reflect.getPrototypeOf.js
11148
+ // node_modules/get-proto/Reflect.getPrototypeOf.js
11149
11149
  var require_Reflect_getPrototypeOf = __commonJS({
11150
- "../sdk/node_modules/get-proto/Reflect.getPrototypeOf.js"(exports2, module2) {
11150
+ "node_modules/get-proto/Reflect.getPrototypeOf.js"(exports2, module2) {
11151
11151
  "use strict";
11152
11152
  module2.exports = typeof Reflect !== "undefined" && Reflect.getPrototypeOf || null;
11153
11153
  }
11154
11154
  });
11155
11155
 
11156
- // ../sdk/node_modules/get-proto/Object.getPrototypeOf.js
11156
+ // node_modules/get-proto/Object.getPrototypeOf.js
11157
11157
  var require_Object_getPrototypeOf = __commonJS({
11158
- "../sdk/node_modules/get-proto/Object.getPrototypeOf.js"(exports2, module2) {
11158
+ "node_modules/get-proto/Object.getPrototypeOf.js"(exports2, module2) {
11159
11159
  "use strict";
11160
11160
  var $Object = require_es_object_atoms();
11161
11161
  module2.exports = $Object.getPrototypeOf || null;
11162
11162
  }
11163
11163
  });
11164
11164
 
11165
- // ../sdk/node_modules/function-bind/implementation.js
11165
+ // node_modules/function-bind/implementation.js
11166
11166
  var require_implementation = __commonJS({
11167
- "../sdk/node_modules/function-bind/implementation.js"(exports2, module2) {
11167
+ "node_modules/function-bind/implementation.js"(exports2, module2) {
11168
11168
  "use strict";
11169
11169
  var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
11170
11170
  var toStr = Object.prototype.toString;
@@ -11238,42 +11238,42 @@ var require_implementation = __commonJS({
11238
11238
  }
11239
11239
  });
11240
11240
 
11241
- // ../sdk/node_modules/function-bind/index.js
11241
+ // node_modules/function-bind/index.js
11242
11242
  var require_function_bind = __commonJS({
11243
- "../sdk/node_modules/function-bind/index.js"(exports2, module2) {
11243
+ "node_modules/function-bind/index.js"(exports2, module2) {
11244
11244
  "use strict";
11245
11245
  var implementation = require_implementation();
11246
11246
  module2.exports = Function.prototype.bind || implementation;
11247
11247
  }
11248
11248
  });
11249
11249
 
11250
- // ../sdk/node_modules/call-bind-apply-helpers/functionCall.js
11250
+ // node_modules/call-bind-apply-helpers/functionCall.js
11251
11251
  var require_functionCall = __commonJS({
11252
- "../sdk/node_modules/call-bind-apply-helpers/functionCall.js"(exports2, module2) {
11252
+ "node_modules/call-bind-apply-helpers/functionCall.js"(exports2, module2) {
11253
11253
  "use strict";
11254
11254
  module2.exports = Function.prototype.call;
11255
11255
  }
11256
11256
  });
11257
11257
 
11258
- // ../sdk/node_modules/call-bind-apply-helpers/functionApply.js
11258
+ // node_modules/call-bind-apply-helpers/functionApply.js
11259
11259
  var require_functionApply = __commonJS({
11260
- "../sdk/node_modules/call-bind-apply-helpers/functionApply.js"(exports2, module2) {
11260
+ "node_modules/call-bind-apply-helpers/functionApply.js"(exports2, module2) {
11261
11261
  "use strict";
11262
11262
  module2.exports = Function.prototype.apply;
11263
11263
  }
11264
11264
  });
11265
11265
 
11266
- // ../sdk/node_modules/call-bind-apply-helpers/reflectApply.js
11266
+ // node_modules/call-bind-apply-helpers/reflectApply.js
11267
11267
  var require_reflectApply = __commonJS({
11268
- "../sdk/node_modules/call-bind-apply-helpers/reflectApply.js"(exports2, module2) {
11268
+ "node_modules/call-bind-apply-helpers/reflectApply.js"(exports2, module2) {
11269
11269
  "use strict";
11270
11270
  module2.exports = typeof Reflect !== "undefined" && Reflect && Reflect.apply;
11271
11271
  }
11272
11272
  });
11273
11273
 
11274
- // ../sdk/node_modules/call-bind-apply-helpers/actualApply.js
11274
+ // node_modules/call-bind-apply-helpers/actualApply.js
11275
11275
  var require_actualApply = __commonJS({
11276
- "../sdk/node_modules/call-bind-apply-helpers/actualApply.js"(exports2, module2) {
11276
+ "node_modules/call-bind-apply-helpers/actualApply.js"(exports2, module2) {
11277
11277
  "use strict";
11278
11278
  var bind2 = require_function_bind();
11279
11279
  var $apply = require_functionApply();
@@ -11283,9 +11283,9 @@ var require_actualApply = __commonJS({
11283
11283
  }
11284
11284
  });
11285
11285
 
11286
- // ../sdk/node_modules/call-bind-apply-helpers/index.js
11286
+ // node_modules/call-bind-apply-helpers/index.js
11287
11287
  var require_call_bind_apply_helpers = __commonJS({
11288
- "../sdk/node_modules/call-bind-apply-helpers/index.js"(exports2, module2) {
11288
+ "node_modules/call-bind-apply-helpers/index.js"(exports2, module2) {
11289
11289
  "use strict";
11290
11290
  var bind2 = require_function_bind();
11291
11291
  var $TypeError = require_type();
@@ -11300,9 +11300,9 @@ var require_call_bind_apply_helpers = __commonJS({
11300
11300
  }
11301
11301
  });
11302
11302
 
11303
- // ../sdk/node_modules/dunder-proto/get.js
11303
+ // node_modules/dunder-proto/get.js
11304
11304
  var require_get = __commonJS({
11305
- "../sdk/node_modules/dunder-proto/get.js"(exports2, module2) {
11305
+ "node_modules/dunder-proto/get.js"(exports2, module2) {
11306
11306
  "use strict";
11307
11307
  var callBind = require_call_bind_apply_helpers();
11308
11308
  var gOPD = require_gopd();
@@ -11331,9 +11331,9 @@ var require_get = __commonJS({
11331
11331
  }
11332
11332
  });
11333
11333
 
11334
- // ../sdk/node_modules/get-proto/index.js
11334
+ // node_modules/get-proto/index.js
11335
11335
  var require_get_proto = __commonJS({
11336
- "../sdk/node_modules/get-proto/index.js"(exports2, module2) {
11336
+ "node_modules/get-proto/index.js"(exports2, module2) {
11337
11337
  "use strict";
11338
11338
  var reflectGetProto = require_Reflect_getPrototypeOf();
11339
11339
  var originalGetProto = require_Object_getPrototypeOf();
@@ -11351,9 +11351,9 @@ var require_get_proto = __commonJS({
11351
11351
  }
11352
11352
  });
11353
11353
 
11354
- // ../sdk/node_modules/hasown/index.js
11354
+ // node_modules/hasown/index.js
11355
11355
  var require_hasown = __commonJS({
11356
- "../sdk/node_modules/hasown/index.js"(exports2, module2) {
11356
+ "node_modules/hasown/index.js"(exports2, module2) {
11357
11357
  "use strict";
11358
11358
  var call = Function.prototype.call;
11359
11359
  var $hasOwn = Object.prototype.hasOwnProperty;
@@ -11362,9 +11362,9 @@ var require_hasown = __commonJS({
11362
11362
  }
11363
11363
  });
11364
11364
 
11365
- // ../sdk/node_modules/get-intrinsic/index.js
11365
+ // node_modules/get-intrinsic/index.js
11366
11366
  var require_get_intrinsic = __commonJS({
11367
- "../sdk/node_modules/get-intrinsic/index.js"(exports2, module2) {
11367
+ "node_modules/get-intrinsic/index.js"(exports2, module2) {
11368
11368
  "use strict";
11369
11369
  var undefined2;
11370
11370
  var $Object = require_es_object_atoms();
@@ -11693,9 +11693,9 @@ var require_get_intrinsic = __commonJS({
11693
11693
  }
11694
11694
  });
11695
11695
 
11696
- // ../sdk/node_modules/has-tostringtag/shams.js
11696
+ // node_modules/has-tostringtag/shams.js
11697
11697
  var require_shams2 = __commonJS({
11698
- "../sdk/node_modules/has-tostringtag/shams.js"(exports2, module2) {
11698
+ "node_modules/has-tostringtag/shams.js"(exports2, module2) {
11699
11699
  "use strict";
11700
11700
  var hasSymbols = require_shams();
11701
11701
  module2.exports = function hasToStringTagShams() {
@@ -11704,9 +11704,9 @@ var require_shams2 = __commonJS({
11704
11704
  }
11705
11705
  });
11706
11706
 
11707
- // ../sdk/node_modules/es-set-tostringtag/index.js
11707
+ // node_modules/es-set-tostringtag/index.js
11708
11708
  var require_es_set_tostringtag = __commonJS({
11709
- "../sdk/node_modules/es-set-tostringtag/index.js"(exports2, module2) {
11709
+ "node_modules/es-set-tostringtag/index.js"(exports2, module2) {
11710
11710
  "use strict";
11711
11711
  var GetIntrinsic = require_get_intrinsic();
11712
11712
  var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
@@ -11736,9 +11736,9 @@ var require_es_set_tostringtag = __commonJS({
11736
11736
  }
11737
11737
  });
11738
11738
 
11739
- // ../sdk/node_modules/axios/node_modules/form-data/lib/populate.js
11739
+ // node_modules/axios/node_modules/form-data/lib/populate.js
11740
11740
  var require_populate = __commonJS({
11741
- "../sdk/node_modules/axios/node_modules/form-data/lib/populate.js"(exports2, module2) {
11741
+ "node_modules/axios/node_modules/form-data/lib/populate.js"(exports2, module2) {
11742
11742
  "use strict";
11743
11743
  module2.exports = function(dst, src) {
11744
11744
  Object.keys(src).forEach(function(prop) {
@@ -11749,9 +11749,9 @@ var require_populate = __commonJS({
11749
11749
  }
11750
11750
  });
11751
11751
 
11752
- // ../sdk/node_modules/axios/node_modules/form-data/lib/form_data.js
11752
+ // node_modules/axios/node_modules/form-data/lib/form_data.js
11753
11753
  var require_form_data = __commonJS({
11754
- "../sdk/node_modules/axios/node_modules/form-data/lib/form_data.js"(exports2, module2) {
11754
+ "node_modules/axios/node_modules/form-data/lib/form_data.js"(exports2, module2) {
11755
11755
  "use strict";
11756
11756
  var CombinedStream = require_combined_stream();
11757
11757
  var util4 = require("util");
@@ -12071,9 +12071,9 @@ var require_form_data = __commonJS({
12071
12071
  }
12072
12072
  });
12073
12073
 
12074
- // ../sdk/node_modules/ms/index.js
12074
+ // node_modules/ms/index.js
12075
12075
  var require_ms = __commonJS({
12076
- "../sdk/node_modules/ms/index.js"(exports2, module2) {
12076
+ "node_modules/ms/index.js"(exports2, module2) {
12077
12077
  "use strict";
12078
12078
  var s = 1e3;
12079
12079
  var m = s * 60;
@@ -12188,9 +12188,9 @@ var require_ms = __commonJS({
12188
12188
  }
12189
12189
  });
12190
12190
 
12191
- // ../sdk/node_modules/debug/src/common.js
12191
+ // node_modules/debug/src/common.js
12192
12192
  var require_common = __commonJS({
12193
- "../sdk/node_modules/debug/src/common.js"(exports2, module2) {
12193
+ "node_modules/debug/src/common.js"(exports2, module2) {
12194
12194
  "use strict";
12195
12195
  function setup(env) {
12196
12196
  createDebug.debug = createDebug;
@@ -12366,9 +12366,9 @@ var require_common = __commonJS({
12366
12366
  }
12367
12367
  });
12368
12368
 
12369
- // ../sdk/node_modules/debug/src/browser.js
12369
+ // node_modules/debug/src/browser.js
12370
12370
  var require_browser = __commonJS({
12371
- "../sdk/node_modules/debug/src/browser.js"(exports2, module2) {
12371
+ "node_modules/debug/src/browser.js"(exports2, module2) {
12372
12372
  "use strict";
12373
12373
  exports2.formatArgs = formatArgs;
12374
12374
  exports2.save = save;
@@ -12537,9 +12537,9 @@ var require_browser = __commonJS({
12537
12537
  }
12538
12538
  });
12539
12539
 
12540
- // ../sdk/node_modules/has-flag/index.js
12540
+ // node_modules/has-flag/index.js
12541
12541
  var require_has_flag = __commonJS({
12542
- "../sdk/node_modules/has-flag/index.js"(exports2, module2) {
12542
+ "node_modules/has-flag/index.js"(exports2, module2) {
12543
12543
  "use strict";
12544
12544
  module2.exports = (flag, argv = process.argv) => {
12545
12545
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
@@ -12550,9 +12550,9 @@ var require_has_flag = __commonJS({
12550
12550
  }
12551
12551
  });
12552
12552
 
12553
- // ../sdk/node_modules/supports-color/index.js
12553
+ // node_modules/supports-color/index.js
12554
12554
  var require_supports_color = __commonJS({
12555
- "../sdk/node_modules/supports-color/index.js"(exports2, module2) {
12555
+ "node_modules/supports-color/index.js"(exports2, module2) {
12556
12556
  "use strict";
12557
12557
  var os3 = require("os");
12558
12558
  var tty = require("tty");
@@ -12652,9 +12652,9 @@ var require_supports_color = __commonJS({
12652
12652
  }
12653
12653
  });
12654
12654
 
12655
- // ../sdk/node_modules/debug/src/node.js
12655
+ // node_modules/debug/src/node.js
12656
12656
  var require_node = __commonJS({
12657
- "../sdk/node_modules/debug/src/node.js"(exports2, module2) {
12657
+ "node_modules/debug/src/node.js"(exports2, module2) {
12658
12658
  "use strict";
12659
12659
  var tty = require("tty");
12660
12660
  var util4 = require("util");
@@ -12827,9 +12827,9 @@ var require_node = __commonJS({
12827
12827
  }
12828
12828
  });
12829
12829
 
12830
- // ../sdk/node_modules/debug/src/index.js
12830
+ // node_modules/debug/src/index.js
12831
12831
  var require_src2 = __commonJS({
12832
- "../sdk/node_modules/debug/src/index.js"(exports2, module2) {
12832
+ "node_modules/debug/src/index.js"(exports2, module2) {
12833
12833
  "use strict";
12834
12834
  if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
12835
12835
  module2.exports = require_browser();
@@ -12839,9 +12839,9 @@ var require_src2 = __commonJS({
12839
12839
  }
12840
12840
  });
12841
12841
 
12842
- // ../sdk/node_modules/agent-base/dist/src/promisify.js
12842
+ // node_modules/agent-base/dist/src/promisify.js
12843
12843
  var require_promisify = __commonJS({
12844
- "../sdk/node_modules/agent-base/dist/src/promisify.js"(exports2) {
12844
+ "node_modules/agent-base/dist/src/promisify.js"(exports2) {
12845
12845
  "use strict";
12846
12846
  Object.defineProperty(exports2, "__esModule", { value: true });
12847
12847
  function promisify(fn) {
@@ -12861,9 +12861,9 @@ var require_promisify = __commonJS({
12861
12861
  }
12862
12862
  });
12863
12863
 
12864
- // ../sdk/node_modules/agent-base/dist/src/index.js
12864
+ // node_modules/agent-base/dist/src/index.js
12865
12865
  var require_src3 = __commonJS({
12866
- "../sdk/node_modules/agent-base/dist/src/index.js"(exports2, module2) {
12866
+ "node_modules/agent-base/dist/src/index.js"(exports2, module2) {
12867
12867
  "use strict";
12868
12868
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
12869
12869
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -13044,9 +13044,9 @@ var require_src3 = __commonJS({
13044
13044
  }
13045
13045
  });
13046
13046
 
13047
- // ../sdk/node_modules/https-proxy-agent/dist/parse-proxy-response.js
13047
+ // node_modules/https-proxy-agent/dist/parse-proxy-response.js
13048
13048
  var require_parse_proxy_response = __commonJS({
13049
- "../sdk/node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports2) {
13049
+ "node_modules/https-proxy-agent/dist/parse-proxy-response.js"(exports2) {
13050
13050
  "use strict";
13051
13051
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
13052
13052
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -13110,9 +13110,9 @@ var require_parse_proxy_response = __commonJS({
13110
13110
  }
13111
13111
  });
13112
13112
 
13113
- // ../sdk/node_modules/https-proxy-agent/dist/agent.js
13113
+ // node_modules/https-proxy-agent/dist/agent.js
13114
13114
  var require_agent = __commonJS({
13115
- "../sdk/node_modules/https-proxy-agent/dist/agent.js"(exports2) {
13115
+ "node_modules/https-proxy-agent/dist/agent.js"(exports2) {
13116
13116
  "use strict";
13117
13117
  var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
13118
13118
  function adopt(value) {
@@ -13270,9 +13270,9 @@ var require_agent = __commonJS({
13270
13270
  }
13271
13271
  });
13272
13272
 
13273
- // ../sdk/node_modules/https-proxy-agent/dist/index.js
13273
+ // node_modules/https-proxy-agent/dist/index.js
13274
13274
  var require_dist2 = __commonJS({
13275
- "../sdk/node_modules/https-proxy-agent/dist/index.js"(exports2, module2) {
13275
+ "node_modules/https-proxy-agent/dist/index.js"(exports2, module2) {
13276
13276
  "use strict";
13277
13277
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
13278
13278
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -13289,9 +13289,9 @@ var require_dist2 = __commonJS({
13289
13289
  }
13290
13290
  });
13291
13291
 
13292
- // ../sdk/node_modules/follow-redirects/debug.js
13292
+ // node_modules/follow-redirects/debug.js
13293
13293
  var require_debug = __commonJS({
13294
- "../sdk/node_modules/follow-redirects/debug.js"(exports2, module2) {
13294
+ "node_modules/follow-redirects/debug.js"(exports2, module2) {
13295
13295
  "use strict";
13296
13296
  var debug;
13297
13297
  module2.exports = function() {
@@ -13310,9 +13310,9 @@ var require_debug = __commonJS({
13310
13310
  }
13311
13311
  });
13312
13312
 
13313
- // ../sdk/node_modules/follow-redirects/index.js
13313
+ // node_modules/follow-redirects/index.js
13314
13314
  var require_follow_redirects = __commonJS({
13315
- "../sdk/node_modules/follow-redirects/index.js"(exports2, module2) {
13315
+ "node_modules/follow-redirects/index.js"(exports2, module2) {
13316
13316
  "use strict";
13317
13317
  var url2 = require("url");
13318
13318
  var URL3 = url2.URL;
@@ -13822,9 +13822,9 @@ var require_follow_redirects = __commonJS({
13822
13822
  }
13823
13823
  });
13824
13824
 
13825
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/config.js
13825
+ // node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/config.js
13826
13826
  var require_config = __commonJS({
13827
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/config.js"(exports2) {
13827
+ "node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/config.js"(exports2) {
13828
13828
  "use strict";
13829
13829
  Object.defineProperty(exports2, "__esModule", { value: true });
13830
13830
  exports2.validateNetwork = validateNetwork;
@@ -13837,41 +13837,41 @@ var require_config = __commonJS({
13837
13837
  }
13838
13838
  });
13839
13839
 
13840
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/pkp-operations.js
13840
+ // node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/pkp-operations.js
13841
13841
  var require_pkp_operations = __commonJS({
13842
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/pkp-operations.js"(exports2) {
13842
+ "node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/pkp-operations.js"(exports2) {
13843
13843
  "use strict";
13844
13844
  Object.defineProperty(exports2, "__esModule", { value: true });
13845
13845
  }
13846
13846
  });
13847
13847
 
13848
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/lit-action-execution.js
13848
+ // node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/lit-action-execution.js
13849
13849
  var require_lit_action_execution = __commonJS({
13850
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/lit-action-execution.js"(exports2) {
13850
+ "node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/lit-action-execution.js"(exports2) {
13851
13851
  "use strict";
13852
13852
  Object.defineProperty(exports2, "__esModule", { value: true });
13853
13853
  }
13854
13854
  });
13855
13855
 
13856
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/lit-action-config.js
13856
+ // node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/lit-action-config.js
13857
13857
  var require_lit_action_config = __commonJS({
13858
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/lit-action-config.js"(exports2) {
13858
+ "node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/lit-action-config.js"(exports2) {
13859
13859
  "use strict";
13860
13860
  Object.defineProperty(exports2, "__esModule", { value: true });
13861
13861
  }
13862
13862
  });
13863
13863
 
13864
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/authentication.js
13864
+ // node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/authentication.js
13865
13865
  var require_authentication = __commonJS({
13866
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/authentication.js"(exports2) {
13866
+ "node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/chunks/authentication.js"(exports2) {
13867
13867
  "use strict";
13868
13868
  Object.defineProperty(exports2, "__esModule", { value: true });
13869
13869
  }
13870
13870
  });
13871
13871
 
13872
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/index.js
13872
+ // node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/index.js
13873
13873
  var require_interfaces = __commonJS({
13874
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/index.js"(exports2) {
13874
+ "node_modules/@gvnrdao/dh-lit-ops/dist/interfaces/index.js"(exports2) {
13875
13875
  "use strict";
13876
13876
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
13877
13877
  if (k2 === void 0) k2 = k;
@@ -13898,9 +13898,9 @@ var require_interfaces = __commonJS({
13898
13898
  }
13899
13899
  });
13900
13900
 
13901
- // ../sdk/node_modules/@gvnrdao/dh-lit-actions/pkg-dist/pkg-src/index.js
13901
+ // node_modules/@gvnrdao/dh-lit-actions/pkg-dist/pkg-src/index.js
13902
13902
  var require_pkg_src = __commonJS({
13903
- "../sdk/node_modules/@gvnrdao/dh-lit-actions/pkg-dist/pkg-src/index.js"(exports2, module2) {
13903
+ "node_modules/@gvnrdao/dh-lit-actions/pkg-dist/pkg-src/index.js"(exports2, module2) {
13904
13904
  "use strict";
13905
13905
  var __defProp3 = Object.defineProperty;
13906
13906
  var __getOwnPropDesc3 = Object.getOwnPropertyDescriptor;
@@ -14579,7 +14579,7 @@ var require_pkg_src = __commonJS({
14579
14579
  description: "Production Btc Transaction Signer",
14580
14580
  version: "1.1.1",
14581
14581
  deployed: true,
14582
- deployedAt: 1786113907707,
14582
+ deployedAt: 1786465606156,
14583
14583
  size: 67999,
14584
14584
  hash: "83f3644c68819215e05ba8db3225571354a009458fc1437f606df6cb9142d3f9"
14585
14585
  },
@@ -14592,7 +14592,7 @@ var require_pkg_src = __commonJS({
14592
14592
  description: "Production Ucd Mint Validator",
14593
14593
  version: "1.2.1",
14594
14594
  deployed: true,
14595
- deployedAt: 1786113908489,
14595
+ deployedAt: 1786465627201,
14596
14596
  size: 82739,
14597
14597
  hash: "2bdd9aebdaad58a43a4731d5b7284f2531b7a9caaf8caf5719d891c4ed33cb2e",
14598
14598
  validatorWalletAddress: "0x82DB9F515957aA380B596C6eA2Bd30CEF181f236",
@@ -14610,7 +14610,7 @@ var require_pkg_src = __commonJS({
14610
14610
  description: "Production Process Payment Validator",
14611
14611
  version: "1.2.1",
14612
14612
  deployed: true,
14613
- deployedAt: 1786113909138,
14613
+ deployedAt: 1786465654796,
14614
14614
  size: 78736,
14615
14615
  hash: "17191ecc9c009e0fa5ab52c876330beb2a9a75d30cccb92e7c0c04f169df088b",
14616
14616
  validatorWalletAddress: "0x82DB9F515957aA380B596C6eA2Bd30CEF181f236",
@@ -14628,7 +14628,7 @@ var require_pkg_src = __commonJS({
14628
14628
  description: "Production Extend Position Validator",
14629
14629
  version: "1.2.1",
14630
14630
  deployed: true,
14631
- deployedAt: 1786113909872,
14631
+ deployedAt: 1786465681874,
14632
14632
  size: 76515,
14633
14633
  hash: "1d4e085335af80f194a663a577876902c83015177e95906a0b461fa93bd5da08",
14634
14634
  validatorWalletAddress: "0x82DB9F515957aA380B596C6eA2Bd30CEF181f236",
@@ -14638,21 +14638,17 @@ var require_pkg_src = __commonJS({
14638
14638
  }
14639
14639
  },
14640
14640
  btcWithdrawal: {
14641
- cid: "QmZuR3qSBajutXfRd91ffpyFrRMgmaMh7fDEHRiQQF8Ljp",
14641
+ cid: "QmRYVoTTDxk2McvBqxSm9M7YcaBGdTqjnZGPX4Y191DaZh",
14642
14642
  authorizedCidHex: cidToHex(
14643
- "QmZuR3qSBajutXfRd91ffpyFrRMgmaMh7fDEHRiQQF8Ljp"
14643
+ "QmRYVoTTDxk2McvBqxSm9M7YcaBGdTqjnZGPX4Y191DaZh"
14644
14644
  ),
14645
14645
  name: "Btc Withdrawal",
14646
14646
  description: "Production Btc Withdrawal",
14647
- // Monotonic per action, NOT a shared release train — the EIP-1271 rotation
14648
- // stamped its cohort 1.2.1, but this action was already at 1.2.3 from the vout
14649
- // canonicalization fix. Reusing the cohort stamp made a newer CID read as older
14650
- // than the one it replaced, which a rotation ceremony would treat as a rollback.
14651
- version: "1.2.4",
14647
+ version: "1.2.7",
14652
14648
  deployed: true,
14653
- deployedAt: 1786113910531,
14654
- size: 95313,
14655
- hash: "ce12f11e3b5469953bc919586e4f3b8b5d594224b58b799dd9a3b60e3749559c",
14649
+ deployedAt: 1786446046614,
14650
+ size: 97456,
14651
+ hash: "3cae8250861832f91ee3c573abeb50ff27b9acd34148176071cbfbabb359fc91",
14656
14652
  validatorWalletAddress: "0x82DB9F515957aA380B596C6eA2Bd30CEF181f236",
14657
14653
  pkp: {
14658
14654
  publicKey: "0x043616787c5432415c24378c4ef48de2bcd6bb7b575b837e3cff09171802662da7105d79586c7659677a0ecbaddac4cce06cb2a11f69a16fa0c4d7002ac7d51a4d",
@@ -14764,19 +14760,17 @@ var require_pkg_src = __commonJS({
14764
14760
  hash: "03ee5be239c91c735d2c95db89a0d1b77e602cfc18af8eb64b3281fddcd90a72"
14765
14761
  },
14766
14762
  agentModuleExecutor: {
14767
- // Bound to the isolated Sepolia agent group 7 ("DH-Agent-Sepolia"), which
14768
- // holds this action and no PKPs until an agent is minted into it. NOT yet
14769
- // bound on mainnet — the Base `DH-Agent-Mainnet` group is created at rollout.
14770
- cid: "QmVgjGXUuxoGf8XyddW8a7btaazT9yEotpKoBgb65oPvcF",
14763
+ cid: "QmdhC18wF7PFGMQ8aThdPsEVSpuDewA27dFvbA3bG6kVDQ",
14771
14764
  authorizedCidHex: cidToHex(
14772
- "QmVgjGXUuxoGf8XyddW8a7btaazT9yEotpKoBgb65oPvcF"
14765
+ "QmdhC18wF7PFGMQ8aThdPsEVSpuDewA27dFvbA3bG6kVDQ"
14773
14766
  ),
14774
14767
  name: "Agent Module Executor",
14775
- description: "Capability gate for multi-sig Safe agent delegation: binds the agent PKP to the AgentDelegationRegistry record before signing (authorize | execute modes)",
14776
- version: "1.0.0",
14768
+ description: "Production Agent Module Executor",
14769
+ version: "1.1.1",
14777
14770
  deployed: true,
14778
- size: 11785,
14779
- hash: "fa294e164273c2158f9ef11a0ccfd735c343c0e3759fcb4b37e0f8a5d1ab0d29"
14771
+ deployedAt: 1786446108348,
14772
+ size: 11655,
14773
+ hash: "d4e2149f843d6c2699fc61114d54b268ba4ed2c46ebdaee1145e0f101ec2a1ec"
14780
14774
  },
14781
14775
  staleSpendRecoveryValidator: {
14782
14776
  cid: "QmXQWT8V4wjuvH8BbC7xrkYxsVu5AKfvfWcS7jnYfrexYm",
@@ -14805,7 +14799,7 @@ var require_pkg_src = __commonJS({
14805
14799
  description: "Production Btc Utxo Invalidator",
14806
14800
  version: "1.0.0",
14807
14801
  deployed: true,
14808
- deployedAt: 1786113911948,
14802
+ deployedAt: 1786465704240,
14809
14803
  size: 62553,
14810
14804
  hash: "1dcea2b49e545c423195be22e072dc5e3039ed1c95a8490b23505956029f5b33"
14811
14805
  }
@@ -18491,9 +18485,9 @@ ${auth.clientId}`;
18491
18485
  }
18492
18486
  });
18493
18487
 
18494
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/auth-manager.module.js
18488
+ // node_modules/@gvnrdao/dh-lit-ops/dist/modules/auth-manager.module.js
18495
18489
  var require_auth_manager_module = __commonJS({
18496
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/auth-manager.module.js"(exports2) {
18490
+ "node_modules/@gvnrdao/dh-lit-ops/dist/modules/auth-manager.module.js"(exports2) {
18497
18491
  "use strict";
18498
18492
  Object.defineProperty(exports2, "__esModule", { value: true });
18499
18493
  exports2.LitAuthManager = void 0;
@@ -18556,9 +18550,9 @@ var require_auth_manager_module = __commonJS({
18556
18550
  }
18557
18551
  });
18558
18552
 
18559
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/utils/connection-helpers.js
18553
+ // node_modules/@gvnrdao/dh-lit-ops/dist/utils/connection-helpers.js
18560
18554
  var require_connection_helpers = __commonJS({
18561
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/utils/connection-helpers.js"(exports2) {
18555
+ "node_modules/@gvnrdao/dh-lit-ops/dist/utils/connection-helpers.js"(exports2) {
18562
18556
  "use strict";
18563
18557
  Object.defineProperty(exports2, "__esModule", { value: true });
18564
18558
  exports2.DEFAULT_RETRY_CONFIG = void 0;
@@ -18777,9 +18771,9 @@ var require_connection_helpers = __commonJS({
18777
18771
  }
18778
18772
  });
18779
18773
 
18780
- // ../sdk/node_modules/axios/dist/node/axios.cjs
18774
+ // node_modules/axios/dist/node/axios.cjs
18781
18775
  var require_axios = __commonJS({
18782
- "../sdk/node_modules/axios/dist/node/axios.cjs"(exports2, module2) {
18776
+ "node_modules/axios/dist/node/axios.cjs"(exports2, module2) {
18783
18777
  "use strict";
18784
18778
  var FormData$1 = require_form_data();
18785
18779
  var crypto6 = require("crypto");
@@ -23560,9 +23554,9 @@ var require_axios = __commonJS({
23560
23554
  }
23561
23555
  });
23562
23556
 
23563
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/utils/fetch-lit-action-from-ipfs.js
23557
+ // node_modules/@gvnrdao/dh-lit-ops/dist/utils/fetch-lit-action-from-ipfs.js
23564
23558
  var require_fetch_lit_action_from_ipfs = __commonJS({
23565
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/utils/fetch-lit-action-from-ipfs.js"(exports2) {
23559
+ "node_modules/@gvnrdao/dh-lit-ops/dist/utils/fetch-lit-action-from-ipfs.js"(exports2) {
23566
23560
  "use strict";
23567
23561
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
23568
23562
  return mod && mod.__esModule ? mod : { "default": mod };
@@ -23623,9 +23617,9 @@ var require_fetch_lit_action_from_ipfs = __commonJS({
23623
23617
  }
23624
23618
  });
23625
23619
 
23626
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/action-executor.module.js
23620
+ // node_modules/@gvnrdao/dh-lit-ops/dist/modules/action-executor.module.js
23627
23621
  var require_action_executor_module = __commonJS({
23628
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/action-executor.module.js"(exports2) {
23622
+ "node_modules/@gvnrdao/dh-lit-ops/dist/modules/action-executor.module.js"(exports2) {
23629
23623
  "use strict";
23630
23624
  Object.defineProperty(exports2, "__esModule", { value: true });
23631
23625
  exports2.LitActionExecutor = void 0;
@@ -23856,9 +23850,9 @@ var require_action_executor_module = __commonJS({
23856
23850
  }
23857
23851
  });
23858
23852
 
23859
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-authorizer.module.js
23853
+ // node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-authorizer.module.js
23860
23854
  var require_pkp_authorizer_module = __commonJS({
23861
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-authorizer.module.js"(exports2) {
23855
+ "node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-authorizer.module.js"(exports2) {
23862
23856
  "use strict";
23863
23857
  Object.defineProperty(exports2, "__esModule", { value: true });
23864
23858
  exports2.PKPAuthorizerUtils = exports2.PKPAuthorizer = void 0;
@@ -23976,9 +23970,9 @@ var require_pkp_authorizer_module = __commonJS({
23976
23970
  }
23977
23971
  });
23978
23972
 
23979
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-manager.module.js
23973
+ // node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-manager.module.js
23980
23974
  var require_pkp_manager_module = __commonJS({
23981
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-manager.module.js"(exports2) {
23975
+ "node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-manager.module.js"(exports2) {
23982
23976
  "use strict";
23983
23977
  Object.defineProperty(exports2, "__esModule", { value: true });
23984
23978
  exports2.PKPManager = void 0;
@@ -24260,9 +24254,9 @@ var require_pkp_manager_module = __commonJS({
24260
24254
  }
24261
24255
  });
24262
24256
 
24263
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-minter.module.js
24257
+ // node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-minter.module.js
24264
24258
  var require_pkp_minter_module = __commonJS({
24265
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-minter.module.js"(exports2) {
24259
+ "node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-minter.module.js"(exports2) {
24266
24260
  "use strict";
24267
24261
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
24268
24262
  if (k2 === void 0) k2 = k;
@@ -25034,9 +25028,9 @@ var require_pkp_minter_module = __commonJS({
25034
25028
  }
25035
25029
  });
25036
25030
 
25037
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-signer.module.js
25031
+ // node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-signer.module.js
25038
25032
  var require_pkp_signer_module = __commonJS({
25039
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-signer.module.js"(exports2) {
25033
+ "node_modules/@gvnrdao/dh-lit-ops/dist/modules/pkp-signer.module.js"(exports2) {
25040
25034
  "use strict";
25041
25035
  Object.defineProperty(exports2, "__esModule", { value: true });
25042
25036
  exports2.PKPSigner = void 0;
@@ -25096,9 +25090,9 @@ var require_pkp_signer_module = __commonJS({
25096
25090
  }
25097
25091
  });
25098
25092
 
25099
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/utils/async-request.util.js
25093
+ // node_modules/@gvnrdao/dh-lit-ops/dist/utils/async-request.util.js
25100
25094
  var require_async_request_util = __commonJS({
25101
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/utils/async-request.util.js"(exports2) {
25095
+ "node_modules/@gvnrdao/dh-lit-ops/dist/utils/async-request.util.js"(exports2) {
25102
25096
  "use strict";
25103
25097
  Object.defineProperty(exports2, "__esModule", { value: true });
25104
25098
  exports2.asyncRequest = asyncRequest;
@@ -25196,9 +25190,9 @@ var require_async_request_util = __commonJS({
25196
25190
  }
25197
25191
  });
25198
25192
 
25199
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/utils/lit-core-lit-action-client.js
25193
+ // node_modules/@gvnrdao/dh-lit-ops/dist/utils/lit-core-lit-action-client.js
25200
25194
  var require_lit_core_lit_action_client = __commonJS({
25201
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/utils/lit-core-lit-action-client.js"(exports2) {
25195
+ "node_modules/@gvnrdao/dh-lit-ops/dist/utils/lit-core-lit-action-client.js"(exports2) {
25202
25196
  "use strict";
25203
25197
  Object.defineProperty(exports2, "__esModule", { value: true });
25204
25198
  exports2.normalizeCoreLitActionResult = normalizeCoreLitActionResult;
@@ -25327,9 +25321,9 @@ var require_lit_core_lit_action_client = __commonJS({
25327
25321
  }
25328
25322
  });
25329
25323
 
25330
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/lit-ops.module.js
25324
+ // node_modules/@gvnrdao/dh-lit-ops/dist/modules/lit-ops.module.js
25331
25325
  var require_lit_ops_module = __commonJS({
25332
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/lit-ops.module.js"(exports2) {
25326
+ "node_modules/@gvnrdao/dh-lit-ops/dist/modules/lit-ops.module.js"(exports2) {
25333
25327
  "use strict";
25334
25328
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
25335
25329
  if (k2 === void 0) k2 = k;
@@ -28197,7 +28191,7 @@ var require_lit_ops_module = __commonJS({
28197
28191
  }
28198
28192
  });
28199
28193
 
28200
- // ../sdk/node_modules/uuid/dist/esm-node/rng.js
28194
+ // node_modules/uuid/dist/esm-node/rng.js
28201
28195
  function rng() {
28202
28196
  if (poolPtr > rnds8Pool.length - 16) {
28203
28197
  import_crypto2.default.randomFillSync(rnds8Pool);
@@ -28207,7 +28201,7 @@ function rng() {
28207
28201
  }
28208
28202
  var import_crypto2, rnds8Pool, poolPtr;
28209
28203
  var init_rng = __esm({
28210
- "../sdk/node_modules/uuid/dist/esm-node/rng.js"() {
28204
+ "node_modules/uuid/dist/esm-node/rng.js"() {
28211
28205
  "use strict";
28212
28206
  import_crypto2 = __toESM(require("crypto"));
28213
28207
  rnds8Pool = new Uint8Array(256);
@@ -28215,29 +28209,29 @@ var init_rng = __esm({
28215
28209
  }
28216
28210
  });
28217
28211
 
28218
- // ../sdk/node_modules/uuid/dist/esm-node/regex.js
28212
+ // node_modules/uuid/dist/esm-node/regex.js
28219
28213
  var regex_default;
28220
28214
  var init_regex = __esm({
28221
- "../sdk/node_modules/uuid/dist/esm-node/regex.js"() {
28215
+ "node_modules/uuid/dist/esm-node/regex.js"() {
28222
28216
  "use strict";
28223
28217
  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;
28224
28218
  }
28225
28219
  });
28226
28220
 
28227
- // ../sdk/node_modules/uuid/dist/esm-node/validate.js
28221
+ // node_modules/uuid/dist/esm-node/validate.js
28228
28222
  function validate(uuid) {
28229
28223
  return typeof uuid === "string" && regex_default.test(uuid);
28230
28224
  }
28231
28225
  var validate_default;
28232
28226
  var init_validate = __esm({
28233
- "../sdk/node_modules/uuid/dist/esm-node/validate.js"() {
28227
+ "node_modules/uuid/dist/esm-node/validate.js"() {
28234
28228
  "use strict";
28235
28229
  init_regex();
28236
28230
  validate_default = validate;
28237
28231
  }
28238
28232
  });
28239
28233
 
28240
- // ../sdk/node_modules/uuid/dist/esm-node/stringify.js
28234
+ // node_modules/uuid/dist/esm-node/stringify.js
28241
28235
  function unsafeStringify(arr, offset = 0) {
28242
28236
  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]];
28243
28237
  }
@@ -28250,7 +28244,7 @@ function stringify(arr, offset = 0) {
28250
28244
  }
28251
28245
  var byteToHex, stringify_default;
28252
28246
  var init_stringify = __esm({
28253
- "../sdk/node_modules/uuid/dist/esm-node/stringify.js"() {
28247
+ "node_modules/uuid/dist/esm-node/stringify.js"() {
28254
28248
  "use strict";
28255
28249
  init_validate();
28256
28250
  byteToHex = [];
@@ -28261,7 +28255,7 @@ var init_stringify = __esm({
28261
28255
  }
28262
28256
  });
28263
28257
 
28264
- // ../sdk/node_modules/uuid/dist/esm-node/v1.js
28258
+ // node_modules/uuid/dist/esm-node/v1.js
28265
28259
  function v1(options, buf, offset) {
28266
28260
  let i = buf && offset || 0;
28267
28261
  const b = buf || new Array(16);
@@ -28312,7 +28306,7 @@ function v1(options, buf, offset) {
28312
28306
  }
28313
28307
  var _nodeId, _clockseq, _lastMSecs, _lastNSecs, v1_default;
28314
28308
  var init_v1 = __esm({
28315
- "../sdk/node_modules/uuid/dist/esm-node/v1.js"() {
28309
+ "node_modules/uuid/dist/esm-node/v1.js"() {
28316
28310
  "use strict";
28317
28311
  init_rng();
28318
28312
  init_stringify();
@@ -28322,7 +28316,7 @@ var init_v1 = __esm({
28322
28316
  }
28323
28317
  });
28324
28318
 
28325
- // ../sdk/node_modules/uuid/dist/esm-node/parse.js
28319
+ // node_modules/uuid/dist/esm-node/parse.js
28326
28320
  function parse(uuid) {
28327
28321
  if (!validate_default(uuid)) {
28328
28322
  throw TypeError("Invalid UUID");
@@ -28349,14 +28343,14 @@ function parse(uuid) {
28349
28343
  }
28350
28344
  var parse_default;
28351
28345
  var init_parse = __esm({
28352
- "../sdk/node_modules/uuid/dist/esm-node/parse.js"() {
28346
+ "node_modules/uuid/dist/esm-node/parse.js"() {
28353
28347
  "use strict";
28354
28348
  init_validate();
28355
28349
  parse_default = parse;
28356
28350
  }
28357
28351
  });
28358
28352
 
28359
- // ../sdk/node_modules/uuid/dist/esm-node/v35.js
28353
+ // node_modules/uuid/dist/esm-node/v35.js
28360
28354
  function stringToBytes(str) {
28361
28355
  str = unescape(encodeURIComponent(str));
28362
28356
  const bytes = [];
@@ -28402,7 +28396,7 @@ function v35(name, version2, hashfunc) {
28402
28396
  }
28403
28397
  var DNS, URL2;
28404
28398
  var init_v35 = __esm({
28405
- "../sdk/node_modules/uuid/dist/esm-node/v35.js"() {
28399
+ "node_modules/uuid/dist/esm-node/v35.js"() {
28406
28400
  "use strict";
28407
28401
  init_stringify();
28408
28402
  init_parse();
@@ -28411,7 +28405,7 @@ var init_v35 = __esm({
28411
28405
  }
28412
28406
  });
28413
28407
 
28414
- // ../sdk/node_modules/uuid/dist/esm-node/md5.js
28408
+ // node_modules/uuid/dist/esm-node/md5.js
28415
28409
  function md5(bytes) {
28416
28410
  if (Array.isArray(bytes)) {
28417
28411
  bytes = Buffer.from(bytes);
@@ -28422,17 +28416,17 @@ function md5(bytes) {
28422
28416
  }
28423
28417
  var import_crypto3, md5_default;
28424
28418
  var init_md5 = __esm({
28425
- "../sdk/node_modules/uuid/dist/esm-node/md5.js"() {
28419
+ "node_modules/uuid/dist/esm-node/md5.js"() {
28426
28420
  "use strict";
28427
28421
  import_crypto3 = __toESM(require("crypto"));
28428
28422
  md5_default = md5;
28429
28423
  }
28430
28424
  });
28431
28425
 
28432
- // ../sdk/node_modules/uuid/dist/esm-node/v3.js
28426
+ // node_modules/uuid/dist/esm-node/v3.js
28433
28427
  var v3, v3_default;
28434
28428
  var init_v3 = __esm({
28435
- "../sdk/node_modules/uuid/dist/esm-node/v3.js"() {
28429
+ "node_modules/uuid/dist/esm-node/v3.js"() {
28436
28430
  "use strict";
28437
28431
  init_v35();
28438
28432
  init_md5();
@@ -28441,10 +28435,10 @@ var init_v3 = __esm({
28441
28435
  }
28442
28436
  });
28443
28437
 
28444
- // ../sdk/node_modules/uuid/dist/esm-node/native.js
28438
+ // node_modules/uuid/dist/esm-node/native.js
28445
28439
  var import_crypto4, native_default;
28446
28440
  var init_native = __esm({
28447
- "../sdk/node_modules/uuid/dist/esm-node/native.js"() {
28441
+ "node_modules/uuid/dist/esm-node/native.js"() {
28448
28442
  "use strict";
28449
28443
  import_crypto4 = __toESM(require("crypto"));
28450
28444
  native_default = {
@@ -28453,7 +28447,7 @@ var init_native = __esm({
28453
28447
  }
28454
28448
  });
28455
28449
 
28456
- // ../sdk/node_modules/uuid/dist/esm-node/v4.js
28450
+ // node_modules/uuid/dist/esm-node/v4.js
28457
28451
  function v4(options, buf, offset) {
28458
28452
  if (native_default.randomUUID && !buf && !options) {
28459
28453
  return native_default.randomUUID();
@@ -28473,7 +28467,7 @@ function v4(options, buf, offset) {
28473
28467
  }
28474
28468
  var v4_default;
28475
28469
  var init_v4 = __esm({
28476
- "../sdk/node_modules/uuid/dist/esm-node/v4.js"() {
28470
+ "node_modules/uuid/dist/esm-node/v4.js"() {
28477
28471
  "use strict";
28478
28472
  init_native();
28479
28473
  init_rng();
@@ -28482,7 +28476,7 @@ var init_v4 = __esm({
28482
28476
  }
28483
28477
  });
28484
28478
 
28485
- // ../sdk/node_modules/uuid/dist/esm-node/sha1.js
28479
+ // node_modules/uuid/dist/esm-node/sha1.js
28486
28480
  function sha1(bytes) {
28487
28481
  if (Array.isArray(bytes)) {
28488
28482
  bytes = Buffer.from(bytes);
@@ -28493,17 +28487,17 @@ function sha1(bytes) {
28493
28487
  }
28494
28488
  var import_crypto5, sha1_default;
28495
28489
  var init_sha1 = __esm({
28496
- "../sdk/node_modules/uuid/dist/esm-node/sha1.js"() {
28490
+ "node_modules/uuid/dist/esm-node/sha1.js"() {
28497
28491
  "use strict";
28498
28492
  import_crypto5 = __toESM(require("crypto"));
28499
28493
  sha1_default = sha1;
28500
28494
  }
28501
28495
  });
28502
28496
 
28503
- // ../sdk/node_modules/uuid/dist/esm-node/v5.js
28497
+ // node_modules/uuid/dist/esm-node/v5.js
28504
28498
  var v5, v5_default;
28505
28499
  var init_v5 = __esm({
28506
- "../sdk/node_modules/uuid/dist/esm-node/v5.js"() {
28500
+ "node_modules/uuid/dist/esm-node/v5.js"() {
28507
28501
  "use strict";
28508
28502
  init_v35();
28509
28503
  init_sha1();
@@ -28512,16 +28506,16 @@ var init_v5 = __esm({
28512
28506
  }
28513
28507
  });
28514
28508
 
28515
- // ../sdk/node_modules/uuid/dist/esm-node/nil.js
28509
+ // node_modules/uuid/dist/esm-node/nil.js
28516
28510
  var nil_default;
28517
28511
  var init_nil = __esm({
28518
- "../sdk/node_modules/uuid/dist/esm-node/nil.js"() {
28512
+ "node_modules/uuid/dist/esm-node/nil.js"() {
28519
28513
  "use strict";
28520
28514
  nil_default = "00000000-0000-0000-0000-000000000000";
28521
28515
  }
28522
28516
  });
28523
28517
 
28524
- // ../sdk/node_modules/uuid/dist/esm-node/version.js
28518
+ // node_modules/uuid/dist/esm-node/version.js
28525
28519
  function version(uuid) {
28526
28520
  if (!validate_default(uuid)) {
28527
28521
  throw TypeError("Invalid UUID");
@@ -28530,14 +28524,14 @@ function version(uuid) {
28530
28524
  }
28531
28525
  var version_default;
28532
28526
  var init_version = __esm({
28533
- "../sdk/node_modules/uuid/dist/esm-node/version.js"() {
28527
+ "node_modules/uuid/dist/esm-node/version.js"() {
28534
28528
  "use strict";
28535
28529
  init_validate();
28536
28530
  version_default = version;
28537
28531
  }
28538
28532
  });
28539
28533
 
28540
- // ../sdk/node_modules/uuid/dist/esm-node/index.js
28534
+ // node_modules/uuid/dist/esm-node/index.js
28541
28535
  var esm_node_exports = {};
28542
28536
  __export(esm_node_exports, {
28543
28537
  NIL: () => nil_default,
@@ -28551,7 +28545,7 @@ __export(esm_node_exports, {
28551
28545
  version: () => version_default
28552
28546
  });
28553
28547
  var init_esm_node = __esm({
28554
- "../sdk/node_modules/uuid/dist/esm-node/index.js"() {
28548
+ "node_modules/uuid/dist/esm-node/index.js"() {
28555
28549
  "use strict";
28556
28550
  init_v1();
28557
28551
  init_v3();
@@ -28565,9 +28559,9 @@ var init_esm_node = __esm({
28565
28559
  }
28566
28560
  });
28567
28561
 
28568
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/ticket-manager.module.js
28562
+ // node_modules/@gvnrdao/dh-lit-ops/dist/modules/ticket-manager.module.js
28569
28563
  var require_ticket_manager_module = __commonJS({
28570
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/ticket-manager.module.js"(exports2) {
28564
+ "node_modules/@gvnrdao/dh-lit-ops/dist/modules/ticket-manager.module.js"(exports2) {
28571
28565
  "use strict";
28572
28566
  Object.defineProperty(exports2, "__esModule", { value: true });
28573
28567
  exports2.TicketManager = void 0;
@@ -28661,9 +28655,9 @@ var require_ticket_manager_module = __commonJS({
28661
28655
  }
28662
28656
  });
28663
28657
 
28664
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/task-queue.module.js
28658
+ // node_modules/@gvnrdao/dh-lit-ops/dist/modules/task-queue.module.js
28665
28659
  var require_task_queue_module = __commonJS({
28666
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/modules/task-queue.module.js"(exports2) {
28660
+ "node_modules/@gvnrdao/dh-lit-ops/dist/modules/task-queue.module.js"(exports2) {
28667
28661
  "use strict";
28668
28662
  Object.defineProperty(exports2, "__esModule", { value: true });
28669
28663
  exports2.TaskQueue = void 0;
@@ -28741,9 +28735,9 @@ var require_task_queue_module = __commonJS({
28741
28735
  }
28742
28736
  });
28743
28737
 
28744
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/utils/logging.js
28738
+ // node_modules/@gvnrdao/dh-lit-ops/dist/utils/logging.js
28745
28739
  var require_logging = __commonJS({
28746
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/utils/logging.js"(exports2) {
28740
+ "node_modules/@gvnrdao/dh-lit-ops/dist/utils/logging.js"(exports2) {
28747
28741
  "use strict";
28748
28742
  Object.defineProperty(exports2, "__esModule", { value: true });
28749
28743
  exports2.redactPositionIdForLog = redactPositionIdForLog;
@@ -28755,9 +28749,9 @@ var require_logging = __commonJS({
28755
28749
  }
28756
28750
  });
28757
28751
 
28758
- // ../sdk/node_modules/bn.js/lib/bn.js
28752
+ // node_modules/bn.js/lib/bn.js
28759
28753
  var require_bn = __commonJS({
28760
- "../sdk/node_modules/bn.js/lib/bn.js"(exports2, module2) {
28754
+ "node_modules/bn.js/lib/bn.js"(exports2, module2) {
28761
28755
  "use strict";
28762
28756
  (function(module3, exports3) {
28763
28757
  "use strict";
@@ -31656,9 +31650,9 @@ var require_bn = __commonJS({
31656
31650
  }
31657
31651
  });
31658
31652
 
31659
- // ../sdk/node_modules/elliptic/package.json
31653
+ // node_modules/elliptic/package.json
31660
31654
  var require_package = __commonJS({
31661
- "../sdk/node_modules/elliptic/package.json"(exports2, module2) {
31655
+ "node_modules/elliptic/package.json"(exports2, module2) {
31662
31656
  module2.exports = {
31663
31657
  name: "elliptic",
31664
31658
  version: "6.6.1",
@@ -31718,9 +31712,9 @@ var require_package = __commonJS({
31718
31712
  }
31719
31713
  });
31720
31714
 
31721
- // ../sdk/node_modules/elliptic/node_modules/bn.js/lib/bn.js
31715
+ // node_modules/elliptic/node_modules/bn.js/lib/bn.js
31722
31716
  var require_bn2 = __commonJS({
31723
- "../sdk/node_modules/elliptic/node_modules/bn.js/lib/bn.js"(exports2, module2) {
31717
+ "node_modules/elliptic/node_modules/bn.js/lib/bn.js"(exports2, module2) {
31724
31718
  "use strict";
31725
31719
  (function(module3, exports3) {
31726
31720
  "use strict";
@@ -34539,9 +34533,9 @@ var require_bn2 = __commonJS({
34539
34533
  }
34540
34534
  });
34541
34535
 
34542
- // ../sdk/node_modules/minimalistic-assert/index.js
34536
+ // node_modules/minimalistic-assert/index.js
34543
34537
  var require_minimalistic_assert = __commonJS({
34544
- "../sdk/node_modules/minimalistic-assert/index.js"(exports2, module2) {
34538
+ "node_modules/minimalistic-assert/index.js"(exports2, module2) {
34545
34539
  "use strict";
34546
34540
  module2.exports = assert;
34547
34541
  function assert(val, msg) {
@@ -34555,9 +34549,9 @@ var require_minimalistic_assert = __commonJS({
34555
34549
  }
34556
34550
  });
34557
34551
 
34558
- // ../sdk/node_modules/minimalistic-crypto-utils/lib/utils.js
34552
+ // node_modules/minimalistic-crypto-utils/lib/utils.js
34559
34553
  var require_utils2 = __commonJS({
34560
- "../sdk/node_modules/minimalistic-crypto-utils/lib/utils.js"(exports2) {
34554
+ "node_modules/minimalistic-crypto-utils/lib/utils.js"(exports2) {
34561
34555
  "use strict";
34562
34556
  var utils = exports2;
34563
34557
  function toArray2(msg, enc) {
@@ -34614,9 +34608,9 @@ var require_utils2 = __commonJS({
34614
34608
  }
34615
34609
  });
34616
34610
 
34617
- // ../sdk/node_modules/elliptic/lib/elliptic/utils.js
34611
+ // node_modules/elliptic/lib/elliptic/utils.js
34618
34612
  var require_utils3 = __commonJS({
34619
- "../sdk/node_modules/elliptic/lib/elliptic/utils.js"(exports2) {
34613
+ "node_modules/elliptic/lib/elliptic/utils.js"(exports2) {
34620
34614
  "use strict";
34621
34615
  var utils = exports2;
34622
34616
  var BN = require_bn2();
@@ -34720,9 +34714,9 @@ var require_utils3 = __commonJS({
34720
34714
  }
34721
34715
  });
34722
34716
 
34723
- // ../sdk/node_modules/brorand/index.js
34717
+ // node_modules/brorand/index.js
34724
34718
  var require_brorand = __commonJS({
34725
- "../sdk/node_modules/brorand/index.js"(exports2, module2) {
34719
+ "node_modules/brorand/index.js"(exports2, module2) {
34726
34720
  "use strict";
34727
34721
  var r;
34728
34722
  module2.exports = function rand(len) {
@@ -34778,9 +34772,9 @@ var require_brorand = __commonJS({
34778
34772
  }
34779
34773
  });
34780
34774
 
34781
- // ../sdk/node_modules/elliptic/lib/elliptic/curve/base.js
34775
+ // node_modules/elliptic/lib/elliptic/curve/base.js
34782
34776
  var require_base2 = __commonJS({
34783
- "../sdk/node_modules/elliptic/lib/elliptic/curve/base.js"(exports2, module2) {
34777
+ "node_modules/elliptic/lib/elliptic/curve/base.js"(exports2, module2) {
34784
34778
  "use strict";
34785
34779
  var BN = require_bn2();
34786
34780
  var utils = require_utils3();
@@ -35100,9 +35094,9 @@ var require_base2 = __commonJS({
35100
35094
  }
35101
35095
  });
35102
35096
 
35103
- // ../sdk/node_modules/inherits/inherits_browser.js
35097
+ // node_modules/inherits/inherits_browser.js
35104
35098
  var require_inherits_browser = __commonJS({
35105
- "../sdk/node_modules/inherits/inherits_browser.js"(exports2, module2) {
35099
+ "node_modules/inherits/inherits_browser.js"(exports2, module2) {
35106
35100
  "use strict";
35107
35101
  if (typeof Object.create === "function") {
35108
35102
  module2.exports = function inherits2(ctor, superCtor) {
@@ -35133,9 +35127,9 @@ var require_inherits_browser = __commonJS({
35133
35127
  }
35134
35128
  });
35135
35129
 
35136
- // ../sdk/node_modules/inherits/inherits.js
35130
+ // node_modules/inherits/inherits.js
35137
35131
  var require_inherits = __commonJS({
35138
- "../sdk/node_modules/inherits/inherits.js"(exports2, module2) {
35132
+ "node_modules/inherits/inherits.js"(exports2, module2) {
35139
35133
  "use strict";
35140
35134
  try {
35141
35135
  util4 = require("util");
@@ -35148,9 +35142,9 @@ var require_inherits = __commonJS({
35148
35142
  }
35149
35143
  });
35150
35144
 
35151
- // ../sdk/node_modules/elliptic/lib/elliptic/curve/short.js
35145
+ // node_modules/elliptic/lib/elliptic/curve/short.js
35152
35146
  var require_short = __commonJS({
35153
- "../sdk/node_modules/elliptic/lib/elliptic/curve/short.js"(exports2, module2) {
35147
+ "node_modules/elliptic/lib/elliptic/curve/short.js"(exports2, module2) {
35154
35148
  "use strict";
35155
35149
  var utils = require_utils3();
35156
35150
  var BN = require_bn2();
@@ -35846,9 +35840,9 @@ var require_short = __commonJS({
35846
35840
  }
35847
35841
  });
35848
35842
 
35849
- // ../sdk/node_modules/elliptic/lib/elliptic/curve/mont.js
35843
+ // node_modules/elliptic/lib/elliptic/curve/mont.js
35850
35844
  var require_mont = __commonJS({
35851
- "../sdk/node_modules/elliptic/lib/elliptic/curve/mont.js"(exports2, module2) {
35845
+ "node_modules/elliptic/lib/elliptic/curve/mont.js"(exports2, module2) {
35852
35846
  "use strict";
35853
35847
  var BN = require_bn2();
35854
35848
  var inherits2 = require_inherits();
@@ -35974,9 +35968,9 @@ var require_mont = __commonJS({
35974
35968
  }
35975
35969
  });
35976
35970
 
35977
- // ../sdk/node_modules/elliptic/lib/elliptic/curve/edwards.js
35971
+ // node_modules/elliptic/lib/elliptic/curve/edwards.js
35978
35972
  var require_edwards = __commonJS({
35979
- "../sdk/node_modules/elliptic/lib/elliptic/curve/edwards.js"(exports2, module2) {
35973
+ "node_modules/elliptic/lib/elliptic/curve/edwards.js"(exports2, module2) {
35980
35974
  "use strict";
35981
35975
  var utils = require_utils3();
35982
35976
  var BN = require_bn2();
@@ -36275,9 +36269,9 @@ var require_edwards = __commonJS({
36275
36269
  }
36276
36270
  });
36277
36271
 
36278
- // ../sdk/node_modules/elliptic/lib/elliptic/curve/index.js
36272
+ // node_modules/elliptic/lib/elliptic/curve/index.js
36279
36273
  var require_curve = __commonJS({
36280
- "../sdk/node_modules/elliptic/lib/elliptic/curve/index.js"(exports2) {
36274
+ "node_modules/elliptic/lib/elliptic/curve/index.js"(exports2) {
36281
36275
  "use strict";
36282
36276
  var curve = exports2;
36283
36277
  curve.base = require_base2();
@@ -36287,9 +36281,9 @@ var require_curve = __commonJS({
36287
36281
  }
36288
36282
  });
36289
36283
 
36290
- // ../sdk/node_modules/hash.js/lib/hash/utils.js
36284
+ // node_modules/hash.js/lib/hash/utils.js
36291
36285
  var require_utils4 = __commonJS({
36292
- "../sdk/node_modules/hash.js/lib/hash/utils.js"(exports2) {
36286
+ "node_modules/hash.js/lib/hash/utils.js"(exports2) {
36293
36287
  "use strict";
36294
36288
  var assert = require_minimalistic_assert();
36295
36289
  var inherits2 = require_inherits();
@@ -36532,9 +36526,9 @@ var require_utils4 = __commonJS({
36532
36526
  }
36533
36527
  });
36534
36528
 
36535
- // ../sdk/node_modules/hash.js/lib/hash/common.js
36529
+ // node_modules/hash.js/lib/hash/common.js
36536
36530
  var require_common2 = __commonJS({
36537
- "../sdk/node_modules/hash.js/lib/hash/common.js"(exports2) {
36531
+ "node_modules/hash.js/lib/hash/common.js"(exports2) {
36538
36532
  "use strict";
36539
36533
  var utils = require_utils4();
36540
36534
  var assert = require_minimalistic_assert();
@@ -36611,9 +36605,9 @@ var require_common2 = __commonJS({
36611
36605
  }
36612
36606
  });
36613
36607
 
36614
- // ../sdk/node_modules/hash.js/lib/hash/sha/common.js
36608
+ // node_modules/hash.js/lib/hash/sha/common.js
36615
36609
  var require_common3 = __commonJS({
36616
- "../sdk/node_modules/hash.js/lib/hash/sha/common.js"(exports2) {
36610
+ "node_modules/hash.js/lib/hash/sha/common.js"(exports2) {
36617
36611
  "use strict";
36618
36612
  var utils = require_utils4();
36619
36613
  var rotr32 = utils.rotr32;
@@ -36657,9 +36651,9 @@ var require_common3 = __commonJS({
36657
36651
  }
36658
36652
  });
36659
36653
 
36660
- // ../sdk/node_modules/hash.js/lib/hash/sha/1.js
36654
+ // node_modules/hash.js/lib/hash/sha/1.js
36661
36655
  var require__ = __commonJS({
36662
- "../sdk/node_modules/hash.js/lib/hash/sha/1.js"(exports2, module2) {
36656
+ "node_modules/hash.js/lib/hash/sha/1.js"(exports2, module2) {
36663
36657
  "use strict";
36664
36658
  var utils = require_utils4();
36665
36659
  var common = require_common2();
@@ -36729,9 +36723,9 @@ var require__ = __commonJS({
36729
36723
  }
36730
36724
  });
36731
36725
 
36732
- // ../sdk/node_modules/hash.js/lib/hash/sha/256.js
36726
+ // node_modules/hash.js/lib/hash/sha/256.js
36733
36727
  var require__2 = __commonJS({
36734
- "../sdk/node_modules/hash.js/lib/hash/sha/256.js"(exports2, module2) {
36728
+ "node_modules/hash.js/lib/hash/sha/256.js"(exports2, module2) {
36735
36729
  "use strict";
36736
36730
  var utils = require_utils4();
36737
36731
  var common = require_common2();
@@ -36881,9 +36875,9 @@ var require__2 = __commonJS({
36881
36875
  }
36882
36876
  });
36883
36877
 
36884
- // ../sdk/node_modules/hash.js/lib/hash/sha/224.js
36878
+ // node_modules/hash.js/lib/hash/sha/224.js
36885
36879
  var require__3 = __commonJS({
36886
- "../sdk/node_modules/hash.js/lib/hash/sha/224.js"(exports2, module2) {
36880
+ "node_modules/hash.js/lib/hash/sha/224.js"(exports2, module2) {
36887
36881
  "use strict";
36888
36882
  var utils = require_utils4();
36889
36883
  var SHA2562 = require__2();
@@ -36917,9 +36911,9 @@ var require__3 = __commonJS({
36917
36911
  }
36918
36912
  });
36919
36913
 
36920
- // ../sdk/node_modules/hash.js/lib/hash/sha/512.js
36914
+ // node_modules/hash.js/lib/hash/sha/512.js
36921
36915
  var require__4 = __commonJS({
36922
- "../sdk/node_modules/hash.js/lib/hash/sha/512.js"(exports2, module2) {
36916
+ "node_modules/hash.js/lib/hash/sha/512.js"(exports2, module2) {
36923
36917
  "use strict";
36924
36918
  var utils = require_utils4();
36925
36919
  var common = require_common2();
@@ -37356,9 +37350,9 @@ var require__4 = __commonJS({
37356
37350
  }
37357
37351
  });
37358
37352
 
37359
- // ../sdk/node_modules/hash.js/lib/hash/sha/384.js
37353
+ // node_modules/hash.js/lib/hash/sha/384.js
37360
37354
  var require__5 = __commonJS({
37361
- "../sdk/node_modules/hash.js/lib/hash/sha/384.js"(exports2, module2) {
37355
+ "node_modules/hash.js/lib/hash/sha/384.js"(exports2, module2) {
37362
37356
  "use strict";
37363
37357
  var utils = require_utils4();
37364
37358
  var SHA512 = require__4();
@@ -37400,9 +37394,9 @@ var require__5 = __commonJS({
37400
37394
  }
37401
37395
  });
37402
37396
 
37403
- // ../sdk/node_modules/hash.js/lib/hash/sha.js
37397
+ // node_modules/hash.js/lib/hash/sha.js
37404
37398
  var require_sha = __commonJS({
37405
- "../sdk/node_modules/hash.js/lib/hash/sha.js"(exports2) {
37399
+ "node_modules/hash.js/lib/hash/sha.js"(exports2) {
37406
37400
  "use strict";
37407
37401
  exports2.sha1 = require__();
37408
37402
  exports2.sha224 = require__3();
@@ -37412,9 +37406,9 @@ var require_sha = __commonJS({
37412
37406
  }
37413
37407
  });
37414
37408
 
37415
- // ../sdk/node_modules/hash.js/lib/hash/ripemd.js
37409
+ // node_modules/hash.js/lib/hash/ripemd.js
37416
37410
  var require_ripemd = __commonJS({
37417
- "../sdk/node_modules/hash.js/lib/hash/ripemd.js"(exports2) {
37411
+ "node_modules/hash.js/lib/hash/ripemd.js"(exports2) {
37418
37412
  "use strict";
37419
37413
  var utils = require_utils4();
37420
37414
  var common = require_common2();
@@ -37853,9 +37847,9 @@ var require_ripemd = __commonJS({
37853
37847
  }
37854
37848
  });
37855
37849
 
37856
- // ../sdk/node_modules/hash.js/lib/hash/hmac.js
37850
+ // node_modules/hash.js/lib/hash/hmac.js
37857
37851
  var require_hmac = __commonJS({
37858
- "../sdk/node_modules/hash.js/lib/hash/hmac.js"(exports2, module2) {
37852
+ "node_modules/hash.js/lib/hash/hmac.js"(exports2, module2) {
37859
37853
  "use strict";
37860
37854
  var utils = require_utils4();
37861
37855
  var assert = require_minimalistic_assert();
@@ -37894,9 +37888,9 @@ var require_hmac = __commonJS({
37894
37888
  }
37895
37889
  });
37896
37890
 
37897
- // ../sdk/node_modules/hash.js/lib/hash.js
37891
+ // node_modules/hash.js/lib/hash.js
37898
37892
  var require_hash = __commonJS({
37899
- "../sdk/node_modules/hash.js/lib/hash.js"(exports2) {
37893
+ "node_modules/hash.js/lib/hash.js"(exports2) {
37900
37894
  "use strict";
37901
37895
  var hash = exports2;
37902
37896
  hash.utils = require_utils4();
@@ -37913,9 +37907,9 @@ var require_hash = __commonJS({
37913
37907
  }
37914
37908
  });
37915
37909
 
37916
- // ../sdk/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js
37910
+ // node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js
37917
37911
  var require_secp256k1 = __commonJS({
37918
- "../sdk/node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js"(exports2, module2) {
37912
+ "node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js"(exports2, module2) {
37919
37913
  "use strict";
37920
37914
  module2.exports = {
37921
37915
  doubles: {
@@ -38700,9 +38694,9 @@ var require_secp256k1 = __commonJS({
38700
38694
  }
38701
38695
  });
38702
38696
 
38703
- // ../sdk/node_modules/elliptic/lib/elliptic/curves.js
38697
+ // node_modules/elliptic/lib/elliptic/curves.js
38704
38698
  var require_curves = __commonJS({
38705
- "../sdk/node_modules/elliptic/lib/elliptic/curves.js"(exports2) {
38699
+ "node_modules/elliptic/lib/elliptic/curves.js"(exports2) {
38706
38700
  "use strict";
38707
38701
  var curves = exports2;
38708
38702
  var hash = require_hash();
@@ -38876,9 +38870,9 @@ var require_curves = __commonJS({
38876
38870
  }
38877
38871
  });
38878
38872
 
38879
- // ../sdk/node_modules/hmac-drbg/lib/hmac-drbg.js
38873
+ // node_modules/hmac-drbg/lib/hmac-drbg.js
38880
38874
  var require_hmac_drbg = __commonJS({
38881
- "../sdk/node_modules/hmac-drbg/lib/hmac-drbg.js"(exports2, module2) {
38875
+ "node_modules/hmac-drbg/lib/hmac-drbg.js"(exports2, module2) {
38882
38876
  "use strict";
38883
38877
  var hash = require_hash();
38884
38878
  var utils = require_utils2();
@@ -38970,9 +38964,9 @@ var require_hmac_drbg = __commonJS({
38970
38964
  }
38971
38965
  });
38972
38966
 
38973
- // ../sdk/node_modules/elliptic/lib/elliptic/ec/key.js
38967
+ // node_modules/elliptic/lib/elliptic/ec/key.js
38974
38968
  var require_key = __commonJS({
38975
- "../sdk/node_modules/elliptic/lib/elliptic/ec/key.js"(exports2, module2) {
38969
+ "node_modules/elliptic/lib/elliptic/ec/key.js"(exports2, module2) {
38976
38970
  "use strict";
38977
38971
  var BN = require_bn2();
38978
38972
  var utils = require_utils3();
@@ -39064,9 +39058,9 @@ var require_key = __commonJS({
39064
39058
  }
39065
39059
  });
39066
39060
 
39067
- // ../sdk/node_modules/elliptic/lib/elliptic/ec/signature.js
39061
+ // node_modules/elliptic/lib/elliptic/ec/signature.js
39068
39062
  var require_signature = __commonJS({
39069
- "../sdk/node_modules/elliptic/lib/elliptic/ec/signature.js"(exports2, module2) {
39063
+ "node_modules/elliptic/lib/elliptic/ec/signature.js"(exports2, module2) {
39070
39064
  "use strict";
39071
39065
  var BN = require_bn2();
39072
39066
  var utils = require_utils3();
@@ -39219,9 +39213,9 @@ var require_signature = __commonJS({
39219
39213
  }
39220
39214
  });
39221
39215
 
39222
- // ../sdk/node_modules/elliptic/lib/elliptic/ec/index.js
39216
+ // node_modules/elliptic/lib/elliptic/ec/index.js
39223
39217
  var require_ec = __commonJS({
39224
- "../sdk/node_modules/elliptic/lib/elliptic/ec/index.js"(exports2, module2) {
39218
+ "node_modules/elliptic/lib/elliptic/ec/index.js"(exports2, module2) {
39225
39219
  "use strict";
39226
39220
  var BN = require_bn2();
39227
39221
  var HmacDRBG = require_hmac_drbg();
@@ -39426,9 +39420,9 @@ var require_ec = __commonJS({
39426
39420
  }
39427
39421
  });
39428
39422
 
39429
- // ../sdk/node_modules/elliptic/lib/elliptic/eddsa/key.js
39423
+ // node_modules/elliptic/lib/elliptic/eddsa/key.js
39430
39424
  var require_key2 = __commonJS({
39431
- "../sdk/node_modules/elliptic/lib/elliptic/eddsa/key.js"(exports2, module2) {
39425
+ "node_modules/elliptic/lib/elliptic/eddsa/key.js"(exports2, module2) {
39432
39426
  "use strict";
39433
39427
  var utils = require_utils3();
39434
39428
  var assert = utils.assert;
@@ -39500,9 +39494,9 @@ var require_key2 = __commonJS({
39500
39494
  }
39501
39495
  });
39502
39496
 
39503
- // ../sdk/node_modules/elliptic/lib/elliptic/eddsa/signature.js
39497
+ // node_modules/elliptic/lib/elliptic/eddsa/signature.js
39504
39498
  var require_signature2 = __commonJS({
39505
- "../sdk/node_modules/elliptic/lib/elliptic/eddsa/signature.js"(exports2, module2) {
39499
+ "node_modules/elliptic/lib/elliptic/eddsa/signature.js"(exports2, module2) {
39506
39500
  "use strict";
39507
39501
  var BN = require_bn2();
39508
39502
  var utils = require_utils3();
@@ -39550,9 +39544,9 @@ var require_signature2 = __commonJS({
39550
39544
  }
39551
39545
  });
39552
39546
 
39553
- // ../sdk/node_modules/elliptic/lib/elliptic/eddsa/index.js
39547
+ // node_modules/elliptic/lib/elliptic/eddsa/index.js
39554
39548
  var require_eddsa = __commonJS({
39555
- "../sdk/node_modules/elliptic/lib/elliptic/eddsa/index.js"(exports2, module2) {
39549
+ "node_modules/elliptic/lib/elliptic/eddsa/index.js"(exports2, module2) {
39556
39550
  "use strict";
39557
39551
  var hash = require_hash();
39558
39552
  var curves = require_curves();
@@ -39638,9 +39632,9 @@ var require_eddsa = __commonJS({
39638
39632
  }
39639
39633
  });
39640
39634
 
39641
- // ../sdk/node_modules/elliptic/lib/elliptic.js
39635
+ // node_modules/elliptic/lib/elliptic.js
39642
39636
  var require_elliptic = __commonJS({
39643
- "../sdk/node_modules/elliptic/lib/elliptic.js"(exports2) {
39637
+ "node_modules/elliptic/lib/elliptic.js"(exports2) {
39644
39638
  "use strict";
39645
39639
  var elliptic = exports2;
39646
39640
  elliptic.version = require_package().version;
@@ -39653,9 +39647,9 @@ var require_elliptic = __commonJS({
39653
39647
  }
39654
39648
  });
39655
39649
 
39656
- // ../sdk/node_modules/safe-buffer/index.js
39650
+ // node_modules/safe-buffer/index.js
39657
39651
  var require_safe_buffer = __commonJS({
39658
- "../sdk/node_modules/safe-buffer/index.js"(exports2, module2) {
39652
+ "node_modules/safe-buffer/index.js"(exports2, module2) {
39659
39653
  "use strict";
39660
39654
  var buffer = require("buffer");
39661
39655
  var Buffer2 = buffer.Buffer;
@@ -39712,9 +39706,9 @@ var require_safe_buffer = __commonJS({
39712
39706
  }
39713
39707
  });
39714
39708
 
39715
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/node_modules/bip66/index.js
39709
+ // node_modules/@gvnrdao/dh-lit-ops/node_modules/bip66/index.js
39716
39710
  var require_bip66 = __commonJS({
39717
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/node_modules/bip66/index.js"(exports2, module2) {
39711
+ "node_modules/@gvnrdao/dh-lit-ops/node_modules/bip66/index.js"(exports2, module2) {
39718
39712
  "use strict";
39719
39713
  var Buffer2 = require_safe_buffer().Buffer;
39720
39714
  function check(buffer) {
@@ -39788,9 +39782,9 @@ var require_bip66 = __commonJS({
39788
39782
  }
39789
39783
  });
39790
39784
 
39791
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/utils/bitcoin-signature.js
39785
+ // node_modules/@gvnrdao/dh-lit-ops/dist/utils/bitcoin-signature.js
39792
39786
  var require_bitcoin_signature = __commonJS({
39793
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/utils/bitcoin-signature.js"(exports2) {
39787
+ "node_modules/@gvnrdao/dh-lit-ops/dist/utils/bitcoin-signature.js"(exports2) {
39794
39788
  "use strict";
39795
39789
  Object.defineProperty(exports2, "__esModule", { value: true });
39796
39790
  exports2.convertEthereumSignatureToBitcoinDER = convertEthereumSignatureToBitcoinDER;
@@ -39838,9 +39832,9 @@ var require_bitcoin_signature = __commonJS({
39838
39832
  }
39839
39833
  });
39840
39834
 
39841
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/utils/bitcoin-broadcast.js
39835
+ // node_modules/@gvnrdao/dh-lit-ops/dist/utils/bitcoin-broadcast.js
39842
39836
  var require_bitcoin_broadcast = __commonJS({
39843
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/utils/bitcoin-broadcast.js"(exports2) {
39837
+ "node_modules/@gvnrdao/dh-lit-ops/dist/utils/bitcoin-broadcast.js"(exports2) {
39844
39838
  "use strict";
39845
39839
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
39846
39840
  if (k2 === void 0) k2 = k;
@@ -40029,9 +40023,9 @@ var require_bitcoin_broadcast = __commonJS({
40029
40023
  }
40030
40024
  });
40031
40025
 
40032
- // ../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/index.js
40026
+ // node_modules/@gvnrdao/dh-lit-ops/dist/index.js
40033
40027
  var require_dist3 = __commonJS({
40034
- "../sdk/node_modules/@gvnrdao/dh-lit-ops/dist/index.js"(exports2) {
40028
+ "node_modules/@gvnrdao/dh-lit-ops/dist/index.js"(exports2) {
40035
40029
  "use strict";
40036
40030
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? (function(o, m, k, k2) {
40037
40031
  if (k2 === void 0) k2 = k;
@@ -45192,7 +45186,7 @@ var SafeModuleCeremony = class {
45192
45186
  // src/boundary/upstream/real/plugin.ts
45193
45187
  var import_ethers39 = require("ethers");
45194
45188
 
45195
- // ../sdk/dist/index.mjs
45189
+ // node_modules/@gvnrdao/dh-sdk/dist/index.mjs
45196
45190
  var import_ethers14 = require("ethers");
45197
45191
  var import_ethers15 = require("ethers");
45198
45192
  var import_ethers16 = require("ethers");
@@ -45203,7 +45197,7 @@ var import_ethers20 = require("ethers");
45203
45197
  var import_ethers21 = require("ethers");
45204
45198
  var import_ethers22 = require("ethers");
45205
45199
 
45206
- // ../sdk/node_modules/@noble/hashes/esm/utils.js
45200
+ // node_modules/@noble/hashes/esm/utils.js
45207
45201
  function isBytes(a) {
45208
45202
  return a instanceof Uint8Array || ArrayBuffer.isView(a) && a.constructor.name === "Uint8Array";
45209
45203
  }
@@ -45262,7 +45256,7 @@ function createHasher(hashCons) {
45262
45256
  return hashC;
45263
45257
  }
45264
45258
 
45265
- // ../sdk/node_modules/@noble/hashes/esm/_md.js
45259
+ // node_modules/@noble/hashes/esm/_md.js
45266
45260
  function setBigUint64(view, byteOffset, value, isLE) {
45267
45261
  if (typeof view.setBigUint64 === "function")
45268
45262
  return view.setBigUint64(byteOffset, value, isLE);
@@ -45382,7 +45376,7 @@ var SHA256_IV = /* @__PURE__ */ Uint32Array.from([
45382
45376
  1541459225
45383
45377
  ]);
45384
45378
 
45385
- // ../sdk/node_modules/@noble/hashes/esm/sha2.js
45379
+ // node_modules/@noble/hashes/esm/sha2.js
45386
45380
  var SHA256_K = /* @__PURE__ */ Uint32Array.from([
45387
45381
  1116352408,
45388
45382
  1899447441,
@@ -45522,10 +45516,10 @@ var SHA256 = class extends HashMD {
45522
45516
  };
45523
45517
  var sha256 = /* @__PURE__ */ createHasher(() => new SHA256());
45524
45518
 
45525
- // ../sdk/node_modules/@noble/hashes/esm/sha256.js
45519
+ // node_modules/@noble/hashes/esm/sha256.js
45526
45520
  var sha2562 = sha256;
45527
45521
 
45528
- // ../sdk/node_modules/@noble/hashes/esm/legacy.js
45522
+ // node_modules/@noble/hashes/esm/legacy.js
45529
45523
  var Rho160 = /* @__PURE__ */ Uint8Array.from([
45530
45524
  7,
45531
45525
  4,
@@ -45643,10 +45637,10 @@ var RIPEMD160 = class extends HashMD {
45643
45637
  };
45644
45638
  var ripemd160 = /* @__PURE__ */ createHasher(() => new RIPEMD160());
45645
45639
 
45646
- // ../sdk/node_modules/@noble/hashes/esm/ripemd160.js
45640
+ // node_modules/@noble/hashes/esm/ripemd160.js
45647
45641
  var ripemd1602 = ripemd160;
45648
45642
 
45649
- // ../sdk/dist/index.mjs
45643
+ // node_modules/@gvnrdao/dh-sdk/dist/index.mjs
45650
45644
  var import_bech32 = __toESM(require_dist(), 1);
45651
45645
  var import_bs58check = __toESM(require_bs58check(), 1);
45652
45646
  var import_ethers23 = require("ethers");
@@ -45655,14 +45649,14 @@ var import_ethers25 = require("ethers");
45655
45649
  var import_ethers26 = require("ethers");
45656
45650
  var import_ethers27 = require("ethers");
45657
45651
 
45658
- // ../sdk/node_modules/axios/lib/helpers/bind.js
45652
+ // node_modules/axios/lib/helpers/bind.js
45659
45653
  function bind(fn, thisArg) {
45660
45654
  return function wrap() {
45661
45655
  return fn.apply(thisArg, arguments);
45662
45656
  };
45663
45657
  }
45664
45658
 
45665
- // ../sdk/node_modules/axios/lib/utils.js
45659
+ // node_modules/axios/lib/utils.js
45666
45660
  var { toString } = Object.prototype;
45667
45661
  var { getPrototypeOf } = Object;
45668
45662
  var { iterator, toStringTag } = Symbol;
@@ -46149,7 +46143,7 @@ var utils_default = {
46149
46143
  isSafeIterable
46150
46144
  };
46151
46145
 
46152
- // ../sdk/node_modules/axios/lib/helpers/parseHeaders.js
46146
+ // node_modules/axios/lib/helpers/parseHeaders.js
46153
46147
  var ignoreDuplicateOf = utils_default.toObjectSet([
46154
46148
  "age",
46155
46149
  "authorization",
@@ -46195,7 +46189,7 @@ var parseHeaders_default = (rawHeaders) => {
46195
46189
  return parsed;
46196
46190
  };
46197
46191
 
46198
- // ../sdk/node_modules/axios/lib/helpers/sanitizeHeaderValue.js
46192
+ // node_modules/axios/lib/helpers/sanitizeHeaderValue.js
46199
46193
  function trimSPorHTAB(str) {
46200
46194
  let start = 0;
46201
46195
  let end = str.length;
@@ -46233,7 +46227,7 @@ function toByteStringHeaderObject(headers) {
46233
46227
  return byteStringHeaders;
46234
46228
  }
46235
46229
 
46236
- // ../sdk/node_modules/axios/lib/core/AxiosHeaders.js
46230
+ // node_modules/axios/lib/core/AxiosHeaders.js
46237
46231
  var $internals = Symbol("internals");
46238
46232
  function normalizeHeader(header) {
46239
46233
  return header && String(header).trim().toLowerCase();
@@ -46566,7 +46560,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
46566
46560
  utils_default.freezeMethods(AxiosHeaders);
46567
46561
  var AxiosHeaders_default = AxiosHeaders;
46568
46562
 
46569
- // ../sdk/node_modules/axios/lib/core/AxiosError.js
46563
+ // node_modules/axios/lib/core/AxiosError.js
46570
46564
  var REDACTED = "[REDACTED ****]";
46571
46565
  function hasOwnOrPrototypeToJSON(source) {
46572
46566
  if (utils_default.hasOwnProp(source, "toJSON")) {
@@ -46728,11 +46722,11 @@ AxiosError.ERR_INVALID_URL = "ERR_INVALID_URL";
46728
46722
  AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
46729
46723
  var AxiosError_default = AxiosError;
46730
46724
 
46731
- // ../sdk/node_modules/axios/lib/platform/node/classes/FormData.js
46725
+ // node_modules/axios/lib/platform/node/classes/FormData.js
46732
46726
  var import_form_data = __toESM(require_form_data(), 1);
46733
46727
  var FormData_default = import_form_data.default;
46734
46728
 
46735
- // ../sdk/node_modules/axios/lib/platform/node/classes/Buffer.js
46729
+ // node_modules/axios/lib/platform/node/classes/Buffer.js
46736
46730
  var Buffer_default = {
46737
46731
  isBufferAvailable() {
46738
46732
  return typeof Buffer !== "undefined";
@@ -46742,7 +46736,7 @@ var Buffer_default = {
46742
46736
  }
46743
46737
  };
46744
46738
 
46745
- // ../sdk/node_modules/axios/lib/helpers/toFormData.js
46739
+ // node_modules/axios/lib/helpers/toFormData.js
46746
46740
  var DEFAULT_FORM_DATA_MAX_DEPTH = 100;
46747
46741
  function isVisitable(thing) {
46748
46742
  return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
@@ -46894,7 +46888,7 @@ function toFormData(obj, formData, options) {
46894
46888
  }
46895
46889
  var toFormData_default = toFormData;
46896
46890
 
46897
- // ../sdk/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
46891
+ // node_modules/axios/lib/helpers/AxiosURLSearchParams.js
46898
46892
  function encode(str) {
46899
46893
  const charMap = {
46900
46894
  "!": "%21",
@@ -46924,7 +46918,7 @@ prototype.toString = function toString2(encoder) {
46924
46918
  };
46925
46919
  var AxiosURLSearchParams_default = AxiosURLSearchParams;
46926
46920
 
46927
- // ../sdk/node_modules/axios/lib/helpers/buildURL.js
46921
+ // node_modules/axios/lib/helpers/buildURL.js
46928
46922
  function encode2(val) {
46929
46923
  return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
46930
46924
  }
@@ -46954,7 +46948,7 @@ function buildURL(url2, params, options) {
46954
46948
  return url2;
46955
46949
  }
46956
46950
 
46957
- // ../sdk/node_modules/axios/lib/core/InterceptorManager.js
46951
+ // node_modules/axios/lib/core/InterceptorManager.js
46958
46952
  var InterceptorManager = class {
46959
46953
  constructor() {
46960
46954
  this.handlers = [];
@@ -47019,7 +47013,7 @@ var InterceptorManager = class {
47019
47013
  };
47020
47014
  var InterceptorManager_default = InterceptorManager;
47021
47015
 
47022
- // ../sdk/node_modules/axios/lib/defaults/transitional.js
47016
+ // node_modules/axios/lib/defaults/transitional.js
47023
47017
  var transitional_default = {
47024
47018
  silentJSONParsing: true,
47025
47019
  forcedJSONParsing: true,
@@ -47029,14 +47023,14 @@ var transitional_default = {
47029
47023
  validateStatusUndefinedResolves: true
47030
47024
  };
47031
47025
 
47032
- // ../sdk/node_modules/axios/lib/platform/node/index.js
47026
+ // node_modules/axios/lib/platform/node/index.js
47033
47027
  var import_crypto = __toESM(require("crypto"), 1);
47034
47028
 
47035
- // ../sdk/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
47029
+ // node_modules/axios/lib/platform/node/classes/URLSearchParams.js
47036
47030
  var import_url = __toESM(require("url"), 1);
47037
47031
  var URLSearchParams_default = import_url.default.URLSearchParams;
47038
47032
 
47039
- // ../sdk/node_modules/axios/lib/platform/node/index.js
47033
+ // node_modules/axios/lib/platform/node/index.js
47040
47034
  var ALPHA = "abcdefghijklmnopqrstuvwxyz";
47041
47035
  var DIGIT = "0123456789";
47042
47036
  var ALPHABET = {
@@ -47066,7 +47060,7 @@ var node_default = {
47066
47060
  protocols: ["http", "https", "file", "data"]
47067
47061
  };
47068
47062
 
47069
- // ../sdk/node_modules/axios/lib/platform/common/utils.js
47063
+ // node_modules/axios/lib/platform/common/utils.js
47070
47064
  var utils_exports = {};
47071
47065
  __export(utils_exports, {
47072
47066
  hasBrowserEnv: () => hasBrowserEnv,
@@ -47084,13 +47078,13 @@ var hasStandardBrowserWebWorkerEnv = (() => {
47084
47078
  })();
47085
47079
  var origin = hasBrowserEnv && window.location.href || "http://localhost";
47086
47080
 
47087
- // ../sdk/node_modules/axios/lib/platform/index.js
47081
+ // node_modules/axios/lib/platform/index.js
47088
47082
  var platform_default = {
47089
47083
  ...utils_exports,
47090
47084
  ...node_default
47091
47085
  };
47092
47086
 
47093
- // ../sdk/node_modules/axios/lib/helpers/toURLEncodedForm.js
47087
+ // node_modules/axios/lib/helpers/toURLEncodedForm.js
47094
47088
  function toURLEncodedForm(data, options) {
47095
47089
  return toFormData_default(data, new platform_default.classes.URLSearchParams(), {
47096
47090
  visitor: function(value, key, path5, helpers) {
@@ -47104,7 +47098,7 @@ function toURLEncodedForm(data, options) {
47104
47098
  });
47105
47099
  }
47106
47100
 
47107
- // ../sdk/node_modules/axios/lib/helpers/formDataToJSON.js
47101
+ // node_modules/axios/lib/helpers/formDataToJSON.js
47108
47102
  var MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH;
47109
47103
  function throwIfDepthExceeded(index) {
47110
47104
  if (index > MAX_DEPTH) {
@@ -47172,7 +47166,7 @@ function formDataToJSON(formData) {
47172
47166
  }
47173
47167
  var formDataToJSON_default = formDataToJSON;
47174
47168
 
47175
- // ../sdk/node_modules/axios/lib/defaults/index.js
47169
+ // node_modules/axios/lib/defaults/index.js
47176
47170
  var own = (obj, key) => obj != null && utils_default.hasOwnProp(obj, key) ? obj[key] : void 0;
47177
47171
  function stringifySafely2(rawValue, parser, encoder) {
47178
47172
  if (utils_default.isString(rawValue)) {
@@ -47289,7 +47283,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch", "query"]
47289
47283
  });
47290
47284
  var defaults_default = defaults;
47291
47285
 
47292
- // ../sdk/node_modules/axios/lib/core/transformData.js
47286
+ // node_modules/axios/lib/core/transformData.js
47293
47287
  function transformData(fns, response) {
47294
47288
  const config = this || defaults_default;
47295
47289
  const context = response || config;
@@ -47302,12 +47296,12 @@ function transformData(fns, response) {
47302
47296
  return data;
47303
47297
  }
47304
47298
 
47305
- // ../sdk/node_modules/axios/lib/cancel/isCancel.js
47299
+ // node_modules/axios/lib/cancel/isCancel.js
47306
47300
  function isCancel(value) {
47307
47301
  return !!(value && value.__CANCEL__);
47308
47302
  }
47309
47303
 
47310
- // ../sdk/node_modules/axios/lib/cancel/CanceledError.js
47304
+ // node_modules/axios/lib/cancel/CanceledError.js
47311
47305
  var CanceledError = class extends AxiosError_default {
47312
47306
  /**
47313
47307
  * A `CanceledError` is an object that is thrown when an operation is canceled.
@@ -47326,7 +47320,7 @@ var CanceledError = class extends AxiosError_default {
47326
47320
  };
47327
47321
  var CanceledError_default = CanceledError;
47328
47322
 
47329
- // ../sdk/node_modules/axios/lib/core/settle.js
47323
+ // node_modules/axios/lib/core/settle.js
47330
47324
  function settle(resolve, reject, response) {
47331
47325
  const validateStatus2 = response.config.validateStatus;
47332
47326
  if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
@@ -47342,7 +47336,7 @@ function settle(resolve, reject, response) {
47342
47336
  }
47343
47337
  }
47344
47338
 
47345
- // ../sdk/node_modules/axios/lib/helpers/isAbsoluteURL.js
47339
+ // node_modules/axios/lib/helpers/isAbsoluteURL.js
47346
47340
  function isAbsoluteURL(url2) {
47347
47341
  if (typeof url2 !== "string") {
47348
47342
  return false;
@@ -47350,7 +47344,7 @@ function isAbsoluteURL(url2) {
47350
47344
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
47351
47345
  }
47352
47346
 
47353
- // ../sdk/node_modules/axios/lib/helpers/combineURLs.js
47347
+ // node_modules/axios/lib/helpers/combineURLs.js
47354
47348
  function combineURLs(baseURL, relativeURL) {
47355
47349
  if (!relativeURL) {
47356
47350
  return baseURL;
@@ -47362,7 +47356,7 @@ function combineURLs(baseURL, relativeURL) {
47362
47356
  return baseURL.slice(0, end) + "/" + relativeURL.replace(/^\/+/, "");
47363
47357
  }
47364
47358
 
47365
- // ../sdk/node_modules/axios/lib/core/buildFullPath.js
47359
+ // node_modules/axios/lib/core/buildFullPath.js
47366
47360
  var malformedHttpProtocol = /^https?:(?!\/\/)/i;
47367
47361
  var httpProtocolControlCharacters = /[\t\n\r]/g;
47368
47362
  function stripLeadingC0ControlOrSpace(url2) {
@@ -47418,7 +47412,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {
47418
47412
  return requestedURL;
47419
47413
  }
47420
47414
 
47421
- // ../sdk/node_modules/proxy-from-env/index.js
47415
+ // node_modules/proxy-from-env/index.js
47422
47416
  var DEFAULT_PORTS = {
47423
47417
  ftp: 21,
47424
47418
  gopher: 70,
@@ -47485,7 +47479,7 @@ function getEnv(key) {
47485
47479
  return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || "";
47486
47480
  }
47487
47481
 
47488
- // ../sdk/node_modules/axios/lib/adapters/http.js
47482
+ // node_modules/axios/lib/adapters/http.js
47489
47483
  var import_https_proxy_agent = __toESM(require_dist2(), 1);
47490
47484
  var import_http = __toESM(require("http"), 1);
47491
47485
  var import_https = __toESM(require("https"), 1);
@@ -47495,16 +47489,16 @@ var import_path = require("path");
47495
47489
  var import_follow_redirects = __toESM(require_follow_redirects(), 1);
47496
47490
  var import_zlib = __toESM(require("zlib"), 1);
47497
47491
 
47498
- // ../sdk/node_modules/axios/lib/env/data.js
47492
+ // node_modules/axios/lib/env/data.js
47499
47493
  var VERSION = "1.19.0";
47500
47494
 
47501
- // ../sdk/node_modules/axios/lib/helpers/parseProtocol.js
47495
+ // node_modules/axios/lib/helpers/parseProtocol.js
47502
47496
  function parseProtocol(url2) {
47503
47497
  const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url2);
47504
47498
  return match && match[1] || "";
47505
47499
  }
47506
47500
 
47507
- // ../sdk/node_modules/axios/lib/helpers/fromDataURI.js
47501
+ // node_modules/axios/lib/helpers/fromDataURI.js
47508
47502
  var DATA_URL_PATTERN = /^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;
47509
47503
  function fromDataURI(uri, asBlob, options) {
47510
47504
  const _Blob = options && options.Blob || platform_default.classes.Blob;
@@ -47540,10 +47534,10 @@ function fromDataURI(uri, asBlob, options) {
47540
47534
  throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
47541
47535
  }
47542
47536
 
47543
- // ../sdk/node_modules/axios/lib/adapters/http.js
47537
+ // node_modules/axios/lib/adapters/http.js
47544
47538
  var import_stream4 = __toESM(require("stream"), 1);
47545
47539
 
47546
- // ../sdk/node_modules/axios/lib/core/setFormDataHeaders.js
47540
+ // node_modules/axios/lib/core/setFormDataHeaders.js
47547
47541
  var FORM_DATA_CONTENT_HEADERS = ["content-type", "content-length"];
47548
47542
  function setFormDataHeaders(headers, formHeaders, policy) {
47549
47543
  if (policy !== "content-only") {
@@ -47557,7 +47551,7 @@ function setFormDataHeaders(headers, formHeaders, policy) {
47557
47551
  });
47558
47552
  }
47559
47553
 
47560
- // ../sdk/node_modules/axios/lib/helpers/AxiosTransformStream.js
47554
+ // node_modules/axios/lib/helpers/AxiosTransformStream.js
47561
47555
  var import_stream = __toESM(require("stream"), 1);
47562
47556
  var kInternals = Symbol("internals");
47563
47557
  var AxiosTransformStream = class extends import_stream.default.Transform {
@@ -47680,14 +47674,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
47680
47674
  };
47681
47675
  var AxiosTransformStream_default = AxiosTransformStream;
47682
47676
 
47683
- // ../sdk/node_modules/axios/lib/adapters/http.js
47677
+ // node_modules/axios/lib/adapters/http.js
47684
47678
  var import_events = require("events");
47685
47679
 
47686
- // ../sdk/node_modules/axios/lib/helpers/formDataToStream.js
47680
+ // node_modules/axios/lib/helpers/formDataToStream.js
47687
47681
  var import_util = __toESM(require("util"), 1);
47688
47682
  var import_stream2 = require("stream");
47689
47683
 
47690
- // ../sdk/node_modules/axios/lib/helpers/readBlob.js
47684
+ // node_modules/axios/lib/helpers/readBlob.js
47691
47685
  var { asyncIterator } = Symbol;
47692
47686
  var readBlob = async function* (blob) {
47693
47687
  if (blob.stream) {
@@ -47702,7 +47696,7 @@ var readBlob = async function* (blob) {
47702
47696
  };
47703
47697
  var readBlob_default = readBlob;
47704
47698
 
47705
- // ../sdk/node_modules/axios/lib/helpers/formDataToStream.js
47699
+ // node_modules/axios/lib/helpers/formDataToStream.js
47706
47700
  var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
47707
47701
  var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
47708
47702
  var CRLF = "\r\n";
@@ -47787,7 +47781,7 @@ var formDataToStream = (form, headersHandler, options) => {
47787
47781
  };
47788
47782
  var formDataToStream_default = formDataToStream;
47789
47783
 
47790
- // ../sdk/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
47784
+ // node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
47791
47785
  var import_stream3 = __toESM(require("stream"), 1);
47792
47786
  var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
47793
47787
  __transform(chunk, encoding, callback) {
@@ -47809,7 +47803,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
47809
47803
  };
47810
47804
  var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
47811
47805
 
47812
- // ../sdk/node_modules/axios/lib/helpers/Http2Sessions.js
47806
+ // node_modules/axios/lib/helpers/Http2Sessions.js
47813
47807
  var import_http2 = __toESM(require("http2"), 1);
47814
47808
  var import_util2 = __toESM(require("util"), 1);
47815
47809
  var Http2Sessions = class {
@@ -47890,7 +47884,7 @@ var Http2Sessions = class {
47890
47884
  };
47891
47885
  var Http2Sessions_default = Http2Sessions;
47892
47886
 
47893
- // ../sdk/node_modules/axios/lib/helpers/callbackify.js
47887
+ // node_modules/axios/lib/helpers/callbackify.js
47894
47888
  var callbackify = (fn, reducer) => {
47895
47889
  return utils_default.isAsyncFn(fn) ? function(...args) {
47896
47890
  const cb = args.pop();
@@ -47905,7 +47899,7 @@ var callbackify = (fn, reducer) => {
47905
47899
  };
47906
47900
  var callbackify_default = callbackify;
47907
47901
 
47908
- // ../sdk/node_modules/axios/lib/helpers/shouldBypassProxy.js
47902
+ // node_modules/axios/lib/helpers/shouldBypassProxy.js
47909
47903
  var LOOPBACK_HOSTNAMES = /* @__PURE__ */ new Set(["localhost", "0.0.0.0"]);
47910
47904
  var isIPv4Loopback = (host) => {
47911
47905
  const parts = host.split(".");
@@ -48106,7 +48100,7 @@ function shouldBypassProxy(location) {
48106
48100
  });
48107
48101
  }
48108
48102
 
48109
- // ../sdk/node_modules/axios/lib/helpers/speedometer.js
48103
+ // node_modules/axios/lib/helpers/speedometer.js
48110
48104
  function speedometer(samplesCount, min) {
48111
48105
  samplesCount = samplesCount || 10;
48112
48106
  const bytes = new Array(samplesCount);
@@ -48142,7 +48136,7 @@ function speedometer(samplesCount, min) {
48142
48136
  }
48143
48137
  var speedometer_default = speedometer;
48144
48138
 
48145
- // ../sdk/node_modules/axios/lib/helpers/throttle.js
48139
+ // node_modules/axios/lib/helpers/throttle.js
48146
48140
  function throttle(fn, freq) {
48147
48141
  let timestamp = 0;
48148
48142
  let threshold = 1e3 / freq;
@@ -48177,7 +48171,7 @@ function throttle(fn, freq) {
48177
48171
  }
48178
48172
  var throttle_default = throttle;
48179
48173
 
48180
- // ../sdk/node_modules/axios/lib/helpers/progressEventReducer.js
48174
+ // node_modules/axios/lib/helpers/progressEventReducer.js
48181
48175
  var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
48182
48176
  let bytesNotified = 0;
48183
48177
  const _speedometer = speedometer_default(50, 250);
@@ -48218,7 +48212,7 @@ var progressEventDecorator = (total, throttled) => {
48218
48212
  };
48219
48213
  var asyncDecorator = (fn, scheduler = utils_default.asap) => (...args) => scheduler(() => fn(...args));
48220
48214
 
48221
- // ../sdk/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
48215
+ // node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
48222
48216
  var isHexDigit = (charCode) => charCode >= 48 && charCode <= 57 || charCode >= 65 && charCode <= 70 || charCode >= 97 && charCode <= 102;
48223
48217
  var isPercentEncodedByte = (str, i, len) => i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2));
48224
48218
  var hexValue = (charCode) => charCode <= 57 ? charCode - 48 : (charCode & 223) - 55;
@@ -48321,7 +48315,7 @@ function estimateDataURLBufferAllocation(url2) {
48321
48315
  return estimateDataURLBytes(url2, estimateBase64BufferAllocation);
48322
48316
  }
48323
48317
 
48324
- // ../sdk/node_modules/axios/lib/adapters/http.js
48318
+ // node_modules/axios/lib/adapters/http.js
48325
48319
  var zlibOptions = {
48326
48320
  flush: import_zlib.default.constants.Z_SYNC_FLUSH,
48327
48321
  finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
@@ -49283,7 +49277,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
49283
49277
  });
49284
49278
  };
49285
49279
 
49286
- // ../sdk/node_modules/axios/lib/helpers/isURLSameOrigin.js
49280
+ // node_modules/axios/lib/helpers/isURLSameOrigin.js
49287
49281
  var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PURE__ */ ((origin2, isMSIE) => (url2) => {
49288
49282
  url2 = new URL(url2, platform_default.origin);
49289
49283
  return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
@@ -49292,7 +49286,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PUR
49292
49286
  platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
49293
49287
  ) : () => true;
49294
49288
 
49295
- // ../sdk/node_modules/axios/lib/helpers/cookies.js
49289
+ // node_modules/axios/lib/helpers/cookies.js
49296
49290
  var cookies_default = platform_default.hasStandardBrowserEnv ? (
49297
49291
  // Standard browser envs support document.cookie
49298
49292
  {
@@ -49349,7 +49343,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
49349
49343
  }
49350
49344
  );
49351
49345
 
49352
- // ../sdk/node_modules/axios/lib/core/mergeConfig.js
49346
+ // node_modules/axios/lib/core/mergeConfig.js
49353
49347
  var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? { ...thing } : thing;
49354
49348
  var ownEnumerableKeys = (thing) => {
49355
49349
  if (Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor) {
@@ -49477,7 +49471,7 @@ function mergeConfig(config1, config2) {
49477
49471
  return config;
49478
49472
  }
49479
49473
 
49480
- // ../sdk/node_modules/axios/lib/helpers/resolveConfig.js
49474
+ // node_modules/axios/lib/helpers/resolveConfig.js
49481
49475
  var encodeUTF8 = (str) => encodeURIComponent(str).replace(
49482
49476
  /%([0-9A-F]{2})/gi,
49483
49477
  (_, hex) => String.fromCharCode(parseInt(hex, 16))
@@ -49535,7 +49529,7 @@ function resolveConfig(config) {
49535
49529
  }
49536
49530
  var resolveConfig_default = resolveConfig;
49537
49531
 
49538
- // ../sdk/node_modules/axios/lib/adapters/xhr.js
49532
+ // node_modules/axios/lib/adapters/xhr.js
49539
49533
  var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
49540
49534
  var xhr_default = isXHRAdapterSupported && function(config) {
49541
49535
  return new Promise(function dispatchXhrRequest(resolve, reject) {
@@ -49682,7 +49676,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
49682
49676
  });
49683
49677
  };
49684
49678
 
49685
- // ../sdk/node_modules/axios/lib/helpers/composeSignals.js
49679
+ // node_modules/axios/lib/helpers/composeSignals.js
49686
49680
  var composeSignals = (signals, timeout) => {
49687
49681
  signals = signals ? signals.filter(Boolean) : [];
49688
49682
  if (!timeout && !signals.length) {
@@ -49731,7 +49725,7 @@ var composeSignals = (signals, timeout) => {
49731
49725
  };
49732
49726
  var composeSignals_default = composeSignals;
49733
49727
 
49734
- // ../sdk/node_modules/axios/lib/helpers/trackStream.js
49728
+ // node_modules/axios/lib/helpers/trackStream.js
49735
49729
  var streamChunk = function* (chunk, chunkSize) {
49736
49730
  let len = chunk.byteLength;
49737
49731
  if (!chunkSize || len < chunkSize) {
@@ -49811,7 +49805,7 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
49811
49805
  );
49812
49806
  };
49813
49807
 
49814
- // ../sdk/node_modules/axios/lib/adapters/fetch.js
49808
+ // node_modules/axios/lib/adapters/fetch.js
49815
49809
  var DEFAULT_CHUNK_SIZE = 64 * 1024;
49816
49810
  var { isFunction: isFunction2 } = utils_default;
49817
49811
  var encodeUTF82 = (str) => encodeURIComponent(str).replace(
@@ -50228,7 +50222,7 @@ var getFetch = (config) => {
50228
50222
  };
50229
50223
  var adapter = getFetch();
50230
50224
 
50231
- // ../sdk/node_modules/axios/lib/adapters/adapters.js
50225
+ // node_modules/axios/lib/adapters/adapters.js
50232
50226
  var knownAdapters = {
50233
50227
  http: http_default,
50234
50228
  xhr: xhr_default,
@@ -50293,7 +50287,7 @@ var adapters_default = {
50293
50287
  adapters: knownAdapters
50294
50288
  };
50295
50289
 
50296
- // ../sdk/node_modules/axios/lib/core/dispatchRequest.js
50290
+ // node_modules/axios/lib/core/dispatchRequest.js
50297
50291
  function throwIfCancellationRequested(config) {
50298
50292
  if (config.cancelToken) {
50299
50293
  config.cancelToken.throwIfRequested();
@@ -50344,7 +50338,7 @@ function dispatchRequest(config) {
50344
50338
  );
50345
50339
  }
50346
50340
 
50347
- // ../sdk/node_modules/axios/lib/helpers/validator.js
50341
+ // node_modules/axios/lib/helpers/validator.js
50348
50342
  var validators = {};
50349
50343
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
50350
50344
  validators[type] = function validator(thing) {
@@ -50411,7 +50405,7 @@ var validator_default = {
50411
50405
  validators
50412
50406
  };
50413
50407
 
50414
- // ../sdk/node_modules/axios/lib/core/Axios.js
50408
+ // node_modules/axios/lib/core/Axios.js
50415
50409
  var validators2 = validator_default.validators;
50416
50410
  var Axios = class {
50417
50411
  constructor(instanceConfig) {
@@ -50630,7 +50624,7 @@ utils_default.forEach(["post", "put", "patch", "query"], function forEachMethodW
50630
50624
  });
50631
50625
  var Axios_default = Axios;
50632
50626
 
50633
- // ../sdk/node_modules/axios/lib/cancel/CancelToken.js
50627
+ // node_modules/axios/lib/cancel/CancelToken.js
50634
50628
  var CancelToken = class _CancelToken {
50635
50629
  constructor(executor) {
50636
50630
  if (typeof executor !== "function") {
@@ -50728,19 +50722,19 @@ var CancelToken = class _CancelToken {
50728
50722
  };
50729
50723
  var CancelToken_default = CancelToken;
50730
50724
 
50731
- // ../sdk/node_modules/axios/lib/helpers/spread.js
50725
+ // node_modules/axios/lib/helpers/spread.js
50732
50726
  function spread(callback) {
50733
50727
  return function wrap(arr) {
50734
50728
  return callback.apply(null, arr);
50735
50729
  };
50736
50730
  }
50737
50731
 
50738
- // ../sdk/node_modules/axios/lib/helpers/isAxiosError.js
50732
+ // node_modules/axios/lib/helpers/isAxiosError.js
50739
50733
  function isAxiosError(payload) {
50740
50734
  return utils_default.isObject(payload) && payload.isAxiosError === true;
50741
50735
  }
50742
50736
 
50743
- // ../sdk/node_modules/axios/lib/helpers/HttpStatusCode.js
50737
+ // node_modules/axios/lib/helpers/HttpStatusCode.js
50744
50738
  var HttpStatusCode = {
50745
50739
  Continue: 100,
50746
50740
  SwitchingProtocols: 101,
@@ -50818,7 +50812,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
50818
50812
  });
50819
50813
  var HttpStatusCode_default = HttpStatusCode;
50820
50814
 
50821
- // ../sdk/node_modules/axios/lib/axios.js
50815
+ // node_modules/axios/lib/axios.js
50822
50816
  function createInstance(defaultConfig) {
50823
50817
  const context = new Axios_default(defaultConfig);
50824
50818
  const instance = bind(Axios_default.prototype.request, context);
@@ -50851,7 +50845,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
50851
50845
  axios.default = axios;
50852
50846
  var axios_default = axios;
50853
50847
 
50854
- // ../sdk/node_modules/axios/index.js
50848
+ // node_modules/axios/index.js
50855
50849
  var {
50856
50850
  Axios: Axios2,
50857
50851
  AxiosError: AxiosError2,
@@ -50872,7 +50866,7 @@ var {
50872
50866
  create
50873
50867
  } = axios_default;
50874
50868
 
50875
- // ../sdk/dist/index.mjs
50869
+ // node_modules/@gvnrdao/dh-sdk/dist/index.mjs
50876
50870
  var import_ethers28 = require("ethers");
50877
50871
  var import_ethers29 = require("ethers");
50878
50872
  var import_ethers30 = require("ethers");
@@ -51245,7 +51239,7 @@ var init_deployment_addresses = __esm2({
51245
51239
  CARRY_AGENT_REGISTRY: "0x5595CB538D44E6Cf179D20364fD631D0477e69f7",
51246
51240
  CARRY_AGENT_REGISTRY_IMPL: "0x1b11a3D5e46F3672E643c997f0d569DFf0b64a01",
51247
51241
  AGENT_DELEGATION_REGISTRY: "0x6AE7fc6bE0925126b9D25b1B7Ce5AD5d127ec025",
51248
- AGENT_DELEGATION_REGISTRY_IMPL: "0x80C47350274513688e348D02506477A96B4afCCb",
51242
+ AGENT_DELEGATION_REGISTRY_IMPL: "0xE931E4b9ceF2A48Ac7D57192da4B523756cFC310",
51249
51243
  DH_AGENT_DELEGATE: "0xa5A14489ae883960df6E1463A41a47aBE9Ecc5AF"
51250
51244
  }
51251
51245
  };
@@ -51515,7 +51509,7 @@ var init_deployment_addresses = __esm2({
51515
51509
  LOCALHOST_DEPLOYMENT = {
51516
51510
  network: "localhost",
51517
51511
  chainId: 1337,
51518
- timestamp: "2026-07-23T17:13:42.777Z",
51512
+ timestamp: "2026-07-20T19:45:58.514Z",
51519
51513
  deployer: "",
51520
51514
  contracts: {
51521
51515
  MessageHashBuilder: "0xa82fF9aFd8f496c3d6ac40E2a0F282E47488CFc9",
@@ -51535,30 +51529,6 @@ var init_deployment_addresses = __esm2({
51535
51529
  PositionManager: "0x851356ae760d987E095750cCeb3bC6014560891C",
51536
51530
  OperationAuthorizationRegistry: "0xc96304e3c037f81dA488ed9dEa1D8F2a48278a75",
51537
51531
  PKPValidation: "0xD0141E899a65C95a556fE2B27e5982A6DE7fDD7A"
51538
- },
51539
- latestEnv: {
51540
- UCD_TOKEN: "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
51541
- UCD_CONTROLLER: "0xCf7Ed3AccA5a467e9e704C703E8D87F634fB0Fc9",
51542
- POSITION_MANAGER: "0x851356ae760d987E095750cCeb3bC6014560891C",
51543
- PKP_VALIDATION_REGISTRY: "0xD0141E899a65C95a556fE2B27e5982A6DE7fDD7A",
51544
- PKP_VALIDATION_CID_V1: "0x12203af2054b0ab6e18d898ddfc7985593439fb82d22336133387c1169f98d3702ab",
51545
- PKP_VALIDATION_CID_V3: "0x12203af2054b0ab6e18d898ddfc7985593439fb82d22336133387c1169f98d3702ab",
51546
- PKP_ETH_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
51547
- OPERATION_AUTHORIZATION_REGISTRY: "0xc96304e3c037f81dA488ed9dEa1D8F2a48278a75",
51548
- UCD_MINT_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
51549
- UCD_MINT_VALIDATOR_VERSION: 1,
51550
- BTC_WITHDRAWAL_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
51551
- BTC_WITHDRAWAL_VALIDATOR_VERSION: 3,
51552
- UPDATE_BALANCE_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
51553
- UPDATE_BALANCE_VALIDATOR_VERSION: 1,
51554
- PROCESS_PAYMENT_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
51555
- PROCESS_PAYMENT_VALIDATOR_VERSION: 1,
51556
- EXTEND_POSITION_VALIDATOR_ADDRESS: "0x406f6a9855de2f5577b1525f0600461f02859bd0",
51557
- EXTEND_POSITION_VALIDATOR_VERSION: 1,
51558
- POSITION_MANAGER_CORE_MODULE: "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
51559
- LOAN_OPERATIONS_MANAGER_MODULE: "0x68B1D87F95878fE05B998F19b66F4baba5De1aed",
51560
- TERM_MANAGER_MODULE: "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82",
51561
- COMMUNITY_MANAGER_MODULE: ""
51562
51532
  }
51563
51533
  };
51564
51534
  LOCALHOST_CONTRACTS = {
@@ -52276,7 +52246,7 @@ var require_pkg_src2 = __commonJS2({
52276
52246
  description: "Production Btc Transaction Signer",
52277
52247
  version: "1.1.1",
52278
52248
  deployed: true,
52279
- deployedAt: 1786113907707,
52249
+ deployedAt: 1786465606156,
52280
52250
  size: 67999,
52281
52251
  hash: "83f3644c68819215e05ba8db3225571354a009458fc1437f606df6cb9142d3f9"
52282
52252
  },
@@ -52289,7 +52259,7 @@ var require_pkg_src2 = __commonJS2({
52289
52259
  description: "Production Ucd Mint Validator",
52290
52260
  version: "1.2.1",
52291
52261
  deployed: true,
52292
- deployedAt: 1786113908489,
52262
+ deployedAt: 1786465627201,
52293
52263
  size: 82739,
52294
52264
  hash: "2bdd9aebdaad58a43a4731d5b7284f2531b7a9caaf8caf5719d891c4ed33cb2e",
52295
52265
  validatorWalletAddress: "0x82DB9F515957aA380B596C6eA2Bd30CEF181f236",
@@ -52307,7 +52277,7 @@ var require_pkg_src2 = __commonJS2({
52307
52277
  description: "Production Process Payment Validator",
52308
52278
  version: "1.2.1",
52309
52279
  deployed: true,
52310
- deployedAt: 1786113909138,
52280
+ deployedAt: 1786465654796,
52311
52281
  size: 78736,
52312
52282
  hash: "17191ecc9c009e0fa5ab52c876330beb2a9a75d30cccb92e7c0c04f169df088b",
52313
52283
  validatorWalletAddress: "0x82DB9F515957aA380B596C6eA2Bd30CEF181f236",
@@ -52325,7 +52295,7 @@ var require_pkg_src2 = __commonJS2({
52325
52295
  description: "Production Extend Position Validator",
52326
52296
  version: "1.2.1",
52327
52297
  deployed: true,
52328
- deployedAt: 1786113909872,
52298
+ deployedAt: 1786465681874,
52329
52299
  size: 76515,
52330
52300
  hash: "1d4e085335af80f194a663a577876902c83015177e95906a0b461fa93bd5da08",
52331
52301
  validatorWalletAddress: "0x82DB9F515957aA380B596C6eA2Bd30CEF181f236",
@@ -52335,21 +52305,17 @@ var require_pkg_src2 = __commonJS2({
52335
52305
  }
52336
52306
  },
52337
52307
  btcWithdrawal: {
52338
- cid: "QmZuR3qSBajutXfRd91ffpyFrRMgmaMh7fDEHRiQQF8Ljp",
52308
+ cid: "QmRYVoTTDxk2McvBqxSm9M7YcaBGdTqjnZGPX4Y191DaZh",
52339
52309
  authorizedCidHex: cidToHex(
52340
- "QmZuR3qSBajutXfRd91ffpyFrRMgmaMh7fDEHRiQQF8Ljp"
52310
+ "QmRYVoTTDxk2McvBqxSm9M7YcaBGdTqjnZGPX4Y191DaZh"
52341
52311
  ),
52342
52312
  name: "Btc Withdrawal",
52343
52313
  description: "Production Btc Withdrawal",
52344
- // Monotonic per action, NOT a shared release train — the EIP-1271 rotation
52345
- // stamped its cohort 1.2.1, but this action was already at 1.2.3 from the vout
52346
- // canonicalization fix. Reusing the cohort stamp made a newer CID read as older
52347
- // than the one it replaced, which a rotation ceremony would treat as a rollback.
52348
- version: "1.2.4",
52314
+ version: "1.2.7",
52349
52315
  deployed: true,
52350
- deployedAt: 1786113910531,
52351
- size: 95313,
52352
- hash: "ce12f11e3b5469953bc919586e4f3b8b5d594224b58b799dd9a3b60e3749559c",
52316
+ deployedAt: 1786446046614,
52317
+ size: 97456,
52318
+ hash: "3cae8250861832f91ee3c573abeb50ff27b9acd34148176071cbfbabb359fc91",
52353
52319
  validatorWalletAddress: "0x82DB9F515957aA380B596C6eA2Bd30CEF181f236",
52354
52320
  pkp: {
52355
52321
  publicKey: "0x043616787c5432415c24378c4ef48de2bcd6bb7b575b837e3cff09171802662da7105d79586c7659677a0ecbaddac4cce06cb2a11f69a16fa0c4d7002ac7d51a4d",
@@ -52461,19 +52427,17 @@ var require_pkg_src2 = __commonJS2({
52461
52427
  hash: "03ee5be239c91c735d2c95db89a0d1b77e602cfc18af8eb64b3281fddcd90a72"
52462
52428
  },
52463
52429
  agentModuleExecutor: {
52464
- // Bound to the isolated Sepolia agent group 7 ("DH-Agent-Sepolia"), which
52465
- // holds this action and no PKPs until an agent is minted into it. NOT yet
52466
- // bound on mainnet — the Base `DH-Agent-Mainnet` group is created at rollout.
52467
- cid: "QmVgjGXUuxoGf8XyddW8a7btaazT9yEotpKoBgb65oPvcF",
52430
+ cid: "QmdhC18wF7PFGMQ8aThdPsEVSpuDewA27dFvbA3bG6kVDQ",
52468
52431
  authorizedCidHex: cidToHex(
52469
- "QmVgjGXUuxoGf8XyddW8a7btaazT9yEotpKoBgb65oPvcF"
52432
+ "QmdhC18wF7PFGMQ8aThdPsEVSpuDewA27dFvbA3bG6kVDQ"
52470
52433
  ),
52471
52434
  name: "Agent Module Executor",
52472
- description: "Capability gate for multi-sig Safe agent delegation: binds the agent PKP to the AgentDelegationRegistry record before signing (authorize | execute modes)",
52473
- version: "1.0.0",
52435
+ description: "Production Agent Module Executor",
52436
+ version: "1.1.1",
52474
52437
  deployed: true,
52475
- size: 11785,
52476
- hash: "fa294e164273c2158f9ef11a0ccfd735c343c0e3759fcb4b37e0f8a5d1ab0d29"
52438
+ deployedAt: 1786446108348,
52439
+ size: 11655,
52440
+ hash: "d4e2149f843d6c2699fc61114d54b268ba4ed2c46ebdaee1145e0f101ec2a1ec"
52477
52441
  },
52478
52442
  staleSpendRecoveryValidator: {
52479
52443
  cid: "QmXQWT8V4wjuvH8BbC7xrkYxsVu5AKfvfWcS7jnYfrexYm",
@@ -52502,7 +52466,7 @@ var require_pkg_src2 = __commonJS2({
52502
52466
  description: "Production Btc Utxo Invalidator",
52503
52467
  version: "1.0.0",
52504
52468
  deployed: true,
52505
- deployedAt: 1786113911948,
52469
+ deployedAt: 1786465704240,
52506
52470
  size: 62553,
52507
52471
  hash: "1dcea2b49e545c423195be22e072dc5e3039ed1c95a8490b23505956029f5b33"
52508
52472
  }
@@ -56409,8 +56373,14 @@ function getMainnetConfig() {
56409
56373
  agentModuleFactory: MAINNET_CONTRACTS.AgentModuleFactory || ""
56410
56374
  },
56411
56375
  subgraphs: {
56376
+ // KNOWN-WRONG placeholder (see GOAL-PLAN step 2 / dogfood F-CLI-4): this is a
56377
+ // SEPOLIA subgraph id in a mainnet (chainId 1) config, and this gateway host
56378
+ // needs an Authorization key the SDK does not (and must not) hold — so the
56379
+ // URL is doubly unusable. The `CCTPsd…` path segment is the subgraph's
56380
+ // PUBLIC ID, not a credential. The fix is a chain-correct SERVER-side proxy
56381
+ // (see mcp/docs/SUBGRAPH-PROXY-PLAN.md) — same rule as rpcUrls above:
56382
+ // never ship an API-keyed URL in a client config.
56412
56383
  diamondHandsUrl: "https://gateway-arbitrum.network.thegraph.com/api/subgraphs/id/CCTPsdYqco2jChDLLBQTbdJWwoukVoMt1cXeR9ti6r9A"
56413
- // Published Sepolia subgraph on Arbitrum One
56414
56384
  },
56415
56385
  litNetwork: "chipotle",
56416
56386
  debug: false
@@ -57098,7 +57068,7 @@ async function generateMintAuthorization(positionId, amount, chainId, signerOrPr
57098
57068
  signature
57099
57069
  };
57100
57070
  }
57101
- async function generatePaymentAuthorization(positionId, amount, chainId, signer) {
57071
+ async function generatePaymentAuthorization(positionId, amount, chainId, signerOrPrecomputed) {
57102
57072
  if (typeof positionId !== "string") {
57103
57073
  throw new Error(`positionId must be a string, got ${typeof positionId}`);
57104
57074
  }
@@ -57108,6 +57078,18 @@ async function generatePaymentAuthorization(positionId, amount, chainId, signer)
57108
57078
  if (typeof chainId !== "number") {
57109
57079
  throw new Error(`chainId must be a number, got ${typeof chainId}`);
57110
57080
  }
57081
+ if (typeof signerOrPrecomputed === "object" && "signature" in signerOrPrecomputed && !("signMessage" in signerOrPrecomputed)) {
57082
+ const { timestamp: timestamp2, signature: signature2 } = signerOrPrecomputed;
57083
+ return {
57084
+ positionId,
57085
+ timestamp: timestamp2,
57086
+ chainId,
57087
+ amount: amount.toString(),
57088
+ action: "make-payment",
57089
+ signature: signature2
57090
+ };
57091
+ }
57092
+ const signer = signerOrPrecomputed;
57111
57093
  const timestamp = await calculateNextQuantumTimestamp();
57112
57094
  if (typeof timestamp !== "number") {
57113
57095
  throw new Error(`timestamp must be a number, got ${typeof timestamp}`);
@@ -57345,6 +57327,24 @@ async function generateExtendAuthorization(positionId, newTerm, chainId, signerO
57345
57327
  // Add caller address for Lit Action validation
57346
57328
  };
57347
57329
  }
57330
+ async function resolveAuthorizationInput(provider, signer, ctx) {
57331
+ if (!provider)
57332
+ return signer;
57333
+ const result = await provider(ctx);
57334
+ if (!result || typeof result.signature !== "string" || result.signature.length === 0) {
57335
+ throw new Error(
57336
+ "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"
57337
+ );
57338
+ }
57339
+ if (!Number.isInteger(result.timestamp)) {
57340
+ throw new Error(
57341
+ `authorizationProvider returned a non-integer timestamp (${String(
57342
+ result.timestamp
57343
+ )}) \u2014 the protocol call must carry the same value the envelope was signed over`
57344
+ );
57345
+ }
57346
+ return { timestamp: result.timestamp, signature: result.signature };
57347
+ }
57348
57348
  function buildLoginDomain(chainId) {
57349
57349
  return {
57350
57350
  name: "Diamond Hands",
@@ -70630,11 +70630,20 @@ var DiamondHandsSDK = class _DiamondHandsSDK {
70630
70630
  {}
70631
70631
  );
70632
70632
  }
70633
+ const mintAuthInput = await resolveAuthorizationInput(
70634
+ request.authorizationProvider,
70635
+ signer2,
70636
+ {
70637
+ positionId: request.positionId,
70638
+ timestamp: calculateNextQuantumTimestamp(),
70639
+ amount: requestAmountWei.toString()
70640
+ }
70641
+ );
70633
70642
  const auth = await generateMintAuthorization(
70634
70643
  request.positionId,
70635
70644
  BigInt(requestAmountWei.toString()),
70636
70645
  chainId,
70637
- signer2
70646
+ mintAuthInput
70638
70647
  );
70639
70648
  if (this.config.debug) {
70640
70649
  log.info(` Authorization generated (attempt ${attempt})`, {});
@@ -72230,7 +72239,7 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
72230
72239
  * @param _selectedTerm - Extension term in months
72231
72240
  * @returns Transaction receipt
72232
72241
  */
72233
- async extendPosition(_positionId, _selectedTerm, _rpcUrl, _bitcoinRpcUrl) {
72242
+ async extendPosition(_positionId, _selectedTerm, _rpcUrl, _bitcoinRpcUrl, _authorizationProvider) {
72234
72243
  this.ensureInitialized();
72235
72244
  if (typeof _positionId !== "string") {
72236
72245
  throw new Error(`positionId must be a string, got ${typeof _positionId}`);
@@ -72324,11 +72333,23 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
72324
72333
  }
72325
72334
  }
72326
72335
  const signer = this.getSignerOrThrow();
72336
+ const extendAuthInput = await resolveAuthorizationInput(
72337
+ _authorizationProvider,
72338
+ signer,
72339
+ {
72340
+ positionId: _positionId,
72341
+ timestamp: calculateNextQuantumTimestamp(),
72342
+ // The extend envelope binds the TERM, not an amount. Carried as "0" so
72343
+ // the context shape stays uniform across the four operations.
72344
+ amount: "0",
72345
+ selectedTerm: _selectedTerm
72346
+ }
72347
+ );
72327
72348
  const auth = await generateExtendAuthorization(
72328
72349
  _positionId,
72329
72350
  _selectedTerm,
72330
72351
  chainId,
72331
- signer
72352
+ extendAuthInput
72332
72353
  );
72333
72354
  if (this.config.debug) {
72334
72355
  log.info(" Extend authorization generated", {
@@ -72584,7 +72605,8 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
72584
72605
  positionId,
72585
72606
  selectedTerm,
72586
72607
  request.rpcUrl,
72587
- request.customBitcoinRpcUrl
72608
+ request.customBitcoinRpcUrl,
72609
+ request.authorizationProvider
72588
72610
  );
72589
72611
  let newExpiryAt;
72590
72612
  try {
@@ -73118,11 +73140,20 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
73118
73140
  }
73119
73141
  let auth;
73120
73142
  try {
73143
+ const paymentAuthInput = await resolveAuthorizationInput(
73144
+ request.authorizationProvider,
73145
+ signer,
73146
+ {
73147
+ positionId: request.positionId,
73148
+ timestamp: calculateNextQuantumTimestamp(),
73149
+ amount: paymentAmountWei.toString()
73150
+ }
73151
+ );
73121
73152
  auth = await generatePaymentAuthorization(
73122
73153
  request.positionId,
73123
73154
  paymentAmountWei,
73124
73155
  chainId,
73125
- signer
73156
+ paymentAuthInput
73126
73157
  );
73127
73158
  } catch (authError) {
73128
73159
  if (authError.message && authError.message.includes("BigNumber")) {
@@ -73634,7 +73665,7 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
73634
73665
  * @param customBitcoinRpcUrl - Optional custom Bitcoin RPC URL (for local testing)
73635
73666
  * @returns Withdrawal result with transaction details
73636
73667
  */
73637
- async withdrawBTC(positionId, withdrawalAddress, withdrawalAmount) {
73668
+ async withdrawBTC(positionId, withdrawalAddress, withdrawalAmount, options) {
73638
73669
  this.ensureInitialized();
73639
73670
  try {
73640
73671
  if (this.config.debug) {
@@ -73849,11 +73880,21 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
73849
73880
  {}
73850
73881
  );
73851
73882
  }
73883
+ const withdrawAuthInput = await resolveAuthorizationInput(
73884
+ options?.authorizationProvider,
73885
+ signer,
73886
+ {
73887
+ positionId,
73888
+ timestamp: calculateNextQuantumTimestamp(),
73889
+ amount: BigInt(withdrawalAmount).toString(),
73890
+ destinationAddress: withdrawalAddress
73891
+ }
73892
+ );
73852
73893
  const auth = await generateWithdrawAuthorization(
73853
73894
  positionId,
73854
73895
  BigInt(withdrawalAmount),
73855
73896
  chainId,
73856
- signer,
73897
+ withdrawAuthInput,
73857
73898
  withdrawalAddress
73858
73899
  // Pass destination address for message hash
73859
73900
  );
@@ -74927,6 +74968,11 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
74927
74968
  * (`MAX_ATTESTATION_AGE = 1 hour`) and replay-protects via
74928
74969
  * `authorizedAt` binding.
74929
74970
  *
74971
+ * WHO PAYS: in **service mode** lit-ops-server performs BOTH steps and its
74972
+ * relayer funds the transaction — the borrower is never prompted, because the
74973
+ * Bitcoin withdrawal this cleans up after has already settled. In **direct
74974
+ * mode** (CLI / tests / hardhat) the SDK's own signer submits step 2.
74975
+ *
74930
74976
  * `invalidatorTxid` is either:
74931
74977
  * - the borrower's own authorized broadcast (classified "consumed-as-authorized"
74932
74978
  * by the LIT validator), once it has ≥6 confirmations on the BTC
@@ -74939,7 +74985,6 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
74939
74985
  async recoverStaleSpend(params) {
74940
74986
  this.ensureInitialized();
74941
74987
  try {
74942
- const signer = this.getSignerOrThrow();
74943
74988
  const contractAddresses = this.getContractAddressesOrThrow();
74944
74989
  const btcSpendAuthorizerAddress = contractAddresses.btcSpendAuthorizer;
74945
74990
  if (!btcSpendAuthorizerAddress) {
@@ -74985,6 +75030,28 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
74985
75030
  success: false,
74986
75031
  error: json.error ?? "stale-spend recovery request failed"
74987
75032
  };
75033
+ if (!attRes.success || !attRes.attestation) {
75034
+ return {
75035
+ success: false,
75036
+ failedStep: "attestation",
75037
+ error: attRes.error ?? attRes.reason ?? `LIT recovery attestation rejected${attRes.failedStep ? ` at step ${attRes.failedStep}` : ""}`
75038
+ };
75039
+ }
75040
+ if (!attRes.transactionHash && !attRes.alreadyCleared) {
75041
+ return {
75042
+ success: false,
75043
+ failedStep: "submit",
75044
+ 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."
75045
+ };
75046
+ }
75047
+ return {
75048
+ success: true,
75049
+ ...attRes.transactionHash && {
75050
+ transactionHash: attRes.transactionHash
75051
+ },
75052
+ ...attRes.classification && { classification: attRes.classification },
75053
+ attestation: attRes.attestation
75054
+ };
74988
75055
  } else {
74989
75056
  const rpcUrl = params.rpcUrl ?? this.config.ethRpcUrl;
74990
75057
  if (!rpcUrl) {
@@ -74994,6 +75061,13 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
74994
75061
  error: "ethRpcUrl required for recoverStaleSpend \u2014 set DiamondHandsSDKConfig.ethRpcUrl or pass rpcUrl"
74995
75062
  };
74996
75063
  }
75064
+ if (!this.config.contractSigner) {
75065
+ return {
75066
+ success: false,
75067
+ failedStep: "config",
75068
+ error: "Contract signer not configured \u2014 recoverStaleSpend submits its own recovery transaction in direct mode. Set DiamondHandsSDKConfig.contractSigner, or use service mode, where the server relays and pays for it."
75069
+ };
75070
+ }
74997
75071
  const sdkBitcoinProviderUrl = this.config.bitcoinProviders?.[0]?.url;
74998
75072
  attRes = await this.litOps.requestStaleSpendRecoveryAttestation({
74999
75073
  chainId,
@@ -75034,7 +75108,7 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
75034
75108
  [
75035
75109
  "function cancelStaleSpendWithProof(bytes32 positionId, bytes32 utxoKey, uint256 authorizedAt, string calldata invalidatorTxid, uint256 attestationTimestamp, bytes calldata litSignature) external"
75036
75110
  ],
75037
- signer
75111
+ this.getSignerOrThrow()
75038
75112
  );
75039
75113
  const tx2 = await btcSpendAuthorizer["cancelStaleSpendWithProof"](
75040
75114
  attRes.attestation.positionId,
@@ -75844,10 +75918,22 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
75844
75918
  "getLoanGrant",
75845
75919
  data
75846
75920
  );
75921
+ const raw = (0, import_ethers14.getBytes)(data);
75922
+ const withdrawScopeSupported = raw.length >= 128;
75923
+ const minWithdrawRatioBps = withdrawScopeSupported ? Number(
75924
+ import_ethers14.AbiCoder.defaultAbiCoder().decode(["uint32"], raw.slice(96, 128))[0]
75925
+ ) : 0;
75847
75926
  return {
75848
75927
  borrower,
75849
75928
  scopeBits: Number(scopeBits),
75850
- minCollateralRatioBps: Number(minCollateralRatioBps)
75929
+ minCollateralRatioBps: Number(minCollateralRatioBps),
75930
+ minWithdrawRatioBps,
75931
+ /**
75932
+ * True when the deployed registry is v2.1.0+ and therefore honours `SCOPE_WITHDRAW`. The
75933
+ * frontend gates its Withdrawal control on this so the control is absent — not disabled,
75934
+ * not "coming soon" — on a chain whose registry cannot support it.
75935
+ */
75936
+ withdrawScopeSupported
75851
75937
  };
75852
75938
  }
75853
75939
  /**
@@ -75889,10 +75975,14 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
75889
75975
  const mintEnabled = hasGrant && (scopes & 4) !== 0;
75890
75976
  const floor = grant.minCollateralRatioBps;
75891
75977
  const agent = user ? await registry.agentOf(user) : null;
75978
+ const withdrawEnabled = hasGrant && grant.withdrawScopeSupported && (scopes & 8) !== 0;
75892
75979
  return {
75893
75980
  renewEnabled: hasGrant && (scopes & 1) !== 0,
75894
75981
  repayEnabled: hasGrant && (scopes & 2) !== 0,
75895
75982
  mintEnabled,
75983
+ withdrawEnabled,
75984
+ withdrawScopeSupported: grant.withdrawScopeSupported,
75985
+ minWithdrawRatioBps: withdrawEnabled ? grant.minWithdrawRatioBps : 0,
75896
75986
  minCollateralRatioBps: mintEnabled ? floor : 0,
75897
75987
  effectiveMintFloorBps: mintEnabled ? Math.max(floor, protocolMin) : 0,
75898
75988
  protocolMinFloorBps: protocolMin,
@@ -76080,8 +76170,85 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
76080
76170
  const receipt = await tx2.wait();
76081
76171
  return { hash: tx2.hash, blockNumber: receipt?.blockNumber ?? 0 };
76082
76172
  }
76083
- /** Pre-flight the registry's `FloorBelowProtocolMin` guard with a message a user can act on. */
76084
- async assertMintFloorAtOrAboveProtocolMin(floorBps) {
76173
+ /**
76174
+ * Grant the agent the WITHDRAW scope for a position (registry v2.1.0+). Borrower-signed.
76175
+ *
76176
+ * CONTRACT WALLETS ONLY, and this is enforced here rather than on-chain. The withdrawal
76177
+ * validator's only non-borrower arm is `checkSafeAgentWithdrawAuthorization`, which requires a
76178
+ * factory-provenanced `AgentModule` whose `safe()` is the borrower — something an EOA cannot
76179
+ * have. The registry deliberately does NOT check wallet type ("Callable by any borrower (this
76180
+ * function does not itself require a Safe)"), so an EOA can record a grant that no code path
76181
+ * will ever satisfy. Refusing here keeps the supported path from writing a dead record.
76182
+ *
76183
+ * That refusal is ergonomics, NOT enforcement — `enableAutoWithdraw` is `external` and reachable
76184
+ * from any wallet. The real reason delegated withdrawal is closed to EOAs is that they can sign
76185
+ * inside the ~44s window themselves, so delegating buys them nothing and only adds risk.
76186
+ *
76187
+ * @param minWithdrawRatioBps Post-withdrawal collateral-ratio floor for AGENT withdrawals.
76188
+ * Clamped by the same governance minimum as the mint floor. **Inert at zero debt** — it
76189
+ * is a ratio, and the post-withdrawal ratio is infinite for any amount once debt is 0.
76190
+ * The operative bound there is the quorum-gated destination allowlist. Do not surface
76191
+ * this to users as a cap on how much an agent may withdraw.
76192
+ * There is no in-place raise: changing it means disable-then-re-enable, deliberately —
76193
+ * on the one scope that moves custodied BTC, incident response can only disable outright.
76194
+ */
76195
+ async enableAutoWithdraw(positionId, minWithdrawRatioBps, options) {
76196
+ const pid = this.toBytes32(positionId);
76197
+ await this.assertBorrowerIsContractWallet(pid);
76198
+ await this.assertMintFloorAtOrAboveProtocolMin(minWithdrawRatioBps, "withdraw");
76199
+ const { registry, agentAddress } = await this.prepareAgentDelegation(pid, options);
76200
+ const tx2 = await registry.enableAutoWithdraw(pid, minWithdrawRatioBps);
76201
+ const receipt = await tx2.wait();
76202
+ return { hash: tx2.hash, blockNumber: receipt?.blockNumber ?? 0, agentAddress };
76203
+ }
76204
+ /**
76205
+ * Revoke the WITHDRAW scope for a position (also zeroes its withdraw floor). Borrower-signed.
76206
+ *
76207
+ * No wallet-type check: revoking is the safe direction, and an EOA that recorded a grant before
76208
+ * this guard existed must be able to clear it.
76209
+ */
76210
+ async disableAutoWithdraw(positionId) {
76211
+ const addr = this.agentDelegationRegistryOrThrow();
76212
+ const signer = this.getSignerOrThrow();
76213
+ const registry = AgentDelegationRegistry__factory.connect(addr, signer);
76214
+ const pid = this.toBytes32(positionId);
76215
+ const tx2 = await registry.disableAutoWithdraw(pid);
76216
+ const receipt = await tx2.wait();
76217
+ await this.clearGate1IfNoScopesRemain(pid);
76218
+ return { hash: tx2.hash, blockNumber: receipt?.blockNumber ?? 0 };
76219
+ }
76220
+ /**
76221
+ * Layer 2 of the withdrawal-delegation gating: refuse to write a grant that could never be
76222
+ * satisfied. See `enableAutoWithdraw` for why this lives here and not in the registry.
76223
+ */
76224
+ async assertBorrowerIsContractWallet(pid) {
76225
+ const details = await this.getPositionDetailsView(pid);
76226
+ const borrower = details?.borrower;
76227
+ if (!borrower) {
76228
+ throw new SDKError({
76229
+ message: `Could not resolve the borrower for position ${pid} \u2014 refusing to write a delegation grant against an unverified position`,
76230
+ category: "VALIDATION",
76231
+ severity: "HIGH"
76232
+ /* HIGH */
76233
+ });
76234
+ }
76235
+ const code = await this.getProviderOrThrow().getCode(borrower);
76236
+ if (!code || code === "0x") {
76237
+ throw new SDKError({
76238
+ 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.`,
76239
+ category: "VALIDATION",
76240
+ severity: "MEDIUM"
76241
+ /* MEDIUM */
76242
+ });
76243
+ }
76244
+ }
76245
+ /**
76246
+ * Pre-flight the registry's `FloorBelowProtocolMin` guard with a message a user can act on.
76247
+ *
76248
+ * `agentMintFloorMinBps` is the governance floor-of-floors for BOTH the mint and withdraw
76249
+ * grants — one lever, one invariant — so `scope` only shapes the message.
76250
+ */
76251
+ async assertMintFloorAtOrAboveProtocolMin(floorBps, scope = "mint") {
76085
76252
  if (!Number.isInteger(floorBps) || floorBps <= 0) {
76086
76253
  throw new SDKError({
76087
76254
  message: `Invalid collateral floor: ${floorBps} bps \u2014 must be a positive integer`,
@@ -76093,7 +76260,7 @@ Message: ${causeMessage}${quantumContext}${mintDebtDiagnostics}`
76093
76260
  const protocolMin = await this.getAgentMintFloorMinBps();
76094
76261
  if (protocolMin === 0) {
76095
76262
  throw new SDKError({
76096
- message: "Agent minting is not configured on this network (agentMintFloorMinBps is 0) \u2014 the registry would reject every mint grant",
76263
+ message: `Agent ${scope === "mint" ? "minting" : "withdrawal"} is not configured on this network (agentMintFloorMinBps is 0) \u2014 the registry would reject every ${scope} grant`,
76097
76264
  category: "CONFIGURATION",
76098
76265
  severity: "HIGH"
76099
76266
  /* HIGH */