@digicatapult/sqnc-process-management 2.2.12 → 2.2.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digicatapult/sqnc-process-management",
3
- "version": "2.2.12",
3
+ "version": "2.2.13",
4
4
  "description": "SQNC Process Management Flow",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  "devDependencies": {
39
39
  "@types/chai": "^4.3.12",
40
40
  "@types/mocha": "^10.0.6",
41
- "@types/node": "^18.19.21",
41
+ "@types/node": "^18.19.22",
42
42
  "@typescript-eslint/eslint-plugin": "^7.1.1",
43
43
  "@typescript-eslint/parser": "^7.1.1",
44
44
  "chai": "^5.1.0",
@@ -56,7 +56,7 @@
56
56
  "@polkadot/api": "^10.12.1",
57
57
  "chalk": "^5.3.0",
58
58
  "commander": "^12.0.0",
59
- "typescript": "^5.3.3",
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 = ({ data, options, dryRun, verbose, }) => __awaiter(void 0, void 0, void 0, function* () {
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 = (processRaw, dryRun = false, options = defaultOptions, verbose = false) => __awaiter(void 0, void 0, void 0, function* () {
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 = (name, processVersion, dryRun = false, options = defaultOptions) => __awaiter(void 0, void 0, void 0, function* () {
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.12",
3
+ "version": "2.2.13",
4
4
  "description": "SQNC Process Management Flow",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -38,7 +38,7 @@
38
38
  "devDependencies": {
39
39
  "@types/chai": "^4.3.12",
40
40
  "@types/mocha": "^10.0.6",
41
- "@types/node": "^18.19.21",
41
+ "@types/node": "^18.19.22",
42
42
  "@typescript-eslint/eslint-plugin": "^7.1.1",
43
43
  "@typescript-eslint/parser": "^7.1.1",
44
44
  "chai": "^5.1.0",
@@ -56,7 +56,7 @@
56
56
  "@polkadot/api": "^10.12.1",
57
57
  "chalk": "^5.3.0",
58
58
  "commander": "^12.0.0",
59
- "typescript": "^5.3.3",
59
+ "typescript": "^5.4.2",
60
60
  "zod": "^3.22.4"
61
61
  }
62
62
  }