bump 0.5.2

This commit is contained in:
Yanzhen Yu
2026-04-01 12:00:00 +08:00
parent 9a4c21c30f
commit 6e786f0101
2 changed files with 6 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ Also provide the ability to rebuild the DOM via snapshot.
## API ## API
This module export 3 methods: This module export following methods:
### snapshot ### snapshot
@@ -34,3 +34,7 @@ There are serveral things will be done during rebuild:
#### serializeNodeWithId #### serializeNodeWithId
`serializeNodeWithId` can serialize a node into snapshot format with id. `serializeNodeWithId` can serialize a node into snapshot format with id.
#### buildNodeWithSN
`buildNodeWithSN` will build DOM from serialized node and store serialized information in `__sn` property.

View File

@@ -1,6 +1,6 @@
{ {
"name": "rrweb-snapshot", "name": "rrweb-snapshot",
"version": "0.5.1", "version": "0.5.2",
"description": "rrweb's component to take a snapshot of DOM, aka DOM serializer", "description": "rrweb's component to take a snapshot of DOM, aka DOM serializer",
"main": "dist/index.js", "main": "dist/index.js",
"module": "dist/module.js", "module": "dist/module.js",