buzzcasting-storage 2.5.6 → 2.5.7

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.
@@ -321,6 +321,7 @@ export declare class Widget {
321
321
  getCloud: () => Promise<IResponse>;
322
322
  getMessages: () => Promise<IResponse>;
323
323
  getSeries: () => Promise<IResponse>;
324
+ destroy(): void;
324
325
  }
325
326
 
326
327
  export declare const WIDGET_CSS = "color:gret;background-color:lemonchiffon;padding:0 4px 0 4px;border-radius:5px;";
@@ -1,7 +1,7 @@
1
1
  var Ri = Object.defineProperty;
2
2
  var Ni = (j, o, h) => o in j ? Ri(j, o, { enumerable: !0, configurable: !0, writable: !0, value: h }) : j[o] = h;
3
3
  var C = (j, o, h) => (Ni(j, typeof o != "symbol" ? o + "" : o, h), h);
4
- const Fi = "2.5.5";
4
+ const Fi = "2.5.6";
5
5
  class $i {
6
6
  constructor(o) {
7
7
  C(this, "options");
@@ -4242,6 +4242,9 @@ class ao {
4242
4242
  this.query.widget
4243
4243
  ), this.broadcastChannel.postMessage({ event: "subscribe", data: this.query });
4244
4244
  }
4245
+ destroy() {
4246
+ this.broadcastChannel.close();
4247
+ }
4245
4248
  }
4246
4249
  export {
4247
4250
  Q as API_CSS,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "buzzcasting-storage",
3
3
  "type": "module",
4
- "version": "2.5.6",
4
+ "version": "2.5.7",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "Mark Tamis, TouchFlows SAS",