From 5934cc71f2c794116ff5a3a573ef3210bad191d4 Mon Sep 17 00:00:00 2001 From: Yanzhen Yu Date: Mon, 22 Oct 2018 10:36:40 +0800 Subject: [PATCH] bump 0.5.2 --- README.md | 6 +++++- package.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1dcd2ada..9c46dd60 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/package.json b/package.json index e0eceea0..982d4b1e 100644 --- a/package.json +++ b/package.json @@ -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",