From 5902d3525484ce4e26a19de373d75d7e5362542f Mon Sep 17 00:00:00 2001 From: Simon Mcloughlin Date: Thu, 24 Oct 2024 11:29:48 +0100 Subject: [PATCH] - bump torus version - update CI to use latest Xcode --- .github/workflows/codeql.yml | 4 ++-- .github/workflows/unit-test.yml | 4 ++-- Package.swift | 2 +- Sources/KukaiCoreSwift/Models/LedgerWallet.swift | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 90419f00..197d0777 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -10,10 +10,10 @@ on: jobs: deploy: name: Running unit tests - runs-on: macos-14 + runs-on: macos-15 steps: - name: Select Xcode version - run: sudo xcode-select -s '/Applications/Xcode_15.2.app/Contents/Developer' + run: sudo xcode-select -s '/Applications/Xcode_16.app/Contents/Developer' - name: Checkout repository uses: actions/checkout@v4.1.1 diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 8ef4691d..4a214511 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -12,11 +12,11 @@ on: jobs: deploy: name: Running unit tests - runs-on: macos-14 + runs-on: macos-15 steps: - name: Select Xcode version #run: sudo xcode-select -s '/Applications/Xcode_14.3.1.app/Contents/Developer' - run: sudo xcode-select -s '/Applications/Xcode_15.2.app/Contents/Developer' + run: sudo xcode-select -s '/Applications/Xcode_16.app/Contents/Developer' - name: Checkout repository uses: actions/checkout@v4.1.1 diff --git a/Package.swift b/Package.swift index bd8e6b0c..354041d1 100644 --- a/Package.swift +++ b/Package.swift @@ -13,7 +13,7 @@ let package = Package( ], dependencies: [ .package(name: "KukaiCryptoSwift", url: "https://github.com/kukai-wallet/kukai-crypto-swift", from: "1.0.23" /*.branch("develop")*/), - .package(name: "CustomAuth", url: "https://github.com/torusresearch/customauth-swift-sdk", from: "10.0.1"), + .package(name: "CustomAuth", url: "https://github.com/torusresearch/customauth-swift-sdk", from: "10.0.2"), .package(name: "SignalRClient", url: "https://github.com/moozzyk/SignalR-Client-Swift", from: "0.8.0"), .package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.19.3") ], diff --git a/Sources/KukaiCoreSwift/Models/LedgerWallet.swift b/Sources/KukaiCoreSwift/Models/LedgerWallet.swift index 1df80412..3b6aee00 100644 --- a/Sources/KukaiCoreSwift/Models/LedgerWallet.swift +++ b/Sources/KukaiCoreSwift/Models/LedgerWallet.swift @@ -108,6 +108,6 @@ public class LedgerWallet: Wallet { */ public func publicKeyBase58encoded() -> String { let publicKeyData = Data(hexString: publicKey) ?? Data() - return Base58Check.encode(message: publicKeyData.bytes, prefix: Prefix.Keys.Ed25519.public) + return Base58Check.encode(message: publicKeyData.bytes(), prefix: Prefix.Keys.Ed25519.public) } }