diff --git a/CHANGELOG.md b/CHANGELOG.md index d274636a..555e83b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- changed: Consume the Zcash SDK (ZcashLightClientKit) via Swift Package Manager instead of vendoring its source and libzcashlc.xcframework into the pod. The host app adds the zcash-swift-wallet-sdk Swift Package; this package now ships only the React Native bridge, which imports ZcashLightClientKit from the SPM module. gRPC-Swift and SQLite.swift are no longer pod dependencies of this package. + ## 0.12.1 (2026-06-18) - changed: Updated checkpoints diff --git a/ios/RNZcash.swift b/ios/RNZcash.swift index 7783053d..465d7cf6 100644 --- a/ios/RNZcash.swift +++ b/ios/RNZcash.swift @@ -2,6 +2,7 @@ import Combine import Foundation import MnemonicSwift import SwiftProtobuf +import ZcashLightClientKit import os actor SynchronizerStore { diff --git a/ios/react-native-zcash-Bridging-Header.h b/ios/react-native-zcash-Bridging-Header.h index db2af43b..ad284d2a 100644 --- a/ios/react-native-zcash-Bridging-Header.h +++ b/ios/react-native-zcash-Bridging-Header.h @@ -1,2 +1 @@ #import -#include "zcashlc.h" diff --git a/package-lock.json b/package-lock.json index aad4349f..1b4c3be0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "react-native-zcash", - "version": "0.12.1", + "version": "0.13.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "react-native-zcash", - "version": "0.12.1", + "version": "0.13.0", "license": "MIT", "dependencies": { "biggystring": "^4.2.3", diff --git a/package.json b/package.json index 0b4dfef9..2adabfe2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-zcash", - "version": "0.12.1", + "version": "0.13.0", "description": "Zcash library for React Native", "homepage": "https://github.com/EdgeApp/react-native-zcash", "repository": { diff --git a/react-native-zcash.podspec b/react-native-zcash.podspec index 1084086f..32512715 100644 --- a/react-native-zcash.podspec +++ b/react-native-zcash.podspec @@ -15,20 +15,16 @@ Pod::Spec.new do |s| :git => "https://github.com/EdgeApp/react-native-zcash.git", :tag => "v#{s.version}" } + # The Zcash SDK (ZcashLightClientKit) and its Rust FFI (libzcashlc), gRPC and + # SQLite are no longer vendored into this pod. They are consumed via Swift + # Package Manager (zcash-swift-wallet-sdk), added to the host app target. This + # pod ships only the React Native bridge, which imports ZcashLightClientKit + # from the SPM-provided module. s.source_files = "ios/react-native-zcash-Bridging-Header.h", "ios/RNZcash.m", - "ios/RNZcash.swift", - "ios/zcashlc.h", - "ios/ZCashLightClientKit/**/*.swift" - s.resource_bundles = { - "zcash-mainnet" => "ios/ZCashLightClientKit/Resources/checkpoints/mainnet/*.json", - "zcash-testnet" => "ios/ZCashLightClientKit/Resources/checkpoints/testnet/*.json" - } - s.vendored_frameworks = "ios/libzcashlc.xcframework" + "ios/RNZcash.swift" s.dependency "MnemonicSwift", "~> 2.2" - s.dependency "gRPC-Swift", "~> 1.8" - s.dependency "SQLite.swift/standalone", "~> 0.14" s.dependency "React-Core" end