@ohbug/extension-rrweb 1.9.0 → 1.9.1
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.
- package/dist/index.d.mts +5 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -4
package/dist/index.d.mts
ADDED
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var a=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var n in e)a(t,n,{get:e[n],enumerable:!0})},h=(t,e,n,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of c(e))!u.call(t,s)&&s!==n&&a(t,s,{get:()=>e[s],enumerable:!(i=p(e,s))||i.enumerable});return t};var f=t=>h(a({},"__esModule",{value:!0}),t);var b={};l(b,{default:()=>m});module.exports=f(b);var r=require("rrweb"),o=[[]],v={name:"OhbugExtensionRrweb",onSetup:()=>{(0,r.record)({emit(t,e){e&&o.push([]),o[o.length-1].push(t)},checkoutEveryNms:1*60*1e3,sampling:{mousemove:!1,scroll:250,media:800,input:"last"},packFn:r.pack})},onEvent:t=>{let e=o.length,n=(o[e-2]||[]).concat(o[e-1]);return t.addMetadata("rrweb",n),t}},m=v;
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{pack as s,record as r}from"rrweb";var
|
|
1
|
+
import{pack as s,record as r}from"rrweb";var e=[[]],a={name:"OhbugExtensionRrweb",onSetup:()=>{r({emit(t,n){n&&e.push([]),e[e.length-1].push(t)},checkoutEveryNms:1*60*1e3,sampling:{mousemove:!1,scroll:250,media:800,input:"last"},packFn:s})},onEvent:t=>{let n=e.length,o=(e[n-2]||[]).concat(e[n-1]);return t.addMetadata("rrweb",o),t}},i=a;export{i as default};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ohbug/extension-rrweb",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.1",
|
|
4
4
|
"description": "Ohbug extension to 'screen recording'",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "chenyueban <jasonchan0527@gmail.com>",
|
|
@@ -29,11 +29,12 @@
|
|
|
29
29
|
"rrweb": "^2.0.0"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@ohbug/core": "^2.1.
|
|
33
|
-
"@ohbug/types": "^2.1.
|
|
32
|
+
"@ohbug/core": "^2.1.1",
|
|
33
|
+
"@ohbug/types": "^2.1.1",
|
|
34
|
+
"@rrweb/types": "2.0.0-alpha.9"
|
|
34
35
|
},
|
|
35
36
|
"devDependencies": {
|
|
36
|
-
"rrweb": "^2.0.0-alpha.
|
|
37
|
+
"rrweb": "^2.0.0-alpha.4"
|
|
37
38
|
},
|
|
38
39
|
"publishConfig": {
|
|
39
40
|
"access": "public"
|