@umbra-privacy/sdk 1.0.0 → 2.0.1

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 (181) hide show
  1. package/README.md +104 -25
  2. package/dist/{addresses-Brzgurv_.d.ts → addresses-B7HybtbJ.d.ts} +2 -1
  3. package/dist/{addresses-D_0YAS6B.d.cts → addresses-CTVY1oi7.d.cts} +2 -1
  4. package/dist/arcium-BXXlryfe.d.cts +20 -0
  5. package/dist/arcium-BXXlryfe.d.ts +20 -0
  6. package/dist/chunk-3LS5P32X.cjs +10892 -0
  7. package/dist/chunk-3LS5P32X.cjs.map +1 -0
  8. package/dist/chunk-4RHXVBNI.js +203 -0
  9. package/dist/chunk-4RHXVBNI.js.map +1 -0
  10. package/dist/chunk-4TZVXB5G.js +324 -0
  11. package/dist/chunk-4TZVXB5G.js.map +1 -0
  12. package/dist/chunk-5GUSMQ74.cjs +549 -0
  13. package/dist/chunk-5GUSMQ74.cjs.map +1 -0
  14. package/dist/chunk-5KPQXPQM.js +36 -0
  15. package/dist/chunk-5KPQXPQM.js.map +1 -0
  16. package/dist/chunk-AXD7LXYY.cjs +405 -0
  17. package/dist/chunk-AXD7LXYY.cjs.map +1 -0
  18. package/dist/{chunk-HOEXDXRC.cjs → chunk-BL6WXLPV.cjs} +32 -360
  19. package/dist/chunk-BL6WXLPV.cjs.map +1 -0
  20. package/dist/chunk-CFFLOE7D.cjs +598 -0
  21. package/dist/chunk-CFFLOE7D.cjs.map +1 -0
  22. package/dist/{chunk-BM7N6N7E.js → chunk-CFTW5WNG.js} +3 -325
  23. package/dist/chunk-CFTW5WNG.js.map +1 -0
  24. package/dist/chunk-DD2WCK4C.js +327 -0
  25. package/dist/chunk-DD2WCK4C.js.map +1 -0
  26. package/dist/chunk-DMPMQ74B.cjs +246 -0
  27. package/dist/chunk-DMPMQ74B.cjs.map +1 -0
  28. package/dist/{chunk-2Q75CQQJ.js → chunk-EEKF4553.js} +2 -2
  29. package/dist/chunk-EEKF4553.js.map +1 -0
  30. package/dist/chunk-ENVYYEM4.cjs +113 -0
  31. package/dist/chunk-ENVYYEM4.cjs.map +1 -0
  32. package/dist/chunk-FQX6ZYGJ.js +500 -0
  33. package/dist/chunk-FQX6ZYGJ.js.map +1 -0
  34. package/dist/chunk-FSK2ICMB.cjs +39 -0
  35. package/dist/chunk-FSK2ICMB.cjs.map +1 -0
  36. package/dist/chunk-FZYWLQAF.cjs +355 -0
  37. package/dist/chunk-FZYWLQAF.cjs.map +1 -0
  38. package/dist/chunk-GP26R377.js +436 -0
  39. package/dist/chunk-GP26R377.js.map +1 -0
  40. package/dist/chunk-HA5FLM63.js +393 -0
  41. package/dist/chunk-HA5FLM63.js.map +1 -0
  42. package/dist/chunk-INJ73LXQ.js +1107 -0
  43. package/dist/chunk-INJ73LXQ.js.map +1 -0
  44. package/dist/chunk-KMRROOME.js +10750 -0
  45. package/dist/chunk-KMRROOME.js.map +1 -0
  46. package/dist/{chunk-MDFSBU5W.cjs → chunk-LTCKPTZC.cjs} +2 -351
  47. package/dist/chunk-LTCKPTZC.cjs.map +1 -0
  48. package/dist/chunk-MKNCBUFA.js +564 -0
  49. package/dist/chunk-MKNCBUFA.js.map +1 -0
  50. package/dist/chunk-NKVMSABR.cjs +207 -0
  51. package/dist/chunk-NKVMSABR.cjs.map +1 -0
  52. package/dist/chunk-OFDWNWCL.js +70 -0
  53. package/dist/chunk-OFDWNWCL.js.map +1 -0
  54. package/dist/chunk-QJAUUYZU.cjs +331 -0
  55. package/dist/chunk-QJAUUYZU.cjs.map +1 -0
  56. package/dist/chunk-TLR7A64G.js +103 -0
  57. package/dist/chunk-TLR7A64G.js.map +1 -0
  58. package/dist/{chunk-MVKTV3FT.cjs → chunk-TQQZGNOI.cjs} +2 -2
  59. package/dist/chunk-TQQZGNOI.cjs.map +1 -0
  60. package/dist/chunk-UOFYS6M3.js +219 -0
  61. package/dist/chunk-UOFYS6M3.js.map +1 -0
  62. package/dist/chunk-UXMQI6B7.js +2406 -0
  63. package/dist/chunk-UXMQI6B7.js.map +1 -0
  64. package/dist/chunk-WN75ORDT.js +571 -0
  65. package/dist/chunk-WN75ORDT.js.map +1 -0
  66. package/dist/chunk-Y55PYKXH.cjs +595 -0
  67. package/dist/chunk-Y55PYKXH.cjs.map +1 -0
  68. package/dist/chunk-YEZBTYCP.cjs +77 -0
  69. package/dist/chunk-YEZBTYCP.cjs.map +1 -0
  70. package/dist/chunk-ZQOIYCGA.cjs +1126 -0
  71. package/dist/chunk-ZQOIYCGA.cjs.map +1 -0
  72. package/dist/chunk-ZY3TSHMJ.cjs +2665 -0
  73. package/dist/chunk-ZY3TSHMJ.cjs.map +1 -0
  74. package/dist/client-DkVBHMWb.d.cts +2613 -0
  75. package/dist/client-V4AF6Bz9.d.ts +2613 -0
  76. package/dist/common/pda/index.cjs +145 -0
  77. package/dist/common/pda/index.cjs.map +1 -0
  78. package/dist/common/pda/index.d.cts +1250 -0
  79. package/dist/common/pda/index.d.ts +1250 -0
  80. package/dist/common/pda/index.js +8 -0
  81. package/dist/common/pda/index.js.map +1 -0
  82. package/dist/constants/index.cjs +38 -164
  83. package/dist/constants/index.cjs.map +1 -1
  84. package/dist/constants/index.d.cts +8 -425
  85. package/dist/constants/index.d.ts +8 -425
  86. package/dist/constants/index.js +15 -124
  87. package/dist/constants/index.js.map +1 -1
  88. package/dist/crypto/index.cjs +583 -0
  89. package/dist/crypto/index.cjs.map +1 -0
  90. package/dist/crypto/index.d.cts +6731 -0
  91. package/dist/crypto/index.d.ts +6731 -0
  92. package/dist/crypto/index.js +14 -0
  93. package/dist/crypto/index.js.map +1 -0
  94. package/dist/{cryptography-BTGC72u-.d.ts → cryptography-BFSJcvi6.d.ts} +3 -2465
  95. package/dist/{cryptography-BTGC72u-.d.cts → cryptography-D6tPDh-Y.d.cts} +3 -2465
  96. package/dist/errors/index.cjs +64 -54
  97. package/dist/errors/index.d.cts +7 -797
  98. package/dist/errors/index.d.ts +7 -797
  99. package/dist/errors/index.js +3 -1
  100. package/dist/errors-B9EoPeWV.d.cts +593 -0
  101. package/dist/errors-B9EoPeWV.d.ts +593 -0
  102. package/dist/errors-DAIrstEL.d.cts +300 -0
  103. package/dist/errors-DPNMfyh0.d.ts +300 -0
  104. package/dist/index-BG0yjL7C.d.cts +6006 -0
  105. package/dist/index-ByynoyBO.d.ts +6006 -0
  106. package/dist/index.cjs +5133 -16116
  107. package/dist/index.cjs.map +1 -1
  108. package/dist/index.d.cts +1031 -7685
  109. package/dist/index.d.ts +1031 -7685
  110. package/dist/index.js +3228 -14905
  111. package/dist/index.js.map +1 -1
  112. package/dist/interfaces/index.d.cts +14 -6
  113. package/dist/interfaces/index.d.ts +14 -6
  114. package/dist/interfaces-43cReBcS.d.cts +3346 -0
  115. package/dist/interfaces-B8xKNl_6.d.ts +997 -0
  116. package/dist/interfaces-D2NO6kDD.d.cts +997 -0
  117. package/dist/interfaces-z_xYJlgV.d.ts +3346 -0
  118. package/dist/math/index.cjs +115 -0
  119. package/dist/math/index.cjs.map +1 -0
  120. package/dist/math/index.d.cts +1327 -0
  121. package/dist/math/index.d.ts +1327 -0
  122. package/dist/math/index.js +10 -0
  123. package/dist/math/index.js.map +1 -0
  124. package/dist/networks-RMd3abPE.d.ts +44 -0
  125. package/dist/networks-yAoO8peQ.d.cts +44 -0
  126. package/dist/relayer-NRRMSMNB.js +4 -0
  127. package/dist/relayer-NRRMSMNB.js.map +1 -0
  128. package/dist/relayer-RJHEIXJG.cjs +21 -0
  129. package/dist/relayer-RJHEIXJG.cjs.map +1 -0
  130. package/dist/solana/index.cjs +56 -0
  131. package/dist/solana/index.cjs.map +1 -0
  132. package/dist/solana/index.d.cts +105 -0
  133. package/dist/solana/index.d.ts +105 -0
  134. package/dist/solana/index.js +7 -0
  135. package/dist/solana/index.js.map +1 -0
  136. package/dist/{index-CLj_zWSD.d.ts → temporal-BbRaEPoO.d.ts} +1 -1
  137. package/dist/{index-CX6_pIRS.d.cts → temporal-oUj7iCaq.d.cts} +1 -1
  138. package/dist/transaction-forwarder-5mAMTjw6.d.ts +1155 -0
  139. package/dist/transaction-forwarder-C6gMUG7a.d.cts +1155 -0
  140. package/dist/types/index.cjs +232 -231
  141. package/dist/types/index.d.cts +15 -1485
  142. package/dist/types/index.d.ts +15 -1485
  143. package/dist/types/index.js +2 -1
  144. package/dist/types-BohhvPth.d.cts +87 -0
  145. package/dist/types-CW0oTT0j.d.ts +87 -0
  146. package/dist/types-C_V_CaKK.d.cts +2468 -0
  147. package/dist/types-C_V_CaKK.d.ts +2468 -0
  148. package/dist/types-Ca7frykr.d.ts +793 -0
  149. package/dist/types-CuKeoI19.d.cts +1296 -0
  150. package/dist/types-CxfTIpN9.d.ts +1052 -0
  151. package/dist/{types-n-sHFcgr.d.ts → types-D1jDUjfN.d.ts} +2 -2
  152. package/dist/types-DKEDUlH9.d.ts +1296 -0
  153. package/dist/types-EKuIfxTz.d.cts +1052 -0
  154. package/dist/{types-BBuELtY8.d.cts → types-IMGYmlv-.d.cts} +2 -2
  155. package/dist/types-PwNLi_2k.d.cts +793 -0
  156. package/dist/utils/index.cjs +823 -525
  157. package/dist/utils/index.d.cts +1711 -4021
  158. package/dist/utils/index.d.ts +1711 -4021
  159. package/dist/utils/index.js +9 -3
  160. package/dist/{versions-D9PqsEvj.d.cts → versions-BRlR36EA.d.cts} +1 -0
  161. package/dist/{versions-D9PqsEvj.d.ts → versions-BRlR36EA.d.ts} +1 -0
  162. package/package.json +79 -18
  163. package/dist/chunk-2Q75CQQJ.js.map +0 -1
  164. package/dist/chunk-BM7N6N7E.js.map +0 -1
  165. package/dist/chunk-GXKSUB2U.cjs +0 -4416
  166. package/dist/chunk-GXKSUB2U.cjs.map +0 -1
  167. package/dist/chunk-HOEXDXRC.cjs.map +0 -1
  168. package/dist/chunk-MDFSBU5W.cjs.map +0 -1
  169. package/dist/chunk-MQY7HDIA.js +0 -600
  170. package/dist/chunk-MQY7HDIA.js.map +0 -1
  171. package/dist/chunk-MVKTV3FT.cjs.map +0 -1
  172. package/dist/chunk-PG2J6V6Y.js +0 -4094
  173. package/dist/chunk-PG2J6V6Y.js.map +0 -1
  174. package/dist/chunk-VEGLTTYQ.cjs +0 -621
  175. package/dist/chunk-VEGLTTYQ.cjs.map +0 -1
  176. package/dist/chunk-WVHQ46DD.js +0 -758
  177. package/dist/chunk-WVHQ46DD.js.map +0 -1
  178. package/dist/index-B9pDY73x.d.ts +0 -12933
  179. package/dist/index-D33yo0qB.d.cts +0 -12933
  180. package/dist/networks-C-orpSFW.d.ts +0 -65
  181. package/dist/networks-FxYERGD1.d.cts +0 -65
