@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 +3 -3
- package/package.json +4 -4
- package/src/service.ts +1 -1
- package/support/cli.web_rpc-client.ts +1 -1
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
|
-
-
|
|
29
|
-
-m, --module <module>
|
|
30
|
-
-h, --help
|
|
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.
|
|
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.
|
|
31
|
-
"@travetto/schema": "^7.
|
|
32
|
-
"@travetto/web": "^7.
|
|
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.
|
|
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: {
|
|
15
|
+
@CliCommand({ with: { profiles: true, module: true } })
|
|
16
16
|
export class CliWebRpcCommand implements CliCommandShape {
|
|
17
17
|
|
|
18
18
|
@Ignore()
|