@majikah/majik-message 0.1.3 → 0.1.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.
- package/README.md +15 -3
- package/dist/core/crypto/keystore.d.ts +1 -1
- package/dist/core/database/thread/mail/majik-message-mail.d.ts +1 -0
- package/dist/core/database/thread/mail/majik-message-mail.js +3 -0
- package/dist/core/database/thread/majik-message-thread.d.ts +2 -1
- package/dist/core/database/thread/majik-message-thread.js +1 -0
- package/dist/majik-message.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
**Majik Message** is a secure messaging platform built on cryptographic identity. Your account *is* your encryption keys—no phone numbers, no passwords, just your 12-word seed phrase and complete privacy.
|
|
7
7
|
|
|
8
|
-
     [](https://opensource.org/licenses/Apache-2.0) 
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -31,8 +31,6 @@ Also available on [Google Chrome Web Store](https://chromewebstore.google.com/de
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
34
|
---
|
|
37
35
|
|
|
38
36
|
- [Majik Message](#majik-message)
|
|
@@ -94,6 +92,8 @@ Also available on [Google Chrome Web Store](https://chromewebstore.google.com/de
|
|
|
94
92
|
- [Anyone Seeking Digital Autonomy](#anyone-seeking-digital-autonomy)
|
|
95
93
|
- [Pricing](#pricing)
|
|
96
94
|
- [Part of the Majikah Ecosystem](#part-of-the-majikah-ecosystem)
|
|
95
|
+
- [Related Projects](#related-projects)
|
|
96
|
+
- [Majik Key](#majik-key)
|
|
97
97
|
- [Contributing](#contributing)
|
|
98
98
|
- [License](#license)
|
|
99
99
|
- [Author](#author)
|
|
@@ -529,6 +529,18 @@ All Majikah products share the same core principles: cryptographic identity, zer
|
|
|
529
529
|
|
|
530
530
|
---
|
|
531
531
|
|
|
532
|
+
## Related Projects
|
|
533
|
+
|
|
534
|
+
### [Majik Key](https://majikah.solutions/sdk/majik-key)
|
|
535
|
+
**Majik Key** is a seed phrase account library for creating, managing, and parsing mnemonic-based cryptographic accounts (Majik Keys). Generate deterministic key pairs from BIP39 seed phrases with simple, developer-friendly APIs.
|
|
536
|
+
|
|
537
|
+
   [](https://opensource.org/licenses/Apache-2.0) 
|
|
538
|
+
|
|
539
|
+
[Read Docs](https://majikah.solutions/sdk/majik-key/docs)
|
|
540
|
+
[Official Repository](https://github.com/Majikah/majik-key)
|
|
541
|
+
[SDK Library](https://www.npmjs.com/package/@majikah/majik-key)
|
|
542
|
+
|
|
543
|
+
---
|
|
532
544
|
|
|
533
545
|
## Contributing
|
|
534
546
|
|
|
@@ -56,6 +56,7 @@ export declare class MajikMessageMail {
|
|
|
56
56
|
get account(): MajikMessageAccountID;
|
|
57
57
|
get sender(): MajikMessagePublicKey;
|
|
58
58
|
get recipients(): readonly MajikMessagePublicKey[];
|
|
59
|
+
get participants(): readonly MajikMessagePublicKey[];
|
|
59
60
|
get timestamp(): Date;
|
|
60
61
|
get metadata(): Readonly<MailMetadata>;
|
|
61
62
|
get hash(): string;
|
|
@@ -49,6 +49,7 @@ export interface MajikMessageThreadSummary {
|
|
|
49
49
|
unread_count: number;
|
|
50
50
|
has_unread: boolean;
|
|
51
51
|
starred: boolean;
|
|
52
|
+
subject?: string;
|
|
52
53
|
}
|
|
53
54
|
export interface MajikMessageThreadJSON {
|
|
54
55
|
id: MajikMessageThreadID;
|
|
@@ -137,7 +138,7 @@ export declare class MajikMessageThread {
|
|
|
137
138
|
missingApprovals: string[];
|
|
138
139
|
duplicateApprovals: string[];
|
|
139
140
|
};
|
|
140
|
-
updateMetadata(metadata: Partial<ThreadMetadata>):
|
|
141
|
+
updateMetadata(metadata: Partial<ThreadMetadata>): this;
|
|
141
142
|
toJSON(): MajikMessageThreadJSON;
|
|
142
143
|
static fromJSON(json: MajikMessageThreadJSON | string): MajikMessageThread;
|
|
143
144
|
isOwner(publicKey: string): boolean;
|
package/dist/majik-message.js
CHANGED
|
@@ -13,7 +13,7 @@ import { randomBytes } from "@stablelib/random";
|
|
|
13
13
|
import { clearAllBlobs, idbLoadBlob, idbSaveBlob, } from "./core/utils/idb-majik-system";
|
|
14
14
|
import { MajikMessageChat } from "./core/database/chat/majik-message-chat";
|
|
15
15
|
import { MajikCompressor } from "./core/compressor/majik-compressor";
|
|
16
|
-
import { MajikKey } from "@
|
|
16
|
+
import { MajikKey } from "@majikah/majik-key";
|
|
17
17
|
export class MajikMessage {
|
|
18
18
|
userProfile = "default";
|
|
19
19
|
// Optional PIN protection (hashed). If set, UI should prompt for PIN to unlock.
|
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.5",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"author": "Zelijah",
|
|
8
8
|
"main": "./dist/index.js",
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
82
|
"@bokuweb/zstd-wasm": "^0.0.27",
|
|
83
|
+
"@majikah/majik-key": "^0.1.1",
|
|
83
84
|
"@scure/bip39": "^1.6.0",
|
|
84
85
|
"@stablelib/aes": "^2.0.1",
|
|
85
86
|
"@stablelib/ed25519": "^2.0.2",
|
|
@@ -88,7 +89,6 @@
|
|
|
88
89
|
"@stablelib/random": "^2.0.1",
|
|
89
90
|
"@stablelib/sha256": "^2.0.1",
|
|
90
91
|
"@stablelib/x25519": "^2.0.1",
|
|
91
|
-
"@thezelijah/majik-key": "^1.0.5",
|
|
92
92
|
"@thezelijah/majik-user": "^1.0.5",
|
|
93
93
|
"ed2curve": "^0.3.0",
|
|
94
94
|
"fernet": "^0.3.3",
|