@breeztech/breez-sdk-spark-react-native 0.19.0 → 0.19.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/lib/commonjs/generated/breez_sdk_spark.js +15 -9
- package/lib/commonjs/generated/breez_sdk_spark.js.map +1 -1
- package/lib/module/generated/breez_sdk_spark.js +15 -9
- package/lib/module/generated/breez_sdk_spark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts +26 -18
- package/lib/typescript/commonjs/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts +26 -18
- package/lib/typescript/module/src/generated/breez_sdk_spark.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/generated/breez_sdk_spark.ts +31 -20
|
@@ -1141,10 +1141,11 @@ export type ConnectWithPasskeyRequest = {
|
|
|
1141
1141
|
*/
|
|
1142
1142
|
label: string | undefined;
|
|
1143
1143
|
/**
|
|
1144
|
-
* Optional credential IDs to restrict the
|
|
1145
|
-
*
|
|
1146
|
-
*
|
|
1147
|
-
*
|
|
1144
|
+
* Optional credential IDs to restrict the sign-in attempt to
|
|
1145
|
+
* (reauthentication path). A non-empty list runs the modal sign-in
|
|
1146
|
+
* rather than the immediate probe (a pin means a credential is already
|
|
1147
|
+
* known). See [`SignInRequest::allow_credentials`]. Ignored on the
|
|
1148
|
+
* fallback registration path.
|
|
1148
1149
|
*/
|
|
1149
1150
|
allowCredentials: Array<ArrayBuffer> | undefined;
|
|
1150
1151
|
/**
|
|
@@ -1181,10 +1182,17 @@ export declare const ConnectWithPasskeyRequest: Readonly<{
|
|
|
1181
1182
|
* registered, when the provider surfaces it. The register path also
|
|
1182
1183
|
* populates the attestation fields (`aaguid`, `backup_eligible`); the
|
|
1183
1184
|
* sign-in path sets only `credential_id`.
|
|
1185
|
+
*
|
|
1186
|
+
* `labels` is the user's discovered label set when `request.label` was
|
|
1187
|
+
* `None` (the returning-user multi-wallet case): `wallet` is the default
|
|
1188
|
+
* label, and a host showing more than one entry lets the user pick
|
|
1189
|
+
* another via [`PasskeyClient::sign_in`]. Empty on the register path (a
|
|
1190
|
+
* new user has no other labels) and when a specific label was requested.
|
|
1184
1191
|
*/
|
|
1185
1192
|
export type ConnectWithPasskeyResponse = {
|
|
1186
1193
|
wallet: Wallet;
|
|
1187
1194
|
credential: PasskeyCredential | undefined;
|
|
1195
|
+
labels: Array<string>;
|
|
1188
1196
|
};
|
|
1189
1197
|
/**
|
|
1190
1198
|
* Generated factory for {@link ConnectWithPasskeyResponse} record objects.
|
|
@@ -20032,8 +20040,7 @@ export interface PasskeyClientInterface {
|
|
|
20032
20040
|
}): Promise<PasskeyAvailability>;
|
|
20033
20041
|
/**
|
|
20034
20042
|
* Single-CTA onboarding: silent sign-in, falling through to
|
|
20035
|
-
* registration when no credential exists on the device.
|
|
20036
|
-
* [`ConnectFlow`] tells the caller which path ran.
|
|
20043
|
+
* registration when no credential exists on the device.
|
|
20037
20044
|
*
|
|
20038
20045
|
* The silent sign-in pins `prefer_immediately_available_credentials =
|
|
20039
20046
|
* true` regardless of [`SignInRequest`]: the fallback depends on the OS
|
|
@@ -20042,11 +20049,12 @@ export interface PasskeyClientInterface {
|
|
|
20042
20049
|
* register path; every other error (`Cancel`, `Timeout`, ...) propagates
|
|
20043
20050
|
* unchanged.
|
|
20044
20051
|
*
|
|
20045
|
-
*
|
|
20046
|
-
*
|
|
20047
|
-
*
|
|
20048
|
-
*
|
|
20049
|
-
*
|
|
20052
|
+
* On WASM the silent sign-in maps to `WebAuthn` `uiMode: 'immediate'`
|
|
20053
|
+
* where the browser advertises it. Web hosts gate on the browser's
|
|
20054
|
+
* immediate-mediation capability (the WASM client surfaces it):
|
|
20055
|
+
* without it the probe shows the standard picker and a dismiss is a
|
|
20056
|
+
* cancel, not `CredentialNotFound`, so it never reaches register.
|
|
20057
|
+
* Present an explicit create / sign-in choice there instead.
|
|
20050
20058
|
*/
|
|
20051
20059
|
connectWithPasskey(request: ConnectWithPasskeyRequest, asyncOpts_?: {
|
|
20052
20060
|
signal: AbortSignal;
|
|
@@ -20111,8 +20119,7 @@ export declare class PasskeyClient extends UniffiAbstractObject implements Passk
|
|
|
20111
20119
|
}): Promise<PasskeyAvailability>;
|
|
20112
20120
|
/**
|
|
20113
20121
|
* Single-CTA onboarding: silent sign-in, falling through to
|
|
20114
|
-
* registration when no credential exists on the device.
|
|
20115
|
-
* [`ConnectFlow`] tells the caller which path ran.
|
|
20122
|
+
* registration when no credential exists on the device.
|
|
20116
20123
|
*
|
|
20117
20124
|
* The silent sign-in pins `prefer_immediately_available_credentials =
|
|
20118
20125
|
* true` regardless of [`SignInRequest`]: the fallback depends on the OS
|
|
@@ -20121,11 +20128,12 @@ export declare class PasskeyClient extends UniffiAbstractObject implements Passk
|
|
|
20121
20128
|
* register path; every other error (`Cancel`, `Timeout`, ...) propagates
|
|
20122
20129
|
* unchanged.
|
|
20123
20130
|
*
|
|
20124
|
-
*
|
|
20125
|
-
*
|
|
20126
|
-
*
|
|
20127
|
-
*
|
|
20128
|
-
*
|
|
20131
|
+
* On WASM the silent sign-in maps to `WebAuthn` `uiMode: 'immediate'`
|
|
20132
|
+
* where the browser advertises it. Web hosts gate on the browser's
|
|
20133
|
+
* immediate-mediation capability (the WASM client surfaces it):
|
|
20134
|
+
* without it the probe shows the standard picker and a dismiss is a
|
|
20135
|
+
* cancel, not `CredentialNotFound`, so it never reaches register.
|
|
20136
|
+
* Present an explicit create / sign-in choice there instead.
|
|
20129
20137
|
*/
|
|
20130
20138
|
connectWithPasskey(request: ConnectWithPasskeyRequest, asyncOpts_?: {
|
|
20131
20139
|
signal: AbortSignal;
|