@namiml/web-sdk 3.4.2-dev.202605300214 → 3.4.2-dev.202606032104
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 +26 -26
- package/dist/nami-web.mjs +27 -27
- package/dist/nami-web.umd.js +27 -27
- package/dist/utils/tts.d.ts +2 -1
- package/package.json +2 -2
package/dist/utils/tts.d.ts
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
* programmable utterance for the same focus event.
|
|
13
13
|
*/
|
|
14
14
|
import { type TComponent, type TPages } from '@namiml/sdk-core';
|
|
15
|
+
import type { PaywallContextProvider } from '../components/ContextProvider';
|
|
15
16
|
type TtsRequestPriority = 'low' | 'normal' | 'high';
|
|
16
17
|
type SpeakReason = 'composite' | 'focus' | 'manual';
|
|
17
18
|
type SpeakOptions = {
|
|
@@ -52,7 +53,7 @@ export declare function getSpeechLabelFromElement(element: Element | null | unde
|
|
|
52
53
|
export declare function getSpeechLabelFromComponent(component: TComponent | null | undefined): string;
|
|
53
54
|
export declare function applySpeechAttributes(element: Element, label: string): void;
|
|
54
55
|
export declare function buildInitialScreenSpeech(page: TPages | null | undefined): string;
|
|
55
|
-
export declare function setActivePage(page: TPages | null): void;
|
|
56
|
+
export declare function setActivePage(page: TPages | null, contextProvider?: PaywallContextProvider | null): void;
|
|
56
57
|
export declare function setActivePageRenderRoot(root: ParentNode | null): void;
|
|
57
58
|
/**
|
|
58
59
|
* Legacy export kept for existing call sites. It now delegates to the page-first
|
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-dev.
|
|
4
|
+
"version": "3.4.2-dev.202606032104",
|
|
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-dev.
|
|
108
|
+
"@namiml/sdk-core": "3.4.2-dev.202606032104",
|
|
109
109
|
"bowser": "^2.11.0",
|
|
110
110
|
"hls.js": "^1.5.18",
|
|
111
111
|
"lit": "^3.3.1",
|