@@ -1558,328 +1558,6 @@ function assertOptionalData32(value, name) {
1558
1558
  }
1559
1559
  chunkPK6SKIKE_cjs.__name(assertOptionalData32, "assertOptionalData32");
1560
1560
 
1561
- // src/solana/types.ts
1562
- var SIGNATURE_BYTE_LENGTH = 64;
1563
- var BASE58_ALPHABET = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
1564
- var BASE58_REGEX = /^[1-9A-HJ-NP-Za-km-z]+$/;
1565
- var SolanaAssertionError = class _SolanaAssertionError extends Error {
1566
- static {
1567
- chunkPK6SKIKE_cjs.__name(this, "SolanaAssertionError");
1568
- }
1569
- /**
1570
- * The actual value that was passed to the assertion function and failed
1571
- * the type check.
1572
- *
1573
- * @remarks
1574
- * Typed as `unknown` because assertion functions accept values of unknown
1575
- * type before narrowing. Inspect carefully — the value may be `undefined`,
1576
- * `null`, or any primitive or object.
1577
- */
1578
- value;
1579
- /**
1580
- * The name of the expected type (e.g., `"TransactionSignature"`,
1581
- * `"SignatureBytes"`).
1582
- *
1583
- * @remarks
1584
- * Matches the TypeScript type name for the intended branded type, not a
1585
- * JavaScript `typeof` string.
1586
- */
1587
- expectedType;
1588
- /**
1589
- * A human-readable description of the specific constraint that was violated,
1590
- * if applicable.
1591
- *
1592
- * @remarks
1593
- * Examples:
1594
- * - `"length > 0"` — empty string passed to `assertTransactionSignature`
1595
- * - `"length === 64"` — wrong byte count passed to `assertSignatureBytes`
1596
- * - `"characters must be in base58 alphabet: 123...xyz"` — invalid character
1597
- *
1598
- * `undefined` when the only constraint is the TypeScript type itself
1599
- * (e.g., `assertString` only checks `typeof value === "string"`).
1600
- */
1601
- constraint;
1602
- /**
1603
- * Creates a new `SolanaAssertionError`.
1604
- *
1605
- * @param message - Human-readable description of the assertion failure.
1606
- * @param options - Structured context for the failed assertion.
1607
- * @param options.value - The value that failed the assertion.
1608
- * @param options.expectedType - The name of the expected branded type.
1609
- * @param options.constraint - The specific constraint that was violated, if any.
1610
- */
1611
- constructor(message, options) {
1612
- super(message);
1613
- this.name = "SolanaAssertionError";
1614
- this.value = options.value;
1615
- this.expectedType = options.expectedType;
1616
- this.constraint = options.constraint;
1617
- Error.captureStackTrace(this, _SolanaAssertionError);
1618
- Object.setPrototypeOf(this, _SolanaAssertionError.prototype);
1619
- }
1620
- };
1621
- function assertString(value) {
1622
- if (typeof value !== "string") {
1623
- throw new SolanaAssertionError(`Expected string, got ${typeof value}`, {
1624
- value,
1625
- expectedType: "String"
1626
- });
1627
- }
1628
- }
1629
- chunkPK6SKIKE_cjs.__name(assertString, "assertString");
1630
- function assertTransactionSignature(value) {
1631
- if (typeof value !== "string") {
1632
- throw new SolanaAssertionError(`Expected string, got ${typeof value}`, {
1633
- value,
1634
- expectedType: "TransactionSignature"
1635
- });
1636
- }
1637
- if (value.length === 0) {
1638
- throw new SolanaAssertionError("Transaction signature cannot be empty", {
1639
- value,
1640
- expectedType: "TransactionSignature",
1641
- constraint: "length > 0"
1642
- });
1643
- }
1644
- if (!BASE58_REGEX.test(value)) {
1645
- let invalidChar = "";
1646
- let invalidIndex = -1;
1647
- for (const [index, element] of Array.from(value).entries()) {
1648
- if (!BASE58_ALPHABET.includes(element)) {
1649
- invalidChar = element;
1650
- invalidIndex = index;
1651
- break;
1652
- }
1653
- }
1654
- throw new SolanaAssertionError(
1655
- `Invalid base58 character '${invalidChar}' at position ${String(invalidIndex)}`,
1656
- {
1657
- value,
1658
- expectedType: "TransactionSignature",
1659
- constraint: `characters must be in base58 alphabet: ${BASE58_ALPHABET}`
1660
- }
1661
- );
1662
- }
1663
- }
1664
- chunkPK6SKIKE_cjs.__name(assertTransactionSignature, "assertTransactionSignature");
1665
- function assertSolanaBytes(value) {
1666
- if (!(value instanceof Uint8Array)) {
1667
- throw new SolanaAssertionError(`Expected Uint8Array, got ${typeof value}`, {
1668
- value,
1669
- expectedType: "SolanaBytes"
1670
- });
1671
- }
1672
- }
1673
- chunkPK6SKIKE_cjs.__name(assertSolanaBytes, "assertSolanaBytes");
1674
- function assertSignatureBytes(value) {
1675
- if (!(value instanceof Uint8Array)) {
1676
- throw new SolanaAssertionError(`Expected Uint8Array, got ${typeof value}`, {
1677
- value,
1678
- expectedType: "SignatureBytes"
1679
- });
1680
- }
1681
- if (value.length !== SIGNATURE_BYTE_LENGTH) {
1682
- throw new SolanaAssertionError(
1683
- `Expected ${String(SIGNATURE_BYTE_LENGTH)} bytes, got ${String(value.length)}`,
1684
- {
1685
- value,
1686
- expectedType: "SignatureBytes",
1687
- constraint: `length === ${String(SIGNATURE_BYTE_LENGTH)}`
1688
- }
1689
- );
1690
- }
1691
- }
1692
- chunkPK6SKIKE_cjs.__name(assertSignatureBytes, "assertSignatureBytes");
1693
- function asRelayableSignedTransaction(tx) {
1694
- return tx;
1695
- }
1696
- chunkPK6SKIKE_cjs.__name(asRelayableSignedTransaction, "asRelayableSignedTransaction");
1697
-
1698
- // src/common/temporal/types.ts
1699
- var YEAR_MIN = 0n;
1700
- var YEAR_MAX = 9999n;
1701
- var MONTH_MIN = 1n;
1702
- var MONTH_MAX = 12n;
1703
- var DAY_MIN = 1n;
1704
- var DAY_MAX = 31n;
1705
- var HOUR_MIN = 0n;
1706
- var HOUR_MAX = 23n;
1707
- var MINUTE_MIN = 0n;
1708
- var MINUTE_MAX = 59n;
1709
- var SECOND_MIN = 0n;
1710
- var SECOND_MAX = 59n;
1711
- var TemporalAssertionError = class extends Error {
1712
- static {
1713
- chunkPK6SKIKE_cjs.__name(this, "TemporalAssertionError");
1714
- }
1715
- /**
1716
- * The actual value that failed the assertion.
1717
- * @readonly
1718
- */
1719
- value;
1720
- /**
1721
- * The type that was expected (e.g., `"Month"`, `"Hour"`).
1722
- * @readonly
1723
- */
1724
- expectedType;
1725
- /**
1726
- * Description of the constraint that was violated.
1727
- *
1728
- * @remarks
1729
- * `undefined` when the failure was a type mismatch (e.g., received a number instead of a
1730
- * bigint). Contains a human-readable range string (e.g., `"1 <= value <= 12"`) when the
1731
- * value was the correct type but out of the valid range.
1732
- * @readonly
1733
- */
1734
- constraint;
1735
- /**
1736
- * Creates a new TemporalAssertionError.
1737
- *
1738
- * @param message - Human-readable description of what went wrong
1739
- * @param details - Structured error details for programmatic inspection
1740
- * @param details.value - The value that failed the assertion
1741
- * @param details.expectedType - Name of the branded type that was expected
1742
- * @param details.constraint - Optional human-readable constraint that was violated
1743
- */
1744
- constructor(message, details) {
1745
- super(message);
1746
- this.name = "TemporalAssertionError";
1747
- this.value = details.value;
1748
- this.expectedType = details.expectedType;
1749
- this.constraint = details.constraint;
1750
- }
1751
- };
1752
- function assertTimestampComponent(value) {
1753
- if (typeof value !== "bigint") {
1754
- throw new TemporalAssertionError(`Expected bigint, got ${typeof value}`, {
1755
- value,
1756
- expectedType: "TimestampComponent"
1757
- });
1758
- }
1759
- if (value < 0n) {
1760
- throw new TemporalAssertionError(`TimestampComponent must be non-negative`, {
1761
- value,
1762
- expectedType: "TimestampComponent",
1763
- constraint: "value >= 0"
1764
- });
1765
- }
1766
- }
1767
- chunkPK6SKIKE_cjs.__name(assertTimestampComponent, "assertTimestampComponent");
1768
- function assertYear(value) {
1769
- if (typeof value !== "bigint") {
1770
- throw new TemporalAssertionError(`Expected bigint, got ${typeof value}`, {
1771
- value,
1772
- expectedType: "Year"
1773
- });
1774
- }
1775
- if (value < YEAR_MIN || value > YEAR_MAX) {
1776
- throw new TemporalAssertionError(
1777
- `Year must be in range [${String(YEAR_MIN)}, ${String(YEAR_MAX)}]`,
1778
- {
1779
- value,
1780
- expectedType: "Year",
1781
- constraint: `${String(YEAR_MIN)} <= value <= ${String(YEAR_MAX)}`
1782
- }
1783
- );
1784
- }
1785
- }
1786
- chunkPK6SKIKE_cjs.__name(assertYear, "assertYear");
1787
- function assertMonth(value) {
1788
- if (typeof value !== "bigint") {
1789
- throw new TemporalAssertionError(`Expected bigint, got ${typeof value}`, {
1790
- value,
1791
- expectedType: "Month"
1792
- });
1793
- }
1794
- if (value < MONTH_MIN || value > MONTH_MAX) {
1795
- throw new TemporalAssertionError(
1796
- `Month must be in range [${String(MONTH_MIN)}, ${String(MONTH_MAX)}]`,
1797
- {
1798
- value,
1799
- expectedType: "Month",
1800
- constraint: `${String(MONTH_MIN)} <= value <= ${String(MONTH_MAX)}`
1801
- }
1802
- );
1803
- }
1804
- }
1805
- chunkPK6SKIKE_cjs.__name(assertMonth, "assertMonth");
1806
- function assertDay(value) {
1807
- if (typeof value !== "bigint") {
1808
- throw new TemporalAssertionError(`Expected bigint, got ${typeof value}`, {
1809
- value,
1810
- expectedType: "Day"
1811
- });
1812
- }
1813
- if (value < DAY_MIN || value > DAY_MAX) {
1814
- throw new TemporalAssertionError(
1815
- `Day must be in range [${String(DAY_MIN)}, ${String(DAY_MAX)}]`,
1816
- {
1817
- value,
1818
- expectedType: "Day",
1819
- constraint: `${String(DAY_MIN)} <= value <= ${String(DAY_MAX)}`
1820
- }
1821
- );
1822
- }
1823
- }
1824
- chunkPK6SKIKE_cjs.__name(assertDay, "assertDay");
1825
- function assertHour(value) {
1826
- if (typeof value !== "bigint") {
1827
- throw new TemporalAssertionError(`Expected bigint, got ${typeof value}`, {
1828
- value,
1829
- expectedType: "Hour"
1830
- });
1831
- }
1832
- if (value < HOUR_MIN || value > HOUR_MAX) {
1833
- throw new TemporalAssertionError(
1834
- `Hour must be in range [${String(HOUR_MIN)}, ${String(HOUR_MAX)}]`,
1835
- {
1836
- value,
1837
- expectedType: "Hour",
1838
- constraint: `${String(HOUR_MIN)} <= value <= ${String(HOUR_MAX)}`
1839
- }
1840
- );
1841
- }
1842
- }
1843
- chunkPK6SKIKE_cjs.__name(assertHour, "assertHour");
1844
- function assertMinute(value) {
1845
- if (typeof value !== "bigint") {
1846
- throw new TemporalAssertionError(`Expected bigint, got ${typeof value}`, {
1847
- value,
1848
- expectedType: "Minute"
1849
- });
1850
- }
1851
- if (value < MINUTE_MIN || value > MINUTE_MAX) {
1852
- throw new TemporalAssertionError(
1853
- `Minute must be in range [${String(MINUTE_MIN)}, ${String(MINUTE_MAX)}]`,
1854
- {
1855
- value,
1856
- expectedType: "Minute",
1857
- constraint: `${String(MINUTE_MIN)} <= value <= ${String(MINUTE_MAX)}`
1858
- }
1859
- );
1860
- }
1861
- }
1862
- chunkPK6SKIKE_cjs.__name(assertMinute, "assertMinute");
1863
- function assertSecond(value) {
1864
- if (typeof value !== "bigint") {
1865
- throw new TemporalAssertionError(`Expected bigint, got ${typeof value}`, {
1866
- value,
1867
- expectedType: "Second"
1868
- });
1869
- }
1870
- if (value < SECOND_MIN || value > SECOND_MAX) {
1871
- throw new TemporalAssertionError(
1872
- `Second must be in range [${String(SECOND_MIN)}, ${String(SECOND_MAX)}]`,
1873
- {
1874
- value,
1875
- expectedType: "Second",
1876
- constraint: `${String(SECOND_MIN)} <= value <= ${String(SECOND_MAX)}`
1877
- }
1878
- );
1879
- }
1880
- }
1881
- chunkPK6SKIKE_cjs.__name(assertSecond, "assertSecond");
1882
-
1883
1561
  exports.AES_AUTH_TAG_LENGTH = AES_AUTH_TAG_LENGTH;
