@entur-partner/micro-frontend 2.4.10-alpha.2 → 2.4.10-alpha.4

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/dist/Payload.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { GetTokenSilentlyOptions } from '@auth0/auth0-spa-js';
2
2
  import { BusinessCapability } from '@entur-partner/permission-client-node';
3
3
  import { User } from './User';
4
- import { MFPostHog } from './MFPostHog';
5
4
  export interface MenuItem {
6
5
  /** Title of the menu item */
7
6
  title: string;
@@ -41,8 +40,4 @@ export interface MicroFrontendPayload {
41
40
  * method is used for links in navigation. If this function is not called we
42
41
  * will try to use the navigate function from the first menu item instead. */
43
42
  setMFNavigate: (navigate: NavigationFunction) => void;
44
- /**
45
- * PostHog client for tracking events in the micro frontend.
46
- */
47
- mfPostHog: MFPostHog;
48
43
  }
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export { User } from './User';
2
2
  export { Consents } from './Consents';
3
- export { MFPostHog } from './MFPostHog';
4
3
  export { MicroFrontendPayload, MenuItem, NavigationFunction } from './Payload';
5
4
  export { MountEvent, UnmountEvent, createMountEvent, createUnmountEvent, MOUNT_EVENT_TYPE, UNMOUNT_EVENT_TYPE, RouteChangeEvent, ROUTE_CHANGE_EVENT_TYPE, RouteAction, } from './events';
6
5
  export { registerMicroFrontend } from './registerMicroFrontend';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur-partner/micro-frontend",
3
- "version": "2.4.10-alpha.2",
3
+ "version": "2.4.10-alpha.4",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/micro-frontend.esm.js",
@@ -44,5 +44,5 @@
44
44
  "reportFile": "jest-sonar-report.xml",
45
45
  "indent": 4
46
46
  },
47
- "gitHead": "67fb7d5f0eca6b155805849e1d4a285cb8cb3da5"
47
+ "gitHead": "e83359725f82c01038cd5a6a989f79f404b521c3"
48
48
  }
@@ -1,2 +0,0 @@
1
- import { PostHog } from 'posthog-js/react';
2
- export type MFPostHog = Pick<PostHog, 'capture' | 'alias' | 'identify' | 'register' | 'register_once' | 'unregister' | 'group' | 'setPersonProperties' | 'reset'>;