@replayio-app-building/netlify-recorder 0.52.0 → 0.53.0
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.
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -105,6 +105,8 @@ interface BlobData {
|
|
|
105
105
|
* network calls).
|
|
106
106
|
*/
|
|
107
107
|
originalRequestId?: string;
|
|
108
|
+
/** The version of @replayio-app-building/netlify-recorder that generated this blob. */
|
|
109
|
+
packageVersion: string;
|
|
108
110
|
}
|
|
109
111
|
interface FinishRequestCallbacks {
|
|
110
112
|
/**
|
package/dist/index.js
CHANGED
|
@@ -968,7 +968,8 @@ async function finishRequest(requestContext, callbacks, response, options) {
|
|
|
968
968
|
statusCode: response.statusCode ?? response.status ?? 0,
|
|
969
969
|
body: typeof response.body === "string" ? response.body : void 0
|
|
970
970
|
},
|
|
971
|
-
originalRequestId: options?.originalRequestId
|
|
971
|
+
originalRequestId: options?.originalRequestId,
|
|
972
|
+
packageVersion: "0.53.0"
|
|
972
973
|
};
|
|
973
974
|
const blobData = redactBlobData(rawBlobData);
|
|
974
975
|
const blobContent = JSON.stringify(blobData);
|