@wabot-dev/framework 0.2.0-beta.7 → 0.2.0-beta.8

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.
@@ -13,6 +13,9 @@ class ApiKey extends Entity {
13
13
  get metadata() {
14
14
  return this.data.metadata ?? {};
15
15
  }
16
+ get name() {
17
+ return this.data.name;
18
+ }
16
19
  setAuthInfo(authInfo) {
17
20
  this.data.authInfo = authInfo;
18
21
  }
@@ -1015,6 +1015,7 @@ declare class ApiKey<A extends IStorableData> extends Entity<IApiKeyData<A>> {
1015
1015
  static hashSecret(secret: string): string;
1016
1016
  get authInfo(): A;
1017
1017
  get metadata(): Record<string, string>;
1018
+ get name(): string;
1018
1019
  setAuthInfo(authInfo: A): void;
1019
1020
  generateSecret(): string;
1020
1021
  isValidSecret(secret: string): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wabot-dev/framework",
3
- "version": "0.2.0-beta.7",
3
+ "version": "0.2.0-beta.8",
4
4
  "description": "Framework for IA Chat Bots",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",