@glissandoo/lib 1.1.2 → 1.1.3

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,6 +5,7 @@ export default class CommunicationCommment extends Model<CommunicationCommentDat
5
5
  constructor(doc: firestore.DocumentSnapshot);
6
6
  get communicationId(): string;
7
7
  private get userInfo();
8
+ get text(): string;
8
9
  get name(): string;
9
10
  get photoURL(): string;
10
11
  private get createdBy();
@@ -15,6 +15,9 @@ class CommunicationCommment extends Model_1.default {
15
15
  get userInfo() {
16
16
  return this.data.userInfo;
17
17
  }
18
+ get text() {
19
+ return this.data.text || '';
20
+ }
18
21
  get name() {
19
22
  return this.userInfo.displayName;
20
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glissandoo/lib",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Glissandoo library js",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",