@cimulate/copilot-widget 0.20.0 → 0.21.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.
@@ -1,4 +1,5 @@
1
1
  import { BrowseParams } from '@cimulate/copilot-sdk';
2
+ import { BrowseState as BrowseState_2 } from './models';
2
3
  import { ConnectAck } from '@cimulate/copilot-sdk';
3
4
  import { ConversationEvents } from '@cimulate/copilot-sdk';
4
5
  import { ConversationResetAck } from '@cimulate/copilot-sdk';
@@ -24,6 +25,7 @@ import { ReactNode } from 'react';
24
25
  import { RefinedBrowse } from '@cimulate/copilot-sdk';
25
26
  import { RefinedSearch } from '@cimulate/copilot-sdk';
26
27
  import { SearchParams } from '@cimulate/copilot-sdk';
28
+ import { SearchState as SearchState_2 } from './models';
27
29
  import { SessionInformation } from '@cimulate/copilot-sdk';
28
30
  import { SocketSdkContextType } from './SocketSdkContext';
29
31
 
@@ -212,6 +214,13 @@ declare const setBrowseContext: (context: BrowsePayload["browseParams"]) => void
212
214
  */
213
215
  declare const setSearchContext: (context: SearchPayload["searchParams"]) => void;
214
216
 
217
+ export declare const state: {
218
+ search: SearchState_2;
219
+ browse: BrowseState_2;
220
+ pdp: ProductView;
221
+ isConnected: boolean;
222
+ };
223
+
215
224
  declare type Suggestion = CopilotSearchSuggestion | FacetedNavigationSuggestion | ProductViewSuggestion | CopilotBrowseSuggestion;
216
225
 
217
226
  declare interface ThemeConfig {
@@ -272,6 +281,8 @@ export declare const useCopilot: () => SocketSdkContextType;
272
281
  *
273
282
  * Config >
274
283
  * ApiService >
284
+ * PdpContext >
285
+ * BrowseContext >
275
286
  * SearchContext >
276
287
  * UIStateContext >
277
288
  * CopilotState (redux state) >