@modelriver/cli 1.2.1 → 1.2.2

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/package.json +1 -1
  2. package/src/index.js +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modelriver/cli",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "ModelRiver CLI for testing webhooks and WebSockets from production",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -12,10 +12,12 @@ const config = require('./lib/config');
12
12
 
13
13
  const program = new Command();
14
14
 
15
+ const { version } = require('../package.json');
16
+
15
17
  program
16
18
  .name('modelriver')
17
19
  .description('ModelRiver CLI for testing webhooks and WebSockets from production')
18
- .version('1.1.0');
20
+ .version(version);
19
21
 
20
22
  // Global options
21
23
  program