diff --git a/docs/developer-documentation/building-your-application/patterns/offline-storage.md b/docs/developer-documentation/building-your-application/patterns/offline-storage.md index 8ffdef5..8af6d3d 100644 --- a/docs/developer-documentation/building-your-application/patterns/offline-storage.md +++ b/docs/developer-documentation/building-your-application/patterns/offline-storage.md @@ -10,7 +10,7 @@ RADFish application users can be out at sea for an extended period of time and m ## Storage Models -The `@nmfs-radfish/radfish`package provides two storage methods available `LocalStorageMethod` and `IndexedDBStorageMethod`. +The `@nmfs-radfish/radfish`package provides two storage methods available `LocalStorageMethod` and `IndexedDBMethod`. ### LocalStorage @@ -29,9 +29,9 @@ new LocalStorageMethod( When using IndexedDB, we additionally need to provide a schema version and model structures. These are used to manage future data migrations. ```js -import { IndexedDBStorageMethod } from '@nmfs-radfish/radfish'; +import { IndexedDBMethod } from '@nmfs-radfish/radfish'; -new IndexedDBStorageMethod( +new IndexedDBMethod( "survey-app-storage", "1.0.0", {