@mathews_cometchat/bubble-builder 1.0.0-alpha26 → 1.0.0-alpha28

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.
@@ -16,6 +16,8 @@ export interface NotificationConfig {
16
16
  appIcon?: string;
17
17
  /** Show the Data key-value editor in the notification tab */
18
18
  enableData?: boolean;
19
+ /** Show the push notification phone preview in the canvas. Default: true */
20
+ showPreview?: boolean;
19
21
  /** Called when notification data changes */
20
22
  onNotificationDataChange?: (data: Record<string, string>) => void;
21
23
  }
package/dist/lib.d.ts CHANGED
@@ -25,7 +25,7 @@ export interface BubbleBuilderOptions {
25
25
  hideTopBar?: boolean;
26
26
  /** Hide the template library view — go straight to editor. Default: false */
27
27
  hideTemplateLibrary?: boolean;
28
- /** Which channels to show: 'inapp' (default), 'push', or 'both'. */
28
+ /** Which channels to show: 'inapp', 'push', or 'both' (default). */
29
29
  channels?: BuilderChannels;
30
30
  /** Push notification preview config (app name, icon). Only used when channels is 'push' or 'both'. */
31
31
  notification?: NotificationConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mathews_cometchat/bubble-builder",
3
- "version": "1.0.0-alpha26",
3
+ "version": "1.0.0-alpha28",
4
4
  "type": "module",
5
5
  "main": "dist/bubble-builder.umd.js",
6
6
  "module": "dist/bubble-builder.es.js",