- #1497
2606a2a
Thanks @Juice10! - Distributed files have new filenames, paths and extensions. Important: If you reference distributed files or types directly, you might have to update your paths/filenames. E.g. you import fromrrweb/typings/...
orrrdom/es
. However you runimport rrweb from 'rrweb'
you won't notice a difference with this change. If you include rrweb files directly in a script tag, you might have to update that path to include a the.umd.cjs
files instead. All.js
files now use ES modules which can be used in modern browsers, node.js and bundlers that support ES modules. All npm packages now also ship.cjs
and.umd.cjs
files. The.umd.cjs
files are CommonJS modules that bundle all files together to make it easy to ship one file to browser environments (similar to the previous.js
files). The.cjs
files are CommonJS modules that can be used in older Node.js environments. Types should be better defined inpackage.json
and if you need specific types they might be exported from new packages (for examplePlayerMachineState
andSpeedMachineState
are now exported from@rrweb/replay
). Check thepackage.json
'smain
andexports
field for the available files.
- Updated dependencies [
03b5216
,46f1b25
,cbbd1e5
,5e7943d
,c0f83af
,e96f668
]:- rrweb-snapshot@2.0.0-alpha.14
-
#1432
123a81e
Thanks @Juice10! - Addloop
tomediaInteractionParam
-
#1369
c278d06
Thanks @stefansundin! - Fix type error when using"moduleResolution": "NodeNext"
. -
Updated dependencies [
123a81e
,f7c6973
]:- rrweb-snapshot@2.0.0-alpha.13
- Updated dependencies [
58c9104
,a2be77b
,a7c33f2
,8aea5b0
,314a8dd
,7c0dc9d
,07ac5c9
]:- rrweb-snapshot@2.0.0-alpha.12
-
#1287
efdc167
Thanks @Juice10! - Upgrade all projects to typescript 4.9.5 -
Updated dependencies [
11f6567
,efdc167
,efdc167
]:- rrweb-snapshot@2.0.0-alpha.11
-
#1268
d872d28
Thanks @eoghanmurray! - Compact style mutation fixes and improvements- fixes when style updates contain a 'var()' on a shorthand property #1246
- further ensures that style mutations are compact by reverting to string method if it is shorter
-
Updated dependencies [
c6600e7
]:- rrweb-snapshot@2.0.0-alpha.10
- Updated dependencies [
d7c72bf
]:- rrweb-snapshot@2.0.0-alpha.9
- #1129
979d2b1
Thanks @eoghanmurray! - click events now include a.pointerType
attribute which distinguishes between 'pen', 'mouse' and 'touch' events. There is no new PenDown/PenUp events, but these can be detected with a MouseDown/MouseUp + pointerType=pen