@alwaysmeticulous/sdk-bundles-api 2.164.0 → 2.166.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.
|
@@ -95,16 +95,14 @@ export interface RecorderMiddleware {
|
|
|
95
95
|
*/
|
|
96
96
|
transformNetworkRequest?: (request: Omit<HarRequest, "queryString">, metadata: NetworkRequestMetadata) => Omit<HarRequest, "queryString"> | null;
|
|
97
97
|
/**
|
|
98
|
-
* Transforms network
|
|
98
|
+
* Transforms network responses before they are sent to Meticulous's servers.
|
|
99
99
|
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
* the request then Meticulous will look for another closely matching recorded request, and replay that,
|
|
103
|
-
* or if none can be found it will fail the request with 'net::ERR_FAILED'/'Failed to fetch'.
|
|
100
|
+
* If you wish to drop a network response entirely please implement transformNetworkRequest
|
|
101
|
+
* instead and return null for the corresponding request.
|
|
104
102
|
*
|
|
105
103
|
* See JSDoc for {@link RecorderMiddleware} before implementing.
|
|
106
104
|
*/
|
|
107
|
-
transformNetworkResponse?: (response: HarResponse, metadata: NetworkResponseMetadata) => HarResponse
|
|
105
|
+
transformNetworkResponse?: (response: HarResponse, metadata: NetworkResponseMetadata) => HarResponse;
|
|
108
106
|
/**
|
|
109
107
|
* Transforms WebSocket messages before they are sent to Meticulous's servers.
|
|
110
108
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/sdk-bundles-api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.166.0",
|
|
4
4
|
"description": "Meticulous common types",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"depcheck": "depcheck --ignore-patterns=dist"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@alwaysmeticulous/api": "^2.
|
|
22
|
+
"@alwaysmeticulous/api": "^2.166.0"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
25
25
|
"loglevel": "^1.8.0"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"bugs": {
|
|
47
47
|
"url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "9f9d36e28324174a38c5992d803c725c66b9f1c2"
|
|
50
50
|
}
|