1884
1562
  exports.AES_IV_LENGTH = AES_IV_LENGTH;
1885
1563
  exports.AES_KEY_LENGTH = AES_KEY_LENGTH;
@@ -1888,12 +1566,8 @@ exports.BASE85_LIMB_MAX = BASE85_LIMB_MAX;
1888
1566
  exports.BN254_FIELD_PRIME = BN254_FIELD_PRIME;
1889
1567
  exports.CURVE25519_FIELD_PRIME = CURVE25519_FIELD_PRIME;
1890
1568
  exports.CryptographyAssertionError = CryptographyAssertionError;
1891
- exports.DAY_MAX = DAY_MAX;
1892
- exports.DAY_MIN = DAY_MIN;
1893
1569
  exports.GROTH16_G1_BYTE_LENGTH = GROTH16_G1_BYTE_LENGTH;
1894
1570
  exports.GROTH16_G2_BYTE_LENGTH = GROTH16_G2_BYTE_LENGTH;
1895
- exports.HOUR_MAX = HOUR_MAX;
1896
- exports.HOUR_MIN = HOUR_MIN;
1897
1571
  exports.I1024_MAX = I1024_MAX;
1898
1572
  exports.I1024_MIN = I1024_MIN;
1899
1573
  exports.I128_MAX = I128_MAX;
