@namiml/web-sdk 3.3.9-dev.202603120541 → 3.3.9-dev.202603120740

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.
@@ -4,6 +4,7 @@ import type { NamiPaywallLaunchContext } from '../../types/externals/paywall';
4
4
  import type { PaywallComponent } from "../../components/Paywall";
5
5
  import type { NamiFlowManager } from "./NamiFlowManager";
6
6
  import type { NamiButton } from "../../components";
7
+ import { type TPaywallContext } from "../../types/paywall";
7
8
  import { TimerState } from "../../types/paywall";
8
9
  export declare class BasicNamiFlow implements NamiFlowObjectDTO {
9
10
  id: string;
@@ -30,6 +31,11 @@ export declare class NamiFlow extends BasicNamiFlow {
30
31
  component: PaywallComponent;
31
32
  manager: NamiFlowManager;
32
33
  currentButton?: NamiButton;
34
+ activeHandoffSequence: {
35
+ formStates: Record<string, boolean | string>;
36
+ remainingKeys: string[];
37
+ } | null;
38
+ currentScreenState: TPaywallContext | null;
33
39
  isPaused: boolean;
34
40
  pausedStepID?: string;
35
41
  timerStates: {
@@ -64,4 +70,7 @@ export declare class NamiFlow extends BasicNamiFlow {
64
70
  private nextStep;
65
71
  private handleScreenStep;
66
72
  private handleBranchStep;
73
+ getFormData(): Record<string, boolean | string>;
74
+ flowHandoffFormSequence(): void;
75
+ resumeNextHandoff(): void;
67
76
  }
@@ -16,6 +16,7 @@ export declare class NamiFlowManager {
16
16
  eventHandler?: NamiFlowEventHandler;
17
17
  static registerEventHandler(eventHandler: NamiFlowEventHandler): void;
18
18
  static resume(): void;
19
+ resume(): void;
19
20
  static finish(): void;
20
21
  static pause(): void;
21
22
  static isFlowOpen(): boolean;