@floe-ai/sdk 0.1.0-dev.14 → 0.1.0-dev.16

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.
@@ -72,6 +72,20 @@ export declare interface FloeConfig {
72
72
  userInfo?: FloeUserInfo;
73
73
  /** Skip the welcome modal for returning users */
74
74
  skipOnboardingModal?: boolean;
75
+ /** Nudge configuration - Intercom Fin-style sliding notification */
76
+ nudge?: FloeNudgeConfig;
77
+ }
78
+
79
+ /**
80
+ * Nudge configuration for Intercom Fin-style sliding notification
81
+ */
82
+ export declare interface FloeNudgeConfig {
83
+ /** Main nudge message (default: "Hi 👋 How can I help you today?") */
84
+ text?: string;
85
+ /** Auto-show nudge when minimized (default: true) */
86
+ autoShow?: boolean;
87
+ /** Auto-hide after ms, 0 = never (default: 0) */
88
+ autoHideDelay?: number;
75
89
  }
76
90
 
77
91
  /**
@@ -139,6 +153,7 @@ declare class OnboardingSDK extends EventEmitter {
139
153
  private endUserStatus;
140
154
  private connectionProgress;
141
155
  private isReturningUser;
156
+ private hasSkippedOnboarding;
142
157
  private _isMinimized;
143
158
  constructor(config: SDKConfig);
144
159
  /**
@@ -537,6 +552,11 @@ declare interface SDKConfig {
537
552
  userInfo?: UserInfo;
538
553
  skipOnboardingModal?: boolean;
539
554
  enableDiscoveryPopup?: boolean;
555
+ nudge?: {
556
+ text?: string;
557
+ autoShow?: boolean;
558
+ autoHideDelay?: number;
559
+ };
540
560
  }
541
561
 
542
562
  declare interface UIAction {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floe-ai/sdk",
3
- "version": "0.1.0-dev.14",
3
+ "version": "0.1.0-dev.16",
4
4
  "description": "Floe AI Onboarding SDK for React applications",
5
5
  "type": "module",
6
6
  "main": "./dist-sdk/floe-sdk.es.js",