From 58a892aededae17320ecd4921069d3e410e09740 Mon Sep 17 00:00:00 2001 From: David Dal Busco Date: Tue, 20 Sep 2022 20:43:36 +0200 Subject: [PATCH] feat: expose storage constant keys (#616) * feat: expose storage keys * docs: changelog entry added Co-authored-by: Kyle Peacock --- docs/generated/changelog.html | 5 ++++- packages/auth-client/src/index.ts | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/generated/changelog.html b/docs/generated/changelog.html index 1ec36b0ce..081550a03 100644 --- a/docs/generated/changelog.html +++ b/docs/generated/changelog.html @@ -10,6 +10,10 @@

Agent-JS Changelog

+

Version 0.13.4

+
    +
  • chore: auth-client expose storage constant keys
  • +

Version 0.13.3

  • @@ -29,7 +33,6 @@

    Version 0.13.3

    replica.
-

Version 0.13.2

  • auth-client avoids localstorage global and can be used in a web worker or nodejs
  • diff --git a/packages/auth-client/src/index.ts b/packages/auth-client/src/index.ts index 512fc233e..1dd3049fa 100644 --- a/packages/auth-client/src/index.ts +++ b/packages/auth-client/src/index.ts @@ -25,7 +25,7 @@ import { LocalStorage, } from './storage'; -export { IdbStorage, LocalStorage } from './storage'; +export { IdbStorage, LocalStorage, KEY_STORAGE_DELEGATION, KEY_STORAGE_KEY } from './storage'; export { IdbKeyVal, DBCreateOptions } from './db'; const IDENTITY_PROVIDER_DEFAULT = 'https://identity.ic0.app';