0.4.0 • Published 8 months ago

@ringcentral/mfe-sentry v0.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@ringcentral/mfe-sentry

Node CI

A micro frontends framework for building Web applications

Usage

npm install @ringcentral/mfe-sentry
# or
yarn add @ringcentral/mfe-sentry

You can visit https://github.com/ringcentral/ringcentral-mfe for more documentation.

Note: Sentry does not fully support micro-frontends, and the library cannot capture default errors in fetch() requests of sub-applications.

Based on Sentry experimental features, it relies on injecting moduleMetadata through webpack bundler. To reduce dependency on builders and improve ease of use, @ringcentral/mfe-sentry only provides runtime API.

interface MfeSentry {
    hub: Hub;
    client: BrowserClient;
    urls: string[];
    setTags: (tags: Record<string, any>) => void;
    setTag: (key: string, value: any) => void;
    setExtra: (key: string, value: any) => void;
    setExtras: (extras: Record<...>) => void;
    setUser: (user: User | null) => void;
}
0.4.0

8 months ago

0.3.9

10 months ago

0.3.8

12 months ago

0.3.7

1 year ago

0.3.6

1 year ago

0.3.5

1 year ago

0.3.4

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.2.1

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago