From c48870749c509bc36a283e9b49ecfbf78ebc0b4d Mon Sep 17 00:00:00 2001 From: 22388o <22388o@users.noreply.github.com> Date: Fri, 10 Jan 2025 07:54:37 -0300 Subject: [PATCH] release v1.0.5-alpha --- Cargo.lock | 2 +- Cargo.toml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- src/lib.rs | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2ad19fa..6eb1812 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -341,7 +341,7 @@ dependencies = [ [[package]] name = "rus-payjoin-rn" -version = "0.1.0" +version = "0.1.1" dependencies = [ "payjoin", ] diff --git a/Cargo.toml b/Cargo.toml index 97fef96..ae4492c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rus-payjoin-rn" -version = "0.1.0" +version = "0.1.1" edition = "2021" [dependencies] diff --git a/package-lock.json b/package-lock.json index aca80e5..bf2412c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "payjoin-react-native", - "version": "1.0.4-alpha", + "version": "1.0.5-alpha", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "payjoin-react-native", - "version": "1.0.4-alpha", + "version": "1.0.5-alpha", "license": "MIT", "dependencies": { "axios": "^1.7.9", diff --git a/package.json b/package.json index 361eb7b..094f588 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "payjoin-react-native", - "version": "1.0.4-alpha", + "version": "1.0.5-alpha", "description": "Library to Payjoin written in react native", "main": "index.ts", "scripts": { diff --git a/src/lib.rs b/src/lib.rs index fdd1e6d..ca63543 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,7 +9,7 @@ fn main() { .expect("Failed to parse URL"); // Convert URL to PjUri - let pjuri = PjUri::from(&url).expect("Failed to create PjUri from URL"); + let pjuri = PjUri::from(&url).amount.label.message.expect("Failed to create PjUri from URL"); // Convert PjUri to string let pjuri_str = pjuri.to_string();