@arkstack/driver-express 0.17.2 → 0.17.4

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 +2 -1
  2. package/package.json +9 -8
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import express from "express";
2
2
  import { ArkstackKitDriver } from "@arkstack/contract";
3
3
  import { ErrorHandler, Logger, RequestException, devTlsCredentials, env, localNetworkAddress, renderError, resolveRuntimeModule } from "@arkstack/common";
4
4
  import https from "node:https";
5
- import { resolveMiddleware } from "@arkstack/http";
5
+ import { arkstackHttpPlugin, resolveMiddleware } from "@arkstack/http";
6
6
  import ngrok from "@ngrok/ngrok";
7
7
  import { Router as Router$2 } from "clear-router/express";
8
8
  import { clearRouterExpressPlugin } from "@resora/plugin-clear-router";
@@ -60,6 +60,7 @@ const defaultErrorHandler = async (err, req, res, next) => {
60
60
  //#endregion
61
61
  //#region src/Router.ts
62
62
  registerPlugin(clearRouterExpressPlugin);
63
+ Router$2.use(arkstackHttpPlugin);
63
64
  Router$2.configure({ inferParamName: true });
64
65
  var Router = class extends Router$2 {
65
66
  static async bind() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkstack/driver-express",
3
- "version": "0.17.2",
3
+ "version": "0.17.4",
4
4
  "type": "module",
5
5
  "description": "Express driver for Arkstack, providing Express-based runtime integration for the framework.",
6
6
  "homepage": "https://arkstack.toneflix.net",
@@ -38,19 +38,20 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@ngrok/ngrok": "^1.7.0",
41
- "@resora/plugin-clear-router": "^1.0.67",
42
- "clear-router": "^2.9.1",
41
+ "@resora/plugin-clear-router": "^1.0.68",
42
+ "clear-router": "^2.9.2",
43
43
  "express-rate-limit": "^8.4.1",
44
44
  "multer": "^2.1.1",
45
45
  "resora": "^1.3.28",
46
- "@arkstack/contract": "^0.17.2"
46
+ "@arkstack/contract": "^0.17.4",
47
+ "@arkstack/http": "^0.17.4"
47
48
  },
48
49
  "peerDependencies": {
49
50
  "express": "^5.2.1",
50
- "@arkstack/common": "^0.17.2",
51
- "@arkstack/auth": "^0.17.2",
52
- "@arkstack/inertia": "^0.17.2",
53
- "@arkstack/foundry": "^0.17.2"
51
+ "@arkstack/common": "^0.17.4",
52
+ "@arkstack/foundry": "^0.17.4",
53
+ "@arkstack/inertia": "^0.17.4",
54
+ "@arkstack/auth": "^0.17.4"
54
55
  },
55
56
  "peerDependenciesMeta": {
56
57
  "@arkstack/auth": {