From e3ea98781361714b55067d1bb8189be49a7c333d Mon Sep 17 00:00:00 2001 From: spacebear Date: Fri, 27 Feb 2026 15:42:58 -0500 Subject: [PATCH 1/2] Update uniffi-bindgen-react-native to 0.30.0-1 Switch from a git commit ref to the npm-published 0.30.0-1 release. uniffi-runtime-javascript is now published on crates.io with uniffi_core 0.30 support, so the local path patch in wasm-manifest-patch.toml is no longer needed. --- payjoin-ffi/javascript/package-lock.json | 7 ++++--- payjoin-ffi/javascript/package.json | 2 +- payjoin-ffi/javascript/wasm-manifest-patch.toml | 3 --- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/payjoin-ffi/javascript/package-lock.json b/payjoin-ffi/javascript/package-lock.json index 1ce585b0b..a706b7c18 100644 --- a/payjoin-ffi/javascript/package-lock.json +++ b/payjoin-ffi/javascript/package-lock.json @@ -11,7 +11,7 @@ "prettier": "^3.6.2", "tsx": "^4.20.6", "typescript": "^5.9.3", - "uniffi-bindgen-react-native": "github:jhugman/uniffi-bindgen-react-native#93bed377c6e0b5cd7afd3fb7ee0d7211d5f294c5" + "uniffi-bindgen-react-native": "0.30.0-1" } }, "node_modules/@esbuild/aix-ppc64": { @@ -587,8 +587,9 @@ } }, "node_modules/uniffi-bindgen-react-native": { - "version": "0.29.3-1", - "resolved": "git+ssh://git@github.com/jhugman/uniffi-bindgen-react-native.git#93bed377c6e0b5cd7afd3fb7ee0d7211d5f294c5", + "version": "0.30.0-1", + "resolved": "https://registry.npmjs.org/uniffi-bindgen-react-native/-/uniffi-bindgen-react-native-0.30.0-1.tgz", + "integrity": "sha512-rffyNPTQ2qFx7deaLXYVBhXcy4pDrjtEc28Pc1Rwt532IGEQquT7eNvvLKIgX6G5xODi6Yfni1zFs5u+O2QL1A==", "dev": true, "license": "MPL-2.0", "bin": { diff --git a/payjoin-ffi/javascript/package.json b/payjoin-ffi/javascript/package.json index 9c0d3469e..85600b612 100644 --- a/payjoin-ffi/javascript/package.json +++ b/payjoin-ffi/javascript/package.json @@ -29,7 +29,7 @@ "prettier": "^3.6.2", "tsx": "^4.20.6", "typescript": "^5.9.3", - "uniffi-bindgen-react-native": "github:jhugman/uniffi-bindgen-react-native#93bed377c6e0b5cd7afd3fb7ee0d7211d5f294c5" + "uniffi-bindgen-react-native": "0.30.0-1" }, "repository": { "type": "git", diff --git a/payjoin-ffi/javascript/wasm-manifest-patch.toml b/payjoin-ffi/javascript/wasm-manifest-patch.toml index cf63fc014..f601cac33 100644 --- a/payjoin-ffi/javascript/wasm-manifest-patch.toml +++ b/payjoin-ffi/javascript/wasm-manifest-patch.toml @@ -20,6 +20,3 @@ features = ["wasm-unstable-single-threaded"] payjoin = { path = "../../../../payjoin" } payjoin-directory = { path = "../../../../payjoin-directory" } payjoin-test-utils = { path = "../../../../payjoin-test-utils" } -# uniffi-runtime-javascript is not yet published with uniffi_core 0.30 support. -# This path patch lets cargo resolve it from the installed npm package. -uniffi-runtime-javascript = { path = "../../node_modules/uniffi-bindgen-react-native/crates/uniffi-runtime-javascript" } From 190dd18e7bd151fffecf54b3f99fcff4897334d1 Mon Sep 17 00:00:00 2001 From: spacebear Date: Fri, 27 Feb 2026 15:44:07 -0500 Subject: [PATCH 2/2] Update uniffi-dart to v0.1.0+v0.30.0 Switch from a pinned rev on chavic/uniffi-dart to the tagged v0.1.0+v0.30.0 release on Uniffi-Dart/uniffi-dart. --- Cargo-minimal.lock | 8 ++++---- Cargo-recent.lock | 8 ++++---- payjoin-ffi/Cargo.toml | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo-minimal.lock b/Cargo-minimal.lock index e19304b0f..7009fcb40 100644 --- a/Cargo-minimal.lock +++ b/Cargo-minimal.lock @@ -4752,8 +4752,8 @@ dependencies = [ [[package]] name = "uniffi-dart" -version = "0.1.0" -source = "git+https://github.com/chavic/uniffi-dart.git?rev=2078791#2078791fe1f93e7a71a8a25c9934adb54d97d52e" +version = "0.1.0+v0.30.0" +source = "git+https://github.com/Uniffi-Dart/uniffi-dart.git?tag=v0.1.0%2Bv0.30.0#e3ed67f780257a5a7fae23231e13d84f931208e0" dependencies = [ "anyhow", "camino", @@ -4823,8 +4823,8 @@ dependencies = [ [[package]] name = "uniffi_dart_macro" -version = "0.1.0" -source = "git+https://github.com/chavic/uniffi-dart.git?rev=2078791#2078791fe1f93e7a71a8a25c9934adb54d97d52e" +version = "0.1.0+v0.30.0" +source = "git+https://github.com/Uniffi-Dart/uniffi-dart.git?tag=v0.1.0%2Bv0.30.0#e3ed67f780257a5a7fae23231e13d84f931208e0" dependencies = [ "futures", "proc-macro2", diff --git a/Cargo-recent.lock b/Cargo-recent.lock index e19304b0f..7009fcb40 100644 --- a/Cargo-recent.lock +++ b/Cargo-recent.lock @@ -4752,8 +4752,8 @@ dependencies = [ [[package]] name = "uniffi-dart" -version = "0.1.0" -source = "git+https://github.com/chavic/uniffi-dart.git?rev=2078791#2078791fe1f93e7a71a8a25c9934adb54d97d52e" +version = "0.1.0+v0.30.0" +source = "git+https://github.com/Uniffi-Dart/uniffi-dart.git?tag=v0.1.0%2Bv0.30.0#e3ed67f780257a5a7fae23231e13d84f931208e0" dependencies = [ "anyhow", "camino", @@ -4823,8 +4823,8 @@ dependencies = [ [[package]] name = "uniffi_dart_macro" -version = "0.1.0" -source = "git+https://github.com/chavic/uniffi-dart.git?rev=2078791#2078791fe1f93e7a71a8a25c9934adb54d97d52e" +version = "0.1.0+v0.30.0" +source = "git+https://github.com/Uniffi-Dart/uniffi-dart.git?tag=v0.1.0%2Bv0.30.0#e3ed67f780257a5a7fae23231e13d84f931208e0" dependencies = [ "futures", "proc-macro2", diff --git a/payjoin-ffi/Cargo.toml b/payjoin-ffi/Cargo.toml index 78ba7782a..942c45397 100644 --- a/payjoin-ffi/Cargo.toml +++ b/payjoin-ffi/Cargo.toml @@ -34,7 +34,7 @@ thiserror = "2.0.14" tokio = { version = "1.47.1", features = ["full"], optional = true } uniffi = { version = "0.30.0", features = ["cli"] } uniffi-bindgen-cs = { git = "https://github.com/chavic/uniffi-bindgen-cs.git", rev = "878a3d269eacce64beadcd336ade0b7c8da09824", optional = true } -uniffi-dart = { git = "https://github.com/chavic/uniffi-dart.git", rev = "2078791", optional = true } +uniffi-dart = { git = "https://github.com/Uniffi-Dart/uniffi-dart.git", tag = "v0.1.0+v0.30.0", optional = true } url = "2.5.4" # getrandom is ignored here because it's required by the wasm_js feature