@orion-js/http 3.2.8 → 3.2.9

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.
@@ -20,9 +20,9 @@ function Route(options) {
20
20
  target.routes = target.routes || {};
21
21
  target.routes[propertyKey] = (0, route_1.default)({
22
22
  ...options,
23
- resolve: async (params, viewer) => {
23
+ resolve: async (req, res, viewer) => {
24
24
  const instance = (0, services_1.getInstance)(target.service);
25
- return await instance[propertyKey](params, viewer);
25
+ return await instance[propertyKey](req, res, viewer);
26
26
  }
27
27
  });
28
28
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orion-js/http",
3
- "version": "3.2.8",
3
+ "version": "3.2.9",
4
4
  "main": "lib/index.js",
5
5
  "types": "lib/index.d.ts",
6
6
  "files": [
@@ -42,5 +42,5 @@
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
- "gitHead": "9380aba023b0b9b241184f6063db91eff8c005bf"
45
+ "gitHead": "5d496e3aead1d47629fb54ef78d169ca4dc1b1e5"
46
46
  }