@0xpolygonid/js-sdk 1.27.1 → 1.27.2
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 +4 -0
- package/dist/browser/esm/index.js.map +1 -1
- package/dist/browser/umd/index.js +4 -0
- package/dist/browser/umd/index.js.map +1 -1
- package/dist/node/cjs/proof/provers/inputs-generator.js +4 -0
- package/dist/node/esm/proof/provers/inputs-generator.js +4 -0
- package/package.json +1 -1
|
@@ -319,6 +319,10 @@ class InputGenerator {
|
|
|
319
319
|
circuitQueries.forEach((query) => {
|
|
320
320
|
this.checkOperatorSupport(proofReq.circuitId, query.operator);
|
|
321
321
|
});
|
|
322
|
+
circuitQueries.forEach((query) => {
|
|
323
|
+
query.values = [circuits_1.Operators.SD, circuits_1.Operators.NOOP].includes(query.operator) ? [] : query.values;
|
|
324
|
+
query.valueProof = query.operator === circuits_1.Operators.NOOP ? new circuits_1.ValueProof() : query.valueProof;
|
|
325
|
+
});
|
|
322
326
|
return circuitInputs.inputsMarshal();
|
|
323
327
|
};
|
|
324
328
|
}
|
|
@@ -316,6 +316,10 @@ export class InputGenerator {
|
|
|
316
316
|
circuitQueries.forEach((query) => {
|
|
317
317
|
this.checkOperatorSupport(proofReq.circuitId, query.operator);
|
|
318
318
|
});
|
|
319
|
+
circuitQueries.forEach((query) => {
|
|
320
|
+
query.values = [Operators.SD, Operators.NOOP].includes(query.operator) ? [] : query.values;
|
|
321
|
+
query.valueProof = query.operator === Operators.NOOP ? new ValueProof() : query.valueProof;
|
|
322
|
+
});
|
|
319
323
|
return circuitInputs.inputsMarshal();
|
|
320
324
|
};
|
|
321
325
|
}
|