@xyo-network/react-error 4.4.2 → 4.4.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.
Files changed (33) hide show
  1. package/dist/browser/index.d.ts +63 -3
  2. package/package.json +13 -13
  3. package/dist/browser/components/ErrorBoundary/ThrownErrorBoundary.d.ts +0 -5
  4. package/dist/browser/components/ErrorBoundary/ThrownErrorBoundary.d.ts.map +0 -1
  5. package/dist/browser/components/ErrorBoundary/ThrownErrorBoundaryBase.d.ts +0 -21
  6. package/dist/browser/components/ErrorBoundary/ThrownErrorBoundaryBase.d.ts.map +0 -1
  7. package/dist/browser/components/ErrorBoundary/index.d.ts +0 -2
  8. package/dist/browser/components/ErrorBoundary/index.d.ts.map +0 -1
  9. package/dist/browser/components/ErrorBoundary.d.ts +0 -23
  10. package/dist/browser/components/ErrorBoundary.d.ts.map +0 -1
  11. package/dist/browser/components/ErrorRender/ErrorAlert.d.ts +0 -10
  12. package/dist/browser/components/ErrorRender/ErrorAlert.d.ts.map +0 -1
  13. package/dist/browser/components/ErrorRender/Props.d.ts +0 -15
  14. package/dist/browser/components/ErrorRender/Props.d.ts.map +0 -1
  15. package/dist/browser/components/ErrorRender/Render.d.ts +0 -3
  16. package/dist/browser/components/ErrorRender/Render.d.ts.map +0 -1
  17. package/dist/browser/components/ErrorRender/index.d.ts +0 -4
  18. package/dist/browser/components/ErrorRender/index.d.ts.map +0 -1
  19. package/dist/browser/components/index.d.ts +0 -4
  20. package/dist/browser/components/index.d.ts.map +0 -1
  21. package/dist/browser/contexts/ErrorReporter/Context.d.ts +0 -4
  22. package/dist/browser/contexts/ErrorReporter/Context.d.ts.map +0 -1
  23. package/dist/browser/contexts/ErrorReporter/Provider.d.ts +0 -10
  24. package/dist/browser/contexts/ErrorReporter/Provider.d.ts.map +0 -1
  25. package/dist/browser/contexts/ErrorReporter/State.d.ts +0 -6
  26. package/dist/browser/contexts/ErrorReporter/State.d.ts.map +0 -1
  27. package/dist/browser/contexts/ErrorReporter/index.d.ts +0 -4
  28. package/dist/browser/contexts/ErrorReporter/index.d.ts.map +0 -1
  29. package/dist/browser/contexts/ErrorReporter/useErrorReporter.d.ts +0 -3
  30. package/dist/browser/contexts/ErrorReporter/useErrorReporter.d.ts.map +0 -1
  31. package/dist/browser/contexts/index.d.ts +0 -2
  32. package/dist/browser/contexts/index.d.ts.map +0 -1
  33. package/dist/browser/index.d.ts.map +0 -1
