@sparkvault/sdk-js 12.0.2 → 12.0.3
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/dist/errors.d.ts +10 -0
- package/dist/index.cjs +42 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +17 -3
- package/dist/index.mjs +42 -7
- package/dist/index.mjs.map +1 -1
- package/dist/products/identity/index.d.ts +6 -2
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/package.json +1 -1
|
@@ -54,8 +54,12 @@ export declare class IdentityModule {
|
|
|
54
54
|
* `IdentityModule.isFedcmAvailable()` and fall back to `signIn()` otherwise.
|
|
55
55
|
*
|
|
56
56
|
* @returns the verified result, or `null` when the browser has no FedCM
|
|
57
|
-
* support (so the caller can fall back). Throws `UserCancelledError` when
|
|
58
|
-
*
|
|
57
|
+
* support (so the caller can fall back). Throws `UserCancelledError` when
|
|
58
|
+
* the browser ends the request without a credential: the person dismissed
|
|
59
|
+
* the chooser, or the browser had no SparkVault account to offer (the
|
|
60
|
+
* browser reports both alike). Throws `IdentityProviderError`, carrying
|
|
61
|
+
* SparkVault's own error code, when SparkVault answered the sign-in with an
|
|
62
|
+
* error.
|
|
59
63
|
*
|
|
60
64
|
* @example
|
|
61
65
|
* const result = (await sv.products.identity.isFedcmAvailable())
|