@sparkvault/sdk-js 12.0.2 → 12.0.4

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 CHANGED
@@ -66,6 +66,16 @@ export declare class TimeoutError extends SparkVaultError {
66
66
  export declare class UserCancelledError extends SparkVaultError {
67
67
  constructor(message?: string);
68
68
  }
69
+ /**
70
+ * The identity provider answered a FedCM sign-in with an error of its own
71
+ * (the browser's `IdentityCredentialError`), after the browser showed the
72
+ * person its error dialog: the request reached the provider, which refused or
73
+ * failed it, so it is no cancel. `code` is the provider's answer
74
+ * (`server_error`, `access_denied`, ...).
75
+ */
76
+ export declare class IdentityProviderError extends SparkVaultError {
77
+ constructor(code: string);
78
+ }
69
79
  export declare class PopupBlockedError extends SparkVaultError {
70
80
  constructor();
71
81
  }