@alwaysmeticulous/sdk-bundles-api
Advanced tools
Comparing version 2.164.0 to 2.165.0
@@ -98,12 +98,10 @@ import { Cookie, HarRequest, HarResponse, IDBObjectStoreWithEntries, StorageEntry, WebSocketConnectionData } from "@alwaysmeticulous/api"; | ||
/** | ||
* Transforms network requests before they are sent to Meticulous's servers. | ||
* Transforms network responses before they are sent to Meticulous's servers. | ||
* | ||
* Returning null will cause the request and the response to be dropped from the payload. | ||
* If the request/response is dropped from the payload but at replay time your application still makes | ||
* the request then Meticulous will look for another closely matching recorded request, and replay that, | ||
* or if none can be found it will fail the request with 'net::ERR_FAILED'/'Failed to fetch'. | ||
* If you wish to drop a network response entirely please implement transformNetworkRequest | ||
* instead and return null for the corresponding request. | ||
* | ||
* See JSDoc for {@link RecorderMiddleware} before implementing. | ||
*/ | ||
transformNetworkResponse?: (response: HarResponse, metadata: NetworkResponseMetadata) => HarResponse | null; | ||
transformNetworkResponse?: (response: HarResponse, metadata: NetworkResponseMetadata) => HarResponse; | ||
/** | ||
@@ -110,0 +108,0 @@ * Transforms WebSocket messages before they are sent to Meticulous's servers. |
{ | ||
"name": "@alwaysmeticulous/sdk-bundles-api", | ||
"version": "2.164.0", | ||
"version": "2.165.0", | ||
"description": "Meticulous common types", | ||
@@ -49,3 +49,3 @@ "license": "ISC", | ||
}, | ||
"gitHead": "bdd7d1efdfb45a6d49618f369d56000a1eef337e" | ||
"gitHead": "fb42f552b9ae0d56218c531977db13fb14e94205" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39373
793
16