@@ -1,3 +1,63 @@
1
- export * from './components/index.ts';
2
- export * from './contexts/index.ts';
3
- //# sourceMappingURL=index.d.ts.map
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import React, { ReactNode, Component, ErrorInfo, FC, PropsWithChildren } from 'react';
3
+ import { ThrownErrorBoundaryProps } from '@xylabs/react-error';
4
+ import { ModuleError } from '@xyo-network/payload-model';
5
+ import { AlertProps } from '@mui/material';
6
+ import { FlexBoxProps } from '@xylabs/react-flexbox';
7
+ import { Location } from 'react-router-dom';
8
+ import Rollbar from 'rollbar';
9
+
10
+ interface ErrorBoundaryProps {
11
+ children: ReactNode;
12
+ fallback?: ReactNode;
13
+ fallbackWithError?: (error: Error) => ReactNode;
14
+ scope?: string;
15
+ }
16
+ interface ErrorBoundaryState {
17
+ error?: Error;
18
+ }
19
+ declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
20
+ constructor(props: ErrorBoundaryProps);
21
+ static getDerivedStateFromError(error: Error): {
22
+ error: Error;
23
+ };
24
+ componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
25
+ render(): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
26
+ }
27
+
28
+ declare const ThrownErrorBoundary: FC<ThrownErrorBoundaryProps<ModuleError>>;
29
+
30
+ interface ErrorAlertProps<T = void> extends AlertProps {
31
+ error?: T | Error | string;
32
+ errorContext?: string;
33
+ onCancel?: () => void;
34
+ scope?: string;
35
+ }
36
+ declare function ErrorAlert<T = void>({ title, onCancel, error, errorContext, scope, ...props }: ErrorAlertProps<T>): JSX.Element;
37
+
38
+ type ErrorEx<T = void> = T extends void ? Error : T | Error;
39
+ interface ErrorRenderProps<T = void> extends FlexBoxProps {
40
+ customError?: ReactNode;
41
+ error?: ErrorEx<T>;
42
+ errorContext?: string;
43
+ noErrorDisplay?: boolean;
44
+ noReAuth?: boolean;
45
+ onCancel?: () => void;
46
+ scope?: string;
47
+ useLocation?: () => Location;
48
+ }
49
+
50
+ declare function ErrorRender<T = void>({ onCancel, error, noErrorDisplay, customError, children, errorContext, scope, useLocation, ...props }: ErrorRenderProps<T>): JSX.Element;
51
+
52
+ interface ErrorReporterProviderProps {
53
+ rollbar: Rollbar;
54
+ }
55
+ declare const ErrorReporterProvider: React.FC<PropsWithChildren<ErrorReporterProviderProps>>;
56
+
57
+ interface ErrorReporterContextState {
58
+ rollbar?: Rollbar;
59
+ }
60
+
61
+ declare const useErrorReporter: () => ErrorReporterContextState;
62
+
63
+ export { ErrorAlert, type ErrorAlertProps, ErrorBoundary, type ErrorBoundaryProps, type ErrorBoundaryState, type ErrorEx, ErrorRender, type ErrorRenderProps, type ErrorReporterContextState, ErrorReporterProvider, type ErrorReporterProviderProps, ThrownErrorBoundary, useErrorReporter };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-error",
3
- "version": "4.4.2",
3
+ "version": "4.4.4",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -44,24 +44,24 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@rollbar/react": "^0.12.0-beta",
47
- "@xylabs/react-button": "^5.3.22",
48
- "@xylabs/react-error": "^5.3.22",
49
- "@xylabs/react-flexbox": "^5.3.22",
50
- "@xyo-network/payload-model": "^3.7.1",
47
+ "@xylabs/react-button": "^5.3.23",
48
+ "@xylabs/react-error": "^5.3.23",
49
+ "@xylabs/react-flexbox": "^5.3.23",
50
+ "@xyo-network/payload-model": "^3.9.2",
51
51
  "prop-types": "^15.8.1",
52
- "react-router-dom": "^7.1.3"
52
+ "react-router-dom": "^7.1.5"
53
53
  },
54
54
  "devDependencies": {
55
- "@mui/icons-material": "^6.4.1",
56
- "@mui/material": "^6.4.1",
57
- "@mui/styles": "^6.4.1",
58
- "@storybook/react": "^8.5.2",
59
- "@xylabs/ts-scripts-yarn3": "^4.2.6",
60
- "@xylabs/tsconfig-react": "^4.2.6",
55
+ "@mui/icons-material": "^6.4.4",
56
+ "@mui/material": "^6.4.4",
57
+ "@mui/styles": "^6.4.4",
58
+ "@storybook/react": "^8.5.5",
59
+ "@xylabs/ts-scripts-yarn3": "^5.0.24",
60
+ "@xylabs/tsconfig-react": "^5.0.24",
61
61
  "react": "^18.3.1",
62
62
  "react-dom": "^18.3.1",
63
63
  "rollbar": "^2.26.4",
64
- "storybook": "^8.5.2",
64
+ "storybook": "^8.5.5",
65
65
  "typescript": "^5.7.3"
66
66
  },
