From f79ae8673227cd69db04817ef3c94053b81a8763 Mon Sep 17 00:00:00 2001 From: Kyle Peacock Date: Thu, 4 Aug 2022 15:01:51 -0700 Subject: [PATCH] feat: auth-client stores identities in indexeddb (#605) * feat: adds IdbStorage as new default for auth-client * Adds IdbKeyVal interface --- docs/generated/changelog.html | 10 ++ package-lock.json | 213 ++++++++++++++++++++++++- packages/auth-client/package.json | 4 +- packages/auth-client/src/db.test.ts | 35 ++++ packages/auth-client/src/db.ts | 110 +++++++++++++ packages/auth-client/src/index.test.ts | 14 +- packages/auth-client/src/index.ts | 88 +++------- packages/auth-client/src/storage.ts | 96 +++++++++++ packages/auth-client/test-setup.ts | 5 +- 9 files changed, 501 insertions(+), 74 deletions(-) create mode 100644 packages/auth-client/src/db.test.ts create mode 100644 packages/auth-client/src/db.ts create mode 100644 packages/auth-client/src/storage.ts diff --git a/docs/generated/changelog.html b/docs/generated/changelog.html index 1b980f8bf..4e86bf006 100644 --- a/docs/generated/changelog.html +++ b/docs/generated/changelog.html @@ -10,6 +10,16 @@

Agent-JS Changelog

+

Version 0.12.3

+

Version 0.12.2