@majikah/majik-message 0.2.4 → 0.2.5

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.
@@ -705,7 +705,9 @@ export class MajikMessage {
705
705
  file,
706
706
  metadata: file.toJSON(),
707
707
  binary: file.toMJKB(),
708
- signedBinary: file.toSignedMJKB(),
708
+ signedBinary: !!signingKey?.hasSigningKeys
709
+ ? file.toSignedMJKB()
710
+ : file.toMJKB(),
709
711
  };
710
712
  }
711
713
  /**
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@majikah/majik-message",
3
3
  "type": "module",
4
4
  "description": "Post-quantum end-to-end encryption with ML-KEM-768. Seed phrase–based accounts. Auto-expiring messages. Offline-ready. Exportable encrypted messages. Tamper-proof threads with blockchain-like integrity. Quantum-resistant messaging.",
5
- "version": "0.2.4",
5
+ "version": "0.2.5",
6
6
  "license": "Apache-2.0",
7
7
  "author": "Zelijah",
8
8
  "main": "./dist/index.js",