buzzcasting-storage 2.10.8 → 2.10.9

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.
@@ -1,4 +1,4 @@
1
- export declare enum API {
1
+ declare enum API {
2
2
  MESSAGES = "messages",
3
3
  CLOUD = "cloud",
4
4
  SERIES = "series",
@@ -9,9 +9,9 @@ export declare enum API {
9
9
 
10
10
  export declare type ApiData = ISeries & IMessages & ICloud;
11
11
 
12
- export declare function attrs(attributes: NamedNodeMap): any;
12
+ declare function attrs(attributes: NamedNodeMap): any;
13
13
 
14
- export declare class BuzzcastingStorageManager {
14
+ declare class BuzzcastingStorageManager {
15
15
  private sm;
16
16
  private api;
17
17
  private bc;
@@ -24,7 +24,7 @@ export declare class BuzzcastingStorageManager {
24
24
  getSubscribers: () => Promise<IQuery[] | undefined>;
25
25
  }
26
26
 
27
- export declare class BuzzcastingStorageReader {
27
+ declare class BuzzcastingStorageReader {
28
28
  private sm;
29
29
  constructor(options: IStorageOptions);
30
30
  /**
@@ -52,14 +52,14 @@ export declare class BuzzcastingStorageReader {
52
52
  * @param str
53
53
  * @returns string
54
54
  */
55
- export declare function camelCase(str: string): string;
55
+ declare function camelCase(str: string): string;
56
56
 
57
57
  /**
58
58
  * Convert string containing hyphens to camelCase
59
59
  * @param str
60
60
  * @returns camilized string
61
61
  */
62
- export declare function camelize(str: string): string;
62
+ declare function camelize(str: string): string;
63
63
 
64
64
  declare enum CSS_2 {
65
65
  API = "color:white;background-color:grey;padding:0 4px 0 4px;border-radius:5px;",
@@ -80,9 +80,25 @@ declare enum CSS_2 {
80
80
  WIDGET = "color:gret;background-color:lemonchiffon;padding:0 4px 0 4px;border-radius:5px;",
81
81
  WS = "color:white;background-color:green;padding:0 4px 0 4px;border-radius:5px;"
82
82
  }
83
- export { CSS_2 as CSS }
84
83
 
85
- export declare enum EVENTS {
84
+ declare const _default: {
85
+ BuzzcastingStorageManager: typeof BuzzcastingStorageManager;
86
+ BuzzcastingStorageReader: typeof BuzzcastingStorageReader;
87
+ Widget: typeof Widget;
88
+ attrs: typeof attrs;
89
+ filterAttributes: typeof filterAttributes;
90
+ widgetParams: typeof widgetParams;
91
+ camelCase: typeof camelCase;
92
+ camelize: typeof camelize;
93
+ API: typeof API;
94
+ CSS: typeof CSS_2;
95
+ EVENTS: typeof EVENTS;
96
+ MODERATION: typeof MODERATION;
97
+ STORAGE: typeof STORAGE;
98
+ };
99
+ export default _default;
100
+
101
+ declare enum EVENTS {
86
102
  ADD_SLIDE = "addSlide",
87
103
  APP_READY = "appReady",
88
104
  API_UPDATE = "apiUpdate",
@@ -110,7 +126,7 @@ export declare enum EVENTS {
110
126
  WIDGET_UPDATE = "widgetUpdate"
111
127
  }
112
128
 
113
- export declare function filterAttributes(attributes: NamedNodeMap): IFilteredAttributes;
129
+ declare function filterAttributes(attributes: NamedNodeMap): IFilteredAttributes;
114
130
 
115
131
  export declare interface ICategory {
116
132
  type: string;
@@ -343,7 +359,7 @@ export declare interface ITopic {
343
359
  sentiment: number;
344
360
  }
345
361
 
346
- export declare enum MODERATION {
362
+ declare enum MODERATION {
347
363
  APPROVED = "approved",
348
364
  BEFORE = "before",
349
365
  DELAYED = "delayed",
@@ -351,7 +367,7 @@ export declare enum MODERATION {
351
367
  REALTIME = "realtime"
352
368
  }
353
369
 
354
- export declare enum STORAGE {
370
+ declare enum STORAGE {
355
371
  KEYVAL = "keyval",
356
372
  LOCAL = "local",
357
373
  SESSION = "session",
@@ -362,7 +378,7 @@ export declare enum STORAGE {
362
378
  /**
363
379
  * Main class for managing widgets and data updates
364
380
  */
365
- export declare class Widget {
381
+ declare class Widget {
366
382
  private storageReader;
367
383
  private broadcastChannel;
368
384
  private element;
@@ -420,6 +436,6 @@ export declare class Widget {
420
436
  destroy(): void;
421
437
  }
422
438
 
423
- export declare function widgetParams(query: IQuery): IQuery;
439
+ declare function widgetParams(query: IQuery): IQuery;
424
440
 
425
441
  export { }