@rpcbase/api 0.67.0 → 0.69.0

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -21157,7 +21157,7 @@ const initApi = async ({
21157
21157
  const coloredPath = routePath.startsWith("@rpcbase/") ? `${GRAY}${routePath}${RESET}` : routePath;
21158
21158
  console.log("loaded api route", coloredPath);
21159
21159
  };
21160
- await BBPromise.map(routeEntries, loadRoute);
21160
+ await BBPromise.mapSeries(routeEntries, loadRoute);
21161
21161
  console.log("Done loading routes");
21162
21162
  app.use("/api", (req, res) => {
21163
21163
  res.status(404).json({ error: `Not Found: ${req.method}:${req.originalUrl}` });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpcbase/api",
3
- "version": "0.67.0",
3
+ "version": "0.69.0",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"