File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Sources/DIDCore/DIDDocument Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public struct DIDDocument {
68
68
public let id : String
69
69
public let alsoKnownAs : String ?
70
70
public let controller : String ?
71
- public let verificationMethods : [ VerificationMethod ]
71
+ public let verificationMethods : [ VerificationMethod ] ?
72
72
public let authentication : [ VerificationMethodMapping ] ?
73
73
public let assertionMethod : [ VerificationMethodMapping ] ?
74
74
public let capabilityDelegation : [ VerificationMethodMapping ] ?
@@ -79,7 +79,7 @@ public struct DIDDocument {
79
79
id: String ,
80
80
alsoKnownAs: String ? = nil ,
81
81
controller: String ? = nil ,
82
- verificationMethods: [ VerificationMethod ] = [ ] ,
82
+ verificationMethods: [ VerificationMethod ] ? = nil ,
83
83
authentication: [ VerificationMethodMapping ] ? = nil ,
84
84
assertionMethod: [ VerificationMethodMapping ] ? = nil ,
85
85
capabilityDelegation: [ VerificationMethodMapping ] ? = nil ,
You can’t perform that action at this time.
0 commit comments