@stakekit/widget 0.0.286 → 0.0.288

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 (89) hide show
  1. package/dist/bundle/Result-D66k67e4.js +3 -0
  2. package/dist/bundle/Schema-CnO1Nnkx.js +2 -0
  3. package/dist/bundle/{cardano-connector-Cg1NVNSz.js → cardano-connector-BdmhtPwK.js} +1 -1
  4. package/dist/{website/assets/configured-chains-C5lih9lm.js → bundle/configured-chains-BVaAJPl7.js} +1 -1
  5. package/dist/bundle/{cosmos-connector-meta-B3hXlZyj.js → cosmos-connector-meta-CsjY5xv_.js} +1 -1
  6. package/dist/bundle/{current-value-stream-sEIwrVMJ.js → current-value-stream-BphKxe9G.js} +1 -1
  7. package/dist/bundle/{esm-B8ixy8Ti.js → esm-BioWy-zm.js} +1 -1
  8. package/dist/bundle/index.bundle.css +1 -1
  9. package/dist/bundle/index.bundle.js +132 -100
  10. package/dist/bundle/{ledger-connector-ScKbHFK2.js → ledger-connector-BeFXqMQm.js} +2 -2
  11. package/dist/bundle/{network-DRjEa3NO.js → network-BR2dx0lQ.js} +1 -1
  12. package/dist/bundle/{polkadot-ledger-transaction-CSI9csNM.js → polkadot-ledger-transaction-CCpzhicj.js} +1 -1
  13. package/dist/bundle/{safe-connector-BuI_vM2N.js → safe-connector-BW8tBAGV.js} +1 -1
  14. package/dist/bundle/{solana-connector-BXIkWGi1.js → solana-connector-CEoNnJWx.js} +1 -1
  15. package/dist/bundle/{stellar-connector-D5G2p6aO.js → stellar-connector-C3GFN35d.js} +1 -1
  16. package/dist/bundle/{substrate-connector-AJ6EWjQP.js → substrate-connector-B7COXHL7.js} +1 -1
  17. package/dist/{website/assets/ton-connector-DWz2WVCw.js → bundle/ton-connector-DnPSYtXm.js} +1 -1
  18. package/dist/bundle/transaction-3CLRKFvX.js +1 -0
  19. package/dist/{website/assets/transaction-BJ3RmuAw.js → bundle/transaction-BDuN1rLk.js} +2 -2
  20. package/dist/bundle/{transaction-NX-vBbnh.js → transaction-DU8AaOQz.js} +1 -1
  21. package/dist/bundle/{tron-connector-nZfhLwx4.js → tron-connector-iA7bb0__.js} +1 -1
  22. package/dist/bundle/{utils-CfBIlQsz.js → utils-llPzGe7v.js} +1 -1
  23. package/dist/bundle/wagmi-connect-result-DOu6hDDM.js +11 -0
  24. package/dist/bundle/{wallet-errors-Bvwwydi9.js → wallet-errors-MrbcJr3I.js} +1 -1
  25. package/dist/bundle/{wallet-manager-C-MB05Qs.js → wallet-manager-D2AeCPRs.js} +2 -2
  26. package/dist/package/{Result-Cem4lYBf.js → Result-BA6lrqKV.js} +117 -49
  27. package/dist/package/{Schema-DFoi51wt.js → Schema-CUut1r-H.js} +1135 -1310
  28. package/dist/package/{cardano-connector-B9UToMFP.js → cardano-connector-ApyBIRYL.js} +3 -3
  29. package/dist/package/{configured-chains-BfQ8ESmR.js → configured-chains-CeRB7Tdy.js} +1 -1
  30. package/dist/package/{cosmos-connector-meta-UMFrkViG.js → cosmos-connector-meta-NNACISY5.js} +1 -1
  31. package/dist/package/{current-value-stream-BPaLLDf4.js → current-value-stream-Cs2IFPhP.js} +1 -1
  32. package/dist/package/{esm-89IrCtWy.js → esm-3BtHXmV9.js} +1 -1
  33. package/dist/package/index.package.css +21 -0
  34. package/dist/package/index.package.js +8469 -3828
  35. package/dist/package/{ledger-connector-B8D8xJOD.js → ledger-connector-ebEnv7IA.js} +9 -9
  36. package/dist/package/{network-DiYap-9L.js → network-Df21Fcdz.js} +1 -1
  37. package/dist/package/{polkadot-ledger-transaction-Bi14PyTF.js → polkadot-ledger-transaction-Cq_ImU8s.js} +1 -1
  38. package/dist/package/{safe-connector-lVCS_bS5.js → safe-connector-CMgopygU.js} +4 -4
  39. package/dist/package/{solana-connector-P-TqgNNC.js → solana-connector-B2Rf5Tyj.js} +3 -3
  40. package/dist/package/{stellar-connector-BMB2Cql4.js → stellar-connector-DdzqZgoG.js} +4 -4
  41. package/dist/package/{substrate-connector-a7SNpKjf.js → substrate-connector-DO7OAvZ9.js} +2 -2
  42. package/dist/package/{ton-connector-CMzOI2bi.js → ton-connector-CUtYVysK.js} +5 -5
  43. package/dist/package/{transaction-CmOScFm6.js → transaction-BjGgdyu0.js} +5 -5
  44. package/dist/package/{transaction-Do9wZHM8.js → transaction-MMiSjtGI.js} +1 -1
  45. package/dist/package/{transaction-C1e6h8J1.js → transaction-fIZimEky.js} +1 -1
  46. package/dist/package/{tron-connector-PLpMhB65.js → tron-connector-DT1NdAaP.js} +2 -2
  47. package/dist/package/{wagmi-connect-result-BJ91_jis.js → wagmi-connect-result-Bh6qH5iI.js} +593 -462
  48. package/dist/package/{wallet-errors-B4cGcGNy.js → wallet-errors-BMdJQ_kv.js} +1 -1
  49. package/dist/package/{wallet-manager-BsDss9DQ.js → wallet-manager-BbL7EBi6.js} +5 -5
  50. package/dist/types/domain/network/network.d.ts +2 -2
  51. package/dist/types/generated/api/legacy-schema.d.ts +3503 -1952
  52. package/dist/types/generated/api/yield-schema.d.ts +1492 -1113
  53. package/dist/types/public-api/types.d.ts +2 -2
  54. package/dist/website/assets/Result-D66k67e4.js +3 -0
  55. package/dist/website/assets/Schema-CnO1Nnkx.js +2 -0
  56. package/dist/website/assets/{cardano-connector-JluaLQJr.js → cardano-connector-DkgQsbib.js} +1 -1
  57. package/dist/{bundle/configured-chains-C5lih9lm.js → website/assets/configured-chains-BVaAJPl7.js} +1 -1
  58. package/dist/website/assets/{cosmos-connector-meta-B3hXlZyj.js → cosmos-connector-meta-CsjY5xv_.js} +1 -1
  59. package/dist/website/assets/{current-value-stream-sEIwrVMJ.js → current-value-stream-BphKxe9G.js} +1 -1
  60. package/dist/website/assets/{esm-DmRWC3up.js → esm-DJUTv1_r.js} +1 -1
  61. package/dist/website/assets/{index-CYwddl65.css → index-B_e-5cjt.css} +1 -1
  62. package/dist/website/assets/index-Ifmhd5nI.js +592 -0
  63. package/dist/website/assets/{ledger-connector-zHWvy_21.js → ledger-connector-CMFH1Z0M.js} +3 -3
  64. package/dist/website/assets/{network-DRjEa3NO.js → network-BR2dx0lQ.js} +1 -1
  65. package/dist/website/assets/{polkadot-ledger-transaction-CSI9csNM.js → polkadot-ledger-transaction-CCpzhicj.js} +1 -1
  66. package/dist/website/assets/{safe-connector-B_IWbdsx.js → safe-connector-BDc3OqKV.js} +1 -1
  67. package/dist/website/assets/{solana-connector-DUrUEFXI.js → solana-connector-Ij-Dm1HM.js} +1 -1
  68. package/dist/website/assets/{stellar-connector-D5G2p6aO.js → stellar-connector-C3GFN35d.js} +1 -1
  69. package/dist/website/assets/{substrate-connector-DxgYUQY4.js → substrate-connector-B-LTNtpz.js} +1 -1
  70. package/dist/{bundle/ton-connector-DWz2WVCw.js → website/assets/ton-connector-DnPSYtXm.js} +1 -1
  71. package/dist/{bundle/transaction-BJ3RmuAw.js → website/assets/transaction-BDuN1rLk.js} +2 -2
  72. package/dist/website/assets/{transaction-BIBBEBi6.js → transaction-Cth5mVGJ.js} +1 -1
  73. package/dist/website/assets/transaction-peV0IJTV.js +1 -0
  74. package/dist/website/assets/{tron-connector-C3nKPxdx.js → tron-connector-D_NeRPfc.js} +1 -1
  75. package/dist/website/assets/{utils-DVCp0qSW.js → utils-DOZR2zEE.js} +1 -1
  76. package/dist/website/assets/wagmi-connect-result-DOu6hDDM.js +11 -0
  77. package/dist/website/assets/{wallet-errors-Bvwwydi9.js → wallet-errors-MrbcJr3I.js} +1 -1
  78. package/dist/website/assets/{wallet-manager-9-XcN6SR.js → wallet-manager-DGQAWJIz.js} +3 -3
  79. package/dist/website/index.html +13 -13
  80. package/package.json +12 -11
  81. package/dist/bundle/Result-3MQjLy1V.js +0 -3
  82. package/dist/bundle/Schema-DgreXIef.js +0 -2
  83. package/dist/bundle/transaction-BnkP6nIP.js +0 -1
  84. package/dist/bundle/wagmi-connect-result-CqXaJhOa.js +0 -11
  85. package/dist/website/assets/Result-3MQjLy1V.js +0 -3
  86. package/dist/website/assets/Schema-DgreXIef.js +0 -2
  87. package/dist/website/assets/index-DtK-tGS5.js +0 -560
  88. package/dist/website/assets/transaction-Sqg4_vo7.js +0 -1
  89. package/dist/website/assets/wagmi-connect-result-CqXaJhOa.js +0 -11
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/Pipeable.js
2
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/Pipeable.js
3
3
  /**
4
4
  * The `Pipeable` module defines the shared interface and implementation helpers
5
5
  * for values that support Effect-style method chaining with `.pipe(...)`.
@@ -101,7 +101,7 @@ var Class$1 = /*#__PURE__*/ function() {
101
101
  return PipeableBase;
102
102
  }();