@@ -1910,17 +1584,8 @@ exports.I64_MAX = I64_MAX;
1910
1584
  exports.I64_MIN = I64_MIN;
1911
1585
  exports.I8_MAX = I8_MAX;
1912
1586
  exports.I8_MIN = I8_MIN;
1913
- exports.MINUTE_MAX = MINUTE_MAX;
1914
- exports.MINUTE_MIN = MINUTE_MIN;
1915
- exports.MONTH_MAX = MONTH_MAX;
1916
- exports.MONTH_MIN = MONTH_MIN;
1917
1587
  exports.MathematicsAssertionError = MathematicsAssertionError;
1918
1588
  exports.OPTIONAL_DATA_BYTE_LENGTH = OPTIONAL_DATA_BYTE_LENGTH;
1919
- exports.SECOND_MAX = SECOND_MAX;
1920
- exports.SECOND_MIN = SECOND_MIN;
1921
- exports.SIGNATURE_BYTE_LENGTH = SIGNATURE_BYTE_LENGTH;
1922
- exports.SolanaAssertionError = SolanaAssertionError;
1923
- exports.TemporalAssertionError = TemporalAssertionError;
1924
1589
  exports.U1024_BYTE_LENGTH = U1024_BYTE_LENGTH;
1925
1590
  exports.U1024_MAX = U1024_MAX;
1926
1591
  exports.U128_BYTE_LENGTH = U128_BYTE_LENGTH;
@@ -1938,10 +1603,7 @@ exports.U64_MAX = U64_MAX;
1938
1603
  exports.U8_BYTE_LENGTH = U8_BYTE_LENGTH;
1939
1604
  exports.U8_MAX = U8_MAX;
1940
1605
  exports.X25519_BYTE_LENGTH = X25519_BYTE_LENGTH;
1941
- exports.YEAR_MAX = YEAR_MAX;
1942
- exports.YEAR_MIN = YEAR_MIN;
1943
1606
  exports.ZK_PROOF_BYTE_LENGTH = ZK_PROOF_BYTE_LENGTH;
1944
- exports.asRelayableSignedTransaction = asRelayableSignedTransaction;
1945
1607
  exports.assertAesCiphertextWithMetadata = assertAesCiphertextWithMetadata;
1946
1608
  exports.assertAesKey = assertAesKey;
1947
1609
  exports.assertAesPlaintext = assertAesPlaintext;
@@ -1951,12 +1613,10 @@ exports.assertBn254FieldElement = assertBn254FieldElement;
1951
1613
  exports.assertBytes = assertBytes;
1952
1614
  exports.assertCurve25519FieldElement = assertCurve25519FieldElement;
