buzzcasting-storage 3.14.3 → 3.14.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -68,7 +68,7 @@ actions = (messageEvent: MessageEvent) => {
68
68
  this.widgetUpdated.emit(messageEvent.data.data)
69
69
  break
70
70
  default:
71
- // console.log('[storage]', messageEvent.data)
71
+ // console.log('[storage]', messageEvent.data)
72
72
  }
73
73
  }
74
74
  ```
@@ -79,7 +79,7 @@ actions = (messageEvent: MessageEvent) => {
79
79
  git clone https://github.com/TouchFlows/buzzcasting-storage.git
80
80
  cd buzzcasting-storage
81
81
  pnpm install
82
- ````
82
+ ```
83
83
 
84
84
  ## Usage
85
85
 
@@ -94,6 +94,10 @@ The project contains the following scripts:
94
94
  - `test:coverage` - Run all tests with code coverage report
95
95
  - `prepare` - Script for setting up husky hooks
96
96
 
97
+ ## Useful Links
98
+
99
+ - [IndexedDB Reference](https://app.studyraid.com/en/read/11356/355143/optimizing-database-schema-design)
100
+
97
101
  ## License
98
102
 
99
103
  This template was created under the [MIT License](LICENSE).
@@ -13,8 +13,9 @@ export declare class BuzzcastingStorageManager {
13
13
  constructor(options: IStorageOptions);
14
14
  addSubscriber(query: IQuery): void;
15
15
  deleteSubscriber(query: IQuery): void;
16
- update: (query: IQuery) => Promise<void>;
16
+ update: (data: any) => Promise<void>;
17
17
  private processResponse;
18
+ startBroadcastListener: () => void;
18
19
  private broadcastUpdate;
19
20
  hide: (query: IQuery) => void;
20
21
  private actions;
@@ -43,7 +44,7 @@ export declare class BuzzcastingStorageManager {
43
44
  setWidget: (query: IQuery) => Promise<IResponse | undefined>;
44
45
  loadDashboards: (query?: IQuery) => Promise<IResponse | undefined>;
45
46
  getDashboard: (query: IQuery) => Promise<IResponse | undefined>;
46
- getDashboards: (query: IQuery) => Promise<IResponse | undefined>;
47
+ getDashboards: () => Promise<IResponse | undefined>;
47
48
  setDashboard: (query: IQuery) => Promise<IResponse | undefined>;
48
49
  loadImages: (folder: string) => Promise<IResponse | undefined>;
49
50
  storeImage: (imageFile: FormData) => Promise<IResponse | number>;