@namiml/web-sdk 3.4.2-rc.202606042212 → 3.4.2
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/nami-web.cjs +27 -27
- package/dist/nami-web.mjs +27 -27
- package/dist/nami-web.umd.js +28 -28
- package/dist/utils/tts.d.ts +3 -4
- package/package.json +2 -2
package/dist/utils/tts.d.ts
CHANGED
|
@@ -21,7 +21,6 @@ type SpeakOptions = {
|
|
|
21
21
|
transactionId?: number;
|
|
22
22
|
element?: Element | null;
|
|
23
23
|
focusPath?: Element[];
|
|
24
|
-
focusedLabel?: string;
|
|
25
24
|
priority?: TtsRequestPriority;
|
|
26
25
|
};
|
|
27
26
|
export type FocusContext = {
|
|
@@ -34,7 +33,7 @@ export type TtsEngineName = 'webos-luna-tts' | 'web-speech' | 'vizio-chromevox';
|
|
|
34
33
|
export declare function setTtsDebugEnabled(enabled: boolean): void;
|
|
35
34
|
export declare function hasActiveCompositeAccessibilityAlignment(element: Element): boolean;
|
|
36
35
|
export declare const hasActiveWebOsLunaCompositeLabelAlignment: typeof hasActiveCompositeAccessibilityAlignment;
|
|
37
|
-
export declare function restoreCompositeAccessibilityAlignment(element?: Element,
|
|
36
|
+
export declare function restoreCompositeAccessibilityAlignment(element?: Element, reason?: string, force?: boolean): void;
|
|
38
37
|
export declare const restoreWebOsLunaCompositeLabelAlignment: typeof restoreCompositeAccessibilityAlignment;
|
|
39
38
|
export declare function scheduleCompositeAccessibilityAlignmentRestoreAfterBlur(element: Element, relatedTarget?: EventTarget | null): void;
|
|
40
39
|
export declare const scheduleWebOsLunaCompositeLabelAlignmentRestoreAfterBlur: typeof scheduleCompositeAccessibilityAlignmentRestoreAfterBlur;
|
|
@@ -56,8 +55,8 @@ export declare function buildInitialScreenSpeech(page: TPages | null | undefined
|
|
|
56
55
|
export declare function setActivePage(page: TPages | null, contextProvider?: PaywallContextProvider | null): void;
|
|
57
56
|
export declare function setActivePageRenderRoot(root: ParentNode | null): void;
|
|
58
57
|
/**
|
|
59
|
-
* Legacy export kept for existing call sites.
|
|
60
|
-
* initial composite flow
|
|
58
|
+
* Legacy export kept for existing call sites. Delegates to the page-first
|
|
59
|
+
* initial composite flow.
|
|
61
60
|
*/
|
|
62
61
|
export declare function preparePrimaryCtaCompositeFocus(element: Element, context?: FocusContext | Event | null): boolean;
|
|
63
62
|
export declare function handleFocusedElementForSpeech(element: Element | null | undefined, context?: FocusContext | Event | null): boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@namiml/web-sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.4.2
|
|
4
|
+
"version": "3.4.2",
|
|
5
5
|
"source": "src/nami-web.ts",
|
|
6
6
|
"description": "Subscription monetization infrastructure — drop-in SDK with no-code paywalls, onboarding flows, A/B testing for web",
|
|
7
7
|
"scripts": {
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"dependencies": {
|
|
106
106
|
"@lit-labs/ssr-dom-shim": "^1.2.1",
|
|
107
107
|
"@lit/context": "^1.1.3",
|
|
108
|
-
"@namiml/sdk-core": "3.4.2
|
|
108
|
+
"@namiml/sdk-core": "3.4.2",
|
|
109
109
|
"bowser": "^2.11.0",
|
|
110
110
|
"hls.js": "^1.5.18",
|
|
111
111
|
"lit": "^3.3.1",
|