1.1.3 • Published 2 years ago

@tomorrow-catcher/browser v1.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@tomorrow-catcher/browser

the browser'SDK of the tomorrow-catcher'SDK

Install

Using npm:

$ npm install --save  @tomorrow-catcher/browser

or using yarn:

$ yarn add @tomorrow-catcher/browser

or using pnpm:

$ pnpm add @tomorrow-catcher/browser

Usage

DOCS

Options

key

Type: string Default:

the app unique key

expireDate

Type: number Default: 0

the log expire date,the log will upload when the expireDate was setting 0.one step is millisecond.

reportUrl

Type: string Default: ''

the log upload api url.

handlersList

Type: 'error' | 'unhandledrejection' | 'fetch' | 'xhr' | 'sourceLoad' | 'lag'[] Default: []

the errors handler list

handlersOpts

Type: {lag:{threshold: number,second: number}} Default: null

the errors handler options

sdkVersion

Type: string Default: ${current SDK'version}

the extra sdk'version

Meta

LICENSE (MIT)

1.1.1

2 years ago

1.0.2

2 years ago

1.1.0

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.3

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago