@magda/minion-framework 2.0.0-alpha.4 → 2.0.0-alpha.5

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.
@@ -2,4 +2,4 @@ import { WebHook } from "@magda/typescript-common/dist/generated/registry/api";
2
2
  import Registry from "@magda/typescript-common/dist/registry/AuthorizedRegistryClient";
3
3
  import MinionOptions from "./MinionOptions";
4
4
  export declare type NeedsCrawl = Promise<boolean>;
5
- export default function registerNewWebhook(options: MinionOptions, registry: Registry): Promise<Error | WebHook>;
5
+ export default function registerNewWebhook(options: MinionOptions, registry: Registry): Promise<WebHook | import("../../magda-typescript-common/src/ServerError").default>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@magda/minion-framework",
3
3
  "description": "MAGDA Minion Framework",
4
- "version": "2.0.0-alpha.4",
4
+ "version": "2.0.0-alpha.5",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf dist tsconfig.tsbuildinfo",
7
7
  "build": "yarn run compile",
@@ -14,7 +14,7 @@
14
14
  "license": "Apache-2.0",
15
15
  "main": "dist",
16
16
  "devDependencies": {
17
- "@magda/scripts": "^2.0.0-alpha.4",
17
+ "@magda/scripts": "^2.0.0-alpha.5",
18
18
  "@types/chai": "^4.0.1",
19
19
  "@types/express": "^4.17.6",
20
20
  "@types/isomorphic-fetch": "0.0.34",
@@ -38,8 +38,8 @@
38
38
  "typescript": "^3.7.2"
39
39
  },
40
40
  "dependencies": {
41
- "@magda/registry-aspects": "^2.0.0-alpha.4",
42
- "@magda/typescript-common": "^2.0.0-alpha.4",
41
+ "@magda/registry-aspects": "^2.0.0-alpha.5",
42
+ "@magda/typescript-common": "^2.0.0-alpha.5",
43
43
  "body-parser": "^1.17.2",
44
44
  "express": "^4.17.1",
45
45
  "isomorphic-fetch": "^2.2.1",