@replayio-app-building/netlify-recorder 0.15.8 → 0.15.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -177,7 +177,7 @@ async function handleNeonSqlRequest(originalFetch, input, init, url, method, req
177
177
  const txBody = wasTransaction ? [...setConfigs, ...parsed] : [...setConfigs, parsed];
178
178
  const modifiedInit = {
179
179
  ...init,
180
- body: JSON.stringify(txBody)
180
+ body: JSON.stringify({ queries: txBody })
181
181
  };
182
182
  const response = await originalFetch(input, modifiedInit);
183
183
  const rawBody = await response.clone().text();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replayio-app-building/netlify-recorder",
3
- "version": "0.15.8",
3
+ "version": "0.15.9",
4
4
  "description": "Capture and replay Netlify function executions as Replay recordings",
5
5
  "type": "module",
6
6
  "exports": {