103
103
  //#endregion
104
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/Function.js
104
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/Function.js
105
105
  /**
106
106
  * Creates a function that can be called in data-first style or data-last
107
107
  * (`pipe`-friendly) style.
@@ -435,7 +435,7 @@ function memoizeIdempotent(f) {
435
435
  };
436
436
  }
437
437
  //#endregion
438
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/internal/equal.js
438
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/internal/equal.js
439
439
  /** @internal */
440
440
  var getAllObjectKeys = (obj) => {
441
441
  const keys = new Set(Reflect.ownKeys(obj));
@@ -454,7 +454,7 @@ var getAllObjectKeys = (obj) => {
454
454
  /** @internal */
455
455
  var byReferenceInstances = /*#__PURE__*/ new WeakSet();
456
456
  //#endregion
457
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/Predicate.js
457
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/Predicate.js
458
458
  /**
459
459
  * Defines runtime checks for values.
460
460
  *
@@ -750,6 +750,28 @@ function isNotNullish(input) {
750
750
  return input != null;
751
751
  }
752
752
  /**
753
+ * Type guard that always returns `false`.
754
+ *
755
+ * **When to use**
756
+ *
757
+ * Use when you need a `Predicate` that never accepts, e.g. in default branches.
758
+ *
759
+ * **Example** (Matching no values)
760
+ *
761
+ * ```ts import.meta.vitest
762
+ * import { Predicate } from "effect"
763
+ *
764
+ * Predicate.isNever("anything") // => false
765
+ * ```
766
+ *
767
+ * @see {@link isUnknown}
768
+ * @category guards
769
+ * @since 2.0.0
770
+ */
771
+ function isNever(_) {
772
+ return false;
773
+ }
774
+ /**
753
775
  * Type guard that always returns `true`.
754
776
  *
755
777
  * **When to use**
@@ -977,7 +999,7 @@ function isIterable(input) {
977
999
  */
978
1000
  var or = /*#__PURE__*/ dual(2, (self, that) => (a) => self(a) || that(a));
979
1001
  //#endregion
980
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/Hash.js
1002
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/Hash.js
981
1003
  /**
982
1004
  * Computes Effect hash values and defines the interface for objects that want
983
1005
  * to provide their own hash implementation. Hashes are small numeric
@@ -1004,7 +1026,7 @@ var or = /*#__PURE__*/ dual(2, (self, that) => (a) => self(a) || that(a));
1004
1026
  * @category symbols
1005
1027
  * @since 2.0.0
1006
1028
  */
1007
- var symbol$1 = "~effect/interfaces/Hash";
1029
+ var symbol$1 = "~effect/Hash";
1008
1030
  /**
1009
1031
  * Computes a hash value for any given value.
1010
1032
  *
@@ -1044,8 +1066,6 @@ var hash = (self) => {
1044
1066
  switch (typeof self) {
1045
1067
  case "number": return number(self);
1046
1068
  case "bigint": return string(self.toString(10));
1047
- case "boolean": return string(String(self));
1048
- case "symbol": return string(String(self));
1049
1069
  case "string": return string(self);
1050
1070
  case "undefined": return string("undefined");
1051
1071
  case "function":
@@ -1069,7 +1089,7 @@ var hash = (self) => {
1069
1089
  hashCache.set(self, h);
1070
1090
  return h;
1071
1091
  }
1072
- default: throw new Error(`BUG: unhandled typeof ${typeof self} - please report an issue at https://github.com/Effect-TS/effect/issues`);
1092
+ default: return string(String(self));
1073
1093
  }
1074
1094
  };
1075
1095
  /**
@@ -1222,9 +1242,7 @@ var isHash = (u) => hasProperty(u, symbol$1);
1222
1242
  * @since 2.0.0
1223
1243
  */
1224
1244
  var number = (n) => {
1225
- if (n !== n) return string("NaN");
1226
- if (n === Infinity) return string("Infinity");
1227
- if (n === -Infinity) return string("-Infinity");
1245
+ if (n !== n || n === Infinity || n === -Infinity) return string(String(n));
1228
1246
  let h = n | 0;
1229
1247
  if (h !== n) h ^= n * 4294967295;
1230
1248
  while (n > 4294967295) h ^= n /= 4294967295;
@@ -1390,7 +1408,7 @@ function withVisitedTracking$1(obj, fn) {
1390
1408
  return result;
1391
1409
  }
1392
1410
  //#endregion
1393
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/Equal.js
1411
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/Equal.js
1394
1412
  /**
1395
1413
  * Defines the unique string identifier for the `Equal` interface.
1396
1414
  *
@@ -1429,7 +1447,7 @@ function withVisitedTracking$1(obj, fn) {
1429
1447
  * @category symbols
1430
1448
  * @since 2.0.0
1431
1449
  */
1432
- var symbol = "~effect/interfaces/Equal";
1450
+ var symbol = "~effect/Equal";
1433
1451
  function equals() {
1434
1452
  if (arguments.length === 1) return (self) => compareBoth(self, arguments[0]);
1435
1453
  return compareBoth(arguments[0], arguments[1]);
@@ -1616,7 +1634,7 @@ var compareSets = /*#__PURE__*/ makeCompareSet(compareBoth);
1616
1634
  */
1617
1635
  var isEqual = (u) => hasProperty(u, symbol);
1618
1636
  //#endregion
1619
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/Redactable.js
1637
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/Redactable.js
1620
1638
  /**
1621
1639
  * Defines the symbol used to identify objects that implement the {@link Redactable}
1622
1640
  * protocol.
@@ -1735,7 +1753,7 @@ var emptyContext = {
1735
1753
  }
1736
1754
  };
1737
1755
  //#endregion
1738
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/Formatter.js
1756
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/Formatter.js
1739
1757
  /**
1740
1758
  * Formats JavaScript values into readable strings.
1741
1759
  *
@@ -1762,6 +1780,7 @@ var emptyContext = {
1762
1780
  * - Handles `BigInt`, `Symbol`, `Set`, `Map`, `Date`, `RegExp`, and class
1763
1781
  * instances that `JSON.stringify` cannot represent.
1764
1782
  * - Circular references are shown as `"[Circular]"` instead of throwing.
1783
+ * - Failures while inspecting a value are rendered as diagnostic placeholders instead of throwing.
1765
1784
  * - Primitives: stringified naturally (`null`, `undefined`, `123`, `true`).
1766
1785
  * Strings are JSON-quoted.
1767
1786
  * - Objects with a custom `toString` (not `Object.prototype.toString`):
@@ -1826,6 +1845,14 @@ function format(input, options) {
1826
1845
  }
1827
1846
  };
1828
1847
  function recur(v, d = 0) {
1848
+ try {
1849
+ return recurUnsafe(v, d);
1850
+ } catch {
1851
+ if (typeof v === "object" && v !== null || typeof v === "function") ancestors.delete(v);
1852
+ return "[inspection threw]";
1853
+ }
1854
+ }
1855
+ function recurUnsafe(v, d = 0) {
1829
1856
  if (typeof v === "string") return JSON.stringify(v);
1830
1857
  if (typeof v === "number" || v == null || typeof v === "boolean" || typeof v === "symbol") return String(v);
1831
1858
  if (typeof v === "bigint") return String(v) + "n";
@@ -1838,15 +1865,15 @@ function format(input, options) {
1838
1865
  else if (v instanceof Date) output = formatDate(v);
1839
1866
  else if (!options?.ignoreToString && hasProperty(v, "toString") && typeof v["toString"] === "function" && v["toString"] !== Object.prototype.toString && v["toString"] !== Array.prototype.toString) {
1840
1867
  const s = safeToString(v);
1841
- output = v instanceof Error && v.cause ? `${s} (cause: ${recur(v.cause, d)})` : s;
1868
+ output = v instanceof Error && v.cause !== void 0 ? `${s} (cause: ${recur(v.cause, d)})` : s;
1842
1869
  } else if (Symbol.iterator in v) output = `${v.constructor.name}(${recur(Array.from(v), d)})`;
1843
1870
  else {
1844
1871
  const keys = ownKeys(v);
1845
1872
  if (!gap || keys.length <= 1) {
1846
- const body = `{${keys.map((k) => `${formatPropertyKey(k)}:${recur(v[k], d)}`).join(",")}}`;
1873
+ const body = `{${keys.map((k) => `${formatPropertyKey(k)}:${recur(safeGet(v, k), d)}`).join(",")}}`;
1847
1874
  output = wrap(v, body);
1848
1875
  } else {
1849
- const body = `{\n${keys.map((k) => `${ind(d + 1)}${formatPropertyKey(k)}: ${recur(v[k], d + 1)}`).join(",\n")}\n${ind(d)}}`;
1876
+ const body = `{\n${keys.map((k) => `${ind(d + 1)}${formatPropertyKey(k)}: ${recur(safeGet(v, k), d + 1)}`).join(",\n")}\n${ind(d)}}`;
1850
1877
  output = wrap(v, body);
1851
1878
  }
1852
1879
  }
@@ -1893,6 +1920,13 @@ function safeToString(input) {
1893
1920
  return "[toString threw]";
1894
1921
  }
1895
1922
  }
1923
+ function safeGet(input, key) {
1924
+ try {
1925
+ return input[key];
1926
+ } catch {
1927
+ return "[property access threw]";
1928
+ }
1929
+ }
1896
1930
  /**
1897
1931
  * Stringifies a value to JSON safely, silently dropping circular references.
1898
1932
  *
@@ -1963,7 +1997,7 @@ function formatJson(input, options) {
1963
1997
  }, options?.space) ?? "null";
1964
1998
  }
1965
1999
  //#endregion
1966
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/Inspectable.js
2000
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/Inspectable.js
1967
2001
  /**
1968
2002
  * Controls how values appear in logs and debugging output.
1969
2003
  *
@@ -2183,7 +2217,39 @@ var Class = class {
2183
2217
  }
2184
2218
  };
2185
2219
  //#endregion
2186
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/Utils.js
2220
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/internal/stackTraceLimit.js
2221
+ /**
2222
+ * Check if `Error.stackTraceLimit` is writable.
2223
+ * Returns `false` if the property is frozen, non-writable, or `Error` is non-extensible.
2224
+ *
2225
+ * @internal
2226
+ */
2227
+ var isStackTraceLimitWritable = () => {
2228
+ const desc = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit");
2229
+ if (desc === void 0) return Object.isExtensible(Error);
2230
+ return Object.hasOwn(desc, "writable") ? desc.writable === true : desc.set !== void 0;
2231
+ };
2232
+ var canWriteStackTraceLimit = /*#__PURE__*/ isStackTraceLimitWritable();
2233
+ /**
2234
+ * Get the current `Error.stackTraceLimit` value.
2235
+ * Returns `undefined` if the property doesn't exist.
2236
+ *
2237
+ * @internal
2238
+ */
2239
+ var getStackTraceLimit = () => Error.stackTraceLimit;
2240
+ /**
2241
+ * Safely set `Error.stackTraceLimit` if possible, otherwise no-op.
2242
+ *
2243
+ * Accepts `undefined` so a value read via {@link getStackTraceLimit} can be
2244
+ * restored faithfully.
2245
+ *
2246
+ * @internal
2247
+ */
2248
+ var setStackTraceLimit = (value) => {
2249
+ if (canWriteStackTraceLimit) Error.stackTraceLimit = value;
2250
+ };
2251
+ //#endregion
2252
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/Utils.js
2187
2253
  /**
2188
2254
  * Yields its wrapped value exactly once through an `IterableIterator`.
2189
2255
  *
@@ -2265,12 +2331,12 @@ var pickInternalCall = () => {
2265
2331
  return body();
2266
2332
  } finally {}
2267
2333
  } };
2268
- return standard[InternalTypeId](() => (/* @__PURE__ */ new Error()).stack)?.includes(InternalTypeId) === true ? standard[InternalTypeId] : forced[InternalTypeId];
2334
+ return getStackTraceLimit() !== 0 && standard[InternalTypeId](() => (/* @__PURE__ */ new Error()).stack)?.includes(InternalTypeId) === true ? standard[InternalTypeId] : forced[InternalTypeId];
2269
2335
  };
2270
2336
  /** @internal */
2271
2337
  var internalCall = /*#__PURE__*/ pickInternalCall();
2272
2338
  //#endregion
2273
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/internal/record.js
2339
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/internal/record.js
2274
2340
  /** @internal */
2275
2341
  function assignProperty(self, key, value) {
2276
2342
  if (key === "__proto__") Object.defineProperty(self, key, {
@@ -2286,7 +2352,7 @@ function assignProperties(self, source) {
2286
2352
  for (const key of Reflect.ownKeys(source)) if (Object.prototype.propertyIsEnumerable.call(source, key)) assignProperty(self, key, source[key]);
2287
2353
  }
2288
2354
  //#endregion
2289
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/internal/core.js
2355
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/internal/core.js
2290
2356
  /** @internal */
2291
2357
  var EffectTypeId = `~effect/Effect`;
2292
2358
  /** @internal */
@@ -2355,8 +2421,6 @@ var CauseReasonTypeId = "~effect/Cause/Reason";
2355
2421
  var isCause = (self) => hasProperty(self, CauseTypeId);
2356
2422
  /** @internal */
2357
2423
  var CauseImpl = class {
2358
- [CauseTypeId];
2359
- reasons;
2360
2424
  constructor(failures) {
2361
2425
  this[CauseTypeId] = CauseTypeId;
2362
2426
  this.reasons = failures;
@@ -2424,7 +2488,6 @@ var ReasonBase = class {
2424
2488
  var constEmptyAnnotations = /*#__PURE__*/ new Map();
2425
2489
  /** @internal */
2426
2490
  var Fail = class extends ReasonBase {
2427
- error;
2428
2491
  constructor(error, annotations = constEmptyAnnotations) {
2429
2492
  super("Fail", annotations, error);
2430
2493
  this.error = error;
@@ -2453,7 +2516,6 @@ var causeEmpty = /*#__PURE__*/ new CauseImpl([]);
2453
2516
  var causeFail = (error) => new CauseImpl([new Fail(error)]);
2454
2517
  /** @internal */
2455
2518
  var Die = class extends ReasonBase {
2456
- defect;
2457
2519
  constructor(defect, annotations = constEmptyAnnotations) {
2458
2520
  super("Die", annotations, defect);
2459
2521
  this.defect = defect;
@@ -2502,10 +2564,12 @@ var makePrimitiveProto = (options) => ({
2502
2564
  /** @internal */
2503
2565
  var makePrimitive = (options) => {
2504
2566
  const Proto = makePrimitiveProto(options);
2505
- return function() {
2506
- const self = Object.create(Proto);
2507
- self[args] = options.single === false ? arguments : arguments[0];
2508
- return self;
2567
+ const PrimitiveImpl = function(value) {
2568
+ this[args] = value;
2569
+ };
2570
+ PrimitiveImpl.prototype = Proto;
2571
+ return function(value) {
2572
+ return new PrimitiveImpl(value);
2509
2573
  };
2510
2574
  };
2511
2575
  /** @internal */
@@ -2534,10 +2598,12 @@ var makeExit = (options) => {
2534
2598
  return combine(string(options.op), hash(this[args]));
2535
2599
  }
2536
2600
  };
2601
+ const ExitPrimitive = function(value) {
2602
+ this[args] = value;
2603
+ };
2604
+ ExitPrimitive.prototype = Proto;
2537
2605
  return function(value) {
2538
- const self = Object.create(Proto);
2539
- self[args] = value;
2540
- return self;
2606
+ return new ExitPrimitive(value);
2541
2607
  };
2542
2608
  };
2543
2609
  /** @internal */
@@ -2560,8 +2626,8 @@ var exitFailCause = /*#__PURE__*/ makeExit({
2560
2626
  [evaluate](fiber) {
2561
2627
  let cause = this[args];
2562
2628
  let annotated = false;
2563
- if (fiber.currentStackFrame) {
2564
- cause = causeAnnotate(cause, { mapUnsafe: /* @__PURE__ */ new Map([[StackTraceKey.key, fiber.currentStackFrame]]) });
2629
+ if (fiber.cache.stackFrame) {
2630
+ cause = causeAnnotate(cause, { mapUnsafe: /* @__PURE__ */ new Map([[StackTraceKey.key, fiber.cache.stackFrame]]) });
2565
2631
  annotated = true;
2566
2632
  }
2567
2633
  let cont = fiber.getCont(contE);
@@ -2657,8 +2723,8 @@ var done = (value) => {
2657
2723
  return exitFail(Done(value));
2658
2724
  };
2659
2725
  //#endregion
2660
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/internal/result.js
2661
- var TypeId = "~effect/data/Result";
2726
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/internal/result.js
2727
+ var TypeId = "~effect/Result";
2662
2728
  var CommonProto = {
2663
2729
  [TypeId]: {
2664
2730
  /* v8 ignore next 2 */
@@ -2717,19 +2783,21 @@ var isFailure$1 = (result) => result._tag === "Failure";
2717
2783
  /** @internal */
2718
2784
  var isSuccess$1 = (result) => result._tag === "Success";
2719
2785
  /** @internal */
2720
- var fail$1 = (failure) => {
2721
- const a = Object.create(FailureProto);
2722
- a.failure = failure;
2723
- return a;
2786
+ var FailureImpl = function(failure) {
2787
+ this.failure = failure;
2724
2788
  };
2789
+ FailureImpl.prototype = FailureProto;
2725
2790
  /** @internal */
2726
- var succeed$1 = (success) => {
2727
- const a = Object.create(SuccessProto);
2728
- a.success = success;
2729
- return a;
2791
+ var fail$1 = (failure) => new FailureImpl(failure);
2792
+ /** @internal */
2793
+ var SuccessImpl = function(success) {
2794
+ this.success = success;
2730
2795
  };
2796
+ SuccessImpl.prototype = SuccessProto;
2797
+ /** @internal */
2798
+ var succeed$1 = (success) => new SuccessImpl(success);
2731
2799
  //#endregion
2732
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.112/node_modules/effect/dist/Result.js
2800
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.115/node_modules/effect/dist/Result.js
2733
2801
  /**
2734
2802
  * Creates a `Result` holding a `Success` value.
2735
2803
  *
@@ -3078,4 +3146,4 @@ var getOrThrow = /*#__PURE__*/ (/* @__PURE__ */ dual(2, (self, onFailure) => {
3078
3146
  */
3079
3147
  var flatMap = /*#__PURE__*/ dual(2, (self, f) => isFailure(self) ? fail(self.failure) : f(self.success));
3080
3148
  //#endregion
3081
- export { BaseProto as $, constEmptyAnnotations as A, isNotUndefined as At, isCause as B, constNull as Bt, TaggedError as C, hasProperty as Ct, causeEmpty as D, isFunction as Dt, causeAnnotate as E, isError as Et, evaluate as F, isString as Ft, isInterruptReason as G, dual as Gt, isEffect as H, constUndefined as Ht, exitDie as I, isTagged as It, withFiber as J, memoize as Jt, makePrimitive as K, flow as Kt, exitFail as L, isUnknown as Lt, contAll as M, isObject as Mt, contE as N, isObjectKeyword as Nt, causeFail as O, isIterable as Ot, done as P, isPropertyKey as Pt, internalCall as Q, pipeArguments as Qt, exitFailCause as R, or as Rt, StackTraceKey as S, symbol$1 as St, args as T, isBoolean as Tt, isExit as U, constVoid as Ut, isDone as V, constTrue as Vt, isFailReason as W, constant as Wt, assignProperty as X, pipe as Xt, assignProperties as Y, memoizeIdempotent as Yt, SingleShotGen as Z, Class$1 as Zt, Fail as _, hash as _t, isFailure as a, formatDate as at, PipeInspectableProto as b, string as bt, map as c, formatPropertyKey as ct, succeed as d, symbolRedactable as dt, Class as et, try_ as f, equals as ft, ExitTypeId as g, combine as gt, Error$1 as h, array as ht, getOrThrow as i, format as it, contA as j, isNumber as jt, causeFromReasons as k, isNotNullish as kt, mapError as l, currentFiberTypeId as lt, Done as m, symbol as mt, failVoid as n, toJson as nt, isResult as o, formatJson as ot, CauseImpl as p, makeCompareSet as pt, makePrimitiveProto as q, identity as qt, flatMap as r, toStringUnknown as rt, isSuccess as s, formatPath as st, fail as t, NodeInspectSymbol as tt, match as u, redact as ut, InterruptorStackTrace as v, number as vt, Yield as w, isBigInt as wt, ReasonBase as x, structure as xt, NoSuchElementError as y, random as yt, exitSucceed as z, constFalse as zt };
3149
+ export { internalCall as $, pipe as $t, causeFromReasons as A, isIterable as At, exitSucceed as B, isUnknown as Bt, TaggedError as C, structure as Ct, causeDie as D, isBoolean as Dt, causeAnnotate as E, isBigInt as Et, done as F, isObject as Ft, isFailReason as G, constUndefined as Gt, isDone as H, constFalse as Ht, evaluate as I, isObjectKeyword as It, makePrimitiveProto as J, dual as Jt, isInterruptReason as K, constVoid as Kt, exitDie as L, isPropertyKey as Lt, contA as M, isNotNullish as Mt, contAll as N, isNotUndefined as Nt, causeEmpty as O, isError as Ot, contE as P, isNumber as Pt, SingleShotGen as Q, memoizeIdempotent as Qt, exitFail as R, isString as Rt, StackTraceKey as S, string as St, args as T, hasProperty as Tt, isEffect as U, constNull as Ut, isCause as V, or as Vt, isExit as W, constTrue as Wt, assignProperties as X, identity as Xt, withFiber as Y, flow as Yt, assignProperty as Z, memoize as Zt, Fail as _, array as _t, isFailure as a, toJson as at, PipeInspectableProto as b, number as bt, map as c, formatDate as ct, succeed as d, formatPropertyKey as dt, Class$1 as en, getStackTraceLimit as et, try_ as f, currentFiberTypeId as ft, ExitTypeId as g, symbol as gt, Error$1 as h, equals as ht, getOrThrow as i, NodeInspectSymbol as it, constEmptyAnnotations as j, isNever as jt, causeFail as k, isFunction as kt, mapError as l, formatJson as lt, Done as m, symbolRedactable as mt, failVoid as n, BaseProto as nt, isResult as o, toStringUnknown as ot, CauseImpl as p, redact as pt, makePrimitive as q, constant as qt, flatMap as r, Class as rt, isSuccess as s, format as st, fail as t, pipeArguments as tn, setStackTraceLimit as tt, match as u, formatPath as ut, InterruptorStackTrace as v, combine as vt, Yield as w, symbol$1 as wt, ReasonBase as x, random as xt, NoSuchElementError as y, hash as yt, exitFailCause as z, isTagged as zt };