@sparkvault/sdk-js 11.1.10 → 11.1.12
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/README.md +1 -1
- package/dist/http.d.ts +1 -39
- package/dist/index.cjs +26 -141
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +13 -60
- package/dist/index.mjs +26 -141
- package/dist/index.mjs.map +1 -1
- package/dist/ingots/index.d.ts +3 -4
- package/dist/ingots/types.d.ts +5 -15
- package/dist/logger.d.ts +0 -8
- package/dist/products/identity/api.d.ts +8 -13
- package/dist/products/identity/container.d.ts +0 -4
- package/dist/products/identity/handlers/passkey-handler.d.ts +1 -1
- package/dist/products/identity/index.d.ts +1 -1
- package/dist/products/identity/inline-container.d.ts +0 -4
- package/dist/products/identity/modal.d.ts +0 -5
- package/dist/products/identity/types.d.ts +3 -9
- package/dist/products/identity/views/passkey-prompt.d.ts +3 -2
- package/dist/products/index.d.ts +1 -1
- package/dist/products/notify/types.d.ts +5 -1
- package/dist/sparks/types.d.ts +4 -1
- package/dist/sparkvault.js +1 -1
- package/dist/sparkvault.js.map +1 -1
- package/dist/ui/modal-shell.d.ts +0 -2
- package/dist/vaults/types.d.ts +0 -2
- package/dist/vaults/upload/container.d.ts +0 -4
- package/dist/vaults/upload/inline-container.d.ts +0 -4
- package/dist/vaults/upload/modal.d.ts +0 -4
- package/package.json +1 -1
package/dist/ui/modal-shell.d.ts
CHANGED
|
@@ -24,13 +24,11 @@ export interface ModalShellOptions {
|
|
|
24
24
|
export declare class ModalShell {
|
|
25
25
|
readonly overlay: HTMLDivElement;
|
|
26
26
|
readonly modal: HTMLDivElement;
|
|
27
|
-
private readonly blurClass;
|
|
28
27
|
private readonly opener;
|
|
29
28
|
private readonly onOverlayClick;
|
|
30
29
|
private readonly onKeydown;
|
|
31
30
|
private open;
|
|
32
31
|
constructor(options: ModalShellOptions);
|
|
33
|
-
setBackdropBlur(enabled: boolean): void;
|
|
34
32
|
/** Remove the dialog, release the scroll lock, and return focus to the opener. */
|
|
35
33
|
destroy(): void;
|
|
36
34
|
}
|
package/dist/vaults/types.d.ts
CHANGED
|
@@ -202,9 +202,7 @@ export interface VaultUploadSettingsResponse {
|
|
|
202
202
|
export interface UploadChannelToggleResponse {
|
|
203
203
|
vault_id: string;
|
|
204
204
|
upload_portal_enabled?: boolean;
|
|
205
|
-
upload_portal_enabled_at?: number;
|
|
206
205
|
upload_widget_enabled?: boolean;
|
|
207
|
-
upload_widget_enabled_at?: number;
|
|
208
206
|
enabled_at?: number;
|
|
209
207
|
disabled_at?: number;
|
|
210
208
|
portal_url?: string;
|
|
@@ -22,10 +22,6 @@ export interface UploadContainer {
|
|
|
22
22
|
* Update branding after vault config loads.
|
|
23
23
|
*/
|
|
24
24
|
updateBranding(branding: UploadBranding): void;
|
|
25
|
-
/**
|
|
26
|
-
* Update backdrop blur setting (may be no-op for inline container).
|
|
27
|
-
*/
|
|
28
|
-
updateBackdropBlur(enabled: boolean): void;
|
|
29
25
|
/**
|
|
30
26
|
* Get the body element where views are rendered.
|
|
31
27
|
*/
|
|
@@ -26,10 +26,6 @@ export declare class UploadInlineContainer implements UploadContainer {
|
|
|
26
26
|
* Branding shows only in the dialog chrome, so the inline surface has none to update.
|
|
27
27
|
*/
|
|
28
28
|
updateBranding(_branding: UploadBranding): void;
|
|
29
|
-
/**
|
|
30
|
-
* Update backdrop blur setting (no-op for inline container).
|
|
31
|
-
*/
|
|
32
|
-
updateBackdropBlur(_enabled: boolean): void;
|
|
33
29
|
/**
|
|
34
30
|
* Get the body element for content rendering.
|
|
35
31
|
*/
|
|
@@ -29,10 +29,6 @@ export declare class UploadModalContainer implements UploadContainer {
|
|
|
29
29
|
* Update branding after vault config loads.
|
|
30
30
|
*/
|
|
31
31
|
updateBranding(branding: UploadBranding): void;
|
|
32
|
-
/**
|
|
33
|
-
* Update backdrop blur setting.
|
|
34
|
-
*/
|
|
35
|
-
updateBackdropBlur(enabled: boolean): void;
|
|
36
32
|
/**
|
|
37
33
|
* Set dark mode for uploading/ceremony states.
|
|
38
34
|
*/
|