@digicatapult/sqnc-process-management 2.2.12 → 2.2.14
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/build/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digicatapult/sqnc-process-management",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.14",
|
|
4
4
|
"description": "SQNC Process Management Flow",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://github.com/digicatapult/sqnc-process-management#readme",
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@types/chai": "^4.3.
|
|
39
|
+
"@types/chai": "^4.3.13",
|
|
40
40
|
"@types/mocha": "^10.0.6",
|
|
41
|
-
"@types/node": "^18.19.
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
43
|
-
"@typescript-eslint/parser": "^7.
|
|
41
|
+
"@types/node": "^18.19.25",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
|
43
|
+
"@typescript-eslint/parser": "^7.3.1",
|
|
44
44
|
"chai": "^5.1.0",
|
|
45
45
|
"depcheck": "^1.4.7",
|
|
46
46
|
"eslint": "^8.57.0",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"ts-node": "^10.9.2"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@polkadot/api": "^10.12.
|
|
56
|
+
"@polkadot/api": "^10.12.3",
|
|
57
57
|
"chalk": "^5.3.0",
|
|
58
58
|
"commander": "^12.0.0",
|
|
59
|
-
"typescript": "^5.
|
|
59
|
+
"typescript": "^5.4.2",
|
|
60
60
|
"zod": "^3.22.4"
|
|
61
61
|
}
|
|
62
62
|
}
|
|
@@ -66,7 +66,7 @@ export const sanitizeInput = (data) => {
|
|
|
66
66
|
throw err;
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
|
-
export const loadProcesses = (
|
|
69
|
+
export const loadProcesses = (_a) => __awaiter(void 0, [_a], void 0, function* ({ data, options, dryRun, verbose, }) {
|
|
70
70
|
const parsedRes = sanitizeInput(data);
|
|
71
71
|
if (parsedRes.type === 'error') {
|
|
72
72
|
return parsedRes;
|
|
@@ -115,7 +115,7 @@ export const handleVerbose = (res, verbose) => {
|
|
|
115
115
|
const { program } = res, rest = __rest(res, ["program"]);
|
|
116
116
|
return rest;
|
|
117
117
|
};
|
|
118
|
-
export const createProcess = (
|
|
118
|
+
export const createProcess = (processRaw_1, ...args_1) => __awaiter(void 0, [processRaw_1, ...args_1], void 0, function* (processRaw, dryRun = false, options = defaultOptions, verbose = false) {
|
|
119
119
|
try {
|
|
120
120
|
const { name, version, program } = processValidation.parse(processRaw);
|
|
121
121
|
const processId = utf8ToHex(name);
|
|
@@ -179,7 +179,7 @@ export const createProcess = (processRaw, dryRun = false, options = defaultOptio
|
|
|
179
179
|
throw err;
|
|
180
180
|
}
|
|
181
181
|
});
|
|
182
|
-
export const disableProcess = (
|
|
182
|
+
export const disableProcess = (name_1, processVersion_1, ...args_2) => __awaiter(void 0, [name_1, processVersion_1, ...args_2], void 0, function* (name, processVersion, dryRun = false, options = defaultOptions) {
|
|
183
183
|
const processId = utf8ToHex(name);
|
|
184
184
|
const polkadot = yield createNodeApi(options);
|
|
185
185
|
const currentProcess = yield getProcess(polkadot, processId, processVersion);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digicatapult/sqnc-process-management",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.14",
|
|
4
4
|
"description": "SQNC Process Management Flow",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
},
|
|
37
37
|
"homepage": "https://github.com/digicatapult/sqnc-process-management#readme",
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@types/chai": "^4.3.
|
|
39
|
+
"@types/chai": "^4.3.13",
|
|
40
40
|
"@types/mocha": "^10.0.6",
|
|
41
|
-
"@types/node": "^18.19.
|
|
42
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
43
|
-
"@typescript-eslint/parser": "^7.
|
|
41
|
+
"@types/node": "^18.19.25",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
|
43
|
+
"@typescript-eslint/parser": "^7.3.1",
|
|
44
44
|
"chai": "^5.1.0",
|
|
45
45
|
"depcheck": "^1.4.7",
|
|
46
46
|
"eslint": "^8.57.0",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"ts-node": "^10.9.2"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@polkadot/api": "^10.12.
|
|
56
|
+
"@polkadot/api": "^10.12.3",
|
|
57
57
|
"chalk": "^5.3.0",
|
|
58
58
|
"commander": "^12.0.0",
|
|
59
|
-
"typescript": "^5.
|
|
59
|
+
"typescript": "^5.4.2",
|
|
60
60
|
"zod": "^3.22.4"
|
|
61
61
|
}
|
|
62
62
|
}
|