@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FetchArtifact } from './index-
|
|
1
|
+
import { F as FetchArtifact } from './index-DkNRxKxP.js';
|
|
2
2
|
import 'viem/accounts';
|
|
3
3
|
import 'buffer';
|
|
4
4
|
import 'assert';
|
|
@@ -15,4 +15,4 @@ async function fetchVersionedArtifact(artifactUrl) {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
export { fetchVersionedArtifact };
|
|
18
|
-
//# sourceMappingURL=fetchArtifacts.esm-
|
|
18
|
+
//# sourceMappingURL=fetchArtifacts.esm-DbVRphob.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchArtifacts.esm-
|
|
1
|
+
{"version":3,"file":"fetchArtifacts.esm-DbVRphob.js","sources":["../../src/circuits/fetchArtifacts.esm.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAEO,eAAe,sBAAsB,CAC1C,WAAgB,EAAA;AAEhB,IAAA,MAAM,GAAG,GAAG,MAAM,KAAK,CAAC,WAAW,CAAC;AACpC,IAAA,IAAI,GAAG,CAAC,MAAM,KAAK,GAAG,EAAE;AACtB,QAAA,MAAM,IAAI,aAAa,CAAC,WAAW,CAAC;;AAEtC,IAAA,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,WAAW,EAAE;AACpC,IAAA,OAAO,IAAI,UAAU,CAAC,IAAI,CAAC;AAC7B;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as FetchArtifact } from './index-
|
|
1
|
+
import { F as FetchArtifact } from './index-DkNRxKxP.js';
|
|
2
2
|
import 'viem/accounts';
|
|
3
3
|
import 'buffer';
|
|
4
4
|
import 'assert';
|
|
@@ -28,4 +28,4 @@ async function fetchVersionedArtifact(artifactUrl) {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export { fetchVersionedArtifact };
|
|
31
|
-
//# sourceMappingURL=fetchArtifacts.node-
|
|
31
|
+
//# sourceMappingURL=fetchArtifacts.node-D-fJGtzV.js.map
|
package/dist/esm/{fetchArtifacts.node-BPQQPsnb.js.map → fetchArtifacts.node-D-fJGtzV.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchArtifacts.node-
|
|
1
|
+
{"version":3,"file":"fetchArtifacts.node-D-fJGtzV.js","sources":["../../src/circuits/fetchArtifacts.node.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAEO,eAAe,sBAAsB,CAC1C,WAAgB,EAAA;AAEhB,IAAA,IAAI;QACF,MAAM,EAAE,GAAG,CAAC,MAAM,OAAO,IAAI,CAAC,EAAE,OAAO;QACvC,MAAM,WAAW,GAAoB,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,KAAI;AACnE,YAAA,EAAE,CAAC,QAAQ,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,IAAI,KAAI;gBAC9C,IAAI,GAAG,EAAE;oBACP,MAAM,CAAC,GAAG,CAAC;;qBACN;oBACL,OAAO,CAAC,IAAI,CAAC;;AAEjB,aAAC,CAAC;AACJ,SAAC,CAAC;AACF,QAAA,MAAM,GAAG,GAAG,MAAM,WAAW;AAC7B,QAAA,OAAO,IAAI,UAAU,CAAC,GAAG,CAAC;;IAC1B,OAAO,KAAK,EAAE;AACd,QAAA,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC;AACpB,QAAA,MAAM,IAAI,aAAa,CAAC,WAAW,CAAC;;AAExC;;;;"}
|
|
@@ -45815,10 +45815,10 @@ const circuitToAsset = {
|
|
|
45815
45815
|
|
|
45816
45816
|
async function importFetchVersionedArtifact(isBrowser) {
|
|
45817
45817
|
if (isBrowser) {
|
|
45818
|
-
return import('./fetchArtifacts.esm-
|
|
45818
|
+
return import('./fetchArtifacts.esm-DbVRphob.js');
|
|
45819
45819
|
}
|
|
45820
45820
|
else {
|
|
45821
|
-
return import('./fetchArtifacts.node-
|
|
45821
|
+
return import('./fetchArtifacts.node-D-fJGtzV.js');
|
|
45822
45822
|
}
|
|
45823
45823
|
}
|
|
45824
45824
|
|
|
@@ -72496,9 +72496,11 @@ class AccountService {
|
|
|
72496
72496
|
});
|
|
72497
72497
|
}
|
|
72498
72498
|
else {
|
|
72499
|
-
|
|
72499
|
+
const errorWithDetails = result.reason;
|
|
72500
|
+
const scope = errorWithDetails.details?.scope;
|
|
72501
|
+
events.set(scope, {
|
|
72500
72502
|
reason: result.reason.message,
|
|
72501
|
-
scope:
|
|
72503
|
+
scope: scope,
|
|
72502
72504
|
});
|
|
72503
72505
|
}
|
|
72504
72506
|
}
|
|
@@ -72980,7 +72982,8 @@ class DataService {
|
|
|
72980
72982
|
throw DataError.invalidLog("withdrawal", "missing args");
|
|
72981
72983
|
}
|
|
72982
72984
|
const { _value: value, _spentNullifier: spentNullifier, _newCommitment: newCommitment, } = typedLog.args;
|
|
72983
|
-
if (
|
|
72985
|
+
if (value === undefined ||
|
|
72986
|
+
value === null ||
|
|
72984
72987
|
!spentNullifier ||
|
|
72985
72988
|
!newCommitment ||
|
|
72986
72989
|
!typedLog.blockNumber ||
|
|
@@ -73155,4 +73158,4 @@ class DataService {
|
|
|
73155
73158
|
}
|
|
73156
73159
|
|
|
73157
73160
|
export { AccountService as A, BlockchainProvider as B, CommitmentService as C, DataService as D, ErrorCode as E, FetchArtifact as F, InvalidRpcUrl as I, PrivacyPoolSDK as P, SDKError as S, WithdrawalService as W, DEFAULT_LOG_FETCH_CONFIG as a, generateDepositSecrets as b, generateWithdrawalSecrets as c, getCommitment as d, generateMerkleProof as e, bigintToHash as f, generateMasterKeys as g, hashPrecommitment as h, bigintToHex as i, calculateContext as j, Circuits as k, ContractInteractionsService as l, ProofError as m, ContractError as n, AccountError as o, CircuitName as p };
|
|
73158
|
-
//# sourceMappingURL=index-
|
|
73161
|
+
//# sourceMappingURL=index-DkNRxKxP.js.map
|