@xapp/stentor-chat-widget 1.30.0 → 1.35.0

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.
@@ -0,0 +1,5 @@
1
+ export interface UserInfo {
2
+ readonly avatarPath?: string;
3
+ readonly nick: string;
4
+ readonly displayName?: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=UserInfo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserInfo.js","sourceRoot":"","sources":["../src/UserInfo.ts"],"names":[],"mappings":""}
@@ -42,6 +42,7 @@ export interface WidgetEnv extends WidgetEnvDeprecated {
42
42
  * Widget is disabled
43
43
  */
44
44
  readonly disabled?: boolean;
45
+ readonly botName?: string;
45
46
  /**
46
47
  * The avatar URL
47
48
  */
package/lib/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  /*! Copyright (c) 2021, XAPPmedia */
2
2
  export * from "./ChannelData";
3
- export * from "./Types";
4
3
  export * from "./Constants";
4
+ export * from "./Types";
5
+ export * from "./UserInfo";
5
6
  export * from "./WidgetEnv";
6
7
  export * from "./WidgetTheme";
package/lib/index.js CHANGED
@@ -12,8 +12,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  /*! Copyright (c) 2021, XAPPmedia */
14
14
  __exportStar(require("./ChannelData"), exports);
15
- __exportStar(require("./Types"), exports);
16
15
  __exportStar(require("./Constants"), exports);
16
+ __exportStar(require("./Types"), exports);
17
+ __exportStar(require("./UserInfo"), exports);
17
18
  __exportStar(require("./WidgetEnv"), exports);
18
19
  __exportStar(require("./WidgetTheme"), exports);
19
20
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAAoC;AACpC,gDAA8B;AAC9B,0CAAwB;AACxB,8CAA4B;AAC5B,8CAA2B;AAC3B,gDAA8B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oCAAoC;AACpC,gDAA8B;AAC9B,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,8CAA4B;AAC5B,gDAA8B"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.30.0",
7
+ "version": "1.35.0",
8
8
  "description": "Chat Widget channel for stentor",
9
9
  "types": "lib/index",
10
10
  "main": "lib/index",
@@ -15,7 +15,7 @@
15
15
  "node": ">=10.x"
16
16
  },
17
17
  "devDependencies": {
18
- "@types/chai": "4.2.22",
18
+ "@types/chai": "4.3.0",
19
19
  "@types/dialogflow": "1.0.0",
20
20
  "@types/sinon": "10.0.6",
21
21
  "@types/sinon-chai": "3.2.6",
@@ -24,13 +24,13 @@
24
24
  "mocha": "9.1.3",
25
25
  "sinon": "12.0.1",
26
26
  "sinon-chai": "3.7.0",
27
- "stentor-models": "1.48.30",
27
+ "stentor-models": "1.48.44",
28
28
  "ts-node": "10.4.0",
29
- "typescript": "4.4.4"
29
+ "typescript": "4.5.4"
30
30
  },
31
31
  "dependencies": {
32
- "stentor-constants": "1.48.30",
33
- "stentor-guards": "1.48.30"
32
+ "stentor-constants": "1.48.44",
33
+ "stentor-guards": "1.48.44"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "stentor-models": "1.x"
@@ -39,5 +39,5 @@
39
39
  "build": "tsc -d true -p .",
40
40
  "clean": "rm -rf ./lib/*"
41
41
  },
42
- "gitHead": "27246b776ad32566952a7fa20e8b155a8b3795af"
42
+ "gitHead": "854741483c37714663ab53b6d5209b81f803abc5"
43
43
  }