@tramvai/papi 1.38.0 → 1.41.2

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/lib/server.es.js CHANGED
@@ -10,7 +10,7 @@ import { Router } from 'express';
10
10
  const body = (options) => {
11
11
  var _a;
12
12
  // PF-12590
13
- const limit = (_a = options === null || options === void 0 ? void 0 : options.limit) !== null && _a !== void 0 ? _a : '500kb';
13
+ const limit = (_a = options === null || options === void 0 ? void 0 : options.limit) !== null && _a !== void 0 ? _a : '2mb';
14
14
  return (papi) => {
15
15
  if (papi.options.disableBodyCookie) {
16
16
  return null;
package/lib/server.js CHANGED
@@ -24,7 +24,7 @@ var isFunction__default = /*#__PURE__*/_interopDefaultLegacy(isFunction);
24
24
  const body = (options) => {
25
25
  var _a;
26
26
  // PF-12590
27
- const limit = (_a = options === null || options === void 0 ? void 0 : options.limit) !== null && _a !== void 0 ? _a : '500kb';
27
+ const limit = (_a = options === null || options === void 0 ? void 0 : options.limit) !== null && _a !== void 0 ? _a : '2mb';
28
28
  return (papi) => {
29
29
  if (papi.options.disableBodyCookie) {
30
30
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/papi",
3
- "version": "1.38.0",
3
+ "version": "1.41.2",
4
4
  "description": "",
5
5
  "main": "lib/server.js",
6
6
  "browser": "lib/browser.js",