diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index f9441f4c..cbff39db 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -55,7 +55,7 @@ PODS: - hermes-engine/Pre-built (= 0.71.14) - hermes-engine/Pre-built (0.71.14) - libevent (2.1.12) - - LibXMTP (3.0.8) + - LibXMTP (3.0.9) - MessagePacker (0.4.7) - MMKV (2.0.0): - MMKVCore (~> 2.0.0) @@ -446,18 +446,18 @@ PODS: - SQLCipher/standard (4.5.7): - SQLCipher/common - SwiftProtobuf (1.28.2) - - XMTP (3.0.12): + - XMTP (3.0.13): - Connect-Swift (= 1.0.0) - CryptoSwift (= 1.8.3) - CSecp256k1 (~> 0.2) - - LibXMTP (= 3.0.8) + - LibXMTP (= 3.0.9) - SQLCipher (= 4.5.7) - XMTPReactNative (0.1.0): - CSecp256k1 (~> 0.2) - ExpoModulesCore - MessagePacker - SQLCipher (= 4.5.7) - - XMTP (= 3.0.12) + - XMTP (= 3.0.13) - Yoga (1.14.0) DEPENDENCIES: @@ -706,7 +706,7 @@ SPEC CHECKSUMS: glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b hermes-engine: d7cc127932c89c53374452d6f93473f1970d8e88 libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 - LibXMTP: bcddd95871e7e3636f395691d73ec8ecbc3c78c9 + LibXMTP: c1bdf81e52b0e995b3aabf962a2b068e4ea184d0 MessagePacker: ab2fe250e86ea7aedd1a9ee47a37083edd41fd02 MMKV: f7d1d5945c8765f97f39c3d121f353d46735d801 MMKVCore: c04b296010fcb1d1638f2c69405096aac12f6390 @@ -756,8 +756,8 @@ SPEC CHECKSUMS: RNSVG: d00c8f91c3cbf6d476451313a18f04d220d4f396 SQLCipher: 5e6bfb47323635c8b657b1b27d25c5f1baf63bf5 SwiftProtobuf: 4dbaffec76a39a8dc5da23b40af1a5dc01a4c02d - XMTP: f3a4dec90eadfcf98d4d619238f50d051ac254f9 - XMTPReactNative: 04766f2ca3e776ed5214fc85546c81bf438b5e14 + XMTP: 0c1529391b3ed63136498fdf4a95515c296050a3 + XMTPReactNative: 9f22be223ee1bac2f0cfbbddc9cf0d5ac4b68e86 Yoga: e71803b4c1fff832ccf9b92541e00f9b873119b9 PODFILE CHECKSUM: 0e6fe50018f34e575d38dc6a1fdf1f99c9596cdd diff --git a/ios/XMTPModule.swift b/ios/XMTPModule.swift index 1807d3a8..0deb57c9 100644 --- a/ios/XMTPModule.swift +++ b/ios/XMTPModule.swift @@ -269,7 +269,7 @@ public class XMTPModule: Module { } AsyncFunction("build") { - (address: String, dbEncryptionKey: [UInt8], authParams: String) + (address: String, inboxId: String?, dbEncryptionKey: [UInt8], authParams: String) -> [String: String] in let authOptions = AuthParamsWrapper.authParamsFromJson(authParams) let encryptionKeyData = Data(dbEncryptionKey) @@ -280,7 +280,7 @@ public class XMTPModule: Module { preAuthenticateToInboxCallback: preAuthenticateToInboxCallback ) let client = try await XMTP.Client.build( - address: address, options: options) + address: address, options: options, inboxId: inboxId) await clientsManager.updateClient( key: client.installationID, client: client) return try ClientWrapper.encodeToObj(client)