@sinch/functions-runtime 0.5.7 → 0.5.9
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.
- package/README.md +8 -10
- package/dist/bin/sinch-runtime.js +1 -1
- package/dist/{chunk-DEFB2NIH.js → chunk-LU5JRQ64.js} +2588 -286
- package/dist/chunk-LU5JRQ64.js.map +1 -0
- package/dist/index.d.ts +10 -6
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-DEFB2NIH.js.map +0 -1
package/README.md
CHANGED
|
@@ -155,12 +155,12 @@ export async function ice(
|
|
|
155
155
|
|
|
156
156
|
## Request Limits
|
|
157
157
|
|
|
158
|
-
| Limit | Value
|
|
159
|
-
| -------------------------------------- |
|
|
160
|
-
| Request body | 10 MB
|
|
161
|
-
| Request/response body retained in logs | First 64 KB
|
|
158
|
+
| Limit | Value |
|
|
159
|
+
| -------------------------------------- | ---------------------- |
|
|
160
|
+
| Request body | 10 MB (10485760 bytes) |
|
|
161
|
+
| Request/response body retained in logs | First 64 KB |
|
|
162
162
|
|
|
163
|
-
A body larger than the
|
|
163
|
+
A body larger than the limit is rejected with `413` and a JSON response naming it:
|
|
164
164
|
|
|
165
165
|
```json
|
|
166
166
|
{
|
|
@@ -170,11 +170,9 @@ A body larger than the runtime limit is rejected with `413` and a JSON response
|
|
|
170
170
|
}
|
|
171
171
|
```
|
|
172
172
|
|
|
173
|
-
|
|
174
|
-
receive a `413` **without** the JSON
|
|
175
|
-
|
|
176
|
-
ceilings will succeed locally and fail once deployed — size against the platform limit, not this
|
|
177
|
-
one, until they match.
|
|
173
|
+
A deployed function sits behind the platform router, which enforces the same 10 MB cap, so a body
|
|
174
|
+
that is accepted locally is accepted once deployed. If you receive a `413` **without** the JSON
|
|
175
|
+
body above, the router rejected the request before it reached your function.
|
|
178
176
|
|
|
179
177
|
Logs retain the first 64 KB of a request or response body, appending
|
|
180
178
|
`…[truncated — N bytes total]` when the body was longer. Only text formats are retained — JSON,
|