From 8aed397ab3029ea10ec4be1160ad92632f738f62 Mon Sep 17 00:00:00 2001 From: Matthew Mitchell Date: Mon, 7 Aug 2023 12:58:44 +0100 Subject: [PATCH] Use coinlib package for coinlib_flutter --- coinlib_flutter/example/pubspec.lock | 15 ++++++++------- coinlib_flutter/ios/coinlib_flutter.podspec | 2 +- coinlib_flutter/macos/coinlib_flutter.podspec | 2 +- coinlib_flutter/pubspec.yaml | 11 +++-------- 4 files changed, 13 insertions(+), 17 deletions(-) diff --git a/coinlib_flutter/example/pubspec.lock b/coinlib_flutter/example/pubspec.lock index b65a03d..9e02800 100644 --- a/coinlib_flutter/example/pubspec.lock +++ b/coinlib_flutter/example/pubspec.lock @@ -36,9 +36,10 @@ packages: coinlib: dependency: transitive description: - path: "../../coinlib" - relative: true - source: path + name: coinlib + sha256: "762ec36b0bbcc3dd19a83e2fef7e0eb773cabccd08e1bef9ce28c6fd32a34ae4" + url: "https://pub.dev" + source: hosted version: "1.0.0-alpha" coinlib_flutter: dependency: "direct main" @@ -67,10 +68,10 @@ packages: dependency: transitive description: name: crypto - sha256: aa274aa7774f8964e4f4f38cc994db7b6158dd36e9187aaceaddc994b35c6c67 + sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "3.0.3" cupertino_icons: dependency: "direct main" description: @@ -250,10 +251,10 @@ packages: dependency: transitive description: name: typed_data - sha256: "26f87ade979c47a150c9eaab93ccd2bebe70a27dc0b4b29517f2904f04eb11a5" + sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c url: "https://pub.dev" source: hosted - version: "1.3.1" + version: "1.3.2" vector_math: dependency: transitive description: diff --git a/coinlib_flutter/ios/coinlib_flutter.podspec b/coinlib_flutter/ios/coinlib_flutter.podspec index 84ff950..c2b3201 100644 --- a/coinlib_flutter/ios/coinlib_flutter.podspec +++ b/coinlib_flutter/ios/coinlib_flutter.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |s| s.name = 'coinlib_flutter' s.module_name = 'secp256k1' - s.version = '0.2.0' + s.version = '0.3.1' s.summary = 'Cryptographic primitives from the secp256k1 library' s.description = <<-DESC The secp256k1 library bundled into the flutter plugin via cocoapods. diff --git a/coinlib_flutter/macos/coinlib_flutter.podspec b/coinlib_flutter/macos/coinlib_flutter.podspec index a76e3bb..d44680b 100644 --- a/coinlib_flutter/macos/coinlib_flutter.podspec +++ b/coinlib_flutter/macos/coinlib_flutter.podspec @@ -5,7 +5,7 @@ Pod::Spec.new do |s| s.name = 'coinlib_flutter' s.module_name = 'secp256k1' - s.version = '0.2.0' + s.version = '0.3.1' s.summary = 'Cryptographic primitives from the secp256k1 library' s.description = <<-DESC The secp256k1 library bundled into the flutter plugin via cocoapods. diff --git a/coinlib_flutter/pubspec.yaml b/coinlib_flutter/pubspec.yaml index 5bb25f3..2aaa55c 100644 --- a/coinlib_flutter/pubspec.yaml +++ b/coinlib_flutter/pubspec.yaml @@ -1,21 +1,17 @@ name: coinlib_flutter description: A flutter wrapper for coinlib version: 1.0.0-alpha -homepage: -# Remove when publishing -publish_to: none +repository: https://github.com/peercoin/coinlib environment: - sdk: '>=2.19.2 <3.0.0' + sdk: '>=2.19.2 <4.0.0' flutter: ">=2.17.0" dependencies: + coinlib: ^1.0.0-alpha flutter: sdk: flutter plugin_platform_interface: ^2.0.2 - # TODO: Reference published coinlib package when it has been - coinlib: - path: ../coinlib dev_dependencies: flutter_test: @@ -29,7 +25,6 @@ flutter: ffiPlugin: true android: ffiPlugin: true - # TODO: These are not provided yet ios: ffiPlugin: true macos: