@majikah/majik-signature-client 0.3.2 → 0.4.0

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.
@@ -23,9 +23,6 @@ export class MajikContactDirectory {
23
23
  !contact?.mlKey) {
24
24
  throw new MajikContactDirectoryError("Invalid contact");
25
25
  }
26
- if (!(contact instanceof MajikContact)) {
27
- throw new MajikContactDirectoryError("Invalid contact instance");
28
- }
29
26
  if (this.contacts.has(contact.id)) {
30
27
  throw new MajikContactDirectoryError(`Contact with id "${contact.id}" already exists`);
31
28
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@majikah/majik-signature-client",
3
3
  "type": "module",
4
4
  "description": "Majik Signature Client is a hybrid post-quantum content signing and verification library for the Majikah ecosystem. Built on top of Majik Key, it provides tamper-proof, forgery-resistant digital signatures for any content format — using a dual-algorithm architecture that combines classical Ed25519 with post-quantum ML-DSA-87 (FIPS-204).",
5
- "version": "0.3.2",
5
+ "version": "0.4.0",
6
6
  "license": "Apache-2.0",
7
7
  "author": "Zelijah",
8
8
  "main": "./dist/index.js",
@@ -54,9 +54,9 @@
54
54
  "dependencies": {
55
55
  "@majikah/majik-cjson": "^0.0.3",
56
56
  "@majikah/majik-contact": "^0.0.6",
57
- "@majikah/majik-file": "^0.1.8",
58
- "@majikah/majik-key": "^0.2.12",
59
- "@majikah/majik-signature": "^0.0.30",
57
+ "@majikah/majik-file": "^0.1.9",
58
+ "@majikah/majik-key": "^0.3.0",
59
+ "@majikah/majik-signature": "^0.1.0",
60
60
  "@stablelib/ed25519": "^2.1.0",
61
61
  "ed2curve": "^0.3.0",
62
62
  "fflate": "^0.8.3"