Skip to content

Commit

Permalink
Merge branch 'main' into fix/i793
Browse files Browse the repository at this point in the history
  • Loading branch information
NB-MikeRichardson authored May 31, 2022
2 parents 275c1fc + bd1e677 commit 840dc88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class OutOfBandInvitation extends AgentMessage {
// TODO: this only takes into account inline didcomm services, won't work for public dids
public getRecipientKeys(): Key[] {
return this.services
.filter((s): s is OutOfBandDidCommService => typeof s !== 'string')
.filter((s): s is OutOfBandDidCommService => typeof s !== 'string' && !(s instanceof String))
.map((s) => s.recipientKeys)
.reduce((acc, curr) => [...acc, ...curr], [])
.map((didKey) => DidKey.fromDid(didKey).key)
Expand Down

0 comments on commit 840dc88

Please sign in to comment.