Skip to content

Commit 94f5d90

Browse files
authored
Use tagged releases for uniffi dart and JS bindings (#1368)
2 parents 3647419 + 190dd18 commit 94f5d90

6 files changed

Lines changed: 14 additions & 16 deletions

File tree

Cargo-minimal.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4752,8 +4752,8 @@ dependencies = [
47524752

47534753
[[package]]
47544754
name = "uniffi-dart"
4755-
version = "0.1.0"
4756-
source = "git+https://github.com/chavic/uniffi-dart.git?rev=2078791#2078791fe1f93e7a71a8a25c9934adb54d97d52e"
4755+
version = "0.1.0+v0.30.0"
4756+
source = "git+https://github.com/Uniffi-Dart/uniffi-dart.git?tag=v0.1.0%2Bv0.30.0#e3ed67f780257a5a7fae23231e13d84f931208e0"
47574757
dependencies = [
47584758
"anyhow",
47594759
"camino",
@@ -4823,8 +4823,8 @@ dependencies = [
48234823

48244824
[[package]]
48254825
name = "uniffi_dart_macro"
4826-
version = "0.1.0"
4827-
source = "git+https://github.com/chavic/uniffi-dart.git?rev=2078791#2078791fe1f93e7a71a8a25c9934adb54d97d52e"
4826+
version = "0.1.0+v0.30.0"
4827+
source = "git+https://github.com/Uniffi-Dart/uniffi-dart.git?tag=v0.1.0%2Bv0.30.0#e3ed67f780257a5a7fae23231e13d84f931208e0"
48284828
dependencies = [
48294829
"futures",
48304830
"proc-macro2",

Cargo-recent.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4752,8 +4752,8 @@ dependencies = [
47524752

47534753
[[package]]
47544754
name = "uniffi-dart"
4755-
version = "0.1.0"
4756-
source = "git+https://github.com/chavic/uniffi-dart.git?rev=2078791#2078791fe1f93e7a71a8a25c9934adb54d97d52e"
4755+
version = "0.1.0+v0.30.0"
4756+
source = "git+https://github.com/Uniffi-Dart/uniffi-dart.git?tag=v0.1.0%2Bv0.30.0#e3ed67f780257a5a7fae23231e13d84f931208e0"
47574757
dependencies = [
47584758
"anyhow",
47594759
"camino",
@@ -4823,8 +4823,8 @@ dependencies = [
48234823

48244824
[[package]]
48254825
name = "uniffi_dart_macro"
4826-
version = "0.1.0"
4827-
source = "git+https://github.com/chavic/uniffi-dart.git?rev=2078791#2078791fe1f93e7a71a8a25c9934adb54d97d52e"
4826+
version = "0.1.0+v0.30.0"
4827+
source = "git+https://github.com/Uniffi-Dart/uniffi-dart.git?tag=v0.1.0%2Bv0.30.0#e3ed67f780257a5a7fae23231e13d84f931208e0"
48284828
dependencies = [
48294829
"futures",
48304830
"proc-macro2",

payjoin-ffi/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ thiserror = "2.0.14"
3434
tokio = { version = "1.47.1", features = ["full"], optional = true }
3535
uniffi = { version = "0.30.0", features = ["cli"] }
3636
uniffi-bindgen-cs = { git = "https://github.com/chavic/uniffi-bindgen-cs.git", rev = "878a3d269eacce64beadcd336ade0b7c8da09824", optional = true }
37-
uniffi-dart = { git = "https://github.com/chavic/uniffi-dart.git", rev = "2078791", optional = true }
37+
uniffi-dart = { git = "https://github.com/Uniffi-Dart/uniffi-dart.git", tag = "v0.1.0+v0.30.0", optional = true }
3838
url = "2.5.4"
3939

4040
# getrandom is ignored here because it's required by the wasm_js feature

payjoin-ffi/javascript/package-lock.json

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

payjoin-ffi/javascript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"prettier": "^3.6.2",
3030
"tsx": "^4.20.6",
3131
"typescript": "^5.9.3",
32-
"uniffi-bindgen-react-native": "github:jhugman/uniffi-bindgen-react-native#93bed377c6e0b5cd7afd3fb7ee0d7211d5f294c5"
32+
"uniffi-bindgen-react-native": "0.30.0-1"
3333
},
3434
"repository": {
3535
"type": "git",

payjoin-ffi/javascript/wasm-manifest-patch.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,3 @@ features = ["wasm-unstable-single-threaded"]
2020
payjoin = { path = "../../../../payjoin" }
2121
payjoin-directory = { path = "../../../../payjoin-directory" }
2222
payjoin-test-utils = { path = "../../../../payjoin-test-utils" }
23-
# uniffi-runtime-javascript is not yet published with uniffi_core 0.30 support.
24-
# This path patch lets cargo resolve it from the installed npm package.
25-
uniffi-runtime-javascript = { path = "../../node_modules/uniffi-bindgen-react-native/crates/uniffi-runtime-javascript" }

0 commit comments

Comments
 (0)