Skip to content

Commit

Permalink
Fix bug in gibbon-replay-js
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-klein committed Sep 24, 2024
1 parent c8ca5fb commit 5d04516
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion demosite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"@sveltejs/vite-plugin-svelte": "3.1.2",
"svelte": "4.2.19",
"vite": "5.4.3",
"gibbon-replay-js": "0.7.0"
"gibbon-replay-js": "0.8.0"
}
}
2 changes: 1 addition & 1 deletion packages/gibbon-replay-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gibbon-replay-js",
"version": "0.7.0",
"version": "0.8.0",
"type": "module",
"main": "./src/index.js",
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/gibbon-replay-js/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export async function init(recordUrl) {
headers: {
'Content-Type': 'text/plain'
},
data: JSON.stringify({
body: JSON.stringify({
rrweb_session_id: sessionStorage.getItem('rrweb_session_id'),
screenWidth: window.screen.width,
screenHeight: window.screen.height,
Expand Down Expand Up @@ -47,7 +47,7 @@ export async function init(recordUrl) {
headers: {
'Content-Type': 'text/plain'
},
data: body
body: body
}
);
} else {
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5d04516

Please sign in to comment.