@opra/nestjs 1.19.5 → 1.20.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.
@@ -59,7 +59,7 @@ let RpcControllerFactory = class RpcControllerFactory {
59
59
  });
60
60
  this.registerContextProvider(opraContext, contextId);
61
61
  const contextInstance = await this.injector.loadPerContext(instance, moduleRef, moduleRef.providers, contextId);
62
- const contextCallback = this.externalContextCreator.create(contextInstance, contextInstance[methodName], methodName, constants_js_1.PARAM_ARGS_METADATA, paramsFactory, contextId, wrapper.id, options, opraContext.protocol);
62
+ const contextCallback = this.externalContextCreator.create(contextInstance, contextInstance[methodName], methodName, constants_js_1.PARAM_ARGS_METADATA, paramsFactory, contextId, wrapper.id, options, opraContext.transport);
63
63
  return contextCallback(opraContext);
64
64
  };
65
65
  }
@@ -56,7 +56,7 @@ let RpcControllerFactory = class RpcControllerFactory {
56
56
  });
57
57
  this.registerContextProvider(opraContext, contextId);
58
58
  const contextInstance = await this.injector.loadPerContext(instance, moduleRef, moduleRef.providers, contextId);
59
- const contextCallback = this.externalContextCreator.create(contextInstance, contextInstance[methodName], methodName, PARAM_ARGS_METADATA, paramsFactory, contextId, wrapper.id, options, opraContext.protocol);
59
+ const contextCallback = this.externalContextCreator.create(contextInstance, contextInstance[methodName], methodName, PARAM_ARGS_METADATA, paramsFactory, contextId, wrapper.id, options, opraContext.transport);
60
60
  return contextCallback(opraContext);
61
61
  };
62
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/nestjs",
3
- "version": "1.19.5",
3
+ "version": "1.20.0",
4
4
  "description": "Opra NestJS module",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -10,8 +10,8 @@
10
10
  "tslib": "^2.8.1"
11
11
  },
12
12
  "peerDependencies": {
13
- "@opra/common": "^1.19.5",
14
- "@opra/core": "^1.19.5",
13
+ "@opra/common": "^1.20.0",
14
+ "@opra/core": "^1.20.0",
15
15
  "@nestjs/common": "^10.0.0 || ^11.0.0",
16
16
  "@nestjs/core": "^10.0.0 || ^11.0.0",
17
17
  "@nestjs/microservices": "^10.0.0 || ^11.0.0"