@alwaysmeticulous/sdk-bundles-api 2.160.0 → 2.161.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.
@@ -123,7 +123,10 @@ export interface NetworkRequestMetadata {
123
123
  */
124
124
  requestStartedAt?: number;
125
125
  }
126
- export interface NetworkResponseMetadata {
126
+ export interface NetworkResponseMetadata extends NetworkResponseTimings {
127
+ request: Omit<HarRequest, "queryString">;
128
+ }
129
+ export interface NetworkResponseTimings {
127
130
  /**
128
131
  * Milliseconds since unix epoch when the request was sent
129
132
  */
@@ -1,4 +1,4 @@
1
- import { NetworkResponseMetadata, RecorderMiddleware } from "./middleware";
1
+ import { NetworkResponseTimings, RecorderMiddleware } from "./middleware";
2
2
  export interface MeticulousWindowConfig {
3
3
  METICULOUS_RECORDING_TOKEN?: string;
4
4
  METICULOUS_UPLOAD_INTERVAL_MS?: number;
@@ -26,5 +26,5 @@ export interface NetworkResponseSanitizer {
26
26
  * at replay time. For example, if you want to sanitize email addresses, replace them with a dummy email address
27
27
  * of a current format. That will ensure that the email address will still pass any validation the application may have.
28
28
  */
29
- sanitizeBody: (body: string, metadata: NetworkResponseMetadata) => string;
29
+ sanitizeBody: (body: string, metadata: NetworkResponseTimings) => string;
30
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/sdk-bundles-api",
3
- "version": "2.160.0",
3
+ "version": "2.161.0",
4
4
  "description": "Meticulous common types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -46,5 +46,5 @@
46
46
  "bugs": {
47
47
  "url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
48
48
  },
49
- "gitHead": "d1e2c73931448733dd3ad91d9def2720bb5f3b47"
49
+ "gitHead": "64e42104344377fca631912b5447ec16a7b29d12"
50
50
  }