diff --git a/package-lock.json b/package-lock.json index 0828a485..921b326b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@0xpolygonid/js-sdk", - "version": "1.26.0", + "version": "1.27.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@0xpolygonid/js-sdk", - "version": "1.26.0", + "version": "1.27.0", "license": "MIT or Apache-2.0", "dependencies": { "@iden3/onchain-non-merklized-issuer-base-abi": "^0.0.3", diff --git a/package.json b/package.json index 1d910f0d..1bca6729 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@0xpolygonid/js-sdk", - "version": "1.26.0", + "version": "1.27.0", "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/credential-proposal.ts b/src/iden3comm/handlers/credential-proposal.ts index 82336729..f875b1aa 100644 --- a/src/iden3comm/handlers/credential-proposal.ts +++ b/src/iden3comm/handlers/credential-proposal.ts @@ -5,7 +5,6 @@ import { CredentialsOfferMessage, DIDDocument, IPackageManager, - JsonDocumentObject, PackerParams } from '../types'; @@ -31,7 +30,6 @@ import { verifyExpiresTime } from './common'; /** @beta ProposalRequestCreationOptions represents proposal-request creation options */ export type ProposalRequestCreationOptions = { credentials: ProposalRequestCredential[]; - metadata?: { type: string; data?: JsonDocumentObject }; did_doc?: DIDDocument; expires_time?: Date; }; diff --git a/src/iden3comm/types/protocol/contract-request.ts b/src/iden3comm/types/protocol/contract-request.ts index 86e97661..b602c3fe 100644 --- a/src/iden3comm/types/protocol/contract-request.ts +++ b/src/iden3comm/types/protocol/contract-request.ts @@ -31,7 +31,7 @@ export type ContractInvokeResponseBody = { /** OnChainZeroKnowledgeProofResponse represents structure of onchain zero knowledge proof response */ export type OnChainZeroKnowledgeProofResponse = ZeroKnowledgeProofResponse & { - txHash: string; + txHash?: string; }; /** ContractInvokeTransactionData represents structure of contract invoke transaction data object */