@tap-payments/os-micro-frontend-shared 0.1.330 → 0.1.331

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.
@@ -487,4 +487,5 @@ export const MF_APPS_MAPPER = new Set([
487
487
  APP_CODES.account.code,
488
488
  APP_CODES.business.code,
489
489
  APP_CODES.payouts.code,
490
+ APP_CODES.reports.code,
490
491
  ]);
@@ -9,6 +9,7 @@ export declare enum AppEvent {
9
9
  OnChangeTimezone = "on-change-timezone",
10
10
  OnNavigate = "on-navigate",
11
11
  OnStartDrag = "on-start-drag",
12
+ OnChangeAppToolbar = "on-change-app-toolbar",
12
13
  OnModifyRemotePayload = "on-modify-remote-payload"
13
14
  }
14
15
  /**
@@ -37,6 +38,10 @@ export type AppEventMap = {
37
38
  [AppEvent.OnChangeTimezone]: (timezone: Timezone) => void;
38
39
  [AppEvent.OnNavigate]: NavigateFunction;
39
40
  [AppEvent.OnStartDrag]: (...args: Parameters<DragControls['start']>) => void;
41
+ [AppEvent.OnChangeAppToolbar]: (params: {
42
+ windowId: string;
43
+ toolbarIconUrl: string;
44
+ }) => void;
40
45
  [AppEvent.OnModifyRemotePayload]: (params: {
41
46
  windowId: string;
42
47
  payload: object;
@@ -9,6 +9,7 @@ export var AppEvent;
9
9
  AppEvent["OnChangeTimezone"] = "on-change-timezone";
10
10
  AppEvent["OnNavigate"] = "on-navigate";
11
11
  AppEvent["OnStartDrag"] = "on-start-drag";
12
+ AppEvent["OnChangeAppToolbar"] = "on-change-app-toolbar";
12
13
  // Remote Events
13
14
  AppEvent["OnModifyRemotePayload"] = "on-modify-remote-payload";
14
15
  })(AppEvent || (AppEvent = {}));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.1.330",
4
+ "version": "0.1.331",
5
5
  "testVersion": 0,
6
6
  "type": "module",
7
7
  "main": "build/index.js",