@certik/skynet 0.10.64 → 0.10.65
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/CHANGELOG.md +4 -0
- package/api.js +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/api.js
CHANGED
|
@@ -90,7 +90,7 @@ const apiKeyMiddleware = (key) => {
|
|
|
90
90
|
|
|
91
91
|
async function startApiApp({ binaryName, name, selector = {}, routes, serve, beforeListen }) {
|
|
92
92
|
const app = express();
|
|
93
|
-
app.use(express.json());
|
|
93
|
+
app.use(express.json({ limit: "20mb" }));
|
|
94
94
|
|
|
95
95
|
const cli = meow(
|
|
96
96
|
`
|
|
@@ -111,7 +111,7 @@ ${getSelectorDesc(selector)}
|
|
|
111
111
|
default: false,
|
|
112
112
|
},
|
|
113
113
|
},
|
|
114
|
-
}
|
|
114
|
+
},
|
|
115
115
|
);
|
|
116
116
|
|
|
117
117
|
const { verbose, ...selectorFlags } = cli.flags;
|
|
@@ -150,7 +150,7 @@ ${getSelectorDesc(selector)}
|
|
|
150
150
|
|
|
151
151
|
next();
|
|
152
152
|
},
|
|
153
|
-
logEndMiddleware
|
|
153
|
+
logEndMiddleware,
|
|
154
154
|
);
|
|
155
155
|
}
|
|
156
156
|
}
|
package/package.json
CHANGED