67
67
  "peerDependencies": {
@@ -1,5 +0,0 @@
1
- import type { ThrownErrorBoundaryProps } from '@xylabs/react-error';
2
- import type { ModuleError } from '@xyo-network/payload-model';
3
- import type { FC } from 'react';
4
- export declare const ThrownErrorBoundary: FC<ThrownErrorBoundaryProps<ModuleError>>;
5
- //# sourceMappingURL=ThrownErrorBoundary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThrownErrorBoundary.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorBoundary/ThrownErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAA;AAEnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAG/B,eAAO,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAAC,WAAW,CAAC,CAEzE,CAAA"}
@@ -1,21 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type Rollbar from 'rollbar';
3
- /** @deprecated use from @xylabs/react-error instead */
4
- export type ErrorEx<T = void> = T extends void ? Error : T | Error;
5
- /** @deprecated use from @xylabs/react-error instead */
6
- export interface ThrownErrorBoundaryProps<T = void> {
7
- boundaryName?: string;
8
- children: ReactNode;
9
- errorComponent?: (e: ErrorEx<T>, boundaryName?: string) => ReactNode;
10
- rethrow?: boolean;
11
- rollbar?: Rollbar;
12
- scope?: string;
13
- title?: string;
14
- }
15
- /** @deprecated use from @xylabs/react-error instead */
16
- export interface ThrownErrorBoundaryState<T = void> {
17
- errorEx?: ErrorEx<T>;
18
- }
19
- /** @deprecated use from @xylabs/react-error instead */
20
- export declare function ThrownErrorBoundaryBase<T = void>({ rollbar, ...props }: ThrownErrorBoundaryProps<T>): JSX.Element;
21
- //# sourceMappingURL=ThrownErrorBoundaryBase.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ThrownErrorBoundaryBase.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorBoundary/ThrownErrorBoundaryBase.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAa,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjD,OAAO,KAAK,OAAO,MAAM,SAAS,CAAA;AAKlC,uDAAuD;AACvD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,IAAI,IAAI,CAAC,SAAS,IAAI,GAAG,KAAK,GAAG,CAAC,GAAG,KAAK,CAAA;AAElE,uDAAuD;AACvD,MAAM,WAAW,wBAAwB,CAAC,CAAC,GAAG,IAAI;IAChD,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,EAAE,SAAS,CAAA;IACnB,cAAc,CAAC,EAAE,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,EAAE,MAAM,KAAK,SAAS,CAAA;IACpE,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,uDAAuD;AACvD,MAAM,WAAW,wBAAwB,CAAC,CAAC,GAAG,IAAI;IAChD,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAA;CACrB;AA0CD,uDAAuD;AACvD,wBAAgB,uBAAuB,CAAC,CAAC,GAAG,IAAI,EAAE,EAAE,OAAO,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,OAAO,CAQjH"}
@@ -1,2 +0,0 @@
1
- export * from './ThrownErrorBoundary.tsx';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorBoundary/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAA"}
@@ -1,23 +0,0 @@
1
- import type { ErrorInfo, ReactNode } from 'react';
2
- import { Component } from 'react';
3
- /** @deprecated use from @xylabs/react-error instead */
4
- export interface ErrorBoundaryProps {
5
- children: ReactNode;
6
- fallback?: ReactNode;
7
- fallbackWithError?: (error: Error) => ReactNode;
8
- scope?: string;
9
- }
10
- /** @deprecated use from @xylabs/react-error instead */
11
- export interface ErrorBoundaryState {
12
- error?: Error;
13
- }
14
- /** @deprecated use from @xylabs/react-error instead */
15
- export declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
16
- constructor(props: ErrorBoundaryProps);
17
- static getDerivedStateFromError(error: Error): {
18
- error: Error;
19
- };
20
- componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
21
- render(): string | number | boolean | Iterable<ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
22
- }
23
- //# sourceMappingURL=ErrorBoundary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjD,OAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAExC,uDAAuD;AACvD,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,SAAS,CAAA;IAEnB,QAAQ,CAAC,EAAE,SAAS,CAAA;IAEpB,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,SAAS,CAAA;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,uDAAuD;AACvD,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,KAAK,CAAA;CACd;AAED,uDAAuD;AACvD,qBAAa,aAAc,SAAQ,SAAS,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;gBACtE,KAAK,EAAE,kBAAkB;IAKrC,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK;;;IAInC,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS;IAIpD,MAAM;CA4BhB"}
@@ -1,10 +0,0 @@
1
- import type { AlertProps } from '@mui/material';
2
- export interface ErrorAlertProps<T = void> extends AlertProps {
3
- error?: T | Error | string;
4
- /** @deprecated use scope instead */
5
- errorContext?: string;
6
- onCancel?: () => void;
7
- scope?: string;
8
- }
9
- export declare function ErrorAlert<T = void>({ title, onCancel, error, errorContext, scope, ...props }: ErrorAlertProps<T>): JSX.Element;
10
- //# sourceMappingURL=ErrorAlert.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ErrorAlert.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/ErrorAlert.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAO/C,MAAM,WAAW,eAAe,CAAC,CAAC,GAAG,IAAI,CAAE,SAAQ,UAAU;IAC3D,KAAK,CAAC,EAAE,CAAC,GAAG,KAAK,GAAG,MAAM,CAAA;IAC1B,oCAAoC;IACpC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,UAAU,CAAC,CAAC,GAAG,IAAI,EAAE,EACnC,KAAsC,EACtC,QAAQ,EACR,KAAmC,EACnC,YAAY,EACZ,KAAK,EACL,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,OAAO,CAoClC"}
@@ -1,15 +0,0 @@
1
- import type { FlexBoxProps } from '@xylabs/react-flexbox';
2
- import type { ReactNode } from 'react';
3
- import type { Location } from 'react-router-dom';
4
- export type ErrorEx<T = void> = T extends void ? Error : T | Error;
5
- export interface ErrorRenderProps<T = void> extends FlexBoxProps {
6
- customError?: ReactNode;
7
- error?: ErrorEx<T>;
8
- errorContext?: string;
9
- noErrorDisplay?: boolean;
10
- noReAuth?: boolean;
11
- onCancel?: () => void;
12
- scope?: string;
13
- useLocation?: () => Location;
14
- }
15
- //# sourceMappingURL=Props.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Props.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/Props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEhD,MAAM,MAAM,OAAO,CAAC,CAAC,GAAG,IAAI,IAAI,CAAC,SAAS,IAAI,GAAG,KAAK,GAAG,CAAC,GAAG,KAAK,CAAA;AAElE,MAAM,WAAW,gBAAgB,CAAC,CAAC,GAAG,IAAI,CAAE,SAAQ,YAAY;IAC9D,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,QAAQ,CAAA;CAC7B"}
@@ -1,3 +0,0 @@
1
- import type { ErrorRenderProps } from './Props.ts';
2
- export declare function ErrorRender<T = void>({ onCancel, error, noErrorDisplay, customError, children, errorContext, scope, useLocation, ...props }: ErrorRenderProps<T>): JSX.Element;
3
- //# sourceMappingURL=Render.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Render.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/Render.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAElD,wBAAgB,WAAW,CAAC,CAAC,GAAG,IAAI,EAAE,EACpC,QAAQ,EACR,KAAK,EACL,cAAsB,EACtB,WAAkB,EAClB,QAAQ,EACR,YAAY,EACZ,KAAK,EACL,WAAW,EACX,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,OAAO,CA4BnC"}
@@ -1,4 +0,0 @@
1
- export * from './ErrorAlert.tsx';
2
- export * from './Props.ts';
3
- export * from './Render.tsx';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorRender/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA"}
@@ -1,4 +0,0 @@
1
- export * from './ErrorBoundary.tsx';
2
- export * from './ErrorBoundary/index.ts';
3
- export * from './ErrorRender/index.ts';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA"}
@@ -1,4 +0,0 @@
1
- import type { ErrorReporterContextState } from './State.ts';
2
- /** @deprecated use from @xylabs/react-error instead */
3
- export declare const ErrorReporterContext: import("react").Context<ErrorReporterContextState>;
4
- //# sourceMappingURL=Context.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/Context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,YAAY,CAAA;AAE3D,uDAAuD;AACvD,eAAO,MAAM,oBAAoB,oDAA+C,CAAA"}
@@ -1,10 +0,0 @@
1
- import type { PropsWithChildren } from 'react';
2
- import React from 'react';
3
- import type Rollbar from 'rollbar';
4
- /** @deprecated use from @xylabs/react-error instead */
5
- export interface ErrorReporterProviderProps {
6
- rollbar: Rollbar;
7
- }
8
- /** @deprecated use from @xylabs/react-error instead */
9
- export declare const ErrorReporterProvider: React.FC<PropsWithChildren<ErrorReporterProviderProps>>;
10
- //# sourceMappingURL=Provider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/Provider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAC9C,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,KAAK,OAAO,MAAM,SAAS,CAAA;AAIlC,uDAAuD;AACvD,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,OAAO,CAAA;CACjB;AACD,uDAAuD;AACvD,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,0BAA0B,CAAC,CAezF,CAAA"}
@@ -1,6 +0,0 @@
1
- import type Rollbar from 'rollbar';
2
- /** @deprecated use from @xylabs/react-error instead */
3
- export interface ErrorReporterContextState {
4
- rollbar?: Rollbar;
5
- }
6
- //# sourceMappingURL=State.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/State.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,SAAS,CAAA;AAElC,uDAAuD;AACvD,MAAM,WAAW,yBAAyB;IACxC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB"}
@@ -1,4 +0,0 @@
1
- export * from './Provider.tsx';
2
- export * from './State.ts';
3
- export * from './useErrorReporter.tsx';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA"}
@@ -1,3 +0,0 @@
1
- /** @deprecated use from @xylabs/react-error instead */
2
- export declare const useErrorReporter: () => import("./State.ts").ErrorReporterContextState;
3
- //# sourceMappingURL=useErrorReporter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useErrorReporter.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ErrorReporter/useErrorReporter.tsx"],"names":[],"mappings":"AAIA,uDAAuD;AACvD,eAAO,MAAM,gBAAgB,sDAO5B,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from './ErrorReporter/index.ts';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contexts/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA"}