@serverless/sdk
Advanced tools
Comparing version 0.5.17 to 0.5.18
@@ -5,2 +5,8 @@ # Changelog | ||
### [0.5.18](https://github.com/serverless/console/compare/@serverless/sdk@0.5.17...@serverless/sdk@0.5.18) (2023-05-17) | ||
### Features | ||
- Enable filters configuration for HTTP requests ([554e358](https://github.com/serverless/console/commit/554e358e62848ddde08d8e88ddfdc68b00749a4e)) | ||
### [0.5.17](https://github.com/serverless/console/compare/@serverless/sdk@0.5.16...@serverless/sdk@0.5.17) (2023-05-10) | ||
@@ -7,0 +13,0 @@ |
@@ -9,2 +9,4 @@ 'use strict'; | ||
const requestFilters = []; | ||
const urlToHttpOptions = (url) => { | ||
@@ -183,3 +185,4 @@ const options = { | ||
(originalCb && typeof originalCb !== 'function') || | ||
serverlessSdk._isInTraceSpanBlackBox | ||
serverlessSdk._isInTraceSpanBlackBox || | ||
requestFilters.some((filter) => !filter(options)) | ||
) { | ||
@@ -283,2 +286,4 @@ shouldIgnoreFollowingRequest = false; | ||
module.exports.requestFilters = requestFilters; | ||
const serverlessSdk = require('../..'); |
{ | ||
"name": "@serverless/sdk", | ||
"repository": "serverless/console", | ||
"version": "0.5.17", | ||
"version": "0.5.18", | ||
"author": "Serverless, Inc.", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
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
86197
1647