Skip to content

Commit

Permalink
Bump bindings for sync work fix (#445)
Browse files Browse the repository at this point in the history
* update the bindings

* make history sync null
  • Loading branch information
nplasterer authored Dec 5, 2024
1 parent 01f5cc8 commit 0f4821b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 38 deletions.
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let package = Package(
.package(url: "https://github.com/bufbuild/connect-swift", exact: "1.0.0"),
.package(url: "https://github.com/apple/swift-docc-plugin.git", from: "1.4.3"),
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", exact: "1.8.3"),
.package(url: "https://github.com/xmtp/libxmtp-swift.git", exact: "3.0.9")
.package(url: "https://github.com/xmtp/libxmtp-swift.git", exact: "3.0.10")
],
targets: [
.target(
Expand Down
5 changes: 1 addition & 4 deletions Sources/XMTPiOS/Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ public final class Client {
let dbURL = directoryURL.appendingPathComponent(alias).path

let ffiClient = try await LibXMTP.createClient(
logger: XMTPLogger(),
host: options.api.env.url,
isSecure: options.api.env.isSecure == true,
db: dbURL,
Expand All @@ -213,7 +212,7 @@ public final class Client {
accountAddress: address,
nonce: 0,
legacySignedPrivateKeyProto: nil,
historySyncUrl: options.historySyncUrl
historySyncUrl: nil
)

try await options.preAuthenticateToInboxCallback?()
Expand Down Expand Up @@ -273,7 +272,6 @@ public final class Client {
do {
inboxId =
try await getInboxIdForAddress(
logger: XMTPLogger(),
host: api.env.url,
isSecure: api.env.isSecure == true,
accountAddress: address.lowercased()
Expand All @@ -299,7 +297,6 @@ public final class Client {
let dbURL = directoryURL.appendingPathComponent(alias).path

let ffiClient = try await LibXMTP.createClient(
logger: XMTPLogger(),
host: api.env.url,
isSecure: api.env.isSecure == true,
db: dbURL,
Expand Down
29 changes: 0 additions & 29 deletions Sources/XMTPiOS/XMTPLogger.swift

This file was deleted.

4 changes: 2 additions & 2 deletions XMTP.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "XMTP"
spec.version = "3.0.13"
spec.version = "3.0.14"
spec.summary = "XMTP SDK Cocoapod"

spec.description = <<-DESC
Expand All @@ -22,7 +22,7 @@ Pod::Spec.new do |spec|

spec.dependency 'CSecp256k1', '~> 0.2'
spec.dependency "Connect-Swift", "= 1.0.0"
spec.dependency 'LibXMTP', '= 3.0.9'
spec.dependency 'LibXMTP', '= 3.0.10'
spec.dependency 'CryptoSwift', '= 1.8.3'
spec.dependency 'SQLCipher', '= 4.5.7'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/xmtp/libxmtp-swift.git",
"state" : {
"revision" : "082dcb8a270c549c7aa55c2cef59698eae389a49",
"version" : "3.0.9"
"revision" : "bab83b5de3ed4713d50535e61bca281179bf04fd",
"version" : "3.0.10"
}
},
{
Expand Down

0 comments on commit 0f4821b

Please sign in to comment.