@umbra-privacy/sdk 1.0.0 → 2.0.0

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-4RHXVBNI.js +203 -0
  7. package/dist/chunk-4RHXVBNI.js.map +1 -0
  8. package/dist/chunk-4TZVXB5G.js +324 -0
  9. package/dist/chunk-4TZVXB5G.js.map +1 -0
  10. package/dist/chunk-5GUSMQ74.cjs +549 -0
  11. package/dist/chunk-5GUSMQ74.cjs.map +1 -0
  12. package/dist/chunk-5KPQXPQM.js +36 -0
  13. package/dist/chunk-5KPQXPQM.js.map +1 -0
  14. package/dist/chunk-AXD7LXYY.cjs +405 -0
  15. package/dist/chunk-AXD7LXYY.cjs.map +1 -0
  16. package/dist/{chunk-HOEXDXRC.cjs → chunk-BL6WXLPV.cjs} +32 -360
  17. package/dist/chunk-BL6WXLPV.cjs.map +1 -0
  18. package/dist/chunk-CFFLOE7D.cjs +598 -0
  19. package/dist/chunk-CFFLOE7D.cjs.map +1 -0
  20. package/dist/{chunk-BM7N6N7E.js → chunk-CFTW5WNG.js} +3 -325
  21. package/dist/chunk-CFTW5WNG.js.map +1 -0
  22. package/dist/chunk-DD2WCK4C.js +327 -0
  23. package/dist/chunk-DD2WCK4C.js.map +1 -0
  24. package/dist/chunk-DMPMQ74B.cjs +246 -0
  25. package/dist/chunk-DMPMQ74B.cjs.map +1 -0
  26. package/dist/{chunk-2Q75CQQJ.js → chunk-EEKF4553.js} +2 -2
  27. package/dist/chunk-EEKF4553.js.map +1 -0
  28. package/dist/chunk-ENVYYEM4.cjs +113 -0
  29. package/dist/chunk-ENVYYEM4.cjs.map +1 -0
  30. package/dist/chunk-FQX6ZYGJ.js +500 -0
  31. package/dist/chunk-FQX6ZYGJ.js.map +1 -0
  32. package/dist/chunk-FSK2ICMB.cjs +39 -0
  33. package/dist/chunk-FSK2ICMB.cjs.map +1 -0
  34. package/dist/chunk-FZYWLQAF.cjs +355 -0
  35. package/dist/chunk-FZYWLQAF.cjs.map +1 -0
  36. package/dist/chunk-GP26R377.js +436 -0
  37. package/dist/chunk-GP26R377.js.map +1 -0
  38. package/dist/chunk-HA5FLM63.js +393 -0
  39. package/dist/chunk-HA5FLM63.js.map +1 -0
  40. package/dist/chunk-INJ73LXQ.js +1107 -0
  41. package/dist/chunk-INJ73LXQ.js.map +1 -0
  42. package/dist/chunk-JPDF7BIT.cjs +10892 -0
  43. package/dist/chunk-JPDF7BIT.cjs.map +1 -0
  44. package/dist/{chunk-MDFSBU5W.cjs → chunk-LTCKPTZC.cjs} +2 -351
  45. package/dist/chunk-LTCKPTZC.cjs.map +1 -0
  46. package/dist/chunk-MKNCBUFA.js +564 -0
  47. package/dist/chunk-MKNCBUFA.js.map +1 -0
  48. package/dist/chunk-NKVMSABR.cjs +207 -0
  49. package/dist/chunk-NKVMSABR.cjs.map +1 -0
  50. package/dist/chunk-OFDWNWCL.js +70 -0
  51. package/dist/chunk-OFDWNWCL.js.map +1 -0
  52. package/dist/chunk-QJAUUYZU.cjs +331 -0
  53. package/dist/chunk-QJAUUYZU.cjs.map +1 -0
  54. package/dist/chunk-RVUYPKKD.js +10750 -0
  55. package/dist/chunk-RVUYPKKD.js.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 +5126 -16118
  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 +3219 -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
@@ -0,0 +1,145 @@
1
+ 'use strict';
2
+
3
+ var chunkCFFLOE7D_cjs = require('../../chunk-CFFLOE7D.cjs');
4
+ require('../../chunk-TQQZGNOI.cjs');
5
+ require('../../chunk-5GUSMQ74.cjs');
6
+ require('../../chunk-FZYWLQAF.cjs');
7
+ require('../../chunk-LTCKPTZC.cjs');
8
+ require('../../chunk-PK6SKIKE.cjs');
9
+
10
+
11
+
12
+ Object.defineProperty(exports, "TOKEN_POOL_SEED", {
13
+ enumerable: true,
14
+ get: function () { return chunkCFFLOE7D_cjs.TOKEN_POOL_SEED; }
15
+ });
16
+ Object.defineProperty(exports, "computeCompDefOffset", {
17
+ enumerable: true,
18
+ get: function () { return chunkCFFLOE7D_cjs.computeCompDefOffset; }
19
+ });
20
+ Object.defineProperty(exports, "computeStructSeed", {
21
+ enumerable: true,
22
+ get: function () { return chunkCFFLOE7D_cjs.computeStructSeed; }
23
+ });
24
+ Object.defineProperty(exports, "findActiveStealthPoolPda", {
25
+ enumerable: true,
26
+ get: function () { return chunkCFFLOE7D_cjs.findActiveStealthPoolPda; }
27
+ });
28
+ Object.defineProperty(exports, "findArciumClusterPda", {
29
+ enumerable: true,
30
+ get: function () { return chunkCFFLOE7D_cjs.findArciumClusterPda; }
31
+ });
32
+ Object.defineProperty(exports, "findArciumCompDefPda", {
33
+ enumerable: true,
34
+ get: function () { return chunkCFFLOE7D_cjs.findArciumCompDefPda; }
35
+ });
36
+ Object.defineProperty(exports, "findArciumComputationPda", {
37
+ enumerable: true,
38
+ get: function () { return chunkCFFLOE7D_cjs.findArciumComputationPda; }
39
+ });
40
+ Object.defineProperty(exports, "findArciumExecutingPoolPda", {
41
+ enumerable: true,
42
+ get: function () { return chunkCFFLOE7D_cjs.findArciumExecutingPoolPda; }
43
+ });
44
+ Object.defineProperty(exports, "findArciumInfrastructurePdas", {
45
+ enumerable: true,
46
+ get: function () { return chunkCFFLOE7D_cjs.findArciumInfrastructurePdas; }
47
+ });
48
+ Object.defineProperty(exports, "findArciumMempoolPda", {
49
+ enumerable: true,
50
+ get: function () { return chunkCFFLOE7D_cjs.findArciumMempoolPda; }
51
+ });
52
+ Object.defineProperty(exports, "findArciumMxePda", {
53
+ enumerable: true,
54
+ get: function () { return chunkCFFLOE7D_cjs.findArciumMxePda; }
55
+ });
56
+ Object.defineProperty(exports, "findClaimInputBufferPda", {
57
+ enumerable: true,
58
+ get: function () { return chunkCFFLOE7D_cjs.findClaimInputBufferPda; }
59
+ });
60
+ Object.defineProperty(exports, "findConfidentialNullifierBufferPda", {
61
+ enumerable: true,
62
+ get: function () { return chunkCFFLOE7D_cjs.findConfidentialNullifierBufferPda; }
63
+ });
64
+ Object.defineProperty(exports, "findEncryptedTokenAccountPda", {
65
+ enumerable: true,
66
+ get: function () { return chunkCFFLOE7D_cjs.findEncryptedTokenAccountPda; }
67
+ });
68
+ Object.defineProperty(exports, "findEncryptedUserAccountPda", {
69
+ enumerable: true,
70
+ get: function () { return chunkCFFLOE7D_cjs.findEncryptedUserAccountPda; }
71
+ });
72
+ Object.defineProperty(exports, "findFeeSchedulePda", {
73
+ enumerable: true,
74
+ get: function () { return chunkCFFLOE7D_cjs.findFeeSchedulePda; }
75
+ });
76
+ Object.defineProperty(exports, "findNetworkComplianceGrantPda", {
77
+ enumerable: true,
78
+ get: function () { return chunkCFFLOE7D_cjs.findNetworkComplianceGrantPda; }
79
+ });
80
+ Object.defineProperty(exports, "findNullifierSetPdas", {
81
+ enumerable: true,
82
+ get: function () { return chunkCFFLOE7D_cjs.findNullifierSetPdas; }
83
+ });
84
+ Object.defineProperty(exports, "findProtocolConfigPda", {
85
+ enumerable: true,
86
+ get: function () { return chunkCFFLOE7D_cjs.findProtocolConfigPda; }
87
+ });
88
+ Object.defineProperty(exports, "findProtocolFeeVaultPda", {
89
+ enumerable: true,
90
+ get: function () { return chunkCFFLOE7D_cjs.findProtocolFeeVaultPda; }
91
+ });
92
+ Object.defineProperty(exports, "findPublicClaimComputationDataPda", {
93
+ enumerable: true,
94
+ get: function () { return chunkCFFLOE7D_cjs.findPublicClaimComputationDataPda; }
95
+ });
96
+ Object.defineProperty(exports, "findPublicClaimInputBufferPda", {
97
+ enumerable: true,
98
+ get: function () { return chunkCFFLOE7D_cjs.findPublicClaimInputBufferPda; }
99
+ });
100
+ Object.defineProperty(exports, "findPublicNullifierBufferPda", {
101
+ enumerable: true,
102
+ get: function () { return chunkCFFLOE7D_cjs.findPublicNullifierBufferPda; }
103
+ });
104
+ Object.defineProperty(exports, "findPublicUtxoInputBufferPda", {
105
+ enumerable: true,
106
+ get: function () { return chunkCFFLOE7D_cjs.findPublicUtxoInputBufferPda; }
107
+ });
108
+ Object.defineProperty(exports, "findRelayerFeeSchedulePda", {
109
+ enumerable: true,
110
+ get: function () { return chunkCFFLOE7D_cjs.findRelayerFeeSchedulePda; }
111
+ });
112
+ Object.defineProperty(exports, "findRelayerFeeVaultPda", {
113
+ enumerable: true,
114
+ get: function () { return chunkCFFLOE7D_cjs.findRelayerFeeVaultPda; }
115
+ });
116
+ Object.defineProperty(exports, "findRelayerPda", {
117
+ enumerable: true,
118
+ get: function () { return chunkCFFLOE7D_cjs.findRelayerPda; }
119
+ });
120
+ Object.defineProperty(exports, "findSharedComplianceGrantPda", {
121
+ enumerable: true,
122
+ get: function () { return chunkCFFLOE7D_cjs.findSharedComplianceGrantPda; }
123
+ });
124
+ Object.defineProperty(exports, "findStealthPoolPda", {
125
+ enumerable: true,
126
+ get: function () { return chunkCFFLOE7D_cjs.findStealthPoolPda; }
127
+ });
128
+ Object.defineProperty(exports, "findTokenPoolPda", {
129
+ enumerable: true,
130
+ get: function () { return chunkCFFLOE7D_cjs.findTokenPoolPda; }
131
+ });
132
+ Object.defineProperty(exports, "findUserComplianceGrantPda", {
133
+ enumerable: true,
134
+ get: function () { return chunkCFFLOE7D_cjs.findUserComplianceGrantPda; }
135
+ });
136
+ Object.defineProperty(exports, "findUtxoInputBufferPda", {
137
+ enumerable: true,
138
+ get: function () { return chunkCFFLOE7D_cjs.findUtxoInputBufferPda; }
139
+ });
140
+ Object.defineProperty(exports, "findVerifyingKeyPda", {
141
+ enumerable: true,
142
+ get: function () { return chunkCFFLOE7D_cjs.findVerifyingKeyPda; }
143
+ });
144
+ //# sourceMappingURL=index.cjs.map
145
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}