@travetto/web-rpc 7.0.6 → 7.1.1

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.
package/README.md CHANGED
@@ -25,9 +25,9 @@ $ trv web:rpc-client --help
25
25
  Usage: web:rpc-client [options] <type:config|node|web> [output:string]
26
26
 
27
27
  Options:
28
- -e, --env <string> Application environment
29
- -m, --module <module> Module to run for
30
- -h, --help display help for command
28
+ -p, --profile <string> Application profiles
29
+ -m, --module <module> Module to run for
30
+ -h, --help display help for command
31
31
  ```
32
32
 
33
33
  ## Example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@travetto/web-rpc",
3
- "version": "7.0.6",
3
+ "version": "7.1.1",
4
4
  "type": "module",
5
5
  "description": "RPC support for a Web Application",
6
6
  "keywords": [
@@ -27,9 +27,9 @@
27
27
  "directory": "module/web-rpc"
28
28
  },
29
29
  "dependencies": {
30
- "@travetto/config": "^7.0.6",
31
- "@travetto/schema": "^7.0.6",
32
- "@travetto/web": "^7.0.6"
30
+ "@travetto/config": "^7.1.1",
31
+ "@travetto/schema": "^7.1.1",
32
+ "@travetto/web": "^7.1.1"
33
33
  },
34
34
  "travetto": {
35
35
  "displayName": "Web RPC Support"
package/src/service.ts CHANGED
@@ -10,7 +10,7 @@ import { SchemaRegistryIndex } from '@travetto/schema';
10
10
  import { clientFactory } from '../support/client/rpc.ts';
11
11
  import type { WebRpcClient, WebRpcConfig } from './config.ts';
12
12
 
13
- @Injectable({ autoInject: Runtime.envType === 'development' })
13
+ @Injectable({ autoInject: Runtime.localDevelopment })
14
14
  export class WebRpcClientGeneratorService {
15
15
 
16
16
  @Inject()
@@ -12,7 +12,7 @@ import { WebRpcClientGeneratorService } from '../src/service.ts';
12
12
  /**
13
13
  * Generate the web-rpc client
14
14
  */
15
- @CliCommand({ with: { env: true, module: true } })
15
+ @CliCommand({ with: { profiles: true, module: true } })
16
16
  export class CliWebRpcCommand implements CliCommandShape {
17
17
 
18
18
  @Ignore()