diff --git a/Sources/Utilities/ClaimVisitor.swift b/Sources/Utilities/ClaimVisitor.swift index b1de072..81c32d8 100644 --- a/Sources/Utilities/ClaimVisitor.swift +++ b/Sources/Utilities/ClaimVisitor.swift @@ -22,6 +22,9 @@ public protocol ClaimVisitor: Sendable { public final class Visitor: ClaimVisitor { nonisolated(unsafe) var disclosuresPerClaim: [JSONPointer: [Disclosure]] = [:] + nonisolated(unsafe) var disclosures: [Disclosure] { + disclosuresPerClaim.flatMap { $0.value } + } public init() { }