File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
packages/integrations/src Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11import { Event , EventProcessor , Hub , Integration } from '@sentry/types' ;
22import { getGlobalObject , logger , uuid4 } from '@sentry/utils' ;
3- // @ts -ignore: Module '"localforage"' has no default export.
4- import localforage from 'localforage' ;
3+ import * as localForage from 'localforage' ;
54
65/**
76 * cache offline errors and send when connected
@@ -43,7 +42,7 @@ export class Offline implements Integration {
4342 public constructor ( options : { maxStoredEvents ?: number } = { } ) {
4443 this . global = getGlobalObject < Window > ( ) ;
4544 this . maxStoredEvents = options . maxStoredEvents || 30 ; // set a reasonable default
46- this . offlineEventStore = localforage . createInstance ( {
45+ this . offlineEventStore = localForage . createInstance ( {
4746 name : 'sentry/offlineEventStore' ,
4847 } ) ;
4948
You can’t perform that action at this time.
0 commit comments