File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 13
13
14
14
import { Amplify , ServiceWorker } from '@aws-amplify/core' ;
15
15
import { Auth } from '@aws-amplify/auth' ;
16
- import Cache from '@aws-amplify/cache' ;
16
+ import { BrowserStorageCache } from '@aws-amplify/cache' ;
17
17
18
18
/** Always importing Auth when users import Amplify such that
19
19
for unauthenticated access (no sign in and sign up),
20
20
users don't have to import Auth explicitly **/
21
21
Amplify . Auth = Auth ;
22
- Amplify . Cache = Cache ;
22
+ Amplify . Cache = BrowserStorageCache ;
23
23
Amplify . ServiceWorker = ServiceWorker ;
24
24
25
25
export {
@@ -42,7 +42,7 @@ export {
42
42
syncExpression ,
43
43
} from '@aws-amplify/datastore' ;
44
44
export { PubSub } from '@aws-amplify/pubsub' ;
45
- export { default as Cache } from '@aws-amplify/cache' ;
45
+ export { BrowserStorageCache as Cache } from '@aws-amplify/cache' ;
46
46
export { Interactions } from '@aws-amplify/interactions' ;
47
47
export * from '@aws-amplify/ui' ;
48
48
export { XR } from '@aws-amplify/xr' ;
You can’t perform that action at this time.
0 commit comments