@netlify/functions
Advanced tools
Comparing version 0.7.3-streaming.10 to 0.7.3-streaming.11
@@ -5,3 +5,3 @@ { | ||
"types": "./src/main.d.ts", | ||
"version": "0.7.3-streaming.10", | ||
"version": "0.7.3-streaming.11", | ||
"description": "JavaScript utilities for Netlify Functions", | ||
@@ -8,0 +8,0 @@ "files": [ |
@@ -79,2 +79,10 @@ /* eslint-disable no-underscore-dangle , promise/prefer-await-to-callbacks, */ | ||
console.log({ context }) | ||
if (!context.streaming) { | ||
return { | ||
statusCode: 422, | ||
body: 'Streaming is not supported in this function', | ||
} | ||
} | ||
const { callback_url: callbackUrl, target_ipv4: callbackIP } = context.streaming | ||
@@ -81,0 +89,0 @@ |
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
14709
297