Skip to content

Commit

Permalink
feat: add optional displayMethod to CredentialRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-basiuk committed Sep 5, 2024
1 parent 2e58067 commit cd6f99d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@0xpolygonid/js-sdk",
"version": "1.18.1",
"version": "1.18.2",
"description": "SDK to work with Polygon ID",
"main": "dist/node/cjs/index.js",
"module": "dist/node/esm/index.js",
Expand Down
5 changes: 5 additions & 0 deletions src/credentials/models.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { JsonDocumentObject } from '../iden3comm';
import {
CredentialStatusType,
DisplayMethod,
MerklizedRootPosition,
RefreshService,
SubjectPosition
Expand Down Expand Up @@ -42,6 +43,10 @@ export interface CredentialRequest {
* refreshService
*/
refreshService?: RefreshService;
/**
* displayMethod
*/
displayMethod?: DisplayMethod;
/**
* claim version
*/
Expand Down

0 comments on commit cd6f99d

Please sign in to comment.