@digicatapult/sqnc-process-management 2.2.58 → 2.2.60

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.58",
3
+ "version": "2.2.60",
4
4
  "description": "SQNC Process Management Flow",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -47,7 +47,7 @@
47
47
  "eslint-config-prettier": "^9.1.0",
48
48
  "eslint-plugin-prettier": "^5.1.3",
49
49
  "mocha": "^10.4.0",
50
- "nodemon": "^3.1.3",
50
+ "nodemon": "^3.1.4",
51
51
  "prettier": "^3.3.2",
52
52
  "ts-mocha": "^10.0.0",
53
53
  "ts-node": "^10.9.2"
@@ -56,7 +56,7 @@
56
56
  "@polkadot/api": "^11.3.1",
57
57
  "chalk": "^5.3.0",
58
58
  "commander": "^12.1.0",
59
- "typescript": "^5.4.5",
59
+ "typescript": "^5.5.2",
60
60
  "zod": "^3.23.8"
61
61
  }
62
62
  }
@@ -1,4 +1,4 @@
1
- export declare const createProcessTransaction: (polkadot: Polkadot.Polkadot, processId: Process.Hex, program: ValidationProgram, options: Polkadot.Options) => Promise<{
1
+ export declare const createProcessTransaction: (polkadot: Polkadot.Polkadot, processId: Process.Hex, program: Process.Program, options: Polkadot.Options) => Promise<{
2
2
  waitForFinal: Promise<Process.Payload>;
3
3
  }>;
4
4
  export declare const disableProcessTransaction: (polkadot: Polkadot.Polkadot, processId: Process.Hex, version: number, options: Polkadot.Options) => Promise<Process.Payload>;
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import { CliInputParseError } from '../types/error.js';
3
2
  export declare const defaultOptions: Polkadot.Options;
4
3
  export declare const sanitizeInput: (data: string) => Process.Result<{
@@ -17,7 +16,7 @@ export declare const listTransforming: (res: Process.RawPayload[], options: Proc
17
16
  status: "Enabled" | "Disabled" | "Enabled (dry-run)" | "Disabled (dry-run)";
18
17
  }[];
19
18
  export declare const handleVerbose: (res: Process.Payload, verbose: boolean) => Process.Payload;
20
- export declare const createProcess: (processRaw: ValidationProcess, dryRun?: boolean, options?: Polkadot.Options, verbose?: boolean) => Promise<{
19
+ export declare const createProcess: (processRaw: Process.CliProcessInput, dryRun?: boolean, options?: Polkadot.Options, verbose?: boolean) => Promise<{
21
20
  waitForFinalised: Promise<Process.ProcessResponse>;
22
21
  }>;
23
22
  export declare const disableProcess: (name: string, processVersion: number, dryRun?: boolean, options?: Polkadot.Options) => Promise<Process.ProcessResponse>;
@@ -209,7 +209,7 @@ export const createProcess = (processRaw_1, ...args_1) => __awaiter(void 0, [pro
209
209
  return handleErr(err);
210
210
  }
211
211
  });
212
- 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) {
212
+ export const disableProcess = (name_1, processVersion_1, ...args_1) => __awaiter(void 0, [name_1, processVersion_1, ...args_1], void 0, function* (name, processVersion, dryRun = false, options = defaultOptions) {
213
213
  const processId = utf8ToHex(name);
214
214
  const polkadot = yield createNodeApi(options);
215
215
  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.58",
3
+ "version": "2.2.60",
4
4
  "description": "SQNC Process Management Flow",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -47,7 +47,7 @@
47
47
  "eslint-config-prettier": "^9.1.0",
48
48
  "eslint-plugin-prettier": "^5.1.3",
49
49
  "mocha": "^10.4.0",
50
- "nodemon": "^3.1.3",
50
+ "nodemon": "^3.1.4",
51
51
  "prettier": "^3.3.2",
52
52
  "ts-mocha": "^10.0.0",
53
53
  "ts-node": "^10.9.2"
@@ -56,7 +56,7 @@
56
56
  "@polkadot/api": "^11.3.1",
57
57
  "chalk": "^5.3.0",
58
58
  "commander": "^12.1.0",
59
- "typescript": "^5.4.5",
59
+ "typescript": "^5.5.2",
60
60
  "zod": "^3.23.8"
61
61
  }
62
62
  }