@sinch/functions-runtime 0.5.7 → 0.5.8

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 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 _(runtime limit — platform may be lower)_ |
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 runtime limit is rejected with `413` and a JSON response naming it:
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
- **A deployed function sits behind a platform limit that is currently lower than 10 MB.** If you
174
- receive a `413` **without** the JSON body above, the request was rejected before it reached your
175
- function. Local development does not enforce that platform limit, so a body between the two
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,
@@ -16,7 +16,7 @@ import {
16
16
  isVoiceCallback,
17
17
  secretsLoader,
18
18
  setupRequestHandler
19
- } from "../chunk-DEFB2NIH.js";
19
+ } from "../chunk-LU5JRQ64.js";
20
20
 
21
21
  // ../../node_modules/dotenv/package.json
22
22
  var require_package = __commonJS({