@0xpolygonid/js-sdk 1.21.0 → 1.21.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/browser/esm/index.js +16 -4
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/browser/umd/index.js +16 -4
- package/dist/browser/umd/index.js.map +1 -1
- package/dist/node/cjs/proof/provers/inputs-generator.js +16 -4
- package/dist/node/esm/proof/provers/inputs-generator.js +16 -4
- package/package.json +1 -1
|
@@ -79415,11 +79415,25 @@ var PolygonIdSdk = (function (exports) {
|
|
|
79415
79415
|
exports.Operators.NIN,
|
|
79416
79416
|
exports.Operators.NE
|
|
79417
79417
|
];
|
|
79418
|
+
const v2OnChainOperations = [
|
|
79419
|
+
exports.Operators.EQ,
|
|
79420
|
+
exports.Operators.LT,
|
|
79421
|
+
exports.Operators.GT,
|
|
79422
|
+
exports.Operators.IN,
|
|
79423
|
+
exports.Operators.NIN,
|
|
79424
|
+
exports.Operators.NE
|
|
79425
|
+
];
|
|
79418
79426
|
const circuitValidator = {
|
|
79419
79427
|
[exports.CircuitId.AtomicQueryMTPV2]: { maxQueriesCount: 1, supportedOperations: v2Operations },
|
|
79420
|
-
[exports.CircuitId.AtomicQueryMTPV2OnChain]: {
|
|
79428
|
+
[exports.CircuitId.AtomicQueryMTPV2OnChain]: {
|
|
79429
|
+
maxQueriesCount: 1,
|
|
79430
|
+
supportedOperations: v2OnChainOperations
|
|
79431
|
+
},
|
|
79421
79432
|
[exports.CircuitId.AtomicQuerySigV2]: { maxQueriesCount: 1, supportedOperations: v2Operations },
|
|
79422
|
-
[exports.CircuitId.AtomicQuerySigV2OnChain]: {
|
|
79433
|
+
[exports.CircuitId.AtomicQuerySigV2OnChain]: {
|
|
79434
|
+
maxQueriesCount: 1,
|
|
79435
|
+
supportedOperations: v2OnChainOperations
|
|
79436
|
+
},
|
|
79423
79437
|
[exports.CircuitId.AtomicQueryV3]: { maxQueriesCount: 1, supportedOperations: allOperations },
|
|
79424
79438
|
[exports.CircuitId.AtomicQueryV3OnChain]: { maxQueriesCount: 1, supportedOperations: allOperations },
|
|
79425
79439
|
[exports.CircuitId.AuthV2]: { maxQueriesCount: 0, supportedOperations: [] },
|
|
@@ -79486,7 +79500,6 @@ var PolygonIdSdk = (function (exports) {
|
|
|
79486
79500
|
circuitInputs.signature = signature;
|
|
79487
79501
|
circuitInputs.challenge = params.challenge;
|
|
79488
79502
|
const query = circuitQueries[0];
|
|
79489
|
-
query.operator = this.transformV2QueryOperator(query.operator);
|
|
79490
79503
|
circuitInputs.query = query;
|
|
79491
79504
|
circuitInputs.claim = {
|
|
79492
79505
|
issuerID: circuitClaimData.issuerId,
|
|
@@ -79545,7 +79558,6 @@ var PolygonIdSdk = (function (exports) {
|
|
|
79545
79558
|
circuitInputs.profileNonce = BigInt(params.authProfileNonce);
|
|
79546
79559
|
circuitInputs.skipClaimRevocationCheck = params.skipRevocation;
|
|
79547
79560
|
const query = circuitQueries[0];
|
|
79548
|
-
query.operator = this.transformV2QueryOperator(query.operator);
|
|
79549
79561
|
circuitInputs.query = query;
|
|
79550
79562
|
circuitInputs.currentTimeStamp = b$4(new Date());
|
|
79551
79563
|
if (authClaimData.treeState) {
|