kv-wasm: ItemSummary carries tags and modifiedAt for the web vault's filters and sort

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-17 23:59:58 +09:00
co-authored by Claude Opus 5.5
parent b5ced32be3
commit f9f2d14aa2
6 changed files with 12 additions and 1 deletions
+2
View File
@@ -82,6 +82,8 @@ assert.deepEqual(
],
);
assert.equal((await a.itemHistory(bankId))[0].password, "first password");
assert.deepEqual(list[0].tags, ["finance", "ünïcode ✓"]);
assert.ok(list[0].modifiedAt >= bank.modifiedAt);
await rejects(a.getItem("not-a-uuid"), "Invalid");
const code = kv.totpCode("JBSWY3DPEHPK3PXP", Math.floor(Date.now() / 1000));
assert.match(code.code, /^\d{6}$/);