From f9e10b2613a482931c4afc1f419f1b64969ca5cb Mon Sep 17 00:00:00 2001 From: Riadh Mouamnia <85134557+riadhmouamnia@users.noreply.github.com> Date: Tue, 10 Sep 2024 18:35:43 +0100 Subject: [PATCH 1/3] fix some typos in optimize-storage.md --- docs/recipes/optimize-storage.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/recipes/optimize-storage.md b/docs/recipes/optimize-storage.md index a50118bf89..3c0c5b0a48 100644 --- a/docs/recipes/optimize-storage.md +++ b/docs/recipes/optimize-storage.md @@ -49,7 +49,7 @@ rrweb.record({ rrweb.record({ emit(event) {}, sampling: { - // Configure which kins of mouse interaction should be recorded + // Configure which kind of mouse interactions should be recorded mouseInteraction: { MouseUp: false, MouseDown: false, @@ -78,7 +78,7 @@ import { pack } from '@rrweb/packer'; rrweb.record({ emit(event) {}, - packFn: rrweb.pack, + packFn: pack, }); ``` @@ -88,7 +88,7 @@ And you need to pass packer.unpack as the `unpackFn` in replaying. import { unpack } from '@rrweb/packer'; const replayer = new rrweb.Replayer(events, { - unpackFn: rrweb.unpack, + unpackFn: unpack, }); ``` From 3b62d88c31a034f327ce01bac401692ce3957b52 Mon Sep 17 00:00:00 2001 From: Justin Halsall Date: Fri, 13 Sep 2024 09:58:30 +0200 Subject: [PATCH 2/3] Update docs/recipes/optimize-storage.md --- docs/recipes/optimize-storage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/recipes/optimize-storage.md b/docs/recipes/optimize-storage.md index 3c0c5b0a48..9a67d10331 100644 --- a/docs/recipes/optimize-storage.md +++ b/docs/recipes/optimize-storage.md @@ -49,7 +49,7 @@ rrweb.record({ rrweb.record({ emit(event) {}, sampling: { - // Configure which kind of mouse interactions should be recorded + // Configure which kinds of mouse interaction should be recorded mouseInteraction: { MouseUp: false, MouseDown: false, From a2a579aca11e566b4080b3a88cdf069b33e43c01 Mon Sep 17 00:00:00 2001 From: Justin Halsall Date: Fri, 13 Sep 2024 09:58:59 +0200 Subject: [PATCH 3/3] Create metal-mugs-mate.md --- .changeset/metal-mugs-mate.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .changeset/metal-mugs-mate.md diff --git a/.changeset/metal-mugs-mate.md b/.changeset/metal-mugs-mate.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/metal-mugs-mate.md @@ -0,0 +1,2 @@ +--- +---