From 44f87ca46f9160b89e617da139fe65ac0a1b59bc Mon Sep 17 00:00:00 2001 From: Dimasik Kolezhniuk Date: Wed, 20 Mar 2024 18:03:09 +0100 Subject: [PATCH] Fix minor issue with CredStatus interface (#199) --- package-lock.json | 4 ++-- package.json | 2 +- src/verifiable/proof.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index d662392a..c4bf0a2d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@0xpolygonid/js-sdk", - "version": "1.9.0", + "version": "1.9.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@0xpolygonid/js-sdk", - "version": "1.9.0", + "version": "1.9.1", "license": "AGPL-3.0", "dependencies": { "ajv": "8.12.0", diff --git a/package.json b/package.json index 1d5da256..933bb8c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0xpolygonid/js-sdk", - "version": "1.9.0", + "version": "1.9.1", "description": "SDK to work with Polygon ID", "main": "dist/node/cjs/index.js", "module": "dist/node/esm/index.js", diff --git a/src/verifiable/proof.ts b/src/verifiable/proof.ts index d29d00b5..702170f6 100644 --- a/src/verifiable/proof.ts +++ b/src/verifiable/proof.ts @@ -248,7 +248,7 @@ export interface CredentialStatus { id: string; type: CredentialStatusType; revocationNonce?: number; - statusIssuer?: CredentialStatus; + statusIssuer?: { id: string; type: CredentialStatusType; revocationNonce?: number }; } /**