@mx-cartographer/experiences 3.1.0-alpha.sms5-await2 → 3.1.0-alpha.sms5-await3

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ import { AppStore } from '../stores/AppStore';
3
3
 
4
4
  export interface InsightsMicroWidgetContextTypes {
5
5
  children: React.ReactNode;
6
- onEvent: (event: string) => void;
6
+ onEvent: (event: string, props?: object) => void;
7
7
  onPageview: (page: string) => void;
8
8
  store: AppStore;
9
9
  }
@@ -3,7 +3,7 @@ export declare const useStore: () => import('..').AppStore;
3
3
  export declare const useCopyStore: () => import('../stores/CopyStore').CopyStore;
4
4
  export declare const useInsightsMicroWidgetStore: () => import('../stores/InsightsMicroWidgetStore').InsightsMicroWidgetStore;
5
5
  export declare const useEvent: () => {
6
- onEvent: (event: string) => void;
6
+ onEvent: (event: string, props?: object) => void;
7
7
  };
8
8
  export declare const usePageview: () => {
9
9
  onPageview: (page: string) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "3.1.0-alpha.sms5-await2",
3
+ "version": "3.1.0-alpha.sms5-await3",
4
4
  "description": "Library containing experience widgets",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -119,4 +119,4 @@
119
119
  "README.md"
120
120
  ],
121
121
  "packageManager": "yarn@4.3.1"
122
- }
122
+ }
@@ -1,7 +0,0 @@
1
- import { default as React } from 'react';
2
-
3
- interface ActionBarProps {
4
- onConnectAccount?: () => void;
5
- }
6
- declare const _default: React.FunctionComponent<ActionBarProps>;
7
- export default _default;