@majikah/majik-message 0.1.2 → 0.1.4

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 CHANGED
@@ -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
+ ![npm](https://img.shields.io/npm/v/@majikah/majik-key) ![npm downloads](https://img.shields.io/npm/dm/@majikah/majik-key) ![npm bundle size](https://img.shields.io/bundlephobia/min/%40thezelijah%2Fmajik-key) [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue)
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
 
@@ -1,4 +1,4 @@
1
- import { MajikKey } from "@thezelijah/majik-key";
1
+ import { MajikKey } from "@majikah/majik-key";
2
2
  export interface KeyStoreIdentity {
3
3
  id: string;
4
4
  publicKey: CryptoKey | {
@@ -43,8 +43,8 @@ export interface MajikMessageThreadSummary {
43
43
  id: MajikMessageThreadID;
44
44
  participants: MajikMessagePublicKey[];
45
45
  participant_count: number;
46
- latest_message: MajikMessageMailJSON;
47
- latest_message_timestamp: ISODateString;
46
+ latest_message: MajikMessageMailJSON | null;
47
+ latest_message_timestamp: ISODateString | null;
48
48
  total_messages: number;
49
49
  unread_count: number;
50
50
  has_unread: boolean;
@@ -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 "@thezelijah/majik-key";
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.2",
5
+ "version": "0.1.4",
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",