@pocketping/widget 1.5.2 → 1.7.0

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/README.md CHANGED
@@ -156,6 +156,7 @@ Control when and how the widget behaves.
156
156
  | `hideOnPages` | `string[]` | - | Hide on pages matching these regex patterns |
157
157
  | `showDelay` | `number` | `0` | Delay before showing widget (ms) |
158
158
  | `autoOpenDelay` | `number` | `0` | Auto-open chat after delay (ms, `0` = disabled) |
159
+ | `autoOpenOnMessage` | `boolean` | `true` | Auto-open chat when operator sends a message |
159
160
  | `soundEnabled` | `boolean` | `true` | Play sound on new message |
160
161
  | `showUnreadBadge` | `boolean` | `true` | Show unread badge on toggle button |
161
162
  | `persistOpenState` | `boolean` | `false` | Persist chat open/closed state in localStorage |
@@ -169,6 +170,7 @@ PocketPing.init({
169
170
  hideOnPages: ['^/admin', '^/checkout'],
170
171
  showDelay: 3000,
171
172
  autoOpenDelay: 10000,
173
+ autoOpenOnMessage: true,
172
174
  soundEnabled: true,
173
175
  showUnreadBadge: true,
174
176
  persistOpenState: true