@majikah/majik-message 0.1.6 → 0.1.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.
@@ -50,6 +50,8 @@ export interface MajikMessageThreadSummary {
50
50
  has_unread: boolean;
51
51
  starred: boolean;
52
52
  subject?: string;
53
+ status: ThreadStatus;
54
+ deletion_requested: boolean;
53
55
  }
54
56
  export interface MajikMessageThreadJSON {
55
57
  id: MajikMessageThreadID;
@@ -542,10 +542,6 @@ export class MajikMessageThread {
542
542
  !Number.isInteger(messageCount)) {
543
543
  throw new ValidationError("messageCount must be a non-negative integer");
544
544
  }
545
- // Cannot finalize a thread marked for deletion
546
- if (this._status === ThreadStatus.MARKED_FOR_DELETION) {
547
- throw new OperationNotAllowedError("Cannot export final stats for a thread marked for deletion");
548
- }
549
545
  // Merge tags
550
546
  const existingTags = this._metadata.tags || [];
551
547
  const mergedTags = additionalTags
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@majikah/majik-message",
3
3
  "type": "module",
4
4
  "description": "Encrypt and decrypt messages on any website or platform. Secure chats with keypairs and seed-based accounts. Open source.",
5
- "version": "0.1.6",
5
+ "version": "0.1.8",
6
6
  "license": "Apache-2.0",
7
7
  "author": "Zelijah",
8
8
  "main": "./dist/index.js",