From 27bd1b842f257e2c237e216daec5f82c4a16bb93 Mon Sep 17 00:00:00 2001 From: GopherDID <74898029+vmidyllic@users.noreply.github.com> Date: Wed, 19 Jun 2024 19:45:21 +0300 Subject: [PATCH] fix (#244) --- package-lock.json | 4 ++-- package.json | 2 +- src/iden3comm/handlers/refresh.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4b533fc3..d5bc01a2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@0xpolygonid/js-sdk", - "version": "1.16.0", + "version": "1.16.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@0xpolygonid/js-sdk", - "version": "1.16.0", + "version": "1.16.1", "license": "MIT or Apache-2.0", "dependencies": { "@noble/curves": "^1.4.0", diff --git a/package.json b/package.json index f7d4290d..4a36d3d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0xpolygonid/js-sdk", - "version": "1.16.0", + "version": "1.16.1", "description": "SDK to work with Polygon ID", "main": "dist/node/cjs/index.js", "module": "dist/node/esm/index.js", diff --git a/src/iden3comm/handlers/refresh.ts b/src/iden3comm/handlers/refresh.ts index b999cd23..32a1be2e 100644 --- a/src/iden3comm/handlers/refresh.ts +++ b/src/iden3comm/handlers/refresh.ts @@ -102,7 +102,7 @@ export class RefreshHandler implements IRefreshHandler { type: PROTOCOL_MESSAGE_TYPE.CREDENTIAL_REFRESH_MESSAGE_TYPE, thid: uuid.v4(), body: { - id: otherIdentifier, + id: credential.id, reason: opts?.reason ?? 'credential is expired' }, from: otherIdentifier,