@engagently/types 5.3.0 → 5.4.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.
@@ -17,7 +17,7 @@ export type CallbackFn = (data: {
17
17
  payload?: unknown;
18
18
  }) => void;
19
19
  export type ErrorCallbackFn = (error: CombinedError, operation: Operation) => void;
20
- export type EventHooks = 'onAny' | 'onChangeViewMode' | 'onCommentaryAction' | 'onLoadMoreComments' | 'onLoadMoreReplies' | 'onSetup' | 'onSignIn' | 'onSubmitCommentary';
20
+ export type EventHooks = 'onAny' | 'onChangeViewMode' | 'onCommentaryAction' | 'onLoadMoreComments' | 'onLoadMoreReplies' | 'onSetup' | 'onSignIn' | 'onSubmitCommentary' | 'onExperienceParticipated' | 'onExperienceCompleted';
21
21
  export declare const EventHookMessageEventMap: Record<EventHooks, MessageEvents | MessageEvents[]>;
22
22
  export type Translations = Record<string, DeepPartial<typeof defaultResources.en>>;
23
23
  /**
@@ -500,7 +500,7 @@ export interface QuizBarWidget {
500
500
  /**
501
501
  * Events that can be used by the pub/sub implementation for window.postMessage
502
502
  */
503
- export type MessageEvents = 'EGY_SETUP' | 'EGY_SIGN_IN' | 'EGY_SIGNED_OUT' | 'EGY_AUTHENTICATED' | 'EGY_TOGGLE_COLOR_SCHEME' | 'EGY_CHANGE_LANGUAGE' | 'EGY_CHANGE_VIEW_MODE' | 'EGY_LOAD_MORE_COMMENTS' | 'EGY_LOAD_MORE_REPLIES' | 'EGY_SUBMIT_COMMENTARY' | 'EGY_COMMENTARY_ACTION' | 'EGY_REINIT' | 'EGY_CAN_LOGOUT';
503
+ export type MessageEvents = 'EGY_SETUP' | 'EGY_SIGN_IN' | 'EGY_SIGNED_OUT' | 'EGY_AUTHENTICATED' | 'EGY_TOGGLE_COLOR_SCHEME' | 'EGY_CHANGE_LANGUAGE' | 'EGY_CHANGE_VIEW_MODE' | 'EGY_LOAD_MORE_COMMENTS' | 'EGY_LOAD_MORE_REPLIES' | 'EGY_SUBMIT_COMMENTARY' | 'EGY_COMMENTARY_ACTION' | 'EGY_REINIT' | 'EGY_CAN_LOGOUT' | 'EGY_EXPERIENCE_PARTICIPATED' | 'EGY_EXPERIENCE_COMPLETED';
504
504
  export declare const EGY_AUTH = "egy_auth";
505
505
  export type EgyAuth = {
506
506
  accessToken: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@engagently/types",
3
- "version": "5.3.0",
3
+ "version": "5.4.0",
4
4
  "main": "./index.ts",
5
5
  "types": "dist/types/engagently.d.ts",
6
6
  "files": [