@qntx/wallet-native 0.5.2 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,20 +14,10 @@ def reactNativeArchitectures() {
14
14
  return value ? value.split(",") : ["x86", "x86_64", "armeabi-v7a", "arm64-v8a"]
15
15
  }
16
16
 
17
- def isNewArchitectureEnabled() {
18
- return rootProject.hasProperty("newArchEnabled") && rootProject.getProperty("newArchEnabled") == "true"
19
- }
20
-
21
17
  apply plugin: "com.android.library"
22
18
  apply plugin: 'org.jetbrains.kotlin.android'
23
19
  apply from: '../nitrogen/generated/android/WalletNative+autolinking.gradle'
24
20
 
25
- if (isNewArchitectureEnabled()) {
26
- apply plugin: "com.facebook.react"
27
-
28
-
29
- }
30
-
31
21
  def getExtOrDefault(name) {
32
22
  return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties["WalletNative_" + name]
33
23
  }
@@ -133,23 +123,12 @@ android {
133
123
  targetCompatibility JavaVersion.VERSION_1_8
134
124
  }
135
125
 
136
- sourceSets {
137
- main {
138
- if (isNewArchitectureEnabled()) {
139
- java.srcDirs += [
140
- "${project.buildDir}/generated/source/codegen/java"
141
- ]
142
- }
143
- }
144
- }
145
126
  }
146
127
 
147
128
  dependencies {
148
- // For > 0.71, this is replaced by `com.facebook.react:react-android:$version` by the React
149
- // gradle plugin — it supplies the fbjni/ReactAndroid prefab packages the generated CMake
150
- // autolinking file finds with find_package.
151
- //noinspection GradleDynamicVersion
152
- implementation "com.facebook.react:react-native:+"
129
+ // The app's React Native Gradle plugin pins the version; the prefab packages (fbjni, ReactAndroid)
130
+ // are what the generated CMake autolinking file finds with find_package.
131
+ implementation "com.facebook.react:react-android"
153
132
 
154
133
  // Hermes engine prefab — the kernel runtime links hermesvm/libhermes
155
134
  implementation "com.facebook.react:hermes-android"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qntx/wallet-native",
3
- "version": "0.5.2",
3
+ "version": "0.6.0",
4
4
  "description": "Native kernel runtime host for the qntx wallet — CBOR transport, KernelHost adapter and createNativeWallet",
5
5
  "license": "MIT OR Apache-2.0",
6
6
  "author": "QuantX <x@qntx.org>",
@@ -60,7 +60,7 @@
60
60
  "peerDependencies": {
61
61
  "@qntx/nostr-native": "0.15.3",
62
62
  "@qntx/spark-native": "0.5.2",
63
- "@qntx/wallet": "0.5.2",
63
+ "@qntx/wallet": "0.6.0",
64
64
  "react-native": "~0.88.0",
65
65
  "react-native-nitro-modules": "~0.37.1"
66
66
  }