@qntx/nostr-native 0.15.1 → 0.15.2
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.
package/NostrNative.podspec
CHANGED
|
@@ -16,6 +16,9 @@ Pod::Spec.new do |s|
|
|
|
16
16
|
s.source_files = [
|
|
17
17
|
# Implementation (C core + C++ HybridObject)
|
|
18
18
|
"cpp/**/*.{h,hpp,c,cpp}",
|
|
19
|
+
# The public C ABI — consumers resolve "nostr_native.h" through the pod's
|
|
20
|
+
# public headers; it is the only header exported to dependents.
|
|
21
|
+
"include/**/*.h",
|
|
19
22
|
# Vendored libsecp256k1: headers plus the two precomputed-table TUs. secp256k1.c is
|
|
20
23
|
# intentionally not here — cpp/nostr_core.c includes it as a single translation unit.
|
|
21
24
|
"vendor/secp256k1/include/**/*.h",
|
|
@@ -24,6 +27,8 @@ Pod::Spec.new do |s|
|
|
|
24
27
|
"vendor/secp256k1/src/precomputed_ecmult_gen.c",
|
|
25
28
|
]
|
|
26
29
|
|
|
30
|
+
s.public_header_files = "include/nostr_native.h"
|
|
31
|
+
|
|
27
32
|
s.pod_target_xcconfig = {
|
|
28
33
|
"GCC_PREPROCESSOR_DEFINITIONS" => "$(inherited) ENABLE_MODULE_ECDH=1 ENABLE_MODULE_EXTRAKEYS=1 ENABLE_MODULE_SCHNORRSIG=1",
|
|
29
34
|
}
|
package/android/CMakeLists.txt
CHANGED
package/android/build.gradle
CHANGED
|
@@ -90,7 +90,16 @@ android {
|
|
|
90
90
|
|
|
91
91
|
buildFeatures {
|
|
92
92
|
buildConfig = true
|
|
93
|
+
// Consumes dependency prefabs (fbjni/ReactAndroid/Nitro) and publishes the
|
|
94
|
+
// built library itself so sibling packages can find_package(NostrNative).
|
|
93
95
|
prefab = true
|
|
96
|
+
prefabPublishing = true
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
prefab {
|
|
100
|
+
NostrNative {
|
|
101
|
+
headers "../include"
|
|
102
|
+
}
|
|
94
103
|
}
|
|
95
104
|
|
|
96
105
|
buildTypes {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qntx/nostr-native",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.2",
|
|
4
4
|
"description": "Native libsecp256k1 (Nitro) verification and signing backend for @qntx/nostr on React Native",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bip340",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"files": [
|
|
24
24
|
"dist",
|
|
25
25
|
"cpp",
|
|
26
|
+
"include",
|
|
26
27
|
"android/build.gradle",
|
|
27
28
|
"android/CMakeLists.txt",
|
|
28
29
|
"android/gradle.properties",
|
|
@@ -61,7 +62,7 @@
|
|
|
61
62
|
"@arethetypeswrong/cli": "0.18.5",
|
|
62
63
|
"@noble/curves": "2.4.0",
|
|
63
64
|
"@noble/hashes": "2.4.0",
|
|
64
|
-
"@qntx/nostr": "0.15.
|
|
65
|
+
"@qntx/nostr": "0.15.2",
|
|
65
66
|
"@qntx/tsconfig": "1.0.1",
|
|
66
67
|
"@types/node": "26.6.5",
|
|
67
68
|
"nitrogen": "0.37.1",
|
|
@@ -71,7 +72,7 @@
|
|
|
71
72
|
"vite-plus": "1.3.0"
|
|
72
73
|
},
|
|
73
74
|
"peerDependencies": {
|
|
74
|
-
"@qntx/nostr": "^0.15.
|
|
75
|
+
"@qntx/nostr": "^0.15.2",
|
|
75
76
|
"react-native": "*",
|
|
76
77
|
"react-native-nitro-modules": "^0.37.1"
|
|
77
78
|
},
|
|
File without changes
|