@h4ad/serverless-adapter 2.0.2 → 2.0.3
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.
|
@@ -29,7 +29,7 @@ export declare class ServerlessAdapter<TApp, TEvent, TContext, TCallback, TRespo
|
|
|
29
29
|
/**
|
|
30
30
|
* Settings for whether the response should be treated as binary or not
|
|
31
31
|
*
|
|
32
|
-
* @default `contentEncodings` and `contentTypes` are set with {@link DEFAULT_BINARY_ENCODINGS} and {@link
|
|
32
|
+
* @default `contentEncodings` and `contentTypes` are set with {@link DEFAULT_BINARY_ENCODINGS} and {@link DEFAULT_BINARY_CONTENT_TYPES}, respectively.
|
|
33
33
|
*/
|
|
34
34
|
protected binarySettings: BinarySettings;
|
|
35
35
|
/**
|
|
@@ -31,11 +31,11 @@ class ServerlessAdapter {
|
|
|
31
31
|
/**
|
|
32
32
|
* Settings for whether the response should be treated as binary or not
|
|
33
33
|
*
|
|
34
|
-
* @default `contentEncodings` and `contentTypes` are set with {@link DEFAULT_BINARY_ENCODINGS} and {@link
|
|
34
|
+
* @default `contentEncodings` and `contentTypes` are set with {@link DEFAULT_BINARY_ENCODINGS} and {@link DEFAULT_BINARY_CONTENT_TYPES}, respectively.
|
|
35
35
|
*/
|
|
36
36
|
this.binarySettings = {
|
|
37
37
|
contentEncodings: core_1.DEFAULT_BINARY_ENCODINGS,
|
|
38
|
-
contentTypes: core_1.
|
|
38
|
+
contentTypes: core_1.DEFAULT_BINARY_CONTENT_TYPES,
|
|
39
39
|
};
|
|
40
40
|
/**
|
|
41
41
|
* Indicates whether the error stack should be included in the response or not
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@h4ad/serverless-adapter",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "This library enables you to utilize any Cloud or Event Source to respond to web and API requests using your existing Node.js application framework.",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"files": [
|