@archbee/app-widget 1.1.32 → 1.1.34

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
@@ -8,10 +8,9 @@
8
8
 
9
9
  ## Installation
10
10
 
11
- To install, you can use [npm](https://npmjs.org/) or [yarn](https://yarnpkg.com):
11
+ To install, use [pnpm](https://pnpm.io/):
12
12
 
13
- $ npm install --save @archbee/app-widget
14
- $ yarn add @archbee/app-widget
13
+ $ pnpm add @archbee/app-widget
15
14
 
16
15
  If you need to install Archbee Contextual Widget SDK, you can find more details [here](https://docs.archbee.com/app-widget).
17
16
 
@@ -110,6 +109,7 @@ ReactDOM.render(<App />, appElement);
110
109
  | `onWidgetOpen` | `void` | `optional` | Callback that is called after widget opens. |
111
110
  | `onWidgetClose` | `void` | `optional` | Callback that is called after widget closes. |
112
111
  | `hideNavbar` | `boolean` | `optional` | Default value is `false`. It hides the header navbar from the modal. |
112
+ | `initialSearchQuery` | `string` | `optional` | Pre-populates the search input and triggers a search when the widget opens. Use with `widgetType: "search"` to open the widget with results already showing. |
113
113
 
114
114
  ## Bubble
115
115