Skip to content

Commit 7e2d150

Browse files
committed
Mark DID Document structs with Sendable
1 parent f1d1d45 commit 7e2d150

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Sources/ATCommonWeb/TypeScript-bound/DIDDocument.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import Foundation
99

1010
/// A representation of a verification method used in a DID document.
11-
public struct VerificationMethod: Codable {
11+
public struct VerificationMethod: Sendable, Codable {
1212

1313
/// The unique identifier of the verification method.
1414
public let id: String
@@ -38,7 +38,7 @@ public struct VerificationMethod: Codable {
3838
}
3939

4040
/// A representation of a service entry in a DID document.
41-
public struct Service: Codable {
41+
public struct Service: Sendable, Codable {
4242

4343
/// The unique identifier of the service.
4444
public let id: String
@@ -57,7 +57,7 @@ public struct Service: Codable {
5757
}
5858

5959
/// A DID document containing identity-related information.
60-
public struct DIDDocument: Codable {
60+
public struct DIDDocument: Sendable, Codable {
6161

6262
/// The unique decentralized identifier (DID) string that identifies this document.
6363
public let id: String

0 commit comments

Comments
 (0)