@0xbow/privacy-pools-core-sdk 1.1.0 → 1.1.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.
- package/dist/esm/{fetchArtifacts.esm-B6qveiM8.js → fetchArtifacts.esm-DbVRphob.js} +2 -2
- package/dist/esm/{fetchArtifacts.esm-B6qveiM8.js.map → fetchArtifacts.esm-DbVRphob.js.map} +1 -1
- package/dist/esm/{fetchArtifacts.node-BPQQPsnb.js → fetchArtifacts.node-D-fJGtzV.js} +2 -2
- package/dist/esm/{fetchArtifacts.node-BPQQPsnb.js.map → fetchArtifacts.node-D-fJGtzV.js.map} +1 -1
- package/dist/esm/{index-CRtEyHEf.js → index-DkNRxKxP.js} +9 -6
- package/dist/esm/{index-CRtEyHEf.js.map → index-DkNRxKxP.js.map} +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/node/{fetchArtifacts.esm-z-KXbilc.js → fetchArtifacts.esm-BIT-b_1_.js} +2 -2
- package/dist/node/{fetchArtifacts.esm-z-KXbilc.js.map → fetchArtifacts.esm-BIT-b_1_.js.map} +1 -1
- package/dist/node/{fetchArtifacts.node-DvqhqpW9.js → fetchArtifacts.node-CKwwU50E.js} +2 -2
- package/dist/node/{fetchArtifacts.node-DvqhqpW9.js.map → fetchArtifacts.node-CKwwU50E.js.map} +1 -1
- package/dist/node/{index-BsmEKESv.js → index-C3RV9Cri.js} +9 -6
- package/dist/node/{index-BsmEKESv.js.map → index-C3RV9Cri.js.map} +1 -1
- package/dist/node/index.mjs +1 -1
- package/dist/types/{fetchArtifacts.esm-DF01Zpo3.js → fetchArtifacts.esm-DT5RuODl.js} +1 -1
- package/dist/types/{fetchArtifacts.node-BO6FBCAw.js → fetchArtifacts.node-D_iVIPqW.js} +1 -1
- package/dist/types/{index-CH7gk4sK.js → index-CHy3YamH.js} +8 -5
- package/dist/types/index.js +1 -1
- package/package.json +1 -1
- package/src/core/data.service.ts +2 -1
package/dist/node/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { o as AccountError, A as AccountService, B as BlockchainProvider, p as CircuitName, k as Circuits, C as CommitmentService, n as ContractError, l as ContractInteractionsService, a as DEFAULT_LOG_FETCH_CONFIG, D as DataService, E as ErrorCode, I as InvalidRpcUrl, P as PrivacyPoolSDK, m as ProofError, S as SDKError, W as WithdrawalService, f as bigintToHash, i as bigintToHex, j as calculateContext, b as generateDepositSecrets, g as generateMasterKeys, e as generateMerkleProof, c as generateWithdrawalSecrets, d as getCommitment, h as hashPrecommitment } from './index-
|
|
1
|
+
export { o as AccountError, A as AccountService, B as BlockchainProvider, p as CircuitName, k as Circuits, C as CommitmentService, n as ContractError, l as ContractInteractionsService, a as DEFAULT_LOG_FETCH_CONFIG, D as DataService, E as ErrorCode, I as InvalidRpcUrl, P as PrivacyPoolSDK, m as ProofError, S as SDKError, W as WithdrawalService, f as bigintToHash, i as bigintToHex, j as calculateContext, b as generateDepositSecrets, g as generateMasterKeys, e as generateMerkleProof, c as generateWithdrawalSecrets, d as getCommitment, h as hashPrecommitment } from './index-C3RV9Cri.js';
|
|
2
2
|
import 'viem/accounts';
|
|
3
3
|
import 'buffer';
|
|
4
4
|
import 'http';
|
|
@@ -51082,10 +51082,10 @@ const circuitToAsset = {
|
|
|
51082
51082
|
|
|
51083
51083
|
async function importFetchVersionedArtifact(isBrowser) {
|
|
51084
51084
|
if (isBrowser) {
|
|
51085
|
-
return import('./fetchArtifacts.esm-
|
|
51085
|
+
return import('./fetchArtifacts.esm-DT5RuODl.js');
|
|
51086
51086
|
}
|
|
51087
51087
|
else {
|
|
51088
|
-
return import('./fetchArtifacts.node-
|
|
51088
|
+
return import('./fetchArtifacts.node-D_iVIPqW.js');
|
|
51089
51089
|
}
|
|
51090
51090
|
}
|
|
51091
51091
|
|
|
@@ -79560,9 +79560,11 @@ class AccountService {
|
|
|
79560
79560
|
});
|
|
79561
79561
|
}
|
|
79562
79562
|
else {
|
|
79563
|
-
|
|
79563
|
+
const errorWithDetails = result.reason;
|
|
79564
|
+
const scope = errorWithDetails.details?.scope;
|
|
79565
|
+
events.set(scope, {
|
|
79564
79566
|
reason: result.reason.message,
|
|
79565
|
-
scope:
|
|
79567
|
+
scope: scope,
|
|
79566
79568
|
});
|
|
79567
79569
|
}
|
|
79568
79570
|
}
|
|
@@ -80044,7 +80046,8 @@ class DataService {
|
|
|
80044
80046
|
throw DataError.invalidLog("withdrawal", "missing args");
|
|
80045
80047
|
}
|
|
80046
80048
|
const { _value: value, _spentNullifier: spentNullifier, _newCommitment: newCommitment, } = typedLog.args;
|
|
80047
|
-
if (
|
|
80049
|
+
if (value === undefined ||
|
|
80050
|
+
value === null ||
|
|
80048
80051
|
!spentNullifier ||
|
|
80049
80052
|
!newCommitment ||
|
|
80050
80053
|
!typedLog.blockNumber ||
|
package/dist/types/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { o as AccountError, A as AccountService, B as BlockchainProvider, p as CircuitName, k as Circuits, C as CommitmentService, n as ContractError, l as ContractInteractionsService, a as DEFAULT_LOG_FETCH_CONFIG, D as DataService, E as ErrorCode, I as InvalidRpcUrl, P as PrivacyPoolSDK, m as ProofError, S as SDKError, W as WithdrawalService, f as bigintToHash, i as bigintToHex, j as calculateContext, b as generateDepositSecrets, g as generateMasterKeys, e as generateMerkleProof, c as generateWithdrawalSecrets, d as getCommitment, h as hashPrecommitment } from './index-
|
|
1
|
+
export { o as AccountError, A as AccountService, B as BlockchainProvider, p as CircuitName, k as Circuits, C as CommitmentService, n as ContractError, l as ContractInteractionsService, a as DEFAULT_LOG_FETCH_CONFIG, D as DataService, E as ErrorCode, I as InvalidRpcUrl, P as PrivacyPoolSDK, m as ProofError, S as SDKError, W as WithdrawalService, f as bigintToHash, i as bigintToHex, j as calculateContext, b as generateDepositSecrets, g as generateMasterKeys, e as generateMerkleProof, c as generateWithdrawalSecrets, d as getCommitment, h as hashPrecommitment } from './index-CHy3YamH.js';
|
|
2
2
|
import 'viem/accounts';
|
|
3
3
|
import 'buffer';
|
|
4
4
|
import 'http';
|
package/package.json
CHANGED