diff --git a/Example/IntegrationTests/Push/NotifyTests.swift b/Example/IntegrationTests/Push/NotifyTests.swift index 889af4389..04071d674 100644 --- a/Example/IntegrationTests/Push/NotifyTests.swift +++ b/Example/IntegrationTests/Push/NotifyTests.swift @@ -74,7 +74,7 @@ final class NotifyTests: XCTestCase { keychainStorage: keychain, environment: .sandbox) let keyserverURL = URL(string: "https://keys.walletconnect.com")! - let client = NotifyClientFactory.create(projectId: InputConfig.projectId, + let client = NotifyClientFactory.create(explorerProjectId: InputConfig.gmDappProjectId, keyserverURL: keyserverURL, logger: notifyLogger, keyValueStorage: keyValueStorage, diff --git a/Sources/WalletConnectNotify/Client/Wallet/NotifyClientFactory.swift b/Sources/WalletConnectNotify/Client/Wallet/NotifyClientFactory.swift index f04b62a14..f9d3117dd 100644 --- a/Sources/WalletConnectNotify/Client/Wallet/NotifyClientFactory.swift +++ b/Sources/WalletConnectNotify/Client/Wallet/NotifyClientFactory.swift @@ -10,7 +10,7 @@ public struct NotifyClientFactory { let groupKeychainService = GroupKeychainStorage(serviceIdentifier: groupIdentifier) return NotifyClientFactory.create( - projectId: projectId, + explorerProjectId: projectId, keyserverURL: keyserverURL, logger: logger, keyValueStorage: keyValueStorage, @@ -26,7 +26,7 @@ public struct NotifyClientFactory { } static func create( - projectId: String, + explorerProjectId: String, keyserverURL: URL, logger: ConsoleLogging, keyValueStorage: KeyValueStorage, @@ -50,7 +50,7 @@ public struct NotifyClientFactory { let deleteNotifySubscriptionRequester = DeleteNotifySubscriptionRequester(keyserver: keyserverURL, networkingInteractor: networkInteractor, identityClient: identityClient, webDidResolver: webDidResolver, kms: kms, logger: logger, notifyStorage: notifyStorage) let resubscribeService = NotifyResubscribeService(networkInteractor: networkInteractor, notifyStorage: notifyStorage, logger: logger) - let notifyConfigProvider = NotifyConfigProvider(projectId: projectId, explorerHost: explorerHost) + let notifyConfigProvider = NotifyConfigProvider(projectId: explorerProjectId, explorerHost: explorerHost) let notifySubscribeRequester = NotifySubscribeRequester(keyserverURL: keyserverURL, networkingInteractor: networkInteractor, identityClient: identityClient, logger: logger, kms: kms, webDidResolver: webDidResolver, notifyConfigProvider: notifyConfigProvider)