1.0.1 • Published 2 years ago
@tomorrow-catcher/client v1.0.1
@tomorrow-catcher/client
the base'SDK of the tomorrow-catcher'SDK
Install
Using npm:
$ npm install --save @tomorrow-catcher/client
or using yarn:
$ yarn add @tomorrow-catcher/client
or using pnpm:
$ pnpm add @tomorrow-catcher/client
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.
systemInfo
Type: {platform:string,userAgent:string,language:string,connection:{effectiveType:string,type:NetworkInformation['type']}baseVersion:string,sdkVersion:string}
Default: null
the base'SDK system info