@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.
@@ -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 the
58
- * person dismisses the chooser.
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())