diff --git a/package-lock.json b/package-lock.json index 1d0e49aa..3c6af1b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@0xpolygonid/js-sdk", - "version": "1.0.3", + "version": "1.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@0xpolygonid/js-sdk", - "version": "1.0.3", + "version": "1.1.0", "license": "AGPL-3.0", "dependencies": { "@iden3/js-crypto": "1.0.1", diff --git a/package.json b/package.json index e19b0dcd..15f937b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0xpolygonid/js-sdk", - "version": "1.0.3", + "version": "1.1.0", "description": "SDK to work with Polygon ID", "main": "dist/cjs/index.js", "module": "dist/esm_esbuild/index.js", diff --git a/src/identity/identity-wallet.ts b/src/identity/identity-wallet.ts index 9703a68d..836fc557 100644 --- a/src/identity/identity-wallet.ts +++ b/src/identity/identity-wallet.ts @@ -115,7 +115,7 @@ export interface IIdentityWallet { * @param {CredentialRequest} req - claim request * @returns `Promise` - returns created W3CCredential */ - issueCredential(issuerDID: DID, req: CredentialRequest): Promise; + issueCredential(issuerDID: DID, req: CredentialRequest, opts?: Options): Promise; /** * Gets a tree model for given did that includes claims tree, revocation tree, the root of roots tree and calculated state hash