bump 0.5.2
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user