Skip to content

Commit

Permalink
Merge pull request #775 from WalletConnect/develop
Browse files Browse the repository at this point in the history
1.5.7
  • Loading branch information
flypaper0 authored Apr 1, 2023
2 parents 7594446 + 8dc92a8 commit 2180c04
Show file tree
Hide file tree
Showing 122 changed files with 1,212 additions and 481 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
# it takes pull request name
# and automatically commit it as a package version
# pull request name should always be a version of a new release
#
# After version bump publishing Cocoapods release

name: set-user-agent
name: cd

on:
pull_request:
Expand All @@ -18,6 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}

- name: Set User Agent
Expand All @@ -27,4 +30,12 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Set User Agent
tagging_message: ${{ github.event.pull_request.title }}
skip_checkout: true

- name: Publish to CocoaPod register
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
run: |
pod trunk push WalletConnectSwiftV2.podspec --verbose --allow-warnings
2 changes: 1 addition & 1 deletion Example/DApp/SceneDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {

func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
Networking.configure(projectId: InputConfig.projectId, socketFactory: DefaultSocketFactory())
Auth.configure(signerFactory: DefaultSignerFactory())
Auth.configure(crypto: DefaultCryptoProvider())

setupWindow(scene: scene)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class SelectChainViewController: UIViewController, UITableViewDataSource {

@objc
private func openWallet() {
UIApplication.shared.open(URL(string: "walletconnectwallet://")!)
UIApplication.shared.open(URL(string: "walletapp://")!)
}

private func showConnectScreen(uri: WalletConnectURI) {
Expand Down
26 changes: 26 additions & 0 deletions Example/ExampleApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
A578FA3D2874002400AA7720 /* View.swift in Sources */ = {isa = PBXBuildFile; fileRef = A578FA3C2874002400AA7720 /* View.swift */; };
A57E71A6291CF76400325797 /* ETHSigner.swift in Sources */ = {isa = PBXBuildFile; fileRef = A57E71A5291CF76400325797 /* ETHSigner.swift */; };
A57E71A8291CF8A500325797 /* SOLSigner.swift in Sources */ = {isa = PBXBuildFile; fileRef = A57E71A7291CF8A500325797 /* SOLSigner.swift */; };
A58A1ECC29BF458600A82A20 /* ENSResolverTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A58A1ECB29BF458600A82A20 /* ENSResolverTests.swift */; };
A58E7CEB28729F550082D443 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A58E7CEA28729F550082D443 /* AppDelegate.swift */; };
A58E7CED28729F550082D443 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A58E7CEC28729F550082D443 /* SceneDelegate.swift */; };
A58E7CF428729F550082D443 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A58E7CF328729F550082D443 /* Assets.xcassets */; };
Expand Down Expand Up @@ -172,6 +173,10 @@
A59CF4F6292F83D50031A42F /* DefaultSignerFactory.swift in Sources */ = {isa = PBXBuildFile; fileRef = A59CF4F5292F83D50031A42F /* DefaultSignerFactory.swift */; };
A59F877628B5462900A9CD80 /* WalletConnectAuth in Frameworks */ = {isa = PBXBuildFile; productRef = A59F877528B5462900A9CD80 /* WalletConnectAuth */; };
A59FAEC928B7B93A002BB66F /* Web3 in Frameworks */ = {isa = PBXBuildFile; productRef = A59FAEC828B7B93A002BB66F /* Web3 */; };
A5A0843D29D2F624000B9B17 /* DefaultCryptoProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5A0843B29D2F60A000B9B17 /* DefaultCryptoProvider.swift */; };
A5A0843E29D2F624000B9B17 /* DefaultCryptoProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5A0843B29D2F60A000B9B17 /* DefaultCryptoProvider.swift */; };
A5A0843F29D2F625000B9B17 /* DefaultCryptoProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5A0843B29D2F60A000B9B17 /* DefaultCryptoProvider.swift */; };
A5A0844029D2F626000B9B17 /* DefaultCryptoProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5A0843B29D2F60A000B9B17 /* DefaultCryptoProvider.swift */; };
A5A4FC56283CBB7800BBEC1E /* SessionDetailView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5A4FC55283CBB7800BBEC1E /* SessionDetailView.swift */; };
A5A4FC58283CBB9F00BBEC1E /* SessionDetailViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5A4FC57283CBB9F00BBEC1E /* SessionDetailViewModel.swift */; };
A5A4FC5A283CC08600BBEC1E /* SessionNamespaceViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5A4FC59283CC08600BBEC1E /* SessionNamespaceViewModel.swift */; };
Expand Down Expand Up @@ -205,6 +210,7 @@
A5C20229287EB34C007E3188 /* AccountStorage.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5C20228287EB34C007E3188 /* AccountStorage.swift */; };
A5C2022B287EB89A007E3188 /* WelcomeInteractor.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5C2022A287EB89A007E3188 /* WelcomeInteractor.swift */; };
A5C4DD8728A2DE88006A626D /* WalletConnectRouter in Frameworks */ = {isa = PBXBuildFile; productRef = A5C4DD8628A2DE88006A626D /* WalletConnectRouter */; };
A5C5153329BB7A6A004210BA /* InviteType.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5C5153229BB7A6A004210BA /* InviteType.swift */; };
A5C8BE85292FE20B006CC85C /* Web3 in Frameworks */ = {isa = PBXBuildFile; productRef = A5C8BE84292FE20B006CC85C /* Web3 */; };
A5D85226286333D500DAF5C3 /* Starscream in Frameworks */ = {isa = PBXBuildFile; productRef = A5D85225286333D500DAF5C3 /* Starscream */; };
A5D85228286333E300DAF5C3 /* Starscream in Frameworks */ = {isa = PBXBuildFile; productRef = A5D85227286333E300DAF5C3 /* Starscream */; };
Expand Down Expand Up @@ -489,6 +495,7 @@
A578FA3C2874002400AA7720 /* View.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = View.swift; sourceTree = "<group>"; };
A57E71A5291CF76400325797 /* ETHSigner.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ETHSigner.swift; sourceTree = "<group>"; };
A57E71A7291CF8A500325797 /* SOLSigner.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SOLSigner.swift; sourceTree = "<group>"; };
A58A1ECB29BF458600A82A20 /* ENSResolverTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ENSResolverTests.swift; sourceTree = "<group>"; };
A58E7CE828729F550082D443 /* Showcase.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Showcase.app; sourceTree = BUILT_PRODUCTS_DIR; };
A58E7CEA28729F550082D443 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
A58E7CEC28729F550082D443 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -519,6 +526,7 @@
A58E7D472872EF610082D443 /* MessageViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MessageViewModel.swift; sourceTree = "<group>"; };
A58EC615299D5C6400F3452A /* PlainButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PlainButton.swift; sourceTree = "<group>"; };
A59CF4F5292F83D50031A42F /* DefaultSignerFactory.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultSignerFactory.swift; sourceTree = "<group>"; };
A5A0843B29D2F60A000B9B17 /* DefaultCryptoProvider.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DefaultCryptoProvider.swift; sourceTree = "<group>"; };
A5A4FC55283CBB7800BBEC1E /* SessionDetailView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SessionDetailView.swift; sourceTree = "<group>"; };
A5A4FC57283CBB9F00BBEC1E /* SessionDetailViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SessionDetailViewModel.swift; sourceTree = "<group>"; };
A5A4FC59283CC08600BBEC1E /* SessionNamespaceViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SessionNamespaceViewModel.swift; sourceTree = "<group>"; };
Expand All @@ -544,6 +552,7 @@
A5C20222287EA7E2007E3188 /* BrandButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BrandButton.swift; sourceTree = "<group>"; };
A5C20228287EB34C007E3188 /* AccountStorage.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AccountStorage.swift; sourceTree = "<group>"; };
A5C2022A287EB89A007E3188 /* WelcomeInteractor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WelcomeInteractor.swift; sourceTree = "<group>"; };
A5C5153229BB7A6A004210BA /* InviteType.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InviteType.swift; sourceTree = "<group>"; };
A5E03DED286464DB00888481 /* IntegrationTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = IntegrationTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
A5E03DF9286465C700888481 /* SignClientTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SignClientTests.swift; sourceTree = "<group>"; };
A5E03DFC286465D100888481 /* Stubs.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Stubs.swift; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1020,6 +1029,7 @@
84D2A66728A4F5260088AE09 /* Auth */ = {
isa = PBXGroup;
children = (
A58A1ECA29BF457800A82A20 /* ENS */,
A54195992934BFDD0035AD19 /* Signer */,
84D2A66528A4F51E0088AE09 /* AuthTests.swift */,
);
Expand Down Expand Up @@ -1135,6 +1145,7 @@
isa = PBXGroup;
children = (
A5629AE728772A0100094373 /* InviteViewModel.swift */,
A5C5153229BB7A6A004210BA /* InviteType.swift */,
);
path = Models;
sourceTree = "<group>";
Expand Down Expand Up @@ -1194,6 +1205,14 @@
path = Signer;
sourceTree = "<group>";
};
A58A1ECA29BF457800A82A20 /* ENS */ = {
isa = PBXGroup;
children = (
A58A1ECB29BF458600A82A20 /* ENSResolverTests.swift */,
);
path = ENS;
sourceTree = "<group>";
};
A58E7CE928729F550082D443 /* Showcase */ = {
isa = PBXGroup;
children = (
Expand Down Expand Up @@ -1381,6 +1400,7 @@
84CB43D429B9FC88004DDA31 /* Tests */,
A5629AEF2877F73000094373 /* DefaultSocketFactory.swift */,
A59CF4F5292F83D50031A42F /* DefaultSignerFactory.swift */,
A5A0843B29D2F60A000B9B17 /* DefaultCryptoProvider.swift */,
);
path = Shared;
sourceTree = "<group>";
Expand Down Expand Up @@ -2194,6 +2214,7 @@
A5BB7FA928B6A5FD00707FC6 /* AuthViewModel.swift in Sources */,
84CE6452279ED42B00142511 /* ConnectView.swift in Sources */,
A5A8E47E293A1CFE00FEB97D /* DefaultSignerFactory.swift in Sources */,
A5A0843D29D2F624000B9B17 /* DefaultCryptoProvider.swift in Sources */,
84CE6448279AE68600142511 /* AccountRequestViewController.swift in Sources */,
A5BB7F9F28B69B7100707FC6 /* SignCoordinator.swift in Sources */,
84CE642127981DED00142511 /* SceneDelegate.swift in Sources */,
Expand Down Expand Up @@ -2247,6 +2268,7 @@
A578FA35287304A300AA7720 /* Color.swift in Sources */,
A5629ADE2876CC6E00094373 /* InviteListModule.swift in Sources */,
A578FA322873036400AA7720 /* InputView.swift in Sources */,
A5A0843F29D2F625000B9B17 /* DefaultCryptoProvider.swift in Sources */,
A5C2021B287E1FD8007E3188 /* ImportRouter.swift in Sources */,
A5629AE42876E6D200094373 /* ThreadViewModel.swift in Sources */,
A58E7D0C2872A45B0082D443 /* MainModule.swift in Sources */,
Expand All @@ -2259,6 +2281,7 @@
A58E7CED28729F550082D443 /* SceneDelegate.swift in Sources */,
A5C2020F287D9DEE007E3188 /* WelcomeView.swift in Sources */,
A518A98929683FB60035247E /* Web3InboxRouter.swift in Sources */,
A5C5153329BB7A6A004210BA /* InviteType.swift in Sources */,
A5C2020D287D9DEE007E3188 /* WelcomeRouter.swift in Sources */,
A578FA372873D8EE00AA7720 /* UIColor.swift in Sources */,
A518A98729683FB60035247E /* Web3InboxViewController.swift in Sources */,
Expand Down Expand Up @@ -2309,6 +2332,7 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
A5A0843E29D2F624000B9B17 /* DefaultCryptoProvider.swift in Sources */,
84CEC64628D89D6B00D081A8 /* PairingTests.swift in Sources */,
767DC83528997F8E00080FA9 /* EthSendTransaction.swift in Sources */,
8439CB89293F658E00F2F2E2 /* PushMessage.swift in Sources */,
Expand All @@ -2323,6 +2347,7 @@
7694A5262874296A0001257E /* RegistryTests.swift in Sources */,
A541959F2934BFEF0035AD19 /* SignerTests.swift in Sources */,
A50C036528AAD32200FE72D3 /* ClientDelegate.swift in Sources */,
A58A1ECC29BF458600A82A20 /* ENSResolverTests.swift in Sources */,
A5E03DFA286465C700888481 /* SignClientTests.swift in Sources */,
A54195A02934BFEF0035AD19 /* EIP1271VerifierTests.swift in Sources */,
A54195A12934BFEF0035AD19 /* EIP191VerifierTests.swift in Sources */,
Expand Down Expand Up @@ -2357,6 +2382,7 @@
C56EE250293F566D004840D1 /* ScanTargetView.swift in Sources */,
C56EE28F293F5757004840D1 /* MigrationConfigurator.swift in Sources */,
84B815552991217900FAD54E /* PushMessagesPresenter.swift in Sources */,
A5A0844029D2F626000B9B17 /* DefaultCryptoProvider.swift in Sources */,
847BD1DD2989494F00076C90 /* TabPage.swift in Sources */,
C55D348B295DD8CA0004314A /* PasteUriRouter.swift in Sources */,
84B815572991217900FAD54E /* PushMessagesInteractor.swift in Sources */,
Expand Down
2 changes: 1 addition & 1 deletion Example/ExampleApp/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
Networking.configure(projectId: InputConfig.projectId, socketFactory: DefaultSocketFactory())
Pair.configure(metadata: metadata)

Push.configure()
Push.configure(environment: .sandbox)
Push.wallet.requestPublisher.sink { (id: RPCID, account: Account, metadata: AppMetadata) in
Task(priority: .high) { try! await Push.wallet.approve(id: id) }
}.store(in: &publishers)
Expand Down
2 changes: 1 addition & 1 deletion Example/IntegrationTests/Auth/AuthTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ final class AuthTests: XCTestCase {
let authClient = AuthClientFactory.create(
metadata: AppMetadata(name: name, description: "", url: "", icons: [""]),
projectId: InputConfig.projectId,
signerFactory: DefaultSignerFactory(),
crypto: DefaultCryptoProvider(),
logger: logger,
keyValueStorage: keyValueStorage,
keychainStorage: keychain,
Expand Down
21 changes: 21 additions & 0 deletions Example/IntegrationTests/Auth/ENS/ENSResolverTests.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import Foundation
import XCTest
@testable import WalletConnectSigner

class ENSSignerTests: XCTestCase {

private let account = Account("eip155:1:0x025d1eac1467c5be5e38ca411dc2454964b5c666")!
private let ens = "web3.eth"

func testResolveEns() async throws {
let resolver = ENSResolverFactory(crypto: DefaultCryptoProvider()).create(projectId: InputConfig.projectId)
let resolved = try await resolver.resolveEns(account: account)
XCTAssertEqual(resolved, ens)
}

func testResolveAddress() async throws {
let resolver = ENSResolverFactory(crypto: DefaultCryptoProvider()).create(projectId: InputConfig.projectId)
let resolved = try await resolver.resolveAddress(ens: ens, blockchain: account.blockchain)
XCTAssertEqual(resolved, account)
}
}
9 changes: 5 additions & 4 deletions Example/IntegrationTests/Auth/Signer/CacaoSignerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ class CacaoSignerTest: XCTestCase {

let signer = MessageSignerFactory(signerFactory: DefaultSignerFactory())
.create(projectId: InputConfig.projectId)
let verifier = MessageVerifierFactory(crypto: DefaultCryptoProvider()).create(projectId: InputConfig.projectId)

let privateKey = Data(hex: "305c6cde3846927892cd32762f6120539f3ec74c9e3a16b9b798b1e85351ae2a")

let message: String =
"""
service.invalid wants you to sign in with your Ethereum account:
0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
I accept the ServiceOrg Terms of Service: https://service.invalid/tos
Expand Down Expand Up @@ -41,17 +42,17 @@ class CacaoSignerTest: XCTestCase {
]
), iat: "2021-09-30T16:25:24Z")

let signature = CacaoSignature(t: .eip191, s: "0x438effc459956b57fcd9f3dac6c675f9cee88abf21acab7305e8e32aa0303a883b06dcbd956279a7a2ca21ffa882ff55cc22e8ab8ec0f3fe90ab45f306938cfa1b")
let signature = CacaoSignature(t: .eip191, s: "0x2755a5cf4542e8649fadcfca8c983068ef3bda6057550ecd1ead32b75125a4547ed8e91ef76ef17e969434ffa4ac2e4dc1e8cd8be55d342ad9e223c64fbfe1dd1b")

func testCacaoSign() throws {
let address = "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
let address = "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
let cacaoPayload = try payload.cacaoPayload(address: address)
let formatted = try SIWECacaoFormatter().formatMessage(from: cacaoPayload)
XCTAssertEqual(formatted, message)
XCTAssertEqual(try signer.sign(payload: cacaoPayload, privateKey: privateKey, type: .eip191), signature)
}

func testCacaoVerify() async throws {
try await signer.verify(signature: signature, message: message, address: "0x15bca56b6e2728aec2532df9d436bd1600e86688", chainId: "eip155:1")
try await verifier.verify(signature: signature, message: message, address: "0x15bca56b6e2728aec2532df9d436bd1600e86688", chainId: "eip155:1")
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ class EIP1271VerifierTests: XCTestCase {

func testSuccessVerify() async throws {
let httpClient = HTTPNetworkClient(host: "rpc.walletconnect.com")
let signer = DefaultSignerFactory().createEthereumSigner()
let verifier = EIP1271Verifier(projectId: InputConfig.projectId, httpClient: httpClient, signer: signer)
let verifier = EIP1271Verifier(projectId: InputConfig.projectId, httpClient: httpClient, crypto: DefaultCryptoProvider())
try await verifier.verify(
signature: signature,
message: message,
Expand All @@ -27,8 +26,7 @@ class EIP1271VerifierTests: XCTestCase {

func testFailureVerify() async throws {
let httpClient = HTTPNetworkClient(host: "rpc.walletconnect.com")
let signer = DefaultSignerFactory().createEthereumSigner()
let verifier = EIP1271Verifier(projectId: InputConfig.projectId, httpClient: httpClient, signer: signer)
let verifier = EIP1271Verifier(projectId: InputConfig.projectId, httpClient: httpClient, crypto: DefaultCryptoProvider())

await XCTAssertThrowsErrorAsync(try await verifier.verify(
signature: Data("deadbeaf"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import XCTest

class EIP191VerifierTests: XCTestCase {

private let verifier = EIP191Verifier(signer: DefaultSignerFactory().createEthereumSigner())
private let verifier = EIP191Verifier(crypto: DefaultCryptoProvider())

private let address = "0x15bca56b6e2728aec2532df9d436bd1600e86688"
private let message = "\u{19}Ethereum Signed Message:\n7Message".data(using: .utf8)!
Expand Down
2 changes: 1 addition & 1 deletion Example/IntegrationTests/Auth/Signer/SignerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ class SignerTest: XCTestCase {
func testSignerAddressFromAccount() throws {
let account = Account("eip155:1:0xBAc675C310721717Cd4A37F6cbeA1F081b1C2a07")!

XCTAssertEqual(DIDPKH(account: account).string, "did:pkh:eip155:1:0xBAc675C310721717Cd4A37F6cbeA1F081b1C2a07")
XCTAssertEqual(DIDPKH(account: account).string, "did:pkh:eip155:1:0xbac675c310721717cd4a37f6cbea1f081b1c2a07")
}
}
2 changes: 1 addition & 1 deletion Example/IntegrationTests/Chat/ChatTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ final class ChatTests: XCTestCase {
logger: logger,
keychainStorage: keychain,
keyValueStorage: keyValueStorage)
return ChatClientFactory.create(account: account, keyserverURL: keyserverURL, relayClient: relayClient, networkingInteractor: networkingInteractor, keychain: keychain, logger: logger, keyValueStorage: keyValueStorage)
return ChatClientFactory.create(keyserverURL: keyserverURL, relayClient: relayClient, networkingInteractor: networkingInteractor, keychain: keychain, logger: logger, keyValueStorage: keyValueStorage)
}

func testInvite() async throws {
Expand Down
Loading

0 comments on commit 2180c04

Please sign in to comment.