diff --git a/index.html b/index.html index c9bf03e..f8ce780 100644 --- a/index.html +++ b/index.html @@ -754,7 +754,6 @@

Message log

getItemWithExpiry, getEmbeddedKey, setEmbeddedKey, - onResetEmbeddedKey, importRecoveryCredential, compressRawPublicKey, uncompressRawPublicKey, diff --git a/index.test.js b/index.test.js index e53bc52..b9f6fb0 100644 --- a/index.test.js +++ b/index.test.js @@ -52,16 +52,12 @@ describe("TKHQ", () => { expect(item).toBeNull(); }) - it("gets, sets and resets embedded key in localStorage", async () => { + it("gets and sets embedded key in localStorage", async () => { expect(TKHQ.getEmbeddedKey()).toBe(null); // Set a dummy "key" TKHQ.setEmbeddedKey({"foo": "bar"}); expect(TKHQ.getEmbeddedKey()).toEqual({"foo": "bar"}); - - // Now reset and assert we're back to no embedded key - TKHQ.onResetEmbeddedKey(); - expect(TKHQ.getEmbeddedKey()).toBe(null); }) it("inits embedded key and is idempotent", async () => {