@arextest/web-record-sdk
Advanced tools
+1
-1
| { | ||
| "name": "@arextest/web-record-sdk", | ||
| "version": "0.0.9", | ||
| "version": "0.0.10", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "main": "dist/web-record-sdk.umd.js", |
+35
-34
@@ -79,37 +79,38 @@ ### AREX RECORD SDK | ||
| | key | default | description | | ||
| | ------------------------ |--------------------| ------------------------------------------------------------ | | ||
| | tenantCode | required | The code of tenant | | ||
| | appId | required | A unique id used to identify the application | | ||
| | interval | 5000 | Interval time for sending data to server. The minimum value is 5000 | | ||
| | manual | false | Manual control record start and stop | | ||
| | tags | {} | A range of additional custom tags | | ||
| | serverUrl | built-in | The url of web record service | | ||
| | checkoutEveryNth | - | take a full snapshot after every N events refer to the [checkout](https://github.com/rrweb-io/rrweb/blob/master/guide.md#checkout) chapter | | ||
| | checkoutEveryNms | - | take a full snapshot after every N ms refer to the [checkout](https://github.com/rrweb-io/rrweb/blob/master/guide.md#checkout) chapter | | ||
| | blockClass | 'rr-block' | Use a string or RegExp to configure which elements should be blocked, refer to the [privacy](https://github.com/rrweb-io/rrweb/blob/master/guide.md#privacy) chapter | | ||
| | blockSelector | null | Use a string to configure which selector should be blocked, refer to the [privacy](https://github.com/rrweb-io/rrweb/blob/master/guide.md#privacy) chapter | | ||
| | ignoreClass | 'rr-ignore' | Use a string or RegExp to configure which elements should be ignored, refer to the [privacy](https://github.com/rrweb-io/rrweb/blob/master/guide.md#privacy) chapter | | ||
| | ignoreSelector | null | Use a string to configure which selector should be ignored, refer to the [privacy](https://github.com/rrweb-io/rrweb/blob/master/guide.md#privacy) chapter | | ||
| | ignoreCSSAttributes | null | array of CSS attributes that should be ignored | | ||
| | maskTextClass | 'rr-mask' | Use a string or RegExp to configure which elements should be masked, refer to the [privacy](https://github.com/rrweb-io/rrweb/blob/master/guide.md#privacy) chapter | | ||
| | maskTextSelector | null | Use a string to configure which selector should be masked, refer to the [privacy](https://github.com/rrweb-io/rrweb/blob/master/guide.md#privacy) chapter | | ||
| | maskAllInputs | false | mask all input content as * | | ||
| | maskInputOptions | { password: true } | mask some kinds of input * refer to the [list](https://github.com/rrweb-io/rrweb/blob/588164aa12f1d94576f89ae0210b98f6e971c895/packages/rrweb-snapshot/src/types.ts#L77-L95) | | ||
| | maskInputFn | - | customize mask input content recording logic | | ||
| | maskTextFn | - | customize mask text content recording logic | | ||
| | slimDOMOptions | {} | remove unnecessary parts of the DOM refer to the [list](https://github.com/rrweb-io/rrweb/blob/588164aa12f1d94576f89ae0210b98f6e971c895/packages/rrweb-snapshot/src/types.ts#L97-L108) | | ||
| | dataURLOptions | {} | Canvas image format and quality ,This parameter will be passed to the OffscreenCanvas.convertToBlob(),Using this parameter effectively reduces the size of the recorded data | | ||
| | inlineStylesheet | true | whether to inline the stylesheet in the events | | ||
| | hooks | {} | hooks for events refer to the [list](https://github.com/rrweb-io/rrweb/blob/9488deb6d54a5f04350c063d942da5e96ab74075/src/types.ts#L207) | | ||
| | packFn | - | refer to the [storage optimization recipe](https://github.com/rrweb-io/rrweb/blob/master/docs/recipes/optimize-storage.md) | | ||
| | sampling | - | refer to the [storage optimization recipe](https://github.com/rrweb-io/rrweb/blob/master/docs/recipes/optimize-storage.md) | | ||
| | recordCanvas | false | Whether to record the canvas element. Available options: `false`, `true` | | ||
| | recordCrossOriginIframes | false | Whether to record cross origin iframes. rrweb has to be injected in each child iframe for this to work. Available options: `false`, `true` | | ||
| | recordAfter | 'load' | If the document is not ready, then the recorder will start recording after the specified event is fired. Available options: `DOMContentLoaded`, `load` | | ||
| | inlineImages | false | whether to record the image content | | ||
| | collectFonts | false | whether to collect fonts in the website | | ||
| | key | default | description | | ||
| | ------------------------ |--------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ||
| | tenantCode | required | The code of tenant | | ||
| | appId | required | A unique id used to identify the application | | ||
| | interval | 5000 | Interval time for sending data to server. The minimum value is 5000 | | ||
| | manual | false | Manual control record start and stop | | ||
| | tags | {} | A range of additional custom tags | | ||
| | serverUrl | built-in | The url of web record service | | ||
| | enableTraceHeader | false | Creating back-end api trace | | ||
| | checkoutEveryNth | - | take a full snapshot after every N events refer to the [checkout](https://github.com/rrweb-io/rrweb/blob/master/guide.md#checkout) chapter | | ||
| | checkoutEveryNms | - | take a full snapshot after every N ms refer to the [checkout](https://github.com/rrweb-io/rrweb/blob/master/guide.md#checkout) chapter | | ||
| | blockClass | 'rr-block' | Use a string or RegExp to configure which elements should be blocked, refer to the [privacy](https://github.com/rrweb-io/rrweb/blob/master/guide.md#privacy) chapter | | ||
| | blockSelector | null | Use a string to configure which selector should be blocked, refer to the [privacy](https://github.com/rrweb-io/rrweb/blob/master/guide.md#privacy) chapter | | ||
| | ignoreClass | 'rr-ignore' | Use a string or RegExp to configure which elements should be ignored, refer to the [privacy](https://github.com/rrweb-io/rrweb/blob/master/guide.md#privacy) chapter | | ||
| | ignoreSelector | null | Use a string to configure which selector should be ignored, refer to the [privacy](https://github.com/rrweb-io/rrweb/blob/master/guide.md#privacy) chapter | | ||
| | ignoreCSSAttributes | null | array of CSS attributes that should be ignored | | ||
| | maskTextClass | 'rr-mask' | Use a string or RegExp to configure which elements should be masked, refer to the [privacy](https://github.com/rrweb-io/rrweb/blob/master/guide.md#privacy) chapter | | ||
| | maskTextSelector | null | Use a string to configure which selector should be masked, refer to the [privacy](https://github.com/rrweb-io/rrweb/blob/master/guide.md#privacy) chapter | | ||
| | maskAllInputs | false | mask all input content as * | | ||
| | maskInputOptions | { password: true } | mask some kinds of input * refer to the [list](https://github.com/rrweb-io/rrweb/blob/588164aa12f1d94576f89ae0210b98f6e971c895/packages/rrweb-snapshot/src/types.ts#L77-L95) | | ||
| | maskInputFn | - | customize mask input content recording logic | | ||
| | maskTextFn | - | customize mask text content recording logic | | ||
| | slimDOMOptions | {} | remove unnecessary parts of the DOM refer to the [list](https://github.com/rrweb-io/rrweb/blob/588164aa12f1d94576f89ae0210b98f6e971c895/packages/rrweb-snapshot/src/types.ts#L97-L108) | | ||
| | dataURLOptions | {} | Canvas image format and quality ,This parameter will be passed to the OffscreenCanvas.convertToBlob(),Using this parameter effectively reduces the size of the recorded data | | ||
| | inlineStylesheet | true | whether to inline the stylesheet in the events | | ||
| | hooks | {} | hooks for events refer to the [list](https://github.com/rrweb-io/rrweb/blob/9488deb6d54a5f04350c063d942da5e96ab74075/src/types.ts#L207) | | ||
| | packFn | - | refer to the [storage optimization recipe](https://github.com/rrweb-io/rrweb/blob/master/docs/recipes/optimize-storage.md) | | ||
| | sampling | - | refer to the [storage optimization recipe](https://github.com/rrweb-io/rrweb/blob/master/docs/recipes/optimize-storage.md) | | ||
| | recordCanvas | false | Whether to record the canvas element. Available options: `false`, `true` | | ||
| | recordCrossOriginIframes | false | Whether to record cross origin iframes. rrweb has to be injected in each child iframe for this to work. Available options: `false`, `true` | | ||
| | recordAfter | 'load' | If the document is not ready, then the recorder will start recording after the specified event is fired. Available options: `DOMContentLoaded`, `load` | | ||
| | inlineImages | false | whether to record the image content | | ||
| | collectFonts | false | whether to collect fonts in the website | | ||
| | userTriggeredOnInput | false | whether to add `userTriggered` on input events that indicates if this event was triggered directly by the user or not. [What is `userTriggered`?](https://github.com/rrweb-io/rrweb/pull/495) | | ||
| | plugins | [] | load plugins to provide extended record functions. [What is plugins?](https://github.com/rrweb-io/rrweb/blob/master/docs/recipes/plugin.md) | | ||
| | errorHandler | - | A callback that is called if something inside of rrweb throws an error. The callback receives the error as argument. | | ||
| | plugins | [] | load plugins to provide extended record functions. [What is plugins?](https://github.com/rrweb-io/rrweb/blob/master/docs/recipes/plugin.md) | | ||
| | errorHandler | - | A callback that is called if something inside of rrweb throws an error. The callback receives the error as argument. | | ||
@@ -116,0 +117,0 @@ |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
180618
1.68%127
0.79%