@sip-protocol/sdk 0.2.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.mjs CHANGED
@@ -3,18 +3,14 @@ import {
3
3
  BaseWalletAdapter,
4
4
  CHAIN_NUMERIC_IDS,
5
5
  ComplianceManager,
6
- CryptoError,
7
6
  DEFAULT_THRESHOLD,
8
7
  DEFAULT_TOTAL_ORACLES,
9
8
  DerivationPath,
10
- EncryptionNotImplementedError,
11
- ErrorCode,
12
9
  EthereumChainId,
13
10
  EthereumWalletAdapter,
14
11
  HardwareErrorCode,
15
12
  HardwareWalletError,
16
13
  IntentBuilder,
17
- IntentError,
18
14
  IntentStatus,
19
15
  LedgerWalletAdapter,
20
16
  MockEthereumAdapter,
@@ -26,8 +22,6 @@ import {
26
22
  MockWalletAdapter,
27
23
  NATIVE_TOKENS,
28
24
  NEARIntentsAdapter,
29
- NetworkError,
30
- NoirProofProvider,
31
25
  ORACLE_DOMAIN,
32
26
  OneClickClient,
33
27
  OneClickDepositMode,
@@ -37,13 +31,9 @@ import {
37
31
  PaymentBuilder,
38
32
  PaymentStatus,
39
33
  PrivacyLevel,
40
- ProofError,
41
- ProofGenerationError,
42
- ProofNotImplementedError,
43
34
  ProposalStatus,
44
35
  ReportStatus,
45
36
  SIP,
46
- SIPError,
47
37
  SIP_VERSION,
48
38
  STABLECOIN_ADDRESSES,
49
39
  STABLECOIN_DECIMALS,
@@ -51,7 +41,6 @@ import {
51
41
  SolanaWalletAdapter,
52
42
  Treasury,
53
43
  TrezorWalletAdapter,
54
- ValidationError,
55
44
  WalletError,
56
45
  WalletErrorCode,
57
46
  ZcashErrorCode,
@@ -111,8 +100,6 @@ import {
111
100
  formatStablecoinAmount,
112
101
  fromHex,
113
102
  fromStablecoinUnits,
114
- fulfillment_proof_default,
115
- funding_proof_default,
116
103
  generateBlinding,
117
104
  generateEd25519StealthAddress,
118
105
  generateEd25519StealthMetaAddress,
@@ -129,7 +116,6 @@ import {
129
116
  getCurveForChain,
130
117
  getDefaultRpcEndpoint,
131
118
  getDerivationPath,
132
- getErrorMessage,
133
119
  getEthereumProvider,
134
120
  getGenerators,
135
121
  getIntentSummary,
@@ -144,7 +130,6 @@ import {
144
130
  getSupportedStablecoins,
145
131
  getTimeRemaining,
146
132
  hasEnoughOracles,
147
- hasErrorCode,
148
133
  hasRequiredProofs,
149
134
  hash,
150
135
  hexToBytes,
@@ -156,7 +141,6 @@ import {
156
141
  isPaymentExpired,
157
142
  isPrivate,
158
143
  isPrivateWalletAdapter,
159
- isSIPError,
160
144
  isStablecoin,
161
145
  isStablecoinOnChain,
162
146
  isValidAmount,
@@ -206,16 +190,35 @@ import {
206
190
  validateIntentOutput,
207
191
  validateScalar,
208
192
  validateViewingKey,
209
- validity_proof_default,
210
193
  verifyAttestation,
211
194
  verifyCommitment,
212
195
  verifyOpening,
213
196
  verifyOracleSignature,
214
197
  walletRegistry,
215
198
  withSecureBuffer,
216
- withSecureBufferSync,
199
+ withSecureBufferSync
200
+ } from "./chunk-NDGUWOOZ.mjs";
201
+ import {
202
+ fulfillment_proof_default,
203
+ funding_proof_default,
204
+ validity_proof_default
205
+ } from "./chunk-VITVG25F.mjs";
206
+ import {
207
+ CryptoError,
208
+ EncryptionNotImplementedError,
209
+ ErrorCode,
210
+ IntentError,
211
+ NetworkError,
212
+ ProofError,
213
+ ProofGenerationError,
214
+ ProofNotImplementedError,
215
+ SIPError,
216
+ ValidationError,
217
+ getErrorMessage,
218
+ hasErrorCode,
219
+ isSIPError,
217
220
  wrapError
218
- } from "./chunk-4VJHI66K.mjs";
221
+ } from "./chunk-UHZKNGIT.mjs";
219
222
 
220
223
  // src/proofs/browser.ts
221
224
  import { Noir } from "@noir-lang/noir_js";
@@ -849,7 +852,6 @@ export {
849
852
  NATIVE_TOKENS,
850
853
  NEARIntentsAdapter,
851
854
  NetworkError,
852
- NoirProofProvider,
853
855
  ORACLE_DOMAIN,
854
856
  OneClickClient,
855
857
  OneClickDepositMode,