From e3435de1bc1acd7cdd2c34caf37428d0a293a246 Mon Sep 17 00:00:00 2001 From: Joel Carter Date: Thu, 14 Nov 2024 19:39:22 -0600 Subject: [PATCH] Support for sync/async in Panel --- Sources/XyoClient/Panel/Panel.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/XyoClient/Panel/Panel.swift b/Sources/XyoClient/Panel/Panel.swift index 6bcac24..7506d01 100644 --- a/Sources/XyoClient/Panel/Panel.swift +++ b/Sources/XyoClient/Panel/Panel.swift @@ -6,13 +6,13 @@ public enum XyoPanelError: Error { public class XyoPanel { - public init(archivists: [XyoArchivistApiClient], witnesses: [WitnessModuleSync]) { + public init(archivists: [XyoArchivistApiClient], witnesses: [WitnessModule]) { self._archivists = archivists self._witnesses = witnesses } public convenience init( - archive: String? = nil, apiDomain: String? = nil, witnesses: [WitnessModuleSync]? = nil, + archive: String? = nil, apiDomain: String? = nil, witnesses: [WitnessModule]? = nil, token: String? = nil ) { let apiConfig = XyoArchivistApiConfig(