Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync changes to main branch #123

Merged
merged 6 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/controllers/multi-tenancy/MultiTenancyController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@
private async handleKey(createDidOptions: DidCreate, tenantId: string) {
let didResponse
let did: string
let didDocument: any

Check warning on line 392 in src/controllers/multi-tenancy/MultiTenancyController.ts

View workflow job for this annotation

GitHub Actions / Validate

Unexpected any. Specify a different type

await this.agent.modules.tenants.withTenantAgent({ tenantId }, async (tenantAgent) => {
if (!createDidOptions.seed) {
Expand Down Expand Up @@ -444,7 +444,7 @@

private async handleDidPeer(createDidOptions: DidCreate, tenantId: string) {
let didResponse
let did: any

Check warning on line 447 in src/controllers/multi-tenancy/MultiTenancyController.ts

View workflow job for this annotation

GitHub Actions / Validate

Unexpected any. Specify a different type

if (!createDidOptions.keyType) {
throw Error('keyType is required')
Expand Down Expand Up @@ -478,7 +478,7 @@

private async handleWeb(createDidOptions: DidCreate, tenantId: string) {
let did
let didDocument: any

Check warning on line 481 in src/controllers/multi-tenancy/MultiTenancyController.ts

View workflow job for this annotation

GitHub Actions / Validate

Unexpected any. Specify a different type

if (!createDidOptions.domain) {
throw Error('For web method domain is required')
Expand Down Expand Up @@ -833,7 +833,7 @@
outOfBandRecords = await tenantAgent.oob.getAll()

if (invitationId)
outOfBandRecords = outOfBandRecords.filter((o: any) => o.outOfBandInvitation.id === invitationId)

Check warning on line 836 in src/controllers/multi-tenancy/MultiTenancyController.ts

View workflow job for this annotation

GitHub Actions / Validate

Unexpected any. Specify a different type
outOfBandRecordsRes = outOfBandRecords.map((c: any) => c.toJSON())
})

Expand Down Expand Up @@ -1431,6 +1431,7 @@
}),
outOfBandRecord: outOfBandRecord.toJSON(),
outOfBandRecordId: outOfBandRecord.id,
credentialRequestThId: offerOob.credentialRecord.threadId,
invitationDid: createOfferOptions?.invitationDid ? '' : invitationDid,
}
})
Expand Down
3 changes: 0 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@
version "7.24.5"
resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.24.5.tgz#15ab5b98e101972d171aeef92ac70d8d6718f06a"
integrity sha512-tVQRucExLQ02Boi4vdPp49svNGcfL2GhdTCT9aldhXgCJVAI21EtRfBettiuLUwce/7r6bFdgs6JFkcdTiFttA==
dependencies:
"@ampproject/remapping" "^2.2.0"
"@babel/code-frame" "^7.24.2"
"@babel/generator" "^7.24.5"
Expand Down Expand Up @@ -630,7 +629,6 @@
version "9.4.0"
resolved "https://registry.yarnpkg.com/@digitalcredentials/jsonld-signatures/-/jsonld-signatures-9.4.0.tgz#d5881122c4202449b88a7e2384f8e615ae55582c"
integrity sha512-DnR+HDTm7qpcDd0wcD1w6GdlAwfHjQSgu+ahion8REkCkkMRywF+CLunU7t8AZpFB2Gr/+N8naUtiEBNje1Oew==
dependencies:
"@digitalbazaar/security-context" "^1.0.0"
"@digitalcredentials/jsonld" "^6.0.0"
fast-text-encoding "^1.0.3"
Expand Down Expand Up @@ -4211,7 +4209,6 @@ express@^4.17.1, express@^4.18.1, express@^4.18.3:
version "4.19.2"
resolved "https://registry.yarnpkg.com/express/-/express-4.19.2.tgz#e25437827a3aa7f2a827bc8171bbbb664a356465"
integrity sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==
dependencies:
accepts "~1.3.8"
array-flatten "1.1.1"
body-parser "1.20.2"
Expand Down
Loading