@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 +10 -0
- package/dist/index.cjs +365 -87
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +198 -81
- package/dist/index.mjs +364 -88
- package/dist/index.mjs.map +1 -1
- package/dist/ingots/index.d.ts +54 -7
- package/dist/ingots/types.d.ts +55 -2
- package/dist/products/identity/index.d.ts +6 -2
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/dist/vaults/upload/api.d.ts +9 -0
- package/dist/vaults/upload/renderer.d.ts +5 -0
- package/dist/vaults/upload/types.d.ts +16 -0
- package/package.json +1 -1
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
|
}
|