Skip to content

Commit

Permalink
chore(amplify-js/utils): expose storage helpers (#12493)
Browse files Browse the repository at this point in the history
* chore: expose storage helpers

* fix test
  • Loading branch information
israx authored Nov 2, 2023
1 parent 588b76b commit ecba1ec
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/aws-amplify/__tests__/exports.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ describe('aws-amplify Exports', () => {
"Cache",
"ConsoleLogger",
"ServiceWorker",
"CookieStorage",
"defaultStorage",
"sessionStorage",
"sharedInMemoryStorage",
]
`);
});
Expand Down
5 changes: 5 additions & 0 deletions packages/aws-amplify/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ export {
Cache,
ConsoleLogger,
ServiceWorker,
CookieStorage,
defaultStorage,
sessionStorage,
sharedInMemoryStorage,
KeyValueStorageInterface,
} from '@aws-amplify/core';

0 comments on commit ecba1ec

Please sign in to comment.