@alwaysmeticulous/sdk-bundles-api 2.34.0 → 2.35.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.
|
@@ -22,5 +22,15 @@ export interface NetworkResponseSanitizer {
|
|
|
22
22
|
* at replay time. For example, if you want to sanitize email addresses, replace them with a dummy email address
|
|
23
23
|
* of a current format. That will ensure that the email address will still pass any validation the application may have.
|
|
24
24
|
*/
|
|
25
|
-
sanitizeBody: (body: string) => string;
|
|
25
|
+
sanitizeBody: (body: string, metadata: NetworkResponseMetadata) => string;
|
|
26
|
+
}
|
|
27
|
+
export interface NetworkResponseMetadata {
|
|
28
|
+
/**
|
|
29
|
+
* Milliseconds since unix epoch when the request was sent
|
|
30
|
+
*/
|
|
31
|
+
requestStartedAt: number;
|
|
32
|
+
/**
|
|
33
|
+
* Milliseconds since unix epoch when the response was received
|
|
34
|
+
*/
|
|
35
|
+
responseReceivedAt: number;
|
|
26
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/sdk-bundles-api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.35.0",
|
|
4
4
|
"description": "Meticulous common types",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"loglevel": "^1.8.0",
|
|
25
|
-
"puppeteer": "^
|
|
25
|
+
"puppeteer": "^19.7.5"
|
|
26
26
|
},
|
|
27
27
|
"peerDependenciesMeta": {
|
|
28
28
|
"loglevel": {
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"bugs": {
|
|
50
50
|
"url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "2d87c57d10bb368950a1bf7d12d2da85ab701f00"
|
|
53
53
|
}
|