stentor-models 1.54.24 → 1.55.1

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.
@@ -5,9 +5,12 @@ import { Content } from "./Content";
5
5
  import { Data } from "./Data";
6
6
  import { Forward } from "./Forward";
7
7
  import { Redirect } from "./Redirect";
8
+ /**
9
+ * A handler defines the necessary information to handle incoming requests and return a response.
10
+ */
8
11
  export interface Handler<C extends Content = Content, D extends Data = Data, F extends Forward = Forward, R extends Redirect = Redirect> extends Intent {
9
12
  type: string;
10
- content: C;
13
+ content?: C;
11
14
  data?: D;
12
15
  forward?: F;
13
16
  redirect?: R;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.54.24",
7
+ "version": "1.55.1",
8
8
  "description": "Models for 📣 stentor",
9
9
  "types": "lib/index",
10
10
  "typings": "lib/index",
@@ -18,9 +18,9 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "@microsoft/api-extractor": "7.21.3",
21
- "@rollup/plugin-typescript": "8.3.1",
21
+ "@rollup/plugin-typescript": "8.3.2",
22
22
  "@xapp/config": "0.2.3",
23
- "rollup": "2.70.1",
23
+ "rollup": "2.70.2",
24
24
  "tslib": "2.3.1",
25
25
  "typescript": "4.6.3"
26
26
  },
@@ -31,7 +31,7 @@
31
31
  "clean": "rm -rf ./lib/* && rm -rf ./dist/*"
32
32
  },
33
33
  "dependencies": {
34
- "@xapp/patterns": "1.40.101"
34
+ "@xapp/patterns": "1.40.139"
35
35
  },
36
- "gitHead": "f4ac95c2d0da110d3feab61eddb7a21f1dae6ade"
36
+ "gitHead": "ef9fffde368657023727b10cae5efedd9b7d532d"
37
37
  }