From 3a809745972aebb45eaf7b4bae1f77be1f1bce81 Mon Sep 17 00:00:00 2001 From: Roei Erez Date: Thu, 20 Jul 2023 15:36:47 +0300 Subject: [PATCH] upgrade version to 0.1.4 --- libs/Cargo.lock | 4 +- libs/Cargo.toml | 2 +- libs/sdk-flutter/pubspec.yaml | 2 +- libs/sdk-react-native/package.json | 312 ++++++++++++++--------------- tools/sdk-cli/Cargo.lock | 34 +--- tools/sdk-cli/Cargo.toml | 2 +- 6 files changed, 166 insertions(+), 190 deletions(-) diff --git a/libs/Cargo.lock b/libs/Cargo.lock index 4eaa0c138..1a22daadc 100644 --- a/libs/Cargo.lock +++ b/libs/Cargo.lock @@ -461,7 +461,7 @@ dependencies = [ [[package]] name = "breez-sdk-core" -version = "0.1.2" +version = "0.1.4" dependencies = [ "aes", "anyhow", @@ -506,7 +506,7 @@ dependencies = [ [[package]] name = "breez_sdk" -version = "0.1.2" +version = "0.1.4" dependencies = [ "anyhow", "breez-sdk-core", diff --git a/libs/Cargo.toml b/libs/Cargo.toml index 30edd747b..9b5931bf7 100644 --- a/libs/Cargo.toml +++ b/libs/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.1.2" +version = "0.1.4" [workspace.dependencies] uniffi = "0.23.0" diff --git a/libs/sdk-flutter/pubspec.yaml b/libs/sdk-flutter/pubspec.yaml index 1688cc25e..5d3d6591a 100644 --- a/libs/sdk-flutter/pubspec.yaml +++ b/libs/sdk-flutter/pubspec.yaml @@ -1,6 +1,6 @@ name: breez_sdk description: A new flutter plugin project. -version: 0.0.4 +version: 0.1.4 publish_to: none environment: diff --git a/libs/sdk-react-native/package.json b/libs/sdk-react-native/package.json index bc351c316..973c04281 100644 --- a/libs/sdk-react-native/package.json +++ b/libs/sdk-react-native/package.json @@ -1,158 +1,158 @@ { - "name": "@breeztech/react-native-breez-sdk", - "version": "0.1.1", - "description": "React Native Breez SDK", - "main": "lib/commonjs/index", - "module": "lib/module/index", - "types": "lib/typescript/index.d.ts", - "react-native": "src/index", - "source": "src/index", - "files": [ - "src", - "lib", - "android", - "ios", - "breez_sdk.podspec", - "!PUBLISHING.md", - "!example", - "!lib/typescript/example", - "!android/.gradle", - "!android/.idea", - "!android/build", - "!ios/build", - "!**/__tests__", - "!**/__fixtures__", - "!**/__mocks__" - ], - "scripts": { - "test": "jest", - "typescript": "tsc --noEmit", - "lint": "eslint \"**/*.{js,ts,tsx}\"", - "prepare": "bob build", - "release": "release-it", - "example": "yarn --cwd example", - "pods": "cd example/ios && pod install", - "bootstrap": "rm -rf node_modules && rm -rf example/node_modules && yarn && yarn example && yarn pods" - }, - "keywords": [ - "react-native", - "ios", - "android", - "breez", - "breez-sdk", - "lightning", - "bitcoin", - "lnurl" - ], - "repository": "https://github.com/breez/breez-sdk", - "author": "Ross Savage (https://github.com/satimoto)", - "license": "MIT", - "bugs": { - "url": "https://github.com/breez/breez-sdk/issues" - }, - "homepage": "https://breez.technology", - "publishConfig": { - "registry": "https://registry.npmjs.org/" - }, - "devDependencies": { - "@commitlint/config-conventional": "^11.0.0", - "@react-native-community/eslint-config": "^2.0.0", - "@release-it/conventional-changelog": "^2.0.0", - "@types/jest": "^26.0.0", - "@types/react": "^16.9.19", - "@types/react-native": "0.62.13", - "commitlint": "^11.0.0", - "eslint": "^7.2.0", - "eslint-config-prettier": "^7.0.0", - "eslint-plugin-prettier": "^3.1.3", - "husky": "^6.0.0", - "jest": "^26.0.1", - "pod-install": "^0.1.0", - "prettier": "^2.0.5", - "react": "17.0.2", - "react-native": "0.68.6", - "react-native-builder-bob": "^0.18.0", - "release-it": "^14.2.2", - "typescript": "^4.1.3" - }, - "peerDependencies": { - "react": "*", - "react-native": "*" - }, - "jest": { - "preset": "react-native", - "modulePathIgnorePatterns": [ - "/example/node_modules", - "/lib/" - ] - }, - "commitlint": { - "extends": [ - "@commitlint/config-conventional" - ] - }, - "release-it": { - "git": { - "commitMessage": "chore: release ${version}", - "tagName": "v${version}" - }, - "npm": { - "publish": true - }, - "github": { - "release": true - }, - "plugins": { - "@release-it/conventional-changelog": { - "preset": "angular" - } - } - }, - "eslintConfig": { - "root": true, - "extends": [ - "@react-native-community", - "prettier" - ], - "rules": { - "prettier/prettier": [ - "error", - { - "endOfLine": "lf", - "printWidth": 150, - "semi": false, - "singleQuote": false, - "tabWidth": 4, - "trailingComma": "none" - } - ] - } - }, - "eslintIgnore": [ - "node_modules/", - "lib/" - ], - "prettier": { - "endOfLine": "lf", - "printWidth": 150, - "semi": false, - "singleQuote": false, - "tabWidth": 4, - "trailingComma": "none" - }, - "react-native-builder-bob": { - "source": "src", - "output": "lib", - "targets": [ - "commonjs", - "module", - [ - "typescript", - { - "project": "tsconfig.build.json" - } - ] - ] - }, - "dependencies": {} + "name": "@breeztech/react-native-breez-sdk", + "version": "0.1.4", + "description": "React Native Breez SDK", + "main": "lib/commonjs/index", + "module": "lib/module/index", + "types": "lib/typescript/index.d.ts", + "react-native": "src/index", + "source": "src/index", + "files": [ + "src", + "lib", + "android", + "ios", + "breez_sdk.podspec", + "!PUBLISHING.md", + "!example", + "!lib/typescript/example", + "!android/.gradle", + "!android/.idea", + "!android/build", + "!ios/build", + "!**/__tests__", + "!**/__fixtures__", + "!**/__mocks__" + ], + "scripts": { + "test": "jest", + "typescript": "tsc --noEmit", + "lint": "eslint \"**/*.{js,ts,tsx}\"", + "prepare": "bob build", + "release": "release-it", + "example": "yarn --cwd example", + "pods": "cd example/ios && pod install", + "bootstrap": "rm -rf node_modules && rm -rf example/node_modules && yarn && yarn example && yarn pods" + }, + "keywords": [ + "react-native", + "ios", + "android", + "breez", + "breez-sdk", + "lightning", + "bitcoin", + "lnurl" + ], + "repository": "https://github.com/breez/breez-sdk", + "author": "Ross Savage (https://github.com/satimoto)", + "license": "MIT", + "bugs": { + "url": "https://github.com/breez/breez-sdk/issues" + }, + "homepage": "https://breez.technology", + "publishConfig": { + "registry": "https://registry.npmjs.org/" + }, + "devDependencies": { + "@commitlint/config-conventional": "^11.0.0", + "@react-native-community/eslint-config": "^2.0.0", + "@release-it/conventional-changelog": "^2.0.0", + "@types/jest": "^26.0.0", + "@types/react": "^16.9.19", + "@types/react-native": "0.62.13", + "commitlint": "^11.0.0", + "eslint": "^7.2.0", + "eslint-config-prettier": "^7.0.0", + "eslint-plugin-prettier": "^3.1.3", + "husky": "^6.0.0", + "jest": "^26.0.1", + "pod-install": "^0.1.0", + "prettier": "^2.0.5", + "react": "17.0.2", + "react-native": "0.68.6", + "react-native-builder-bob": "^0.18.0", + "release-it": "^14.2.2", + "typescript": "^4.1.3" + }, + "peerDependencies": { + "react": "*", + "react-native": "*" + }, + "jest": { + "preset": "react-native", + "modulePathIgnorePatterns": [ + "/example/node_modules", + "/lib/" + ] + }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ] + }, + "release-it": { + "git": { + "commitMessage": "chore: release ${version}", + "tagName": "v${version}" + }, + "npm": { + "publish": true + }, + "github": { + "release": true + }, + "plugins": { + "@release-it/conventional-changelog": { + "preset": "angular" + } + } + }, + "eslintConfig": { + "root": true, + "extends": [ + "@react-native-community", + "prettier" + ], + "rules": { + "prettier/prettier": [ + "error", + { + "endOfLine": "lf", + "printWidth": 150, + "semi": false, + "singleQuote": false, + "tabWidth": 4, + "trailingComma": "none" + } + ] + } + }, + "eslintIgnore": [ + "node_modules/", + "lib/" + ], + "prettier": { + "endOfLine": "lf", + "printWidth": 150, + "semi": false, + "singleQuote": false, + "tabWidth": 4, + "trailingComma": "none" + }, + "react-native-builder-bob": { + "source": "src", + "output": "lib", + "targets": [ + "commonjs", + "module", + [ + "typescript", + { + "project": "tsconfig.build.json" + } + ] + ] + }, + "dependencies": {} } \ No newline at end of file diff --git a/tools/sdk-cli/Cargo.lock b/tools/sdk-cli/Cargo.lock index 409f006f2..f4e477ba7 100644 --- a/tools/sdk-cli/Cargo.lock +++ b/tools/sdk-cli/Cargo.lock @@ -391,12 +391,12 @@ dependencies = [ [[package]] name = "breez-sdk-cli" -version = "0.1.0" +version = "0.1.4" dependencies = [ "anyhow", "breez-sdk-core", "clap", - "env_logger 0.10.0", + "env_logger", "hex", "log", "once_cell", @@ -410,7 +410,7 @@ dependencies = [ [[package]] name = "breez-sdk-core" -version = "0.1.0" +version = "0.1.4" dependencies = [ "aes", "anyhow", @@ -442,6 +442,7 @@ dependencies = [ "strum", "strum_macros", "tempfile", + "thiserror", "tiny-bip39", "tokio", "tonic", @@ -864,19 +865,6 @@ dependencies = [ "termcolor", ] -[[package]] -name = "env_logger" -version = "0.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "85cdab6a89accf66733ad5a1693a4dcced6aeff64602b634530dd73c1f3ee9f0" -dependencies = [ - "humantime", - "is-terminal", - "log", - "regex", - "termcolor", -] - [[package]] name = "errno" version = "0.3.1" @@ -1423,18 +1411,6 @@ version = "2.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "12b6ee2129af8d4fb011108c73d99a1b83a85977f23b82460c0ae2e25bb4b57f" -[[package]] -name = "is-terminal" -version = "0.4.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f" -dependencies = [ - "hermit-abi 0.3.1", - "io-lifetimes", - "rustix", - "windows-sys 0.48.0", -] - [[package]] name = "itertools" version = "0.10.5" @@ -3115,7 +3091,7 @@ dependencies = [ "backtrace", "bitcoin", "bolt-derive", - "env_logger 0.9.3", + "env_logger", "hashbrown 0.8.2", "hex", "itertools", diff --git a/tools/sdk-cli/Cargo.toml b/tools/sdk-cli/Cargo.toml index 992c81165..ea8a82ce8 100644 --- a/tools/sdk-cli/Cargo.toml +++ b/tools/sdk-cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "breez-sdk-cli" -version = "0.1.0" +version = "0.1.4" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html