bump 0.5.2

This commit is contained in:
Yanzhen Yu
2018-10-22 10:36:40 +08:00
parent 508bbdfc26
commit 5934cc71f2
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
This module export 3 methods:
This module export following methods:
### snapshot
@@ -34,3 +34,7 @@ There are serveral things will be done during rebuild:
#### serializeNodeWithId
`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",
"version": "0.5.1",
"version": "0.5.2",
"description": "rrweb's component to take a snapshot of DOM, aka DOM serializer",
"main": "dist/index.js",
"module": "dist/module.js",