@namiml/web-sdk 3.3.9-dev.202603132116 → 3.3.9-dev.202603132233

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.
@@ -8,6 +8,8 @@ import { Optional } from "./utils";
8
8
  import { LaunchCampaignError } from "./externals/errors";
9
9
  import { NamiPaywallAction, NamiPaywallComponentChange, NamiPaywallEventVideoMetadata, NamiPaywallLaunchContext } from "./externals/paywall";
10
10
  import { NamiSKU } from "./externals/sku";
11
+ export type NamiPresentationStyle = 'fullscreen' | 'sheet' | 'compact_sheet' | 'modal';
12
+ export declare function getEffectiveWebStyle(style: NamiPresentationStyle | undefined | null): NamiPresentationStyle;
11
13
  export type TPaywallContext = TInitialState & {
12
14
  paywallId: string;
13
15
  livePaywalls: IPaywall[];
@@ -140,6 +142,7 @@ export type TInitialState = {
140
142
  currentPage: string;
141
143
  fullScreenPresentation?: boolean;
142
144
  isLoggedIn?: boolean;
145
+ presentation_style?: NamiPresentationStyle;
143
146
  [key: string]: any;
144
147
  groups: InitiateStateGroup[];
145
148
  currentGroupId: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@namiml/web-sdk",
3
3
  "type": "module",
4
- "version": "3.3.9-dev.202603132116",
4
+ "version": "3.3.9-dev.202603132233",
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": {