From 26e68b133cc03ab19a735e8247c1dbccfa74f1e6 Mon Sep 17 00:00:00 2001 From: adlee-was-taken Date: Sun, 12 Apr 2026 10:58:07 -0400 Subject: [PATCH] feat: add embed_image_secret type declaration Co-Authored-By: Claude Opus 4.6 (1M context) --- extension/src/wasm.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/extension/src/wasm.d.ts b/extension/src/wasm.d.ts index 0ea4504..b6d7064 100644 --- a/extension/src/wasm.d.ts +++ b/extension/src/wasm.d.ts @@ -14,6 +14,7 @@ declare module 'idfoto-wasm' { export function encrypt(plaintext: Uint8Array, key: Uint8Array): Uint8Array; export function decrypt(ciphertext: Uint8Array, key: Uint8Array): Uint8Array; export function extract_image_secret(jpeg_bytes: Uint8Array): Uint8Array; + export function embed_image_secret(carrier_jpeg: Uint8Array, secret: Uint8Array): Uint8Array; export function encrypt_entry(entry_json: string, key: Uint8Array): Uint8Array; export function decrypt_entry(ciphertext: Uint8Array, key: Uint8Array): string; export function encrypt_manifest(manifest_json: string, key: Uint8Array): Uint8Array;