@majikah/majik-message 0.1.9 → 0.1.11
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.
|
@@ -488,7 +488,7 @@ export class MajikMessageMail {
|
|
|
488
488
|
// First item should link to thread hash
|
|
489
489
|
previousHash = thread.hash;
|
|
490
490
|
// Verify previousMailID is undefined for first item
|
|
491
|
-
if (currentMail.previousMailID
|
|
491
|
+
if (!!currentMail.previousMailID?.trim()) {
|
|
492
492
|
errors.push(`First mail item (${currentMail.id}) should not have a previousMailID`);
|
|
493
493
|
tamperedItems.push(currentMail.id);
|
|
494
494
|
}
|
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.
|
|
5
|
+
"version": "0.1.11",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"author": "Zelijah",
|
|
8
8
|
"main": "./dist/index.js",
|