1953
1615
  exports.assertDailyViewingKey = assertDailyViewingKey;
1954
- exports.assertDay = assertDay;
1955
1616
  exports.assertGenerationSeed = assertGenerationSeed;
1956
1617
  exports.assertGroth16ProofA = assertGroth16ProofA;
1957
1618
  exports.assertGroth16ProofB = assertGroth16ProofB;
1958
1619
  exports.assertGroth16ProofC = assertGroth16ProofC;
1959
- exports.assertHour = assertHour;
1960
1620
  exports.assertHourlyViewingKey = assertHourlyViewingKey;
1961
1621
  exports.assertI1024 = assertI1024;
1962
1622
  exports.assertI128 = assertI128;
@@ -1972,9 +1632,7 @@ exports.assertLeBytes = assertLeBytes;
1972
1632
  exports.assertMasterSeed = assertMasterSeed;
1973
1633
  exports.assertMasterViewingKey = assertMasterViewingKey;
1974
1634
  exports.assertMintViewingKey = assertMintViewingKey;
1975
- exports.assertMinute = assertMinute;
1976
1635
  exports.assertMinuteViewingKey = assertMinuteViewingKey;
1977
- exports.assertMonth = assertMonth;
1978
1636
  exports.assertMonthlyViewingKey = assertMonthlyViewingKey;
