@majikah/majik-universal-id-client 0.0.6 → 0.0.7

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.
@@ -609,7 +609,7 @@ export declare class MajikUniversalIdClient {
609
609
  getFileSignatureInfo(file: Blob, options?: {
610
610
  mimeType?: string;
611
611
  }): Promise<MajikSignature[] | null>;
612
- signURL(url: string, verified?: boolean): Promise<MajikSLink>;
612
+ signURL(url: string, muid: string, verified?: boolean): Promise<MajikSLink>;
613
613
  verifySLink(slink: MajikSLink): Promise<VerificationResult & {
614
614
  handler?: string;
615
615
  reason?: string;
@@ -1222,7 +1222,7 @@ export class MajikUniversalIdClient {
1222
1222
  }
1223
1223
  }
1224
1224
  // ── Majik SLink ───────────────────────────
1225
- async signURL(url, verified = false) {
1225
+ async signURL(url, muid, verified = false) {
1226
1226
  const id = this.getActiveAccount()?.id;
1227
1227
  if (!id)
1228
1228
  throw new Error("No active account — call setActiveAccount() first");
@@ -1237,7 +1237,7 @@ export class MajikUniversalIdClient {
1237
1237
  throw new Error(`Account "${id}" has no signing keys. ` +
1238
1238
  `Re-import via importAccountFromMnemonicBackup() to enable signing.`);
1239
1239
  }
1240
- return await MajikSLink.create(url, key, this.user.id, {
1240
+ return await MajikSLink.create(url, key, this.user.id, muid, {
1241
1241
  status: verified ? "verified" : undefined,
1242
1242
  });
1243
1243
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@majikah/majik-universal-id-client",
3
3
  "type": "module",
4
4
  "description": "The core universal identity model for the Majikah ecosystem, featuring hybrid PQC signatures (Ed25519 + ML-DSA), ML-KEM-768 private info encryption, and multi-stage Didit verification graduation.",
5
- "version": "0.0.6",
5
+ "version": "0.0.7",
6
6
  "license": "Apache-2.0",
7
7
  "author": "Zelijah",
8
8
  "main": "./dist/index.js",
@@ -47,7 +47,7 @@
47
47
  "dependencies": {
48
48
  "@majikah/majik-key": "^0.2.3",
49
49
  "@majikah/majik-signature": "^0.0.15",
50
- "@majikah/majik-slink": "^0.0.1",
50
+ "@majikah/majik-slink": "^0.0.2",
51
51
  "@majikah/majik-universal-id": "^0.0.8",
52
52
  "idb": "^8.0.3"
53
53
  },