attlaz-client 1.16.6 → 1.16.7

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.
@@ -15,7 +15,7 @@ export class InboxMessage {
15
15
  inboxMessage.subject = rawNotification.subject;
16
16
  inboxMessage.body = rawNotification.body;
17
17
  inboxMessage.time = Utils.parseRawDate(rawNotification.time);
18
- inboxMessage.acknowledged = rawNotification.acknowledged === 1;
18
+ inboxMessage.acknowledged = Utils.isTrue(rawNotification.acknowledged);
19
19
  return inboxMessage;
20
20
  }
21
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "attlaz-client",
3
- "version": "1.16.6",
3
+ "version": "1.16.7",
4
4
  "description": "Javascript Client to access Attlaz API",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",