@nmshd/connector-tui 0.1.0 → 0.1.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.
- package/README.md +1 -1
- package/dist/ConnectorTUI.js +3 -0
- package/dist/mixins/AddShareRequestByTemplate.js +1 -1
- package/package.json +12 -12
package/README.md
CHANGED
package/dist/ConnectorTUI.js
CHANGED
|
@@ -34,6 +34,9 @@ export class ConnectorTUI extends ConnectorTUIBaseWithMixins {
|
|
|
34
34
|
}
|
|
35
35
|
async checkConnectorVersion() {
|
|
36
36
|
const connectorVersionInfo = await this.connectorClient.monitoring.getVersion();
|
|
37
|
+
// allow connector in debugging mode to be used
|
|
38
|
+
if (connectorVersionInfo.version === "{{version}}")
|
|
39
|
+
return connectorVersionInfo;
|
|
37
40
|
if (!connectorVersionInfo.version.startsWith("3.")) {
|
|
38
41
|
console.log(`This TUI is made for Enmeshed V2 connectors (starting with version 3.0.0 of the connector). Current version: ${connectorVersionInfo.version}`);
|
|
39
42
|
return;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nmshd/connector-tui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"repository": "github:nmshd/connector-tui",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "j&s-soft GmbH",
|
|
@@ -24,26 +24,26 @@
|
|
|
24
24
|
"test": "echo 'no test specified'"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@nmshd/connector-sdk": "^2.1.
|
|
28
|
-
"chalk": "^5.
|
|
27
|
+
"@nmshd/connector-sdk": "^2.1.4",
|
|
28
|
+
"chalk": "^5.2.0",
|
|
29
29
|
"dotenv": "^16.0.3",
|
|
30
|
-
"luxon": "^3.
|
|
30
|
+
"luxon": "^3.2.1",
|
|
31
31
|
"prompts": "^2.4.2",
|
|
32
32
|
"qrcode-terminal": "^0.12.0",
|
|
33
33
|
"yargs": "^17.6.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@js-soft/eslint-config-ts": "^1.6.
|
|
36
|
+
"@js-soft/eslint-config-ts": "^1.6.2",
|
|
37
37
|
"@js-soft/license-check": "^1.0.6",
|
|
38
|
-
"@types/luxon": "^3.
|
|
39
|
-
"@types/node": "^18.11.
|
|
40
|
-
"@types/prompts": "^2.4.
|
|
38
|
+
"@types/luxon": "^3.2.0",
|
|
39
|
+
"@types/node": "^18.11.18",
|
|
40
|
+
"@types/prompts": "^2.4.2",
|
|
41
41
|
"@types/qrcode-terminal": "^0.12.0",
|
|
42
|
-
"@types/yargs": "^17.0.
|
|
43
|
-
"eslint": "^8.
|
|
44
|
-
"prettier": "^2.8.
|
|
42
|
+
"@types/yargs": "^17.0.20",
|
|
43
|
+
"eslint": "^8.33.0",
|
|
44
|
+
"prettier": "^2.8.3",
|
|
45
45
|
"ts-node": "^10.9.1",
|
|
46
|
-
"typescript": "^4.9.
|
|
46
|
+
"typescript": "^4.9.4"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|