@bigbinary/neeto-commons-frontend 2.0.24 → 2.0.26

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/react-utils.d.ts CHANGED
@@ -10,11 +10,13 @@ import {
10
10
  } from "@bigbinary/neetoui";
11
11
  import { LinkType, NavLinkItemType } from "@bigbinary/neetoui/layouts";
12
12
  import { RouteProps } from "react-router-dom";
13
+ import { Notice } from "@honeybadger-io/js/dist/server/types/core/types";
13
14
  import { ObjectAndPrimitives } from "./pure";
14
15
  import { DateTimeType, timeFormat } from "./utils";
15
16
 
16
17
  export const HoneybadgerErrorBoundary: React.FC<{
17
18
  ErrorComponent?: React.ReactNode | React.ComponentType<any>;
19
+ filterErrors?: (error: Notice) => boolean;
18
20
  }>;
19
21
  export function PrivateRoute(
20
22
  props: {
@@ -139,6 +141,8 @@ export declare type ZustandStoreHook = {
139
141
 
140
142
  export const CustomDomain: React.FC<{}>;
141
143
 
144
+ export const IpRestriction: React.FC<{}>;
145
+
142
146
  export function useFieldSubmit(onSubmit: () => any): {
143
147
  current: HTMLInputElement & HTMLTextAreaElement;
144
148
  };
@@ -177,3 +181,7 @@ export function withTitle(
177
181
  Component: () => JSX.Element,
178
182
  title?: string
179
183
  ): (props) => JSX.Element;
184
+
185
+ export async function registerBrowserNotifications(): Promise<void>;
186
+
187
+ export async function destroyBrowserSubscription(): Promise<void>;