1979
1637
  exports.assertOptionalData32 = assertOptionalData32;
1980
1638
  exports.assertPoseidonCiphertext = assertPoseidonCiphertext;
@@ -1988,15 +1646,9 @@ exports.assertRcCounter = assertRcCounter;
1988
1646
  exports.assertRcEncryptionNonce = assertRcEncryptionNonce;
1989
1647
  exports.assertRcKey = assertRcKey;
1990
1648
  exports.assertRcPlaintext = assertRcPlaintext;
1991
- exports.assertSecond = assertSecond;
1992
1649
  exports.assertSecondViewingKey = assertSecondViewingKey;
1993
1650
  exports.assertSharedSecret = assertSharedSecret;
1994
- exports.assertSignatureBytes = assertSignatureBytes;
1995
1651
  exports.assertSignedInteger = assertSignedInteger;
1996
- exports.assertSolanaBytes = assertSolanaBytes;
1997
- exports.assertString = assertString;
1998
- exports.assertTimestampComponent = assertTimestampComponent;
1999
- exports.assertTransactionSignature = assertTransactionSignature;
2000
1652
  exports.assertU1024 = assertU1024;
2001
1653
  exports.assertU1024BeBytes = assertU1024BeBytes;
2002
1654
  exports.assertU1024LeBytes = assertU1024LeBytes;
@@ -2026,8 +1678,7 @@ exports.assertX25519Bytes = assertX25519Bytes;
2026
1678
  exports.assertX25519Keypair = assertX25519Keypair;
2027
1679
  exports.assertX25519PrivateKey = assertX25519PrivateKey;
2028
1680
  exports.assertX25519PublicKey = assertX25519PublicKey;
2029
- exports.assertYear = assertYear;
2030
1681
  exports.assertYearlyViewingKey = assertYearlyViewingKey;
2031
1682
  exports.assertZkProofBytes = assertZkProofBytes;
2032
- //# sourceMappingURL=chunk-MDFSBU5W.cjs.map
2033
- //# sourceMappingURL=chunk-MDFSBU5W.cjs.map
1683
+ //# sourceMappingURL=chunk-LTCKPTZC.cjs.map
1684
+ //# sourceMappingURL=chunk-LTCKPTZC.cjs.map