@nxtedition/lib 25.1.2 → 25.1.3

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/http.js +1 -1
  2. package/package.json +1 -1
package/http.js CHANGED
@@ -954,7 +954,7 @@ export async function retry(fn, options) {
954
954
  * @param {Array} middleware
955
955
  * @return {Function}
956
956
  */
957
- const composeSlim = (middleware) => async (ctx, next) => {
957
+ const composeSlim = (middleware) => (ctx, next) => {
958
958
  const dispatch = (i) => () => {
959
959
  const fn = i === middleware.length ? next : middleware[i]
960
960
  return fn ? fn(ctx, dispatch(i + 1)) : undefined
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "25.1.2",
3
+ "version": "25.1.3",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",