From f65254b1c8728a235ddc748e12c7e5f243f721a4 Mon Sep 17 00:00:00 2001
From: Bruno Muniz Azevedo Filho <bruno@elixxir.io>
Date: Wed, 13 Jul 2022 04:24:31 -0300
Subject: [PATCH] Bump db package to 1.0.6

---
 Package.swift                                 |  2 +-
 .../Implementations/Bindings.swift            | 20 +++++++++----------
 .../xcshareddata/swiftpm/Package.resolved     |  8 ++++----
 3 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/Package.swift b/Package.swift
index 617ab061..1da9ca4b 100644
--- a/Package.swift
+++ b/Package.swift
@@ -66,7 +66,7 @@ let package = Package(
         .package(url: "https://github.com/pointfreeco/combine-schedulers", from: "0.5.0"),
         .package(url: "https://github.com/kishikawakatsumi/KeychainAccess", from: "4.2.1"),
         .package(url: "https://github.com/google/google-api-objectivec-client-for-rest", from: "1.6.0"),
-        .package(url: "https://git.xx.network/elixxir/client-ios-db.git", .upToNextMajor(from: "1.0.5")),
+        .package(url: "https://git.xx.network/elixxir/client-ios-db.git", .upToNextMajor(from: "1.0.6")),
         .package(url: "https://github.com/firebase/firebase-ios-sdk.git", .upToNextMajor(from: "8.10.0")),
         .package(url: "https://github.com/pointfreeco/swift-composable-architecture.git",.upToNextMajor(from: "0.32.0"))
     ],
diff --git a/Sources/Integration/Implementations/Bindings.swift b/Sources/Integration/Implementations/Bindings.swift
index 6aac71d4..7c6feb9f 100644
--- a/Sources/Integration/Implementations/Bindings.swift
+++ b/Sources/Integration/Implementations/Bindings.swift
@@ -499,11 +499,11 @@ extension BindingsClient: BindingsInterface {
             fatalError("Couldn't retrieve cert.")
         }
 
-        try! udb!.setAlternative(
-            "18.198.117.203:11420".data(using: .utf8),
-            cert: try! Data(contentsOf: URL(fileURLWithPath: certPath)),
-            contactFile: try! Data(contentsOf: URL(fileURLWithPath: contactFilePath))
-        )
+//        try! udb!.setAlternative(
+//            "18.198.117.203:11420".data(using: .utf8),
+//            cert: try! Data(contentsOf: URL(fileURLWithPath: certPath)),
+//            contactFile: try! Data(contentsOf: URL(fileURLWithPath: contactFilePath))
+//        )
 
         guard let error = error else { return udb! }
         throw error.friendly()
@@ -525,11 +525,11 @@ extension BindingsClient: BindingsInterface {
             fatalError("Couldn't retrieve cert.")
         }
 
-        try! udb!.setAlternative(
-            "18.198.117.203:11420".data(using: .utf8),
-            cert: try! Data(contentsOf: URL(fileURLWithPath: certPath)),
-            contactFile: try! Data(contentsOf: URL(fileURLWithPath: contactFilePath))
-        )
+//        try! udb!.setAlternative(
+//            "18.198.117.203:11420".data(using: .utf8),
+//            cert: try! Data(contentsOf: URL(fileURLWithPath: certPath)),
+//            contactFile: try! Data(contentsOf: URL(fileURLWithPath: contactFilePath))
+//        )
 
         guard let error = error else { return udb! }
         throw error.friendly()
diff --git a/client-ios.xcworkspace/xcshareddata/swiftpm/Package.resolved b/client-ios.xcworkspace/xcshareddata/swiftpm/Package.resolved
index eeb145af..d12bf1ea 100644
--- a/client-ios.xcworkspace/xcshareddata/swiftpm/Package.resolved
+++ b/client-ios.xcworkspace/xcshareddata/swiftpm/Package.resolved
@@ -50,8 +50,8 @@
       "kind" : "remoteSourceControl",
       "location" : "https://git.xx.network/elixxir/client-ios-db.git",
       "state" : {
-        "revision" : "adf3c4b906870ecbd0d1d7208f0666939fd08665",
-        "version" : "1.0.5"
+        "revision" : "f52a83a8095c36f4e84afa51b52c929117c8779a",
+        "version" : "1.0.6"
       }
     },
     {
@@ -158,8 +158,8 @@
       "kind" : "remoteSourceControl",
       "location" : "https://github.com/groue/GRDB.swift",
       "state" : {
-        "revision" : "e02f2c8abacff2799ed14926edcbf6e76fb9f805",
-        "version" : "5.25.0"
+        "revision" : "23f4254ae36fa19aecd73047c0577a9f49850d1c",
+        "version" : "5.26.0"
       }
     },
     {
-- 
GitLab