@breeztech/breez-sdk-spark-react-native 0.20.0-dev1 → 0.21.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.
- package/BreezSdkSparkReactNative.podspec +6 -0
- package/cpp/generated/breez_sdk_spark.cpp +168 -11
- package/cpp/generated/breez_sdk_spark.hpp +21 -0
- package/lib/commonjs/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/commonjs/generated/breez_sdk_spark.js +225 -35
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/commonjs/passkey-prf-provider.js +31 -11
- package/lib/commonjs/passkey-prf-provider.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark-ffi.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +224 -34
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/passkey-prf-provider.js +31 -11
- package/lib/module/passkey-prf-provider.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts +8 -2
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts +811 -26
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/passkey-prf-provider.d.ts +24 -6
- package/lib/typescript/commonjs/src/passkey-prf-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts +8 -2
- package/lib/typescript/module/src/generated/breez_sdk_spark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts +811 -26
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/module/src/passkey-prf-provider.d.ts +24 -6
- package/lib/typescript/module/src/passkey-prf-provider.d.ts.map +1 -1
- package/package.json +4 -4
- package/plugin/build/index.d.ts +1 -1
- package/plugin/build/index.js +3 -1
- package/plugin/build/withAndroid.d.ts +1 -1
- package/plugin/build/withAndroid.js +1 -1
- package/plugin/build/withBinaryArtifacts.d.ts +1 -1
- package/plugin/build/withBinaryArtifacts.js +1 -1
- package/plugin/build/withIOS.d.ts +1 -1
- package/plugin/build/withIOS.js +1 -1
- package/scripts/post-ubrn.js +42 -0
- package/src/generated/breez_sdk_spark-ffi.ts +18 -1
- package/src/generated/breez_sdk_spark.ts +1303 -36
- package/src/passkey-prf-provider.ts +41 -12
|
@@ -13,6 +13,20 @@ export interface PasskeyCredential {
|
|
|
13
13
|
aaguid: Uint8Array | null;
|
|
14
14
|
backupEligible: boolean | null;
|
|
15
15
|
}
|
|
16
|
+
/**
|
|
17
|
+
* Result of {@link PasskeyProvider.createPasskey}: the new credential, plus
|
|
18
|
+
* the PRF outputs when the authenticator evaluated them during the create
|
|
19
|
+
* ceremony. `seeds` null means it did not, so the caller derives through
|
|
20
|
+
* {@link PasskeyProvider.deriveSeeds}.
|
|
21
|
+
*
|
|
22
|
+
* Seeds returned here must equal what `deriveSeeds` returns for the same
|
|
23
|
+
* salts: the wallet is derived from them either way, so a mismatch means
|
|
24
|
+
* register and sign-in land on different wallets.
|
|
25
|
+
*/
|
|
26
|
+
export interface CreatePasskeyOutput {
|
|
27
|
+
credential: PasskeyCredential;
|
|
28
|
+
seeds: Uint8Array[] | null;
|
|
29
|
+
}
|
|
16
30
|
/**
|
|
17
31
|
* Result of {@link PasskeyProvider.checkDomainAssociation}. Switch on `kind`
|
|
18
32
|
* to handle each outcome.
|
|
@@ -75,13 +89,17 @@ export declare class PasskeyProvider {
|
|
|
75
89
|
credentialId?: Uint8Array;
|
|
76
90
|
}>;
|
|
77
91
|
/**
|
|
78
|
-
* Register a new PRF-capable passkey
|
|
79
|
-
*
|
|
80
|
-
* `
|
|
81
|
-
*
|
|
82
|
-
*
|
|
92
|
+
* Register a new PRF-capable passkey. `excludeCredentials` blocks
|
|
93
|
+
* re-registering a device that already holds a credential, surfaced as a
|
|
94
|
+
* `credentialAlreadyExists` failure. The returned user handle is minted
|
|
95
|
+
* fresh per call (never host-supplied).
|
|
96
|
+
*
|
|
97
|
+
* Asking the create ceremony to evaluate PRF for `salts` removes the
|
|
98
|
+
* assertion that would otherwise follow it. `seeds` is null when the
|
|
99
|
+
* authenticator reported PRF support without evaluating, or returned
|
|
100
|
+
* fewer outputs than salts; the caller then derives as before.
|
|
83
101
|
*/
|
|
84
|
-
createPasskey(excludeCredentials?: Uint8Array[]): Promise<
|
|
102
|
+
createPasskey(excludeCredentials?: Uint8Array[], salts?: string[]): Promise<CreatePasskeyOutput>;
|
|
85
103
|
/** Whether this device supports passkeys with the PRF extension. */
|
|
86
104
|
isSupported(): Promise<boolean>;
|
|
87
105
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"passkey-prf-provider.d.ts","sourceRoot":"","sources":["../../../../src/passkey-prf-provider.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,IAAI,gBAAgB,EACjC,sBAAsB,EACtB,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,6BAA6B,CAAC;AAwCrC;;;;;;;GAOG;AACH,MAAM,WAAW,iBAAiB;IAChC,YAAY,EAAE,UAAU,CAAC;IACzB,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAC1B,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAC1B,cAAc,EAAE,OAAO,GAAG,IAAI,CAAC;CAChC;AAED;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GACzB;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,GACtB;IAAE,IAAI,EAAE,eAAe,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACzD;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AAExC;;;;;;GAMG;AACH,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,QAAQ,CAAC,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O,CAAC,OAAO,CAAC;IAQrC;;;;OAIG;IACG,sBAAsB,IAAI,OAAO,CAAC,iBAAiB,CAAC;CA6B3D;AAqBD;;;;GAIG;AACH,qBAAa,oBAAoB;IAY7B,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAC;IAC7B,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC;IAZ1B,OAAO,CAAC,QAAQ,CAAC,CAAc;IAE/B;;;;;;;OAOG;gBAEgB,WAAW,CAAC,EAAE,MAAM,YAAA,EACpB,MAAM,CAAC,EAAE,aAAa,YAAA;IAGzC;;;;;OAKG;IACH,eAAe,CAAC,QAAQ,EAAE,WAAW,GAAG,IAAI;IAK5C;;;;OAIG;IACH,KAAK,IAAI,gBAAgB;CAU1B;AAUD;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE;IAC1B,KAAK,WAAW,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,aAAa,GAAG,gBAAgB,CAAC;CAGtE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breeztech/breez-sdk-spark-react-native",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"description": "React Native bindings for the Breez SDK - Nodeless (Spark Implementation)",
|
|
5
5
|
"source": "./src/index.tsx",
|
|
6
6
|
"main": "./lib/commonjs/index.js",
|
|
@@ -99,7 +99,6 @@
|
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
101
|
"@commitlint/config-conventional": "^17.0.2",
|
|
102
|
-
"@expo/config-plugins": "^8.0.0",
|
|
103
102
|
"@react-native-community/cli": "15.0.1",
|
|
104
103
|
"@react-native/eslint-config": "^0.73.1",
|
|
105
104
|
"@release-it/conventional-changelog": "^9.0.2",
|
|
@@ -110,6 +109,7 @@
|
|
|
110
109
|
"eslint": "^8.51.0",
|
|
111
110
|
"eslint-config-prettier": "^9.0.0",
|
|
112
111
|
"eslint-plugin-prettier": "^5.0.1",
|
|
112
|
+
"expo": "^56.0.0",
|
|
113
113
|
"expo-module-scripts": "^3.5.0",
|
|
114
114
|
"jest": "^29.7.0",
|
|
115
115
|
"patch-package": "^8.0.0",
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
"version": "0.49.0"
|
|
210
210
|
},
|
|
211
211
|
"checksums": {
|
|
212
|
-
"android": "
|
|
213
|
-
"ios": "
|
|
212
|
+
"android": "ae83553d8bec3229c120d13ad13850715d426c80fa6b255bf1d1ecd8c9beb895",
|
|
213
|
+
"ios": "0f9ff4edda8e2c8147f2f2bbda79e07458f9180774edcf34e59661586951e2f4"
|
|
214
214
|
}
|
|
215
215
|
}
|
package/plugin/build/index.d.ts
CHANGED
package/plugin/build/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
3
|
+
// `@expo/config-plugins` is nested under `expo/` from SDK 56 onward and is not
|
|
4
|
+
// resolvable from this package. `expo/config-plugins` re-exports it.
|
|
5
|
+
const config_plugins_1 = require("expo/config-plugins");
|
|
4
6
|
const withBinaryArtifacts_1 = require("./withBinaryArtifacts");
|
|
5
7
|
const withAndroid_1 = require("./withAndroid");
|
|
6
8
|
const withIOS_1 = require("./withIOS");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.withBreezSdkAndroid = void 0;
|
|
4
|
-
const config_plugins_1 = require("
|
|
4
|
+
const config_plugins_1 = require("expo/config-plugins");
|
|
5
5
|
/**
|
|
6
6
|
* Add required configurations to gradle.properties
|
|
7
7
|
*/
|
|
@@ -34,7 +34,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.withBinaryArtifacts = void 0;
|
|
37
|
-
const config_plugins_1 = require("
|
|
37
|
+
const config_plugins_1 = require("expo/config-plugins");
|
|
38
38
|
const path = __importStar(require("path"));
|
|
39
39
|
const fs = __importStar(require("fs"));
|
|
40
40
|
const child_process_1 = require("child_process");
|
package/plugin/build/withIOS.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.withBreezSdkIOS = void 0;
|
|
4
|
-
const config_plugins_1 = require("
|
|
4
|
+
const config_plugins_1 = require("expo/config-plugins");
|
|
5
5
|
/**
|
|
6
6
|
* Configure iOS build settings for Breez SDK
|
|
7
7
|
* The podspec already defines the minimum iOS version via min_ios_version_supported
|
package/scripts/post-ubrn.js
CHANGED
|
@@ -20,6 +20,12 @@
|
|
|
20
20
|
* - register BreezSdkSparkPasskeyModule alongside the generated
|
|
21
21
|
* UniFFI TurboModule so React Native can find it at runtime
|
|
22
22
|
*
|
|
23
|
+
* 3. BreezSdkSparkReactNative.podspec
|
|
24
|
+
* - narrow `public_header_files` to the ObjC PRF helper. The pod
|
|
25
|
+
* gained Swift with the passkey provider, so CocoaPods now builds
|
|
26
|
+
* an ObjC module from the umbrella header, and the generated C++
|
|
27
|
+
* and ObjC++ headers cannot be parsed as ObjC
|
|
28
|
+
*
|
|
23
29
|
* The PasskeyProvider class is exposed via a subpath export
|
|
24
30
|
* (`@breeztech/breez-sdk-spark-react-native/passkey-prf-provider`) declared
|
|
25
31
|
* in package.json `exports`, so no edit to the generated `src/index.tsx`
|
|
@@ -196,6 +202,42 @@ patchFile(
|
|
|
196
202
|
}
|
|
197
203
|
);
|
|
198
204
|
|
|
205
|
+
// ---------------------------------------------------------------------------
|
|
206
|
+
// 3. BreezSdkSparkReactNative.podspec
|
|
207
|
+
// ---------------------------------------------------------------------------
|
|
208
|
+
|
|
209
|
+
patchFile(
|
|
210
|
+
'BreezSdkSparkReactNative.podspec',
|
|
211
|
+
'public_header_files (keep C++ out of the ObjC umbrella)',
|
|
212
|
+
(content, label, relPath) => {
|
|
213
|
+
const declaration = ' s.public_header_files = "ios/PasskeyPRFHelper.h"';
|
|
214
|
+
if (content.includes(declaration)) {
|
|
215
|
+
return content;
|
|
216
|
+
}
|
|
217
|
+
// Any other value silently re-widens the umbrella, so refuse to inject a
|
|
218
|
+
// second, conflicting assignment.
|
|
219
|
+
if (/^\s*s\.public_header_files\s*=/m.test(content)) {
|
|
220
|
+
throw new Error(
|
|
221
|
+
`podspec already declares s.public_header_files with an unexpected ` +
|
|
222
|
+
`value. The pod contains Swift, so its umbrella must stay ObjC-only. ` +
|
|
223
|
+
`Reconcile by hand before regenerating.`
|
|
224
|
+
);
|
|
225
|
+
}
|
|
226
|
+
const anchor = ' s.vendored_frameworks = "build/RnBreezSdkSpark.xcframework"';
|
|
227
|
+
requireAnchor(content, anchor, label, relPath);
|
|
228
|
+
const injected = [
|
|
229
|
+
' # The pod contains Swift, so CocoaPods builds an ObjC module from the umbrella',
|
|
230
|
+
' # header, which is parsed as ObjC and not ObjC++. Every other header here is',
|
|
231
|
+
' # C++ or reaches it transitively (BreezSdkSparkReactNative.h imports the',
|
|
232
|
+
' # ObjC++ codegen spec under RCT_NEW_ARCH_ENABLED), so only the helper the',
|
|
233
|
+
' # Swift sources need is public.',
|
|
234
|
+
declaration,
|
|
235
|
+
anchor,
|
|
236
|
+
].join('\n');
|
|
237
|
+
return content.replace(anchor, injected);
|
|
238
|
+
}
|
|
239
|
+
);
|
|
240
|
+
|
|
199
241
|
if (errors.length > 0) {
|
|
200
242
|
console.error('');
|
|
201
243
|
console.error(`[post-ubrn] ${errors.length} patch(es) failed:`);
|
|
@@ -82,6 +82,10 @@ interface NativeModuleInterface {
|
|
|
82
82
|
ptr: bigint,
|
|
83
83
|
request: Uint8Array
|
|
84
84
|
): bigint;
|
|
85
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_build_unsigned_batch_package(
|
|
86
|
+
ptr: bigint,
|
|
87
|
+
request: Uint8Array
|
|
88
|
+
): bigint;
|
|
85
89
|
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_build_unsigned_lnurl_pay_package(
|
|
86
90
|
ptr: bigint,
|
|
87
91
|
request: Uint8Array
|
|
@@ -199,6 +203,10 @@ interface NativeModuleInterface {
|
|
|
199
203
|
ptr: bigint,
|
|
200
204
|
request: Uint8Array
|
|
201
205
|
): bigint;
|
|
206
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_batch(
|
|
207
|
+
ptr: bigint,
|
|
208
|
+
request: Uint8Array
|
|
209
|
+
): bigint;
|
|
202
210
|
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_prepare_send_payment(
|
|
203
211
|
ptr: bigint,
|
|
204
212
|
request: Uint8Array
|
|
@@ -241,6 +249,10 @@ interface NativeModuleInterface {
|
|
|
241
249
|
ptr: bigint,
|
|
242
250
|
id: Uint8Array
|
|
243
251
|
): bigint;
|
|
252
|
+
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_send_batch(
|
|
253
|
+
ptr: bigint,
|
|
254
|
+
request: Uint8Array
|
|
255
|
+
): bigint;
|
|
244
256
|
ubrn_uniffi_breez_sdk_spark_fn_method_breezsdk_send_payment(
|
|
245
257
|
ptr: bigint,
|
|
246
258
|
request: Uint8Array
|
|
@@ -541,7 +553,8 @@ interface NativeModuleInterface {
|
|
|
541
553
|
): bigint;
|
|
542
554
|
ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_create_passkey(
|
|
543
555
|
ptr: bigint,
|
|
544
|
-
excludeCredentials: Uint8Array
|
|
556
|
+
excludeCredentials: Uint8Array,
|
|
557
|
+
salts: Uint8Array
|
|
545
558
|
): bigint;
|
|
546
559
|
ubrn_uniffi_breez_sdk_spark_fn_method_prfprovider_check_domain_association(
|
|
547
560
|
ptr: bigint
|
|
@@ -1103,6 +1116,7 @@ interface NativeModuleInterface {
|
|
|
1103
1116
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_contact(): number;
|
|
1104
1117
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_add_event_listener(): number;
|
|
1105
1118
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_authorize_lightning_address_transfer(): number;
|
|
1119
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_batch_package(): number;
|
|
1106
1120
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_lnurl_pay_package(): number;
|
|
1107
1121
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_build_unsigned_transfer_package(): number;
|
|
1108
1122
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_buy_bitcoin(): number;
|
|
@@ -1134,6 +1148,7 @@ interface NativeModuleInterface {
|
|
|
1134
1148
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_optimize_leaves(): number;
|
|
1135
1149
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_parse(): number;
|
|
1136
1150
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_lnurl_pay(): number;
|
|
1151
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_batch(): number;
|
|
1137
1152
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_send_payment(): number;
|
|
1138
1153
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_prepare_unilateral_exit(): number;
|
|
1139
1154
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_publish_signed_lnurl_pay_package(): number;
|
|
@@ -1145,6 +1160,7 @@ interface NativeModuleInterface {
|
|
|
1145
1160
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_lightning_address(): number;
|
|
1146
1161
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_register_webhook(): number;
|
|
1147
1162
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_remove_event_listener(): number;
|
|
1163
|
+
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_batch(): number;
|
|
1148
1164
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_send_payment(): number;
|
|
1149
1165
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sign_message(): number;
|
|
1150
1166
|
ubrn_uniffi_breez_sdk_spark_checksum_method_breezsdk_sync_wallet(): number;
|
|
@@ -1727,6 +1743,7 @@ type UniffiCallbackInterfacePrfProviderMethod1 = (
|
|
|
1727
1743
|
type UniffiCallbackInterfacePrfProviderMethod2 = (
|
|
1728
1744
|
uniffiHandle: bigint,
|
|
1729
1745
|
excludeCredentials: Uint8Array,
|
|
1746
|
+
salts: Uint8Array,
|
|
1730
1747
|
uniffiFutureCallback: UniffiForeignFutureCompleteRustBuffer,
|
|
1731
1748
|
uniffiCallbackData: bigint
|
|
1732
1749
|
) => UniffiForeignFuture;
|