From f458714742af9472299fab11b6a71793205d2f22 Mon Sep 17 00:00:00 2001 From: ankita_patidar Date: Mon, 19 Feb 2024 15:03:31 +0530 Subject: [PATCH 1/4] Added proof and credential record Id in oob offer output Signed-off-by: ankita_patidar --- .../multi-tenancy/MultiTenancyController.ts | 104 ++++++++++-------- .../outofband/OutOfBandController.ts | 18 +-- 2 files changed, 68 insertions(+), 54 deletions(-) diff --git a/src/controllers/multi-tenancy/MultiTenancyController.ts b/src/controllers/multi-tenancy/MultiTenancyController.ts index d552fb66..30bbfc71 100644 --- a/src/controllers/multi-tenancy/MultiTenancyController.ts +++ b/src/controllers/multi-tenancy/MultiTenancyController.ts @@ -112,7 +112,7 @@ export class MultiTenancyController extends Controller { public async createTenant( @Body() createTenantOptions: CreateTenantOptions, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { const { config } = createTenantOptions const tenantRecord: TenantRecord = await this.agent.modules.tenants.createTenant({ config }) @@ -173,7 +173,7 @@ export class MultiTenancyController extends Controller { w3cCredentials: W3cCredentialsModule cache: CacheModule }>, - didMethod: string, + didMethod: string ) { if (createTenantOptions.did) { await this.importDid(didMethod, createTenantOptions.did, createTenantOptions.seed, tenantAgent) @@ -238,7 +238,7 @@ export class MultiTenancyController extends Controller { w3cCredentials: W3cCredentialsModule cache: CacheModule }>, - didMethod: string, + didMethod: string ) { if (createTenantOptions.did) { return await this.handleDidCreation(createTenantOptions, tenantAgent, didMethod) @@ -274,7 +274,7 @@ export class MultiTenancyController extends Controller { w3cCredentials: W3cCredentialsModule cache: CacheModule }>, - didMethod: string, + didMethod: string ) { await this.importDid(didMethod, createTenantOptions?.did as string, createTenantOptions.seed, tenantAgent) const resolveResult = await this.agent.dids.resolve(`${didMethod}:${createTenantOptions.did}`) @@ -308,7 +308,7 @@ export class MultiTenancyController extends Controller { w3cCredentials: W3cCredentialsModule cache: CacheModule }>, - didMethod: string, + didMethod: string ) { const key = await this.agent.wallet.createKey({ privateKey: TypedArrayEncoder.fromString(createTenantOptions.seed), @@ -365,7 +365,7 @@ export class MultiTenancyController extends Controller { > w3cCredentials: W3cCredentialsModule cache: CacheModule - }>, + }> ) { const didCreateTxResult = await tenantAgent.dids.create({ method: 'indy', @@ -443,7 +443,7 @@ export class MultiTenancyController extends Controller { privateKeys: { keyType: KeyType; privateKey: Buffer }[] }) => any } - }, + } ) { await tenantAgent.dids.import({ did: `${didMethod}:${did}`, @@ -462,7 +462,7 @@ export class MultiTenancyController extends Controller { public async didNymTransaction( @Path('tenantId') tenantId: string, @Body() didNymTransaction: DidNymTransaction, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let didCreateSubmitResult try { @@ -494,14 +494,14 @@ export class MultiTenancyController extends Controller { @Path('tenantId') tenantId: string, @Body() endorserTransaction: EndorserTransaction, @Res() internalServerError: TsoaResponse<500, { message: string }>, - @Res() forbiddenError: TsoaResponse<400, { reason: string }>, + @Res() forbiddenError: TsoaResponse<400, { reason: string }> ) { let signedTransaction try { await this.agent.modules.tenants.withTenantAgent({ tenantId }, async (tenantAgent) => { signedTransaction = await tenantAgent.modules.indyVdr.endorseTransaction( endorserTransaction.transaction, - endorserTransaction.endorserDid, + endorserTransaction.endorserDid ) }) @@ -525,7 +525,7 @@ export class MultiTenancyController extends Controller { public async getConnectionById( @Path('tenantId') tenantId: string, @Path('connectionId') connectionId: RecordId, - @Res() notFoundError: TsoaResponse<404, { reason: string }>, + @Res() notFoundError: TsoaResponse<404, { reason: string }> ) { let connectionRecord await this.agent.modules.tenants.withTenantAgent({ tenantId }, async (tenantAgent) => { @@ -544,7 +544,7 @@ export class MultiTenancyController extends Controller { public async createInvitation( @Res() internalServerError: TsoaResponse<500, { message: string }>, @Path('tenantId') tenantId: string, - @Body() config?: Omit, // props removed because of issues with serialization + @Body() config?: Omit // props removed because of issues with serialization ) { let outOfBandRecord: OutOfBandRecord | undefined try { @@ -571,7 +571,7 @@ export class MultiTenancyController extends Controller { public async createLegacyInvitation( @Res() internalServerError: TsoaResponse<500, { message: string }>, @Path('tenantId') tenantId: string, - @Body() config?: Omit, // props removed because of issues with serialization + @Body() config?: Omit // props removed because of issues with serialization ) { let getInvitation try { @@ -600,7 +600,7 @@ export class MultiTenancyController extends Controller { public async receiveInvitation( @Body() invitationRequest: ReceiveInvitationProps, @Path('tenantId') tenantId: string, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let receiveInvitationRes try { @@ -625,7 +625,7 @@ export class MultiTenancyController extends Controller { public async receiveInvitationFromUrl( @Body() invitationRequest: ReceiveInvitationByUrlProps, @Path('tenantId') tenantId: string, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let receiveInvitationUrl try { @@ -633,7 +633,7 @@ export class MultiTenancyController extends Controller { const { invitationUrl, ...config } = invitationRequest const { outOfBandRecord, connectionRecord } = await tenantAgent.oob.receiveInvitationFromUrl( invitationUrl, - config, + config ) receiveInvitationUrl = { outOfBandRecord: outOfBandRecord.toJSON(), @@ -652,7 +652,7 @@ export class MultiTenancyController extends Controller { public async getAllOutOfBandRecords( @Path('tenantId') tenantId: string, @Res() internalServerError: TsoaResponse<500, { message: string }>, - @Path('invitationId') invitationId?: string, + @Path('invitationId') invitationId?: string ) { let outOfBandRecordsRes try { @@ -681,7 +681,7 @@ export class MultiTenancyController extends Controller { @Query('state') state?: DidExchangeState, @Query('myDid') myDid?: string, @Query('theirDid') theirDid?: string, - @Query('theirLabel') theirLabel?: string, + @Query('theirLabel') theirLabel?: string ) { let connectionRecord try { @@ -712,7 +712,7 @@ export class MultiTenancyController extends Controller { public async getInvitation( @Path('invitationId') invitationId: string, @Path('tenantId') tenantId: string, - @Res() notFoundError: TsoaResponse<404, { reason: string }>, + @Res() notFoundError: TsoaResponse<404, { reason: string }> ) { let invitationJson await this.agent.modules.tenants.withTenantAgent({ tenantId }, async (tenantAgent) => { @@ -740,7 +740,7 @@ export class MultiTenancyController extends Controller { }, @Path('tenantId') tenantId: string, @Res() forbiddenError: TsoaResponse<400, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let schemaRecord try { @@ -767,7 +767,7 @@ export class MultiTenancyController extends Controller { const getSchemaId = await getUnqualifiedSchemaId( indySchemaId.namespaceIdentifier, indySchemaId.schemaName, - indySchemaId.schemaVersion, + indySchemaId.schemaVersion ) if (schemaState.state === CredentialEnum.Finished) { schemaState.schemaId = getSchemaId @@ -817,21 +817,21 @@ export class MultiTenancyController extends Controller { @Res() forbiddenError: TsoaResponse<400, { reason: string }>, @Res() internalServerError: TsoaResponse<500, { message: string }>, @Body() - writeTransaction: WriteTransaction, + writeTransaction: WriteTransaction ) { try { if (writeTransaction.schema) { const writeSchema = await this.submitSchemaOnLedger( writeTransaction.schema, writeTransaction.endorsedTransaction, - tenantId, + tenantId ) return writeSchema } else if (writeTransaction.credentialDefinition) { const writeCredDef = await this.submitCredDefOnLedger( writeTransaction.credentialDefinition, writeTransaction.endorsedTransaction, - tenantId, + tenantId ) return writeCredDef } else { @@ -857,7 +857,7 @@ export class MultiTenancyController extends Controller { attributes: string[] }, endorsedTransaction: string, - tenantId: string, + tenantId: string ) { let schemaRecord await this.agent.modules.tenants.withTenantAgent({ tenantId }, async (tenantAgent) => { @@ -883,7 +883,7 @@ export class MultiTenancyController extends Controller { const getSchemaUnqualifiedId = await getUnqualifiedSchemaId( indySchemaId.namespaceIdentifier, indySchemaId.schemaName, - indySchemaId.schemaVersion, + indySchemaId.schemaVersion ) if (schemaState.state === CredentialEnum.Finished || schemaState.state === CredentialEnum.Action) { schemaState.schemaId = getSchemaUnqualifiedId @@ -902,7 +902,7 @@ export class MultiTenancyController extends Controller { type: string }, endorsedTransaction: string, - tenantId: string, + tenantId: string ) { let credentialDefinitionRecord await this.agent.modules.tenants.withTenantAgent({ tenantId }, async (tenantAgent) => { @@ -922,7 +922,7 @@ export class MultiTenancyController extends Controller { const getCredentialDefinitionId = await getUnqualifiedCredentialDefinitionId( indyCredDefId.namespaceIdentifier, indyCredDefId.schemaSeqNo, - indyCredDefId.tag, + indyCredDefId.tag ) if ( credentialDefinitionState.state === CredentialEnum.Finished || @@ -944,7 +944,7 @@ export class MultiTenancyController extends Controller { @Res() notFoundError: TsoaResponse<404, { reason: string }>, @Res() forbiddenError: TsoaResponse<403, { reason: string }>, @Res() badRequestError: TsoaResponse<400, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let getSchema try { @@ -988,7 +988,7 @@ export class MultiTenancyController extends Controller { }, @Path('tenantId') tenantId: string, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let credentialDefinitionRecord try { @@ -1013,7 +1013,7 @@ export class MultiTenancyController extends Controller { const getCredentialDefinitionId = await getUnqualifiedCredentialDefinitionId( indyCredDefId.namespaceIdentifier, indyCredDefId.schemaSeqNo, - indyCredDefId.tag, + indyCredDefId.tag ) if (credentialDefinitionState.state === CredentialEnum.Finished) { credentialDefinitionState.credentialDefinitionId = getCredentialDefinitionId @@ -1057,7 +1057,7 @@ export class MultiTenancyController extends Controller { @Path('tenantId') tenantId: string, @Res() badRequestError: TsoaResponse<400, { reason: string }>, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let getCredDef try { @@ -1088,7 +1088,7 @@ export class MultiTenancyController extends Controller { public async createOffer( @Body() createOfferOptions: CreateOfferOptions, @Path('tenantId') tenantId: string, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let offer try { @@ -1112,7 +1112,7 @@ export class MultiTenancyController extends Controller { public async createOfferOob( @Path('tenantId') tenantId: string, @Body() createOfferOptions: CreateOfferOobOptions, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let createOfferOobRecord try { @@ -1145,6 +1145,13 @@ export class MultiTenancyController extends Controller { useDidSovPrefixWhereAllowed: this.agent.config.useDidSovPrefixWhereAllowed, }), outOfBandRecord: outOfBandRecord.toJSON(), + credentialRecordId: offerOob.credentialRecord.id, + credentialThId: offerOob.credentialRecord.threadId, + credentialMessageId: offerOob.message.thread?.threadId + ? offerOob.message.thread?.threadId + : offerOob.message.threadId + ? offerOob.message.thread + : offerOob.message.id, } }) return createOfferOobRecord @@ -1159,7 +1166,7 @@ export class MultiTenancyController extends Controller { @Res() notFoundError: TsoaResponse<404, { reason: string }>, @Res() internalServerError: TsoaResponse<500, { message: string }>, @Path('tenantId') tenantId: string, - @Body() acceptCredentialOfferOptions: AcceptCredentialOfferOptions, + @Body() acceptCredentialOfferOptions: AcceptCredentialOfferOptions ) { let acceptOffer try { @@ -1194,7 +1201,7 @@ export class MultiTenancyController extends Controller { @Path('credentialRecordId') credentialRecordId: RecordId, @Path('tenantId') tenantId: string, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let credentialRecord try { @@ -1221,7 +1228,7 @@ export class MultiTenancyController extends Controller { @Path('tenantId') tenantId: string, @Query('threadId') threadId?: string, @Query('connectionId') connectionId?: string, - @Query('state') state?: CredentialState, + @Query('state') state?: CredentialState ) { let credentialRecord await this.agent.modules.tenants.withTenantAgent({ tenantId }, async (tenantAgent) => { @@ -1255,7 +1262,7 @@ export class MultiTenancyController extends Controller { @Path('proofRecordId') proofRecordId: string, @Path('tenantId') tenantId: string, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let proof try { @@ -1281,7 +1288,7 @@ export class MultiTenancyController extends Controller { @Body() requestProofOptions: RequestProofOptions, @Path('tenantId') tenantId: string, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let proof try { @@ -1310,7 +1317,7 @@ export class MultiTenancyController extends Controller { public async createRequest( @Path('tenantId') tenantId: string, @Body() createRequestOptions: CreateProofRequestOobOptions, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let oobProofRecord try { @@ -1341,6 +1348,13 @@ export class MultiTenancyController extends Controller { useDidSovPrefixWhereAllowed: this.agent.config.useDidSovPrefixWhereAllowed, }), outOfBandRecord: outOfBandRecord.toJSON(), + proofId: proof.proofRecord.id, + proofThreadId: proof.proofRecord.threadId, + proofMessageId: proof.message.thread?.threadId + ? proof.message.thread?.threadId + : proof.message.threadId + ? proof.message.thread + : proof.message.id, } }) @@ -1363,7 +1377,7 @@ export class MultiTenancyController extends Controller { comment?: string }, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let proofRecord try { @@ -1401,7 +1415,7 @@ export class MultiTenancyController extends Controller { @Path('tenantId') tenantId: string, @Path('proofRecordId') proofRecordId: string, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let proof try { @@ -1428,7 +1442,7 @@ export class MultiTenancyController extends Controller { @Path('tenantId') tenantId: string, @Path('proofRecordId') proofRecordId: RecordId, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { let proofRecord try { @@ -1453,7 +1467,7 @@ export class MultiTenancyController extends Controller { public async deleteTenantById( @Path('tenantId') tenantId: string, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const deleteTenant = await this.agent.modules.tenants.deleteTenantById(tenantId) @@ -1473,7 +1487,7 @@ export class MultiTenancyController extends Controller { public async createDidWeb( @Path('tenantId') tenantId: string, @Body() didOptions: DidCreate, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { let didDoc diff --git a/src/controllers/outofband/OutOfBandController.ts b/src/controllers/outofband/OutOfBandController.ts index 6dde6ba9..9187217b 100644 --- a/src/controllers/outofband/OutOfBandController.ts +++ b/src/controllers/outofband/OutOfBandController.ts @@ -65,7 +65,7 @@ export class OutOfBandController extends Controller { @Get('/:outOfBandId') public async getOutOfBandRecordById( @Path('outOfBandId') outOfBandId: RecordId, - @Res() notFoundError: TsoaResponse<404, { reason: string }>, + @Res() notFoundError: TsoaResponse<404, { reason: string }> ) { const outOfBandRecord = await this.agent.oob.findById(outOfBandId) @@ -93,7 +93,7 @@ export class OutOfBandController extends Controller { @Post('/create-invitation') public async createInvitation( @Res() internalServerError: TsoaResponse<500, { message: string }>, - @Body() config: CreateInvitationOptions, // props removed because of issues with serialization + @Body() config: CreateInvitationOptions // props removed because of issues with serialization ) { try { const outOfBandRecord = await this.agent.oob.createInvitation(config) @@ -126,7 +126,7 @@ export class OutOfBandController extends Controller { @Post('/create-legacy-invitation') public async createLegacyInvitation( @Res() internalServerError: TsoaResponse<500, { message: string }>, - @Body() config?: Omit, // routing prop removed because of issues with public key serialization + @Body() config?: Omit // routing prop removed because of issues with public key serialization ) { try { const { outOfBandRecord, invitation } = await this.agent.oob.createLegacyInvitation(config) @@ -168,7 +168,7 @@ export class OutOfBandController extends Controller { domain: string }, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const agentMessage = JsonTransformer.fromJSON(config.message, AgentMessage) @@ -200,7 +200,7 @@ export class OutOfBandController extends Controller { @Post('/receive-invitation') public async receiveInvitation( @Body() invitationRequest: ReceiveInvitationProps, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { const { invitation, ...config } = invitationRequest @@ -232,7 +232,7 @@ export class OutOfBandController extends Controller { @Post('/receive-invitation-url') public async receiveInvitationFromUrl( @Body() invitationRequest: ReceiveInvitationByUrlProps, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { const { invitationUrl, ...config } = invitationRequest @@ -264,12 +264,12 @@ export class OutOfBandController extends Controller { @Path('outOfBandId') outOfBandId: RecordId, @Body() acceptInvitationConfig: AcceptInvitationConfig, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const { outOfBandRecord, connectionRecord } = await this.agent.oob.acceptInvitation( outOfBandId, - acceptInvitationConfig, + acceptInvitationConfig ) return { @@ -295,7 +295,7 @@ export class OutOfBandController extends Controller { public async deleteOutOfBandRecord( @Path('outOfBandId') outOfBandId: RecordId, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { this.setStatus(204) From 3c7e542ab5bd71778d55e47f297a567783549c4a Mon Sep 17 00:00:00 2001 From: ankita_patidar Date: Mon, 19 Feb 2024 15:10:36 +0530 Subject: [PATCH 2/4] Remove unnecessary details Signed-off-by: ankita_patidar --- src/controllers/multi-tenancy/MultiTenancyController.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/controllers/multi-tenancy/MultiTenancyController.ts b/src/controllers/multi-tenancy/MultiTenancyController.ts index 30bbfc71..fca6de0f 100644 --- a/src/controllers/multi-tenancy/MultiTenancyController.ts +++ b/src/controllers/multi-tenancy/MultiTenancyController.ts @@ -1145,8 +1145,7 @@ export class MultiTenancyController extends Controller { useDidSovPrefixWhereAllowed: this.agent.config.useDidSovPrefixWhereAllowed, }), outOfBandRecord: outOfBandRecord.toJSON(), - credentialRecordId: offerOob.credentialRecord.id, - credentialThId: offerOob.credentialRecord.threadId, + credentialRecordThId: offerOob.credentialRecord.threadId, credentialMessageId: offerOob.message.thread?.threadId ? offerOob.message.thread?.threadId : offerOob.message.threadId @@ -1348,8 +1347,7 @@ export class MultiTenancyController extends Controller { useDidSovPrefixWhereAllowed: this.agent.config.useDidSovPrefixWhereAllowed, }), outOfBandRecord: outOfBandRecord.toJSON(), - proofId: proof.proofRecord.id, - proofThreadId: proof.proofRecord.threadId, + proofRecordThId: proof.proofRecord.threadId, proofMessageId: proof.message.thread?.threadId ? proof.message.thread?.threadId : proof.message.threadId From b66617d4ca949ea7218650854f5be65727e7c73b Mon Sep 17 00:00:00 2001 From: ankita_patidar Date: Mon, 19 Feb 2024 17:44:20 +0530 Subject: [PATCH 3/4] fix prettier Signed-off-by: ankita_patidar --- README.md | 2 +- package.json | 6 +- src/authentication.ts | 2 +- src/cli.ts | 2 +- src/cliAgent.ts | 2 +- .../basic-messages/BasicMessageController.ts | 2 +- .../connections/ConnectionController.ts | 12 +- .../credentials/CredentialController.ts | 18 +- .../CredentialDefinitionController.ts | 6 +- .../credentials/SchemaController.ts | 6 +- src/controllers/did/DidController.ts | 4 +- .../EndorserTransactionController.ts | 20 +- src/controllers/proofs/ProofController.ts | 16 +- src/server.ts | 2 +- yarn.lock | 371 +++++++++++------- 15 files changed, 274 insertions(+), 197 deletions(-) diff --git a/README.md b/README.md index caf31b2d..f0a21d51 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ const run = async () => { { // ... AFJ Config ... // }, - agentDependencies, + agentDependencies ) await startServer(agent, { port: 3000 }) } diff --git a/package.json b/package.json index 00ad5fd4..e1313f1f 100644 --- a/package.json +++ b/package.json @@ -82,16 +82,16 @@ "@types/ws": "^7.4.7", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", - "eslint": "^8.56.0", + "eslint": "^7.32.0", "eslint-config-prettier": "^8.8.0", "eslint-import-resolver-typescript": "^3.5.5", "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^5.1.3", + "eslint-plugin-prettier": "^4.2.1", "jest": "^27.3.1", "ngrok": "^4.3.1", "patch-package": "^8.0.0", "postinstall-postinstall": "^2.1.0", - "prettier": "3.2.5", + "prettier": "^2.8.8", "supertest": "^6.2.3", "ts-jest": "^27.0.7", "ts-node-dev": "^2.0.0", diff --git a/src/authentication.ts b/src/authentication.ts index a2858f27..30cf4bf6 100644 --- a/src/authentication.ts +++ b/src/authentication.ts @@ -10,7 +10,7 @@ export async function expressAuthentication( request: express.Request, securityName: string, secMethod?: { [key: string]: any }, - scopes?: string, + scopes?: string ) { const logger = new TsLogger(LogLevel.info) diff --git a/src/cli.ts b/src/cli.ts index 12b9249f..7a7a6331 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -78,7 +78,7 @@ const parsed = yargs if (typeof input[0] === 'object') return input if (input.length % 2 !== 0) { throw new Error( - 'Inbound transport should be specified as transport port pairs (e.g. --inbound-transport http 5000 ws 5001)', + 'Inbound transport should be specified as transport port pairs (e.g. --inbound-transport http 5000 ws 5001)' ) } diff --git a/src/cliAgent.ts b/src/cliAgent.ts index 3e4e55ad..e6d5630d 100644 --- a/src/cliAgent.ts +++ b/src/cliAgent.ts @@ -343,7 +343,7 @@ export async function runRestAgent(restConfig: AriesRestConfig) { webhookUrl, port: adminPort, }, - token, + token ) logger.info(`*** API Toekn: ${token}`) diff --git a/src/controllers/basic-messages/BasicMessageController.ts b/src/controllers/basic-messages/BasicMessageController.ts index 5171aef5..78c0d595 100644 --- a/src/controllers/basic-messages/BasicMessageController.ts +++ b/src/controllers/basic-messages/BasicMessageController.ts @@ -42,7 +42,7 @@ export class BasicMessageController extends Controller { @Path('connectionId') connectionId: RecordId, @Body() request: Record<'content', string>, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { this.setStatus(204) diff --git a/src/controllers/connections/ConnectionController.ts b/src/controllers/connections/ConnectionController.ts index 58be89ba..ba093db9 100644 --- a/src/controllers/connections/ConnectionController.ts +++ b/src/controllers/connections/ConnectionController.ts @@ -42,7 +42,7 @@ export class ConnectionController extends Controller { @Query('state') state?: DidExchangeState, @Query('myDid') myDid?: string, @Query('theirDid') theirDid?: string, - @Query('theirLabel') theirLabel?: string, + @Query('theirLabel') theirLabel?: string ) { let connections @@ -81,7 +81,7 @@ export class ConnectionController extends Controller { @Get('/connections/:connectionId') public async getConnectionById( @Path('connectionId') connectionId: RecordId, - @Res() notFoundError: TsoaResponse<404, { reason: string }>, + @Res() notFoundError: TsoaResponse<404, { reason: string }> ) { const connection = await this.agent.connections.findById(connectionId) @@ -100,7 +100,7 @@ export class ConnectionController extends Controller { public async deleteConnection( @Path('connectionId') connectionId: RecordId, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { this.setStatus(204) @@ -128,7 +128,7 @@ export class ConnectionController extends Controller { public async acceptRequest( @Path('connectionId') connectionId: RecordId, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const connection = await this.agent.connections.acceptRequest(connectionId) @@ -156,7 +156,7 @@ export class ConnectionController extends Controller { public async acceptResponse( @Path('connectionId') connectionId: RecordId, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const connection = await this.agent.connections.acceptResponse(connectionId) @@ -174,7 +174,7 @@ export class ConnectionController extends Controller { @Path('invitationId') invitationId: string, @Res() notFoundError: TsoaResponse<404, { reason: string }>, // eslint-disable-next-line @typescript-eslint/no-unused-vars - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { const outOfBandRecord = await this.agent.oob.findByCreatedInvitationId(invitationId) diff --git a/src/controllers/credentials/CredentialController.ts b/src/controllers/credentials/CredentialController.ts index 71e4ffb3..a0d34ae6 100644 --- a/src/controllers/credentials/CredentialController.ts +++ b/src/controllers/credentials/CredentialController.ts @@ -53,7 +53,7 @@ export class CredentialController extends Controller { public async getAllCredentials( @Query('threadId') threadId?: string, @Query('connectionId') connectionId?: string, - @Query('state') state?: CredentialState, + @Query('state') state?: CredentialState ) { const credentialRepository = this.agent.dependencyManager.resolve(CredentialRepository) @@ -89,7 +89,7 @@ export class CredentialController extends Controller { public async getCredentialById( @Path('credentialRecordId') credentialRecordId: RecordId, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const credential = await this.agent.credentials.getById(credentialRecordId) @@ -116,7 +116,7 @@ export class CredentialController extends Controller { public async proposeCredential( @Body() proposeCredentialOptions: ProposeCredentialOptions, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const credential = await this.agent.credentials.proposeCredential({ @@ -151,7 +151,7 @@ export class CredentialController extends Controller { // @Path('credentialRecordId') credentialRecordId: RecordId, @Res() notFoundError: TsoaResponse<404, { reason: string }>, @Res() internalServerError: TsoaResponse<500, { message: string }>, - @Body() acceptCredentialProposal: AcceptCredentialProposalOptions, + @Body() acceptCredentialProposal: AcceptCredentialProposalOptions ) { try { const credential = await this.agent.credentials.acceptProposal({ @@ -183,7 +183,7 @@ export class CredentialController extends Controller { @Post('/create-offer') public async createOffer( @Body() createOfferOptions: CreateOfferOptions, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const offer = await this.agent.credentials.offerCredential({ @@ -201,7 +201,7 @@ export class CredentialController extends Controller { @Post('/create-offer-oob') public async createOfferOob( @Body() outOfBandOption: CreateOfferOobOptions, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const linkSecretIds = await this.agent.modules.anoncreds.getLinkSecretIds() @@ -249,7 +249,7 @@ export class CredentialController extends Controller { public async acceptOffer( @Res() notFoundError: TsoaResponse<404, { reason: string }>, @Res() internalServerError: TsoaResponse<500, { message: string }>, - @Body() acceptCredentialOfferOptions: AcceptCredentialOfferOptions, + @Body() acceptCredentialOfferOptions: AcceptCredentialOfferOptions ) { try { const linkSecretIds = await this.agent.modules.anoncreds.getLinkSecretIds() @@ -286,7 +286,7 @@ export class CredentialController extends Controller { public async acceptRequest( @Res() notFoundError: TsoaResponse<404, { reason: string }>, @Res() internalServerError: TsoaResponse<500, { message: string }>, - @Body() acceptCredentialRequestOptions: AcceptCredentialRequestOptions, + @Body() acceptCredentialRequestOptions: AcceptCredentialRequestOptions ) { try { const indyCredentialFormat = new LegacyIndyCredentialFormatService() @@ -316,7 +316,7 @@ export class CredentialController extends Controller { public async acceptCredential( @Res() notFoundError: TsoaResponse<404, { reason: string }>, @Res() internalServerError: TsoaResponse<500, { message: string }>, - @Body() acceptCredential: AcceptCredential, + @Body() acceptCredential: AcceptCredential ) { try { const indyCredentialFormat = new LegacyIndyCredentialFormatService() diff --git a/src/controllers/credentials/CredentialDefinitionController.ts b/src/controllers/credentials/CredentialDefinitionController.ts index f8c071cd..12436031 100644 --- a/src/controllers/credentials/CredentialDefinitionController.ts +++ b/src/controllers/credentials/CredentialDefinitionController.ts @@ -37,7 +37,7 @@ export class CredentialDefinitionController extends Controller { @Path('credentialDefinitionId') credentialDefinitionId: CredentialDefinitionId, @Res() badRequestError: TsoaResponse<400, { reason: string }>, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { return await this.agent.modules.anoncreds.getCredentialDefinition(credentialDefinitionId) @@ -75,7 +75,7 @@ export class CredentialDefinitionController extends Controller { endorserDid?: string }, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const { issuerId, schemaId, tag, endorse, endorserDid } = credentialDefinitionRequest @@ -95,7 +95,7 @@ export class CredentialDefinitionController extends Controller { const getCredentialDefinitionId = await getUnqualifiedCredentialDefinitionId( indyCredDefId.namespaceIdentifier, indyCredDefId.schemaSeqNo, - indyCredDefId.tag, + indyCredDefId.tag ) if (credentialDefinitionState.state === CredentialEnum.Finished) { diff --git a/src/controllers/credentials/SchemaController.ts b/src/controllers/credentials/SchemaController.ts index 2fe8a8f7..aea82383 100644 --- a/src/controllers/credentials/SchemaController.ts +++ b/src/controllers/credentials/SchemaController.ts @@ -35,7 +35,7 @@ export class SchemaController { @Res() notFoundError: TsoaResponse<404, { reason: string }>, @Res() forbiddenError: TsoaResponse<403, { reason: string }>, @Res() badRequestError: TsoaResponse<400, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { return await this.agent.modules.anoncreds.getSchema(schemaId) @@ -83,7 +83,7 @@ export class SchemaController { endorserDid?: string }, @Res() forbiddenError: TsoaResponse<400, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const { issuerId, name, version, attributes } = schema @@ -108,7 +108,7 @@ export class SchemaController { const getSchemaUnqualifiedId = await getUnqualifiedSchemaId( indySchemaId.namespaceIdentifier, indySchemaId.schemaName, - indySchemaId.schemaVersion, + indySchemaId.schemaVersion ) if (schemaState.state === CredentialEnum.Finished) { schemaState.schemaId = getSchemaUnqualifiedId diff --git a/src/controllers/did/DidController.ts b/src/controllers/did/DidController.ts index 9ec7be23..0f0ec513 100644 --- a/src/controllers/did/DidController.ts +++ b/src/controllers/did/DidController.ts @@ -174,7 +174,7 @@ export class DidController extends Controller { @Post('/did/key') public async createDidKey( @Body() didOptions: DidCreate, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const did = await this.agent.dids.create({ @@ -205,7 +205,7 @@ export class DidController extends Controller { @Post('/did/web') public async createDidWeb( @Body() didOptions: DidCreate, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const domain = didOptions.domain ? didOptions.domain : 'credebl.github.io' diff --git a/src/controllers/endorser-transaction/EndorserTransactionController.ts b/src/controllers/endorser-transaction/EndorserTransactionController.ts index 1e26c39d..aa7a2ebb 100644 --- a/src/controllers/endorser-transaction/EndorserTransactionController.ts +++ b/src/controllers/endorser-transaction/EndorserTransactionController.ts @@ -31,12 +31,12 @@ export class EndorserTransactionController extends Controller { public async endorserTransaction( @Body() endorserTransaction: EndorserTransaction, @Res() internalServerError: TsoaResponse<500, { message: string }>, - @Res() forbiddenError: TsoaResponse<400, { reason: string }>, + @Res() forbiddenError: TsoaResponse<400, { reason: string }> ) { try { const signedTransaction = await this.agent.modules.indyVdr.endorseTransaction( endorserTransaction.transaction, - endorserTransaction.endorserDid, + endorserTransaction.endorserDid ) return { signedTransaction } @@ -55,7 +55,7 @@ export class EndorserTransactionController extends Controller { @Post('/set-endorser-role') public async didNymTransaction( @Body() didNymTransaction: DidNymTransaction, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const didCreateSubmitResult = await this.agent.dids.create({ @@ -79,19 +79,19 @@ export class EndorserTransactionController extends Controller { @Res() forbiddenError: TsoaResponse<400, { reason: string }>, @Res() internalServerError: TsoaResponse<500, { message: string }>, @Body() - writeTransaction: WriteTransaction, + writeTransaction: WriteTransaction ) { try { if (writeTransaction.schema) { const writeSchema = await this.submitSchemaOnLedger( writeTransaction.schema, - writeTransaction.endorsedTransaction, + writeTransaction.endorsedTransaction ) return writeSchema } else if (writeTransaction.credentialDefinition) { const writeCredDef = await this.submitCredDefOnLedger( writeTransaction.credentialDefinition, - writeTransaction.endorsedTransaction, + writeTransaction.endorsedTransaction ) return writeCredDef } else { @@ -116,7 +116,7 @@ export class EndorserTransactionController extends Controller { version: Version attributes: string[] }, - endorsedTransaction?: string, + endorsedTransaction?: string ) { try { const { issuerId, name, version, attributes } = schema @@ -137,7 +137,7 @@ export class EndorserTransactionController extends Controller { const getSchemaUnqualifiedId = await getUnqualifiedSchemaId( indySchemaId.namespaceIdentifier, indySchemaId.schemaName, - indySchemaId.schemaVersion, + indySchemaId.schemaVersion ) if (schemaState.state === CredentialEnum.Finished || schemaState.state === CredentialEnum.Action) { schemaState.schemaId = getSchemaUnqualifiedId @@ -156,7 +156,7 @@ export class EndorserTransactionController extends Controller { value: unknown type: string }, - endorsedTransaction?: string, + endorsedTransaction?: string ) { try { const { credentialDefinitionState } = await this.agent.modules.anoncreds.registerCredentialDefinition({ @@ -171,7 +171,7 @@ export class EndorserTransactionController extends Controller { const getCredentialDefinitionId = await getUnqualifiedCredentialDefinitionId( indyCredDefId.namespaceIdentifier, indyCredDefId.schemaSeqNo, - indyCredDefId.tag, + indyCredDefId.tag ) if ( credentialDefinitionState.state === CredentialEnum.Finished || diff --git a/src/controllers/proofs/ProofController.ts b/src/controllers/proofs/ProofController.ts index 66de4135..2370ff19 100644 --- a/src/controllers/proofs/ProofController.ts +++ b/src/controllers/proofs/ProofController.ts @@ -55,7 +55,7 @@ export class ProofController extends Controller { public async getProofById( @Path('proofRecordId') proofRecordId: RecordId, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const proof = await this.agent.proofs.getById(proofRecordId) @@ -83,7 +83,7 @@ export class ProofController extends Controller { public async proposeProof( @Body() requestProofProposalOptions: RequestProofProposalOptions, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const proof = await this.agent.proofs.proposeProof({ @@ -120,7 +120,7 @@ export class ProofController extends Controller { public async acceptProposal( @Body() acceptProposal: AcceptProofProposal, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const proof = await this.agent.proofs.acceptProposal(acceptProposal) @@ -141,7 +141,7 @@ export class ProofController extends Controller { public async requestProof( @Body() requestProofOptions: RequestProofOptions, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const requestProofPayload = { @@ -165,7 +165,7 @@ export class ProofController extends Controller { @Post('create-request-oob') public async createRequest( @Body() createRequestOptions: CreateProofRequestOobOptions, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const proof = await this.agent.proofs.createRequest({ @@ -218,7 +218,7 @@ export class ProofController extends Controller { comment?: string }, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const requestedCredentials = await this.agent.proofs.selectCredentialsForRequest({ @@ -256,7 +256,7 @@ export class ProofController extends Controller { public async acceptPresentation( @Path('proofRecordId') proofRecordId: string, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const proof = await this.agent.proofs.acceptPresentation({ proofRecordId }) @@ -276,7 +276,7 @@ export class ProofController extends Controller { public async proofFormData( @Path('proofRecordId') proofRecordId: string, @Res() notFoundError: TsoaResponse<404, { reason: string }>, - @Res() internalServerError: TsoaResponse<500, { message: string }>, + @Res() internalServerError: TsoaResponse<500, { message: string }> ) { try { const proof = await this.agent.proofs.getFormatData(proofRecordId) diff --git a/src/server.ts b/src/server.ts index 998257fd..9749591a 100644 --- a/src/server.ts +++ b/src/server.ts @@ -38,7 +38,7 @@ export const setupServer = async (agent: Agent, config: ServerConfig, apiKey?: s app.use( bodyParser.urlencoded({ extended: true, - }), + }) ) setDynamicApiKey(apiKey ? apiKey : '') diff --git a/yarn.lock b/yarn.lock index 585ff486..e8f1df6b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -133,6 +133,13 @@ "@aries-framework/core" "0.4.2" async-mutex "^0.4.0" +"@babel/code-frame@7.12.11": + version "7.12.11" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" + integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw== + dependencies: + "@babel/highlight" "^7.10.4" + "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.21.4": version "7.21.4" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.21.4.tgz#d0fa9e4413aca81f2b23b9442797bda1826edb39" @@ -257,6 +264,11 @@ resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz#7eea834cf32901ffdc1a7ee555e2f9c27e249ca2" integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== +"@babel/helper-validator-identifier@^7.22.20": + version "7.22.20" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" + integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== + "@babel/helper-validator-option@^7.21.0": version "7.21.0" resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180" @@ -271,6 +283,15 @@ "@babel/traverse" "^7.22.1" "@babel/types" "^7.22.3" +"@babel/highlight@^7.10.4": + version "7.23.4" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.23.4.tgz#edaadf4d8232e1a961432db785091207ead0621b" + integrity sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A== + dependencies: + "@babel/helper-validator-identifier" "^7.22.20" + chalk "^2.4.2" + js-tokens "^4.0.0" + "@babel/highlight@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.18.6.tgz#81158601e93e2563795adcbfbdf5d64be3f2ecdf" @@ -473,56 +494,46 @@ "@digitalcredentials/jsonld-signatures" "^9.3.1" credentials-context "^2.0.0" -"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": +"@eslint-community/eslint-utils@^4.4.0": version "4.4.0" resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== dependencies: eslint-visitor-keys "^3.3.0" -"@eslint-community/regexpp@^4.5.1", "@eslint-community/regexpp@^4.6.1": +"@eslint-community/regexpp@^4.5.1": version "4.10.0" resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.10.0.tgz#548f6de556857c8bb73bbee70c35dc82a2e74d63" integrity sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA== -"@eslint/eslintrc@^2.1.4": - version "2.1.4" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.4.tgz#388a269f0f25c1b6adc317b5a2c55714894c70ad" - integrity sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ== +"@eslint/eslintrc@^0.4.3": + version "0.4.3" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c" + integrity sha512-J6KFFz5QCYUJq3pf0mjEcCJVERbzv71PUIDczuh9JkwGEzced6CO5ADLHB1rbf/+oPBtoPfMYNOpGDzCANlbXw== dependencies: ajv "^6.12.4" - debug "^4.3.2" - espree "^9.6.0" - globals "^13.19.0" - ignore "^5.2.0" + debug "^4.1.1" + espree "^7.3.0" + globals "^13.9.0" + ignore "^4.0.6" import-fresh "^3.2.1" - js-yaml "^4.1.0" - minimatch "^3.1.2" + js-yaml "^3.13.1" + minimatch "^3.0.4" strip-json-comments "^3.1.1" -"@eslint/js@8.56.0": - version "8.56.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.56.0.tgz#ef20350fec605a7f7035a01764731b2de0f3782b" - integrity sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A== - -"@humanwhocodes/config-array@^0.11.13": - version "0.11.14" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b" - integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg== +"@humanwhocodes/config-array@^0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.5.0.tgz#1407967d4c6eecd7388f83acf1eaf4d0c6e58ef9" + integrity sha512-FagtKFz74XrTl7y6HCzQpwDfXP0yhxe9lHLD1UZxjvZIcbyRz8zTFF/yYNfSfzU414eDwZ1SrO0Qvtyf+wFMQg== dependencies: - "@humanwhocodes/object-schema" "^2.0.2" - debug "^4.3.1" - minimatch "^3.0.5" - -"@humanwhocodes/module-importer@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" - integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== + "@humanwhocodes/object-schema" "^1.2.0" + debug "^4.1.1" + minimatch "^3.0.4" -"@humanwhocodes/object-schema@^2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz#d9fae00a2d5cb40f92cfe64b47ad749fbc38f917" - integrity sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw== +"@humanwhocodes/object-schema@^1.2.0": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" + integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== "@hyperledger/anoncreds-nodejs@^0.1.0": version "0.1.0" @@ -848,7 +859,7 @@ resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== -"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": +"@nodelib/fs.walk@^1.2.3": version "1.2.8" resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== @@ -883,11 +894,6 @@ tslib "^2.5.0" webcrypto-core "^1.7.7" -"@pkgr/core@^0.1.0": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.1.tgz#1ec17e2edbec25c8306d424ecfbf13c7de1aaa31" - integrity sha512-cq8o4cWH0ibXh9VGi5P20Tu9XF/0fFXl9EUinr9QfTM7a7p0oTA4iJRCQWppXR1Pg8dSM0UCItCkPwsk9qWWYA== - "@sindresorhus/is@^4.0.0": version "4.6.0" resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f" @@ -1489,11 +1495,6 @@ "@typescript-eslint/types" "6.19.1" eslint-visitor-keys "^3.4.1" -"@ungap/structured-clone@^1.2.0": - version "1.2.0" - resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" - integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== - "@unimodules/core@*": version "7.1.2" resolved "https://registry.yarnpkg.com/@unimodules/core/-/core-7.1.2.tgz#5181b99586476a5d87afd0958f26a04714c47fa1" @@ -1547,7 +1548,7 @@ acorn-globals@^6.0.0: acorn "^7.1.1" acorn-walk "^7.1.1" -acorn-jsx@^5.3.2: +acorn-jsx@^5.3.1: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== @@ -1562,7 +1563,7 @@ acorn-walk@^8.1.1: resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== -acorn@^7.1.1: +acorn@^7.1.1, acorn@^7.4.0: version "7.4.1" resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== @@ -1572,11 +1573,6 @@ acorn@^8.2.4, acorn@^8.4.1: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== -acorn@^8.9.0: - version "8.11.3" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" - integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== - agent-base@6: version "6.0.2" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" @@ -1584,7 +1580,7 @@ agent-base@6: dependencies: debug "4" -ajv@^6.12.4: +ajv@^6.10.0, ajv@^6.12.4: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== @@ -1594,6 +1590,21 @@ ajv@^6.12.4: json-schema-traverse "^0.4.1" uri-js "^4.2.2" +ajv@^8.0.1: + version "8.12.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" + integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== + dependencies: + fast-deep-equal "^3.1.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.2.2" + +ansi-colors@^4.1.1: + version "4.1.3" + resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.3.tgz#37611340eb2243e70cc604cad35d63270d48781b" + integrity sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw== + ansi-escapes@^4.2.1: version "4.3.2" resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" @@ -1658,11 +1669,6 @@ argparse@^1.0.7: dependencies: sprintf-js "~1.0.2" -argparse@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" - integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== - array-buffer-byte-length@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz#fabe8bc193fea865f317fe7807085ee0dee5aead" @@ -1796,6 +1802,11 @@ asn1js@^3.0.1, asn1js@^3.0.5: pvutils "^1.1.3" tslib "^2.4.0" +astral-regex@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31" + integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ== + async-mutex@^0.4.0: version "0.4.1" resolved "https://registry.yarnpkg.com/async-mutex/-/async-mutex-0.4.1.tgz#bccf55b96f2baf8df90ed798cb5544a1f6ee4c2c" @@ -2141,7 +2152,7 @@ canonicalize@^1.0.1: resolved "https://registry.yarnpkg.com/canonicalize/-/canonicalize-1.0.8.tgz#24d1f1a00ed202faafd9bf8e63352cd4450c6df1" integrity sha512-0CNTVCLZggSh7bc5VkX5WWPWO+cyZbNd07IHIsSXLia/eAq+r836hgk+8BKoEh7949Mda87VUOitx5OddVj64A== -chalk@^2.0.0: +chalk@^2.0.0, chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== @@ -2430,7 +2441,7 @@ debug@2.6.9, debug@^2.2.0: dependencies: ms "2.0.0" -debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4: +debug@4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -2651,6 +2662,14 @@ enhanced-resolve@^5.12.0: graceful-fs "^4.2.4" tapable "^2.2.0" +enquirer@^2.3.5: + version "2.4.1" + resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.4.1.tgz#93334b3fbd74fc7097b224ab4a8fb7e40bf4ae56" + integrity sha512-rRqJg/6gd538VHvR3PSrdRBb/1Vy2YfzHqzvbhGIQpDRKIa4FgV/54b5Q1xYSxOOwKvjXweS26E0Q+nAMwp2pQ== + dependencies: + ansi-colors "^4.1.1" + strip-ansi "^6.0.1" + error-ex@^1.3.1: version "1.3.2" resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" @@ -2990,86 +3009,104 @@ eslint-plugin-import@^2.27.5: semver "^6.3.1" tsconfig-paths "^3.15.0" -eslint-plugin-prettier@^5.1.3: - version "5.1.3" - resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-5.1.3.tgz#17cfade9e732cef32b5f5be53bd4e07afd8e67e1" - integrity sha512-C9GCVAs4Eq7ZC/XFQHITLiHJxQngdtraXaM+LoUFoFp/lHNl2Zn8f3WQbe9HvTBBQ9YnKFB0/2Ajdqwo5D1EAw== +eslint-plugin-prettier@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b" + integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== dependencies: prettier-linter-helpers "^1.0.0" - synckit "^0.8.6" -eslint-scope@^7.2.2: - version "7.2.2" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" - integrity sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg== +eslint-scope@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" + integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== dependencies: esrecurse "^4.3.0" - estraverse "^5.2.0" + estraverse "^4.1.1" + +eslint-utils@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" + integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg== + dependencies: + eslint-visitor-keys "^1.1.0" + +eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" + integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== + +eslint-visitor-keys@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" + integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== -eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: +eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1: version "3.4.3" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== -eslint@^8.56.0: - version "8.56.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.56.0.tgz#4957ce8da409dc0809f99ab07a1b94832ab74b15" - integrity sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ== - dependencies: - "@eslint-community/eslint-utils" "^4.2.0" - "@eslint-community/regexpp" "^4.6.1" - "@eslint/eslintrc" "^2.1.4" - "@eslint/js" "8.56.0" - "@humanwhocodes/config-array" "^0.11.13" - "@humanwhocodes/module-importer" "^1.0.1" - "@nodelib/fs.walk" "^1.2.8" - "@ungap/structured-clone" "^1.2.0" - ajv "^6.12.4" +eslint@^7.32.0: + version "7.32.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz#c6d328a14be3fb08c8d1d21e12c02fdb7a2a812d" + integrity sha512-VHZ8gX+EDfz+97jGcgyGCyRia/dPOd6Xh9yPv8Bl1+SoaIwD+a/vlrOmGRUyOYu7MwUhc7CxqeaDZU13S4+EpA== + dependencies: + "@babel/code-frame" "7.12.11" + "@eslint/eslintrc" "^0.4.3" + "@humanwhocodes/config-array" "^0.5.0" + ajv "^6.10.0" chalk "^4.0.0" cross-spawn "^7.0.2" - debug "^4.3.2" + debug "^4.0.1" doctrine "^3.0.0" + enquirer "^2.3.5" escape-string-regexp "^4.0.0" - eslint-scope "^7.2.2" - eslint-visitor-keys "^3.4.3" - espree "^9.6.1" - esquery "^1.4.2" + eslint-scope "^5.1.1" + eslint-utils "^2.1.0" + eslint-visitor-keys "^2.0.0" + espree "^7.3.1" + esquery "^1.4.0" esutils "^2.0.2" fast-deep-equal "^3.1.3" file-entry-cache "^6.0.1" - find-up "^5.0.0" - glob-parent "^6.0.2" - globals "^13.19.0" - graphemer "^1.4.0" - ignore "^5.2.0" + functional-red-black-tree "^1.0.1" + glob-parent "^5.1.2" + globals "^13.6.0" + ignore "^4.0.6" + import-fresh "^3.0.0" imurmurhash "^0.1.4" is-glob "^4.0.0" - is-path-inside "^3.0.3" - js-yaml "^4.1.0" + js-yaml "^3.13.1" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.4.1" lodash.merge "^4.6.2" - minimatch "^3.1.2" + minimatch "^3.0.4" natural-compare "^1.4.0" - optionator "^0.9.3" - strip-ansi "^6.0.1" + optionator "^0.9.1" + progress "^2.0.0" + regexpp "^3.1.0" + semver "^7.2.1" + strip-ansi "^6.0.0" + strip-json-comments "^3.1.0" + table "^6.0.9" text-table "^0.2.0" + v8-compile-cache "^2.0.3" -espree@^9.6.0, espree@^9.6.1: - version "9.6.1" - resolved "https://registry.yarnpkg.com/espree/-/espree-9.6.1.tgz#a2a17b8e434690a5432f2f8018ce71d331a48c6f" - integrity sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ== +espree@^7.3.0, espree@^7.3.1: + version "7.3.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-7.3.1.tgz#f2df330b752c6f55019f8bd89b7660039c1bbbb6" + integrity sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g== dependencies: - acorn "^8.9.0" - acorn-jsx "^5.3.2" - eslint-visitor-keys "^3.4.1" + acorn "^7.4.0" + acorn-jsx "^5.3.1" + eslint-visitor-keys "^1.3.0" esprima@^4.0.0, esprima@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -esquery@^1.4.2: +esquery@^1.4.0: version "1.5.0" resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.5.0.tgz#6ce17738de8577694edd7361c57182ac8cb0db0b" integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== @@ -3083,6 +3120,11 @@ esrecurse@^4.3.0: dependencies: estraverse "^5.2.0" +estraverse@^4.1.1: + version "4.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" + integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== + estraverse@^5.1.0, estraverse@^5.2.0: version "5.3.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" @@ -3341,7 +3383,7 @@ find-up@^4.0.0, find-up@^4.1.0: locate-path "^5.0.0" path-exists "^4.0.0" -find-up@^5.0.0, find-up@~5.0.0: +find-up@~5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== @@ -3486,6 +3528,11 @@ function.prototype.name@^1.1.6: es-abstract "^1.22.1" functions-have-names "^1.2.3" +functional-red-black-tree@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" + integrity sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g== + functions-have-names@^1.2.2, functions-have-names@^1.2.3: version "1.2.3" resolved "https://registry.yarnpkg.com/functions-have-names/-/functions-have-names-1.2.3.tgz#0404fe4ee2ba2f607f0e0ec3c80bae994133b834" @@ -3607,13 +3654,6 @@ glob-parent@^5.1.2, glob-parent@~5.1.2: dependencies: is-glob "^4.0.1" -glob-parent@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" - integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== - dependencies: - is-glob "^4.0.3" - glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" @@ -3642,7 +3682,7 @@ globals@^11.1.0: resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== -globals@^13.19.0: +globals@^13.6.0, globals@^13.9.0: version "13.24.0" resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171" integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ== @@ -3880,6 +3920,11 @@ ieee754@^1.1.13, ieee754@^1.2.1: resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== +ignore@^4.0.6: + version "4.0.6" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" + integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== + ignore@^5.2.0: version "5.3.1" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef" @@ -3890,7 +3935,7 @@ ignore@^5.2.4: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.0.tgz#67418ae40d34d6999c95ff56016759c718c82f78" integrity sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg== -import-fresh@^3.2.1: +import-fresh@^3.0.0, import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== @@ -4081,11 +4126,6 @@ is-number@^7.0.0: resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== -is-path-inside@^3.0.3: - version "3.0.3" - resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" - integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== - is-potential-custom-element-name@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" @@ -4680,13 +4720,6 @@ js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" -js-yaml@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" - integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== - dependencies: - argparse "^2.0.1" - jsdom@^16.6.0: version "16.7.0" resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-16.7.0.tgz#918ae71965424b197c819f8183a754e18977b710" @@ -4740,6 +4773,11 @@ json-schema-traverse@^0.4.1: resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== +json-schema-traverse@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" + integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== + json-stable-stringify-without-jsonify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" @@ -4955,6 +4993,11 @@ lodash.once@^4.0.0: resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac" integrity sha512-Sb487aTOCr9drQVL8pIxOzVhafOjZN9UU54hiN8PU3uAiSV7lx1yYNpbNmex2PK6dSJoNTSJUUswT651yww3Mg== +lodash.truncate@^4.4.2: + version "4.4.2" + resolved "https://registry.yarnpkg.com/lodash.truncate/-/lodash.truncate-4.4.2.tgz#5a350da0b1113b837ecfffd5812cbe58d6eae193" + integrity sha512-jttmRe7bRse52OsWIMDLaXxWqRAmtIUccAQ3garviCqJjafXOfNMO0yMfNpdD6zbGaTU0P5Nz7e7gAT6cKmJRw== + lodash@^4.7.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" @@ -5097,7 +5140,7 @@ minimatch@9.0.3: dependencies: brace-expansion "^2.0.1" -minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: +minimatch@^3.0.4, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== @@ -5385,7 +5428,7 @@ optionator@^0.8.1: type-check "~0.3.2" word-wrap "~1.2.3" -optionator@^0.9.3: +optionator@^0.9.1: version "0.9.3" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.3.tgz#007397d44ed1872fdc6ed31360190f81814e2c64" integrity sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg== @@ -5567,10 +5610,10 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@3.2.5: - version "3.2.5" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368" - integrity sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A== +prettier@^2.8.8: + version "2.8.8" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" + integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== pretty-format@^27.0.0, pretty-format@^27.5.1: version "27.5.1" @@ -5581,6 +5624,11 @@ pretty-format@^27.0.0, pretty-format@^27.5.1: ansi-styles "^5.0.0" react-is "^17.0.1" +progress@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" + integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== + promise.any@^2.0.5: version "2.0.6" resolved "https://registry.yarnpkg.com/promise.any/-/promise.any-2.0.6.tgz#e234bf0c5250368a580f2ae1fbd482e27d3a89b1" @@ -5795,11 +5843,21 @@ regexp.prototype.flags@^1.5.2: es-errors "^1.3.0" set-function-name "^2.0.1" +regexpp@^3.1.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" + integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== + require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== +require-from-string@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" + integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== + requires-port@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" @@ -5957,6 +6015,13 @@ semver@^6.3.1: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== +semver@^7.2.1: + version "7.6.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d" + integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== + dependencies: + lru-cache "^6.0.0" + semver@^7.5.3, semver@^7.5.4: version "7.5.4" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" @@ -6083,6 +6148,15 @@ slash@^3.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== +slice-ansi@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-4.0.0.tgz#500e8dd0fd55b05815086255b3195adf2a45fe6b" + integrity sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ== + dependencies: + ansi-styles "^4.0.0" + astral-regex "^2.0.0" + is-fullwidth-code-point "^3.0.0" + source-map-support@^0.5.12, source-map-support@^0.5.21, source-map-support@^0.5.6: version "0.5.21" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" @@ -6245,7 +6319,7 @@ strip-json-comments@^2.0.0: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ== -strip-json-comments@^3.1.1: +strip-json-comments@^3.1.0, strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== @@ -6325,13 +6399,16 @@ symbol-tree@^3.2.4: resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== -synckit@^0.8.6: - version "0.8.8" - resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.8.8.tgz#fe7fe446518e3d3d49f5e429f443cf08b6edfcd7" - integrity sha512-HwOKAP7Wc5aRGYdKH+dw0PRRpbO841v2DENBtjnR5HFWoiNByAl7vrx3p0G/rCyYXQsrxqtX48TImFtPcIHSpQ== +table@^6.0.9: + version "6.8.1" + resolved "https://registry.yarnpkg.com/table/-/table-6.8.1.tgz#ea2b71359fe03b017a5fbc296204471158080bdf" + integrity sha512-Y4X9zqrCftUhMeH2EptSSERdVKt/nEdijTOacGD/97EKjhQ/Qs8RTlEGABSJNNN8lac9kheH+af7yAkEWlgneA== dependencies: - "@pkgr/core" "^0.1.0" - tslib "^2.6.2" + ajv "^8.0.1" + lodash.truncate "^4.4.2" + slice-ansi "^4.0.0" + string-width "^4.2.3" + strip-ansi "^6.0.1" tapable@^2.2.0: version "2.2.1" @@ -6517,11 +6594,6 @@ tslib@^2.0.0, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.5.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.3.tgz#24944ba2d990940e6e982c4bea147aba80209913" integrity sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w== -tslib@^2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" - integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== - tslog@^3.3.3: version "3.3.4" resolved "https://registry.yarnpkg.com/tslog/-/tslog-3.3.4.tgz#083197a908c97b3b714a0576b9dac293f223f368" @@ -6736,6 +6808,11 @@ v8-compile-cache-lib@^3.0.1: resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== +v8-compile-cache@^2.0.3: + version "2.4.0" + resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.4.0.tgz#cdada8bec61e15865f05d097c5f4fd30e94dc128" + integrity sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw== + v8-to-istanbul@^8.1.0: version "8.1.1" resolved "https://registry.yarnpkg.com/v8-to-istanbul/-/v8-to-istanbul-8.1.1.tgz#77b752fd3975e31bbcef938f85e9bd1c7a8d60ed" From a8114cb1267d7186ffe49508ad11023873e2aabb Mon Sep 17 00:00:00 2001 From: Ankita Patidar Date: Mon, 20 May 2024 19:57:41 +0530 Subject: [PATCH 4/4] add record threadId in output Signed-off-by: Ankita Patidar --- src/controllers/multi-tenancy/MultiTenancyController.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/controllers/multi-tenancy/MultiTenancyController.ts b/src/controllers/multi-tenancy/MultiTenancyController.ts index f02568ed..c3b401e0 100644 --- a/src/controllers/multi-tenancy/MultiTenancyController.ts +++ b/src/controllers/multi-tenancy/MultiTenancyController.ts @@ -1431,6 +1431,7 @@ export class MultiTenancyController extends Controller { }), outOfBandRecord: outOfBandRecord.toJSON(), outOfBandRecordId: outOfBandRecord.id, + credentialRequestThId: offerOob.credentialRecord.threadId, invitationDid: createOfferOptions?.invitationDid ? '' : invitationDid, } })