@remit/backend 0.0.113 → 0.0.114

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.
@@ -97,11 +97,10 @@ if (isSelfHostBackend) {
97
97
  },
98
98
  );
99
99
 
100
- const { createAuth, resolveAuthConfig, toNodeHandler } = await import(
101
- "@remit/auth-service"
102
- );
100
+ const { createAuth, resolveAuthConfig, toNodeHandler, withRateLimitLogging } =
101
+ await import("@remit/auth-service");
103
102
  const auth = await createAuth(resolveAuthConfig());
104
- app.all(/^\/api\/auth\//, toNodeHandler(auth));
103
+ app.all(/^\/api\/auth\//, toNodeHandler(withRateLimitLogging(auth)));
105
104
  }
106
105
 
107
106
  // Ahead of the body parsers, not after them: a body refused for its size never
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/backend",
3
- "version": "0.0.113",
3
+ "version": "0.0.114",
4
4
  "description": "Remit Mail Inspector API backend",
5
5
  "license": "MIT",
6
6
  "author": "",