@0xpolygonid/js-sdk 1.7.1 → 1.7.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.
@@ -151,6 +151,7 @@ class AuthHandler {
151
151
  }
152
152
  const credWithRevStatus = groupedCredentialsCache.get(groupId);
153
153
  const zkpRes = await this._proofService.generateProof(proofReq, did, {
154
+ verifierDid: js_iden3_core_1.DID.parse(authRequest.from),
154
155
  skipRevocation: Boolean(query.skipClaimRevocationCheck),
155
156
  credential: credWithRevStatus?.cred,
156
157
  credentialRevocationStatus: credWithRevStatus?.revStatus,
@@ -125,6 +125,7 @@ export class AuthHandler {
125
125
  }
126
126
  const credWithRevStatus = groupedCredentialsCache.get(groupId);
127
127
  const zkpRes = await this._proofService.generateProof(proofReq, did, {
128
+ verifierDid: DID.parse(authRequest.from),
128
129
  skipRevocation: Boolean(query.skipClaimRevocationCheck),
129
130
  credential: credWithRevStatus?.cred,
130
131
  credentialRevocationStatus: credWithRevStatus?.revStatus,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xpolygonid/js-sdk",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "SDK to work with Polygon ID",
5
5
  "main": "dist/node/cjs/index.js",
6
6
  "module": "dist/node/esm/index.js",