@hashgraphonline/standards-sdk 0.0.157-canary.2 → 0.0.157-canary.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/dist/cjs/hcs-10/base-client.d.ts +1 -1
  2. package/dist/cjs/hcs-10/base-client.d.ts.map +1 -1
  3. package/dist/cjs/hcs-10/sdk.d.ts +1 -1
  4. package/dist/cjs/hcs-10/sdk.d.ts.map +1 -1
  5. package/dist/cjs/hcs-11/agent-builder.d.ts +2 -0
  6. package/dist/cjs/hcs-11/agent-builder.d.ts.map +1 -1
  7. package/dist/cjs/hcs-11/client.d.ts +2 -0
  8. package/dist/cjs/hcs-11/client.d.ts.map +1 -1
  9. package/dist/cjs/hcs-11/types.d.ts +4 -2
  10. package/dist/cjs/hcs-11/types.d.ts.map +1 -1
  11. package/dist/cjs/hcs-15/index.d.ts +3 -0
  12. package/dist/cjs/hcs-15/index.d.ts.map +1 -0
  13. package/dist/cjs/hcs-15/petal-manager.d.ts +27 -0
  14. package/dist/cjs/hcs-15/petal-manager.d.ts.map +1 -0
  15. package/dist/cjs/hcs-15/types.d.ts +41 -0
  16. package/dist/cjs/hcs-15/types.d.ts.map +1 -0
  17. package/dist/cjs/hcs-16/flora-account-manager.d.ts.map +1 -1
  18. package/dist/cjs/hcs-16/types.d.ts +3 -5
  19. package/dist/cjs/hcs-16/types.d.ts.map +1 -1
  20. package/dist/cjs/hcs-18/discovery.d.ts +1 -0
  21. package/dist/cjs/hcs-18/discovery.d.ts.map +1 -1
  22. package/dist/cjs/hcs-18/types.d.ts +1 -0
  23. package/dist/cjs/hcs-18/types.d.ts.map +1 -1
  24. package/dist/cjs/hcs-20/sdk.d.ts.map +1 -1
  25. package/dist/cjs/hcs-7/evm-bridge.d.ts.map +1 -1
  26. package/dist/cjs/hcs-7/redis-cache.d.ts.map +1 -1
  27. package/dist/cjs/hcs-7/wasm-bridge.d.ts.map +1 -1
  28. package/dist/cjs/{index-xZmk-HBD.cjs → index-CJsmyij2.cjs} +12 -12
  29. package/dist/cjs/index-CJsmyij2.cjs.map +1 -0
  30. package/dist/cjs/{index-CyAbgH2f-Cv8mxAhS.cjs → index-CyAbgH2f-Dn5WQtPx.cjs} +2 -2
  31. package/dist/cjs/{index-CyAbgH2f-Cv8mxAhS.cjs.map → index-CyAbgH2f-Dn5WQtPx.cjs.map} +1 -1
  32. package/dist/cjs/index.d.ts +1 -1
  33. package/dist/cjs/services/types.d.ts +1 -1
  34. package/dist/cjs/services/types.d.ts.map +1 -1
  35. package/dist/cjs/standards-sdk.cjs +1 -1
  36. package/dist/cjs/{standards-sdk.es45-BxAtDqsy-ELd4REyl.cjs → standards-sdk.es45-BxAtDqsy-CiMtsDbD.cjs} +2 -2
  37. package/dist/cjs/{standards-sdk.es45-BxAtDqsy-ELd4REyl.cjs.map → standards-sdk.es45-BxAtDqsy-CiMtsDbD.cjs.map} +1 -1
  38. package/dist/cjs/{standards-sdk.es46-BI8ACeLM-DRmcgoN0.cjs → standards-sdk.es46-BI8ACeLM-DFYgO-fP.cjs} +2 -2
  39. package/dist/cjs/{standards-sdk.es46-BI8ACeLM-DRmcgoN0.cjs.map → standards-sdk.es46-BI8ACeLM-DFYgO-fP.cjs.map} +1 -1
  40. package/dist/cjs/{standards-sdk.es47-DbkY3FlD-DfMpZygD.cjs → standards-sdk.es47-DbkY3FlD-2qTWs2BD.cjs} +2 -2
  41. package/dist/cjs/{standards-sdk.es47-DbkY3FlD-DfMpZygD.cjs.map → standards-sdk.es47-DbkY3FlD-2qTWs2BD.cjs.map} +1 -1
  42. package/dist/cjs/{standards-sdk.es48-DzT9Qc3F-CmCkJl3x.cjs → standards-sdk.es48-DzT9Qc3F-Byz0fQnW.cjs} +2 -2
  43. package/dist/cjs/{standards-sdk.es48-DzT9Qc3F-CmCkJl3x.cjs.map → standards-sdk.es48-DzT9Qc3F-Byz0fQnW.cjs.map} +1 -1
  44. package/dist/cjs/utils/logger.d.ts.map +1 -1
  45. package/dist/es/hcs-10/base-client.d.ts +1 -1
  46. package/dist/es/hcs-10/base-client.d.ts.map +1 -1
  47. package/dist/es/hcs-10/sdk.d.ts +1 -1
  48. package/dist/es/hcs-10/sdk.d.ts.map +1 -1
  49. package/dist/es/hcs-11/agent-builder.d.ts +2 -0
  50. package/dist/es/hcs-11/agent-builder.d.ts.map +1 -1
  51. package/dist/es/hcs-11/client.d.ts +2 -0
  52. package/dist/es/hcs-11/client.d.ts.map +1 -1
  53. package/dist/es/hcs-11/types.d.ts +4 -2
  54. package/dist/es/hcs-11/types.d.ts.map +1 -1
  55. package/dist/es/hcs-15/index.d.ts +3 -0
  56. package/dist/es/hcs-15/index.d.ts.map +1 -0
  57. package/dist/es/hcs-15/petal-manager.d.ts +27 -0
  58. package/dist/es/hcs-15/petal-manager.d.ts.map +1 -0
  59. package/dist/es/hcs-15/types.d.ts +41 -0
  60. package/dist/es/hcs-15/types.d.ts.map +1 -0
  61. package/dist/es/hcs-16/flora-account-manager.d.ts.map +1 -1
  62. package/dist/es/hcs-16/types.d.ts +3 -5
  63. package/dist/es/hcs-16/types.d.ts.map +1 -1
  64. package/dist/es/hcs-18/discovery.d.ts +1 -0
  65. package/dist/es/hcs-18/discovery.d.ts.map +1 -1
  66. package/dist/es/hcs-18/types.d.ts +1 -0
  67. package/dist/es/hcs-18/types.d.ts.map +1 -1
  68. package/dist/es/hcs-20/sdk.d.ts.map +1 -1
  69. package/dist/es/hcs-7/evm-bridge.d.ts.map +1 -1
  70. package/dist/es/hcs-7/redis-cache.d.ts.map +1 -1
  71. package/dist/es/hcs-7/wasm-bridge.d.ts.map +1 -1
  72. package/dist/es/index.d.ts +1 -1
  73. package/dist/es/services/types.d.ts +1 -1
  74. package/dist/es/services/types.d.ts.map +1 -1
  75. package/dist/es/standards-sdk.es.js +19 -22
  76. package/dist/es/standards-sdk.es.js.map +1 -1
  77. package/dist/es/standards-sdk.es10.js +1 -1
  78. package/dist/es/standards-sdk.es11.js +10 -2
  79. package/dist/es/standards-sdk.es11.js.map +1 -1
  80. package/dist/es/standards-sdk.es12.js +1 -1
  81. package/dist/es/standards-sdk.es13.js +1 -1
  82. package/dist/es/standards-sdk.es13.js.map +1 -1
  83. package/dist/es/standards-sdk.es14.js +1 -1
  84. package/dist/es/standards-sdk.es15.js +39 -9
  85. package/dist/es/standards-sdk.es15.js.map +1 -1
  86. package/dist/es/standards-sdk.es16.js +1 -0
  87. package/dist/es/standards-sdk.es16.js.map +1 -1
  88. package/dist/es/standards-sdk.es18.js +1 -1
  89. package/dist/es/standards-sdk.es19.js +1 -1
  90. package/dist/es/standards-sdk.es2.js +1 -1
  91. package/dist/es/standards-sdk.es20.js +2 -2
  92. package/dist/es/standards-sdk.es23.js +2 -2
  93. package/dist/es/standards-sdk.es25.js +4 -2
  94. package/dist/es/standards-sdk.es25.js.map +1 -1
  95. package/dist/es/standards-sdk.es26.js +2 -2
  96. package/dist/es/standards-sdk.es27.js +152 -6
  97. package/dist/es/standards-sdk.es27.js.map +1 -1
  98. package/dist/es/standards-sdk.es28.js +26 -189
  99. package/dist/es/standards-sdk.es28.js.map +1 -1
  100. package/dist/es/standards-sdk.es29.js +446 -26
  101. package/dist/es/standards-sdk.es29.js.map +1 -1
  102. package/dist/es/standards-sdk.es3.js +1 -1
  103. package/dist/es/standards-sdk.es3.js.map +1 -1
  104. package/dist/es/standards-sdk.es30.js +6 -342
  105. package/dist/es/standards-sdk.es30.js.map +1 -1
  106. package/dist/es/standards-sdk.es31.js +202 -6
  107. package/dist/es/standards-sdk.es31.js.map +1 -1
  108. package/dist/es/standards-sdk.es32.js +34 -202
  109. package/dist/es/standards-sdk.es32.js.map +1 -1
  110. package/dist/es/standards-sdk.es33.js +529 -34
  111. package/dist/es/standards-sdk.es33.js.map +1 -1
  112. package/dist/es/standards-sdk.es34.js +87 -501
  113. package/dist/es/standards-sdk.es34.js.map +1 -1
  114. package/dist/es/standards-sdk.es35.js +19 -98
  115. package/dist/es/standards-sdk.es35.js.map +1 -1
  116. package/dist/es/standards-sdk.es36.js +156 -18
  117. package/dist/es/standards-sdk.es36.js.map +1 -1
  118. package/dist/es/standards-sdk.es37.js +146 -150
  119. package/dist/es/standards-sdk.es37.js.map +1 -1
  120. package/dist/es/standards-sdk.es38.js +561 -134
  121. package/dist/es/standards-sdk.es38.js.map +1 -1
  122. package/dist/es/standards-sdk.es39.js +562 -543
  123. package/dist/es/standards-sdk.es39.js.map +1 -1
  124. package/dist/es/standards-sdk.es4.js +6 -4
  125. package/dist/es/standards-sdk.es4.js.map +1 -1
  126. package/dist/es/standards-sdk.es40.js +4 -601
  127. package/dist/es/standards-sdk.es40.js.map +1 -1
  128. package/dist/es/standards-sdk.es41.js +415 -4
  129. package/dist/es/standards-sdk.es41.js.map +1 -1
  130. package/dist/es/standards-sdk.es42.js +1536 -389
  131. package/dist/es/standards-sdk.es42.js.map +1 -1
  132. package/dist/es/standards-sdk.es43.js +133 -1541
  133. package/dist/es/standards-sdk.es43.js.map +1 -1
  134. package/dist/es/standards-sdk.es44.js +7 -155
  135. package/dist/es/standards-sdk.es44.js.map +1 -1
  136. package/dist/es/standards-sdk.es45.js +2 -7
  137. package/dist/es/standards-sdk.es45.js.map +1 -1
  138. package/dist/es/standards-sdk.es46.js +5 -5
  139. package/dist/es/standards-sdk.es48.js +1 -1
  140. package/dist/es/standards-sdk.es49.js +1 -1
  141. package/dist/es/standards-sdk.es5.js +4 -6
  142. package/dist/es/standards-sdk.es5.js.map +1 -1
  143. package/dist/es/standards-sdk.es50.js +1 -1
  144. package/dist/es/standards-sdk.es51.js +1 -1
  145. package/dist/es/standards-sdk.es52.js +1 -1
  146. package/dist/es/standards-sdk.es54.js +7135 -2
  147. package/dist/es/standards-sdk.es54.js.map +1 -1
  148. package/dist/es/standards-sdk.es55.js +7134 -41
  149. package/dist/es/standards-sdk.es55.js.map +1 -1
  150. package/dist/es/standards-sdk.es56.js +37 -37
  151. package/dist/es/standards-sdk.es56.js.map +1 -1
  152. package/dist/es/standards-sdk.es57.js +37 -37
  153. package/dist/es/standards-sdk.es57.js.map +1 -1
  154. package/dist/es/standards-sdk.es58.js +78 -72
  155. package/dist/es/standards-sdk.es58.js.map +1 -1
  156. package/dist/es/standards-sdk.es59.js +41 -7134
  157. package/dist/es/standards-sdk.es59.js.map +1 -1
  158. package/dist/es/standards-sdk.es6.js.map +1 -1
  159. package/dist/es/standards-sdk.es7.js +28 -22
  160. package/dist/es/standards-sdk.es7.js.map +1 -1
  161. package/dist/es/standards-sdk.es8.js +5 -5
  162. package/dist/es/utils/logger.d.ts.map +1 -1
  163. package/package.json +37 -35
  164. package/dist/cjs/hcs-21/index.d.ts +0 -4
  165. package/dist/cjs/hcs-21/index.d.ts.map +0 -1
  166. package/dist/cjs/hcs-21/petal-account-manager.d.ts +0 -52
  167. package/dist/cjs/hcs-21/petal-account-manager.d.ts.map +0 -1
  168. package/dist/cjs/hcs-21/types.d.ts +0 -44
  169. package/dist/cjs/hcs-21/types.d.ts.map +0 -1
  170. package/dist/cjs/index-xZmk-HBD.cjs.map +0 -1
  171. package/dist/es/hcs-21/index.d.ts +0 -4
  172. package/dist/es/hcs-21/index.d.ts.map +0 -1
  173. package/dist/es/hcs-21/petal-account-manager.d.ts +0 -52
  174. package/dist/es/hcs-21/petal-account-manager.d.ts.map +0 -1
  175. package/dist/es/hcs-21/types.d.ts +0 -44
  176. package/dist/es/hcs-21/types.d.ts.map +0 -1
  177. package/dist/es/standards-sdk.es60.js +0 -7144
  178. package/dist/es/standards-sdk.es60.js.map +0 -1
@@ -1,8 +1,4 @@
1
- import { c as global$3, d as process$1$2 } from "./standards-sdk.es46.js";
2
- var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global$3 !== "undefined" ? global$3 : typeof self !== "undefined" ? self : {};
3
- function getDefaultExportFromCjs(x) {
4
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
5
- }
1
+ import { j as getDefaultExportFromCjs$4, i as process$1$4, h as commonjsGlobal } from "./standards-sdk.es46.js";
6
2
  var dist = {};
7
3
  var hasRequiredDist;
8
4
  function requireDist() {
@@ -3070,6 +3066,7 @@ function requireGetIntrinsic() {
3070
3066
  "%eval%": eval,
3071
3067
  // eslint-disable-line no-eval
3072
3068
  "%EvalError%": $EvalError,
3069
+ "%Float16Array%": typeof Float16Array === "undefined" ? undefined$1 : Float16Array,
3073
3070
  "%Float32Array%": typeof Float32Array === "undefined" ? undefined$1 : Float32Array,
3074
3071
  "%Float64Array%": typeof Float64Array === "undefined" ? undefined$1 : Float64Array,
3075
3072
  "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$1 : FinalizationRegistry,
@@ -3297,7 +3294,7 @@ function requireGetIntrinsic() {
3297
3294
  if (!allowMissing) {
3298
3295
  throw new $TypeError("base intrinsic for " + name + " exists, but the property is not available.");
3299
3296
  }
3300
- return void 0;
3297
+ return void undefined$1;
3301
3298
  }
3302
3299
  if ($gOPD && i + 1 >= parts.length) {
3303
3300
  var desc = $gOPD(value, part);
@@ -3330,11 +3327,14 @@ function requireCallBound() {
3330
3327
  var $indexOf = callBindBasic([GetIntrinsic("%String.prototype.indexOf%")]);
3331
3328
  callBound = function callBoundIntrinsic(name, allowMissing) {
3332
3329
  var intrinsic = (
3333
- /** @type {Parameters<typeof callBindBasic>[0][0]} */
3330
+ /** @type {(this: unknown, ...args: unknown[]) => unknown} */
3334
3331
  GetIntrinsic(name, !!allowMissing)
3335
3332
  );
3336
3333
  if (typeof intrinsic === "function" && $indexOf(name, ".prototype.") > -1) {
3337
- return callBindBasic([intrinsic]);
3334
+ return callBindBasic(
3335
+ /** @type {const} */
3336
+ [intrinsic]
3337
+ );
3338
3338
  }
3339
3339
  return intrinsic;
3340
3340
  };
@@ -3613,10 +3613,10 @@ function requireIsCallable() {
3613
3613
  };
3614
3614
  return isCallable;
3615
3615
  }
3616
- var forEach_1;
3616
+ var forEach;
3617
3617
  var hasRequiredForEach;
3618
3618
  function requireForEach() {
3619
- if (hasRequiredForEach) return forEach_1;
3619
+ if (hasRequiredForEach) return forEach;
3620
3620
  hasRequiredForEach = 1;
3621
3621
  var isCallable2 = requireIsCallable();
3622
3622
  var toStr = Object.prototype.toString;
@@ -3652,7 +3652,10 @@ function requireForEach() {
3652
3652
  }
3653
3653
  }
3654
3654
  };
3655
- var forEach = function forEach2(list, iterator, thisArg) {
3655
+ function isArray(x) {
3656
+ return toStr.call(x) === "[object Array]";
3657
+ }
3658
+ forEach = function forEach2(list, iterator, thisArg) {
3656
3659
  if (!isCallable2(iterator)) {
3657
3660
  throw new TypeError("iterator must be a function");
3658
3661
  }
@@ -3660,7 +3663,7 @@ function requireForEach() {
3660
3663
  if (arguments.length >= 3) {
3661
3664
  receiver = thisArg;
3662
3665
  }
3663
- if (toStr.call(list) === "[object Array]") {
3666
+ if (isArray(list)) {
3664
3667
  forEachArray(list, iterator, receiver);
3665
3668
  } else if (typeof list === "string") {
3666
3669
  forEachString(list, iterator, receiver);
@@ -3668,8 +3671,7 @@ function requireForEach() {
3668
3671
  forEachObject(list, iterator, receiver);
3669
3672
  }
3670
3673
  };
3671
- forEach_1 = forEach;
3672
- return forEach_1;
3674
+ return forEach;
3673
3675
  }
3674
3676
  var possibleTypedArrayNames;
3675
3677
  var hasRequiredPossibleTypedArrayNames;
@@ -3677,6 +3679,7 @@ function requirePossibleTypedArrayNames() {
3677
3679
  if (hasRequiredPossibleTypedArrayNames) return possibleTypedArrayNames;
3678
3680
  hasRequiredPossibleTypedArrayNames = 1;
3679
3681
  possibleTypedArrayNames = [
3682
+ "Float16Array",
3680
3683
  "Float32Array",
3681
3684
  "Float64Array",
3682
3685
  "Int8Array",
@@ -3877,17 +3880,17 @@ var hasRequiredWhichTypedArray;
3877
3880
  function requireWhichTypedArray() {
3878
3881
  if (hasRequiredWhichTypedArray) return whichTypedArray;
3879
3882
  hasRequiredWhichTypedArray = 1;
3880
- var forEach = requireForEach();
3883
+ var forEach2 = requireForEach();
3881
3884
  var availableTypedArrays2 = /* @__PURE__ */ requireAvailableTypedArrays();
3882
3885
  var callBind2 = requireCallBind();
3883
3886
  var callBound2 = /* @__PURE__ */ requireCallBound();
3884
3887
  var gOPD2 = /* @__PURE__ */ requireGopd();
3888
+ var getProto2 = requireGetProto();
3885
3889
  var $toString = callBound2("Object.prototype.toString");
3886
3890
  var hasToStringTag = requireShams()();
3887
3891
  var g = typeof globalThis === "undefined" ? commonjsGlobal : globalThis;
3888
3892
  var typedArrays = availableTypedArrays2();
3889
3893
  var $slice = callBound2("String.prototype.slice");
3890
- var getPrototypeOf = Object.getPrototypeOf;
3891
3894
  var $indexOf = callBound2("Array.prototype.indexOf", true) || function indexOf(array, value) {
3892
3895
  for (var i = 0; i < array.length; i += 1) {
3893
3896
  if (array[i] === value) {
@@ -3897,41 +3900,45 @@ function requireWhichTypedArray() {
3897
3900
  return -1;
3898
3901
  };
3899
3902
  var cache = { __proto__: null };
3900
- if (hasToStringTag && gOPD2 && getPrototypeOf) {
3901
- forEach(typedArrays, function(typedArray) {
3903
+ if (hasToStringTag && gOPD2 && getProto2) {
3904
+ forEach2(typedArrays, function(typedArray) {
3902
3905
  var arr = new g[typedArray]();
3903
- if (Symbol.toStringTag in arr) {
3904
- var proto = getPrototypeOf(arr);
3906
+ if (Symbol.toStringTag in arr && getProto2) {
3907
+ var proto = getProto2(arr);
3905
3908
  var descriptor = gOPD2(proto, Symbol.toStringTag);
3906
- if (!descriptor) {
3907
- var superProto = getPrototypeOf(proto);
3909
+ if (!descriptor && proto) {
3910
+ var superProto = getProto2(proto);
3908
3911
  descriptor = gOPD2(superProto, Symbol.toStringTag);
3909
3912
  }
3910
3913
  cache["$" + typedArray] = callBind2(descriptor.get);
3911
3914
  }
3912
3915
  });
3913
3916
  } else {
3914
- forEach(typedArrays, function(typedArray) {
3917
+ forEach2(typedArrays, function(typedArray) {
3915
3918
  var arr = new g[typedArray]();
3916
3919
  var fn = arr.slice || arr.set;
3917
3920
  if (fn) {
3918
- cache["$" + typedArray] = callBind2(fn);
3921
+ cache[
3922
+ /** @type {`$${import('.').TypedArrayName}`} */
3923
+ "$" + typedArray
3924
+ ] = /** @type {import('./types').BoundSlice | import('./types').BoundSet} */
3925
+ // @ts-expect-error TODO FIXME
3926
+ callBind2(fn);
3919
3927
  }
3920
3928
  });
3921
3929
  }
3922
3930
  var tryTypedArrays = function tryAllTypedArrays(value) {
3923
3931
  var found = false;
3924
- forEach(
3925
- // eslint-disable-next-line no-extra-parens
3926
- /** @type {Record<`\$${TypedArrayName}`, Getter>} */
3927
- /** @type {any} */
3932
+ forEach2(
3933
+ /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
3928
3934
  cache,
3929
3935
  /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
3930
3936
  function(getter, typedArray) {
3931
3937
  if (!found) {
3932
3938
  try {
3933
3939
  if ("$" + getter(value) === typedArray) {
3934
- found = $slice(typedArray, 1);
3940
+ found = /** @type {import('.').TypedArrayName} */
3941
+ $slice(typedArray, 1);
3935
3942
  }
3936
3943
  } catch (e) {
3937
3944
  }
@@ -3942,17 +3949,16 @@ function requireWhichTypedArray() {
3942
3949
  };
3943
3950
  var trySlices = function tryAllSlices(value) {
3944
3951
  var found = false;
3945
- forEach(
3946
- // eslint-disable-next-line no-extra-parens
3947
- /** @type {Record<`\$${TypedArrayName}`, Getter>} */
3948
- /** @type {any} */
3952
+ forEach2(
3953
+ /** @type {Record<`\$${import('.').TypedArrayName}`, Getter>} */
3949
3954
  cache,
3950
- /** @type {(getter: typeof cache, name: `\$${import('.').TypedArrayName}`) => void} */
3955
+ /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
3951
3956
  function(getter, name) {
3952
3957
  if (!found) {
3953
3958
  try {
3954
3959
  getter(value);
3955
- found = $slice(name, 1);
3960
+ found = /** @type {import('.').TypedArrayName} */
3961
+ $slice(name, 1);
3956
3962
  } catch (e) {
3957
3963
  }
3958
3964
  }
@@ -4284,10 +4290,10 @@ function requireUtil() {
4284
4290
  return str;
4285
4291
  };
4286
4292
  exports.deprecate = function(fn, msg) {
4287
- if (typeof process$1$2 !== "undefined" && process$1$2.noDeprecation === true) {
4293
+ if (typeof process$1$4 !== "undefined" && process$1$4.noDeprecation === true) {
4288
4294
  return fn;
4289
4295
  }
4290
- if (typeof process$1$2 === "undefined") {
4296
+ if (typeof process$1$4 === "undefined") {
4291
4297
  return function() {
4292
4298
  return exports.deprecate(fn, msg).apply(this, arguments);
4293
4299
  };
@@ -4295,9 +4301,9 @@ function requireUtil() {
4295
4301
  var warned = false;
4296
4302
  function deprecated() {
4297
4303
  if (!warned) {
4298
- if (process$1$2.throwDeprecation) {
4304
+ if (process$1$4.throwDeprecation) {
4299
4305
  throw new Error(msg);
4300
- } else if (process$1$2.traceDeprecation) {
4306
+ } else if (process$1$4.traceDeprecation) {
4301
4307
  console.trace(msg);
4302
4308
  } else {
4303
4309
  console.error(msg);
@@ -4310,8 +4316,8 @@ function requireUtil() {
4310
4316
  };
4311
4317
  var debugs = {};
4312
4318
  var debugEnvRegex = /^$/;
4313
- if (process$1$2.env.NODE_DEBUG) {
4314
- var debugEnv = process$1$2.env.NODE_DEBUG;
4319
+ if (process$1$4.env.NODE_DEBUG) {
4320
+ var debugEnv = process$1$4.env.NODE_DEBUG;
4315
4321
  debugEnv = debugEnv.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase();
4316
4322
  debugEnvRegex = new RegExp("^" + debugEnv + "$", "i");
4317
4323
  }
@@ -4319,7 +4325,7 @@ function requireUtil() {
4319
4325
  set = set.toUpperCase();
4320
4326
  if (!debugs[set]) {
4321
4327
  if (debugEnvRegex.test(set)) {
4322
- var pid = process$1$2.pid;
4328
+ var pid = process$1$4.pid;
4323
4329
  debugs[set] = function() {
4324
4330
  var msg = exports.format.apply(exports, arguments);
4325
4331
  console.error("%s %d: %s", set, pid, msg);
@@ -4771,10 +4777,10 @@ function requireUtil() {
4771
4777
  };
4772
4778
  original.apply(this, args).then(
4773
4779
  function(ret) {
4774
- process$1$2.nextTick(cb.bind(null, null, ret));
4780
+ process$1$4.nextTick(cb.bind(null, null, ret));
4775
4781
  },
4776
4782
  function(rej) {
4777
- process$1$2.nextTick(callbackifyOnRejected.bind(null, rej, cb));
4783
+ process$1$4.nextTick(callbackifyOnRejected.bind(null, rej, cb));
4778
4784
  }
4779
4785
  );
4780
4786
  }
@@ -4839,7 +4845,7 @@ function requireBuffer_list() {
4839
4845
  }
4840
4846
  }
4841
4847
  function _createClass(Constructor, protoProps, staticProps) {
4842
- _defineProperties(Constructor.prototype, protoProps);
4848
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
4843
4849
  Object.defineProperty(Constructor, "prototype", { writable: false });
4844
4850
  return Constructor;
4845
4851
  }
@@ -5042,10 +5048,10 @@ function requireDestroy() {
5042
5048
  cb(err);
5043
5049
  } else if (err) {
5044
5050
  if (!this._writableState) {
5045
- process$1$2.nextTick(emitErrorNT, this, err);
5051
+ process$1$4.nextTick(emitErrorNT, this, err);
5046
5052
  } else if (!this._writableState.errorEmitted) {
5047
5053
  this._writableState.errorEmitted = true;
5048
- process$1$2.nextTick(emitErrorNT, this, err);
5054
+ process$1$4.nextTick(emitErrorNT, this, err);
5049
5055
  }
5050
5056
  }
5051
5057
  return this;
@@ -5059,18 +5065,18 @@ function requireDestroy() {
5059
5065
  this._destroy(err || null, function(err2) {
5060
5066
  if (!cb && err2) {
5061
5067
  if (!_this._writableState) {
5062
- process$1$2.nextTick(emitErrorAndCloseNT, _this, err2);
5068
+ process$1$4.nextTick(emitErrorAndCloseNT, _this, err2);
5063
5069
  } else if (!_this._writableState.errorEmitted) {
5064
5070
  _this._writableState.errorEmitted = true;
5065
- process$1$2.nextTick(emitErrorAndCloseNT, _this, err2);
5071
+ process$1$4.nextTick(emitErrorAndCloseNT, _this, err2);
5066
5072
  } else {
5067
- process$1$2.nextTick(emitCloseNT, _this);
5073
+ process$1$4.nextTick(emitCloseNT, _this);
5068
5074
  }
5069
5075
  } else if (cb) {
5070
- process$1$2.nextTick(emitCloseNT, _this);
5076
+ process$1$4.nextTick(emitCloseNT, _this);
5071
5077
  cb(err2);
5072
5078
  } else {
5073
- process$1$2.nextTick(emitCloseNT, _this);
5079
+ process$1$4.nextTick(emitCloseNT, _this);
5074
5080
  }
5075
5081
  });
5076
5082
  return this;
@@ -5415,7 +5421,7 @@ function require_stream_writable() {
5415
5421
  function writeAfterEnd(stream, cb) {
5416
5422
  var er = new ERR_STREAM_WRITE_AFTER_END();
5417
5423
  errorOrDestroy(stream, er);
5418
- process$1$2.nextTick(cb, er);
5424
+ process$1$4.nextTick(cb, er);
5419
5425
  }
5420
5426
  function validChunk(stream, state2, chunk, cb) {
5421
5427
  var er;
@@ -5426,7 +5432,7 @@ function require_stream_writable() {
5426
5432
  }
5427
5433
  if (er) {
5428
5434
  errorOrDestroy(stream, er);
5429
- process$1$2.nextTick(cb, er);
5435
+ process$1$4.nextTick(cb, er);
5430
5436
  return false;
5431
5437
  }
5432
5438
  return true;
@@ -5538,8 +5544,8 @@ function require_stream_writable() {
5538
5544
  function onwriteError(stream, state2, sync, er, cb) {
5539
5545
  --state2.pendingcb;
5540
5546
  if (sync) {
5541
- process$1$2.nextTick(cb, er);
5542
- process$1$2.nextTick(finishMaybe, stream, state2);
5547
+ process$1$4.nextTick(cb, er);
5548
+ process$1$4.nextTick(finishMaybe, stream, state2);
5543
5549
  stream._writableState.errorEmitted = true;
5544
5550
  errorOrDestroy(stream, er);
5545
5551
  } else {
@@ -5568,7 +5574,7 @@ function require_stream_writable() {
5568
5574
  clearBuffer(stream, state2);
5569
5575
  }
5570
5576
  if (sync) {
5571
- process$1$2.nextTick(afterWrite, stream, state2, finished, cb);
5577
+ process$1$4.nextTick(afterWrite, stream, state2, finished, cb);
5572
5578
  } else {
5573
5579
  afterWrite(stream, state2, finished, cb);
5574
5580
  }
@@ -5681,7 +5687,7 @@ function require_stream_writable() {
5681
5687
  if (typeof stream._final === "function" && !state2.destroyed) {
5682
5688
  state2.pendingcb++;
5683
5689
  state2.finalCalled = true;
5684
- process$1$2.nextTick(callFinal, stream, state2);
5690
+ process$1$4.nextTick(callFinal, stream, state2);
5685
5691
  } else {
5686
5692
  state2.prefinished = true;
5687
5693
  stream.emit("prefinish");
@@ -5709,7 +5715,7 @@ function require_stream_writable() {
5709
5715
  state2.ending = true;
5710
5716
  finishMaybe(stream, state2);
5711
5717
  if (cb) {
5712
- if (state2.finished) process$1$2.nextTick(cb);
5718
+ if (state2.finished) process$1$4.nextTick(cb);
5713
5719
  else stream.once("finish", cb);
5714
5720
  }
5715
5721
  state2.ended = true;
@@ -5815,7 +5821,7 @@ function require_stream_duplex() {
5815
5821
  });
5816
5822
  function onend() {
5817
5823
  if (this._writableState.ended) return;
5818
- process$1$2.nextTick(onEndNT, this);
5824
+ process$1$4.nextTick(onEndNT, this);
5819
5825
  }
5820
5826
  function onEndNT(self2) {
5821
5827
  self2.end();
@@ -5986,7 +5992,7 @@ function requireAsync_iterator() {
5986
5992
  }
5987
5993
  }
5988
5994
  function onReadable(iter) {
5989
- process$1$2.nextTick(readAndResolve, iter);
5995
+ process$1$4.nextTick(readAndResolve, iter);
5990
5996
  }
5991
5997
  function wrapForNext(lastPromise, iter) {
5992
5998
  return function(resolve, reject) {
@@ -6016,7 +6022,7 @@ function requireAsync_iterator() {
6016
6022
  }
6017
6023
  if (this[kStream].destroyed) {
6018
6024
  return new Promise(function(resolve, reject) {
6019
- process$1$2.nextTick(function() {
6025
+ process$1$4.nextTick(function() {
6020
6026
  if (_this[kError]) {
6021
6027
  reject(_this[kError]);
6022
6028
  } else {
@@ -6446,7 +6452,7 @@ function require_stream_readable() {
6446
6452
  if (!state2.emittedReadable) {
6447
6453
  debug("emitReadable", state2.flowing);
6448
6454
  state2.emittedReadable = true;
6449
- process$1$2.nextTick(emitReadable_, stream);
6455
+ process$1$4.nextTick(emitReadable_, stream);
6450
6456
  }
6451
6457
  }
6452
6458
  function emitReadable_(stream) {
@@ -6462,7 +6468,7 @@ function require_stream_readable() {
6462
6468
  function maybeReadMore(stream, state2) {
6463
6469
  if (!state2.readingMore) {
6464
6470
  state2.readingMore = true;
6465
- process$1$2.nextTick(maybeReadMore_, stream, state2);
6471
+ process$1$4.nextTick(maybeReadMore_, stream, state2);
6466
6472
  }
6467
6473
  }
6468
6474
  function maybeReadMore_(stream, state2) {
@@ -6494,9 +6500,9 @@ function require_stream_readable() {
6494
6500
  }
6495
6501
  state2.pipesCount += 1;
6496
6502
  debug("pipe count=%d opts=%j", state2.pipesCount, pipeOpts);
6497
- var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process$1$2.stdout && dest !== process$1$2.stderr;
6503
+ var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process$1$4.stdout && dest !== process$1$4.stderr;
6498
6504
  var endFn = doEnd ? onend : unpipe;
6499
- if (state2.endEmitted) process$1$2.nextTick(endFn);
6505
+ if (state2.endEmitted) process$1$4.nextTick(endFn);
6500
6506
  else src.once("end", endFn);
6501
6507
  dest.on("unpipe", onunpipe);
6502
6508
  function onunpipe(readable, unpipeInfo) {
@@ -6630,7 +6636,7 @@ function require_stream_readable() {
6630
6636
  if (state2.length) {
6631
6637
  emitReadable(this);
6632
6638
  } else if (!state2.reading) {
6633
- process$1$2.nextTick(nReadingNextTick, this);
6639
+ process$1$4.nextTick(nReadingNextTick, this);
6634
6640
  }
6635
6641
  }
6636
6642
  }
@@ -6640,14 +6646,14 @@ function require_stream_readable() {
6640
6646
  Readable.prototype.removeListener = function(ev, fn) {
6641
6647
  var res = Stream.prototype.removeListener.call(this, ev, fn);
6642
6648
  if (ev === "readable") {
6643
- process$1$2.nextTick(updateReadableListening, this);
6649
+ process$1$4.nextTick(updateReadableListening, this);
6644
6650
  }
6645
6651
  return res;
6646
6652
  };
6647
6653
  Readable.prototype.removeAllListeners = function(ev) {
6648
6654
  var res = Stream.prototype.removeAllListeners.apply(this, arguments);
6649
6655
  if (ev === "readable" || ev === void 0) {
6650
- process$1$2.nextTick(updateReadableListening, this);
6656
+ process$1$4.nextTick(updateReadableListening, this);
6651
6657
  }
6652
6658
  return res;
6653
6659
  };
@@ -6677,7 +6683,7 @@ function require_stream_readable() {
6677
6683
  function resume(stream, state2) {
6678
6684
  if (!state2.resumeScheduled) {
6679
6685
  state2.resumeScheduled = true;
6680
- process$1$2.nextTick(resume_, stream, state2);
6686
+ process$1$4.nextTick(resume_, stream, state2);
6681
6687
  }
6682
6688
  }
6683
6689
  function resume_(stream, state2) {
@@ -6818,7 +6824,7 @@ function require_stream_readable() {
6818
6824
  debug("endReadable", state2.endEmitted);
6819
6825
  if (!state2.endEmitted) {
6820
6826
  state2.ended = true;
6821
- process$1$2.nextTick(endReadableNT, state2, stream);
6827
+ process$1$4.nextTick(endReadableNT, state2, stream);
6822
6828
  }
6823
6829
  }
6824
6830
  function endReadableNT(state2, stream) {
@@ -7127,7 +7133,7 @@ function requireStreamBrowserify() {
7127
7133
  return streamBrowserify;
7128
7134
  }
7129
7135
  var streamBrowserifyExports = requireStreamBrowserify();
7130
- const index = /* @__PURE__ */ getDefaultExportFromCjs(streamBrowserifyExports);
7136
+ const index = /* @__PURE__ */ getDefaultExportFromCjs$4(streamBrowserifyExports);
7131
7137
  const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7132
7138
  __proto__: null,
7133
7139
  default: index