Skip to content

Commit

Permalink
fix: update didcore
Browse files Browse the repository at this point in the history
  • Loading branch information
beatt83 committed Oct 11, 2024
1 parent 79dbc32 commit 4338d9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sources/PeerDID/PeerDID/PeerDIDHelper+ResolveAlgo0.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ extension PeerDIDHelper {
let decoded = try PeerDIDHelper().decodeMultibaseEcnumbasis(ecnumbasis: keyStr, format: format)
return DIDDocument(
id: peerDID.string,
verificationMethods: [
verificationMethod: [
try .init(
did: peerDID.string,
id: keyStr,
Expand Down
2 changes: 1 addition & 1 deletion Sources/PeerDID/PeerDID/PeerDIDHelper+ResolveAlgo2.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ extension PeerDIDHelper {

return DIDDocument(
id: peerDID.string,
verificationMethods: verificationMethods,
verificationMethod: verificationMethods,
authentication: authenticationAgreements.map { .stringValue($0) },
keyAgreement: keyAgreements.map { .stringValue($0) },
services: documentServices
Expand Down

0 comments on commit 4338d9c

Please sign in to comment.