@affinidi/cli 1.61.12 → 1.61.13

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.
@@ -8,7 +8,7 @@ type CheckOperationKeys = keyof typeof CHECK_OPERATION;
8
8
  type CheckVersionHookOptionType = Hooks & {
9
9
  check: {
10
10
  options: {
11
- id: typeof CHECK_OPERATION[CheckOperationKeys];
11
+ id: (typeof CHECK_OPERATION)[CheckOperationKeys];
12
12
  };
13
13
  };
14
14
  };
@@ -16,7 +16,7 @@ const checkVersion = async function checkVersion(opts) {
16
16
  }
17
17
  // the version was either not found in the config, or there was no config file.
18
18
  if (!version || !config_1.validVersions.includes(version)) {
19
- this.error(message);
19
+ throw new Error(message);
20
20
  }
21
21
  };
22
22
  exports.default = checkVersion;
@@ -1 +1 @@
1
- {"version":3,"file":"checkVersion.js","sourceRoot":"","sources":["../../../src/hooks/check/checkVersion.ts"],"names":[],"mappings":";;;AAGA,yCAAgD;AAChD,kDAAoE;AAEvD,QAAA,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC;IAC3C,MAAM,EAAE,sBAAsB;IAC9B,WAAW,EAAE,2BAA2B;CACzC,CAAC,CAAA;AAQF,MAAM,YAAY,GAA8C,KAAK,UAAU,YAAY,CAAC,IAAI;IAC9F,IAAI,OAAe,CAAA;IACnB,IAAI,OAAO,GAAG,EAAE,CAAA;IAChB,IAAI,IAAI,CAAC,EAAE,KAAK,uBAAe,CAAC,MAAM,EAAE;QACtC,OAAO,GAAG,sBAAa,CAAC,UAAU,EAAE,CAAA;QACpC,OAAO,GAAG,0BAAiB,CAAA;KAC5B;IAED,+EAA+E;IAC/E,IAAI,CAAC,OAAO,IAAI,CAAC,sBAAa,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;QAChD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;KACpB;AACH,CAAC,CAAA;AAED,kBAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"checkVersion.js","sourceRoot":"","sources":["../../../src/hooks/check/checkVersion.ts"],"names":[],"mappings":";;;AAGA,yCAAgD;AAChD,kDAAoE;AAEvD,QAAA,eAAe,GAAG,MAAM,CAAC,MAAM,CAAC;IAC3C,MAAM,EAAE,sBAAsB;IAC9B,WAAW,EAAE,2BAA2B;CACzC,CAAC,CAAA;AAOF,MAAM,YAAY,GAA8C,KAAK,UAAU,YAAY,CAAC,IAAI;IAC9F,IAAI,OAAe,CAAA;IACnB,IAAI,OAAO,GAAG,EAAE,CAAA;IAChB,IAAI,IAAI,CAAC,EAAE,KAAK,uBAAe,CAAC,MAAM,EAAE;QACtC,OAAO,GAAG,sBAAa,CAAC,UAAU,EAAE,CAAA;QACpC,OAAO,GAAG,0BAAiB,CAAA;KAC5B;IAED,+EAA+E;IAC/E,IAAI,CAAC,OAAO,IAAI,CAAC,sBAAa,CAAC,QAAQ,CAAC,OAAO,CAAC,EAAE;QAChD,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAA;KACzB;AACH,CAAC,CAAA;AAED,kBAAe,YAAY,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@affinidi/cli",
3
- "version": "1.61.12",
3
+ "version": "1.61.13",
4
4
  "description": "Affinidi Elements command-line-interface",
5
5
  "author": "affinidi.com",
6
6
  "license": "Apache-2.0",
@@ -53,7 +53,7 @@
53
53
  "homepage": "https://github.com/affinidi/affinidi-cli#readme",
54
54
  "dependencies": {
55
55
  "@oclif/core": "^2.0.11",
56
- "@oclif/plugin-autocomplete": "^1.4.5",
56
+ "@oclif/plugin-autocomplete": "^2.1.0",
57
57
  "@oclif/plugin-help": "^5.2.4",
58
58
  "@oclif/plugin-warn-if-update-available": "^2.0.26",
59
59
  "app-root-path": "^3.1.0",