buzzcasting-storage 2.5.8 → 2.5.10

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,7 +1,7 @@
1
1
  var Ri = Object.defineProperty;
2
2
  var Ni = (C, o, h) => o in C ? Ri(C, o, { enumerable: !0, configurable: !0, writable: !0, value: h }) : C[o] = h;
3
3
  var P = (C, o, h) => (Ni(C, typeof o != "symbol" ? o + "" : o, h), h);
4
- const Fi = "2.5.7";
4
+ const Fi = "2.5.9";
5
5
  class $i {
6
6
  constructor(o) {
7
7
  P(this, "options");
@@ -4198,9 +4198,45 @@ class ao {
4198
4198
  P(this, "broadcastChannel");
4199
4199
  P(this, "query");
4200
4200
  P(this, "listeners");
4201
- P(this, "getCloud", async () => this.query.type !== le ? (console.warn("%cstorage%c %cwidget", W, H, nn, this.query.widget, "wrong method call for getCloud, expected type is", this.query.type), { data: null, message: `wrong method call for getMessages, expected type is ${this.query.type}`, success: !1 }) : await this.storageReader.getCloud(this.query));
4202
- P(this, "getMessages", async () => this.query.type !== ie ? (console.warn("%cstorage%c %cwidget", W, H, nn, this.query.widget, "wrong method call for getMessages, expected type is", this.query.type), { data: null, message: `wrong method call for getMessages, expected type is ${this.query.type}`, success: !1 }) : await this.storageReader.getMessages(this.query));
4203
- P(this, "getSeries", async () => this.query.type !== fe ? (console.warn("%cstorage%c %cwidget", W, H, nn, this.query.widget, "wrong method call for getSeries, expected type is", this.query.type), { data: null, message: `wrong method call for getMessages, expected type is ${this.query.type}`, success: !1 }) : await this.storageReader.getSeries(this.query));
4201
+ P(this, "getCloud", async () => this.query.type !== le ? (console.warn(
4202
+ "%cstorage%c %cwidget",
4203
+ W,
4204
+ H,
4205
+ nn,
4206
+ this.query.widget,
4207
+ "Wrong method call for getCloud, expected type is",
4208
+ this.query.type
4209
+ ), {
4210
+ data: null,
4211
+ message: `wrong method call for getMessages, expected type is ${this.query.type}`,
4212
+ success: !1
4213
+ }) : await this.storageReader.getCloud(this.query));
4214
+ P(this, "getMessages", async () => this.query.type !== ie ? (console.warn(
4215
+ "%cstorage%c %cwidget",
4216
+ W,
4217
+ H,
4218
+ nn,
4219
+ this.query.widget,
4220
+ "Wrong method call for getMessages, expected type is",
4221
+ this.query.type
4222
+ ), {
4223
+ data: null,
4224
+ message: `wrong method call for getMessages, expected type is ${this.query.type}`,
4225
+ success: !1
4226
+ }) : await this.storageReader.getMessages(this.query));
4227
+ P(this, "getSeries", async () => this.query.type !== fe ? (console.warn(
4228
+ "%cstorage%c %cwidget",
4229
+ W,
4230
+ H,
4231
+ nn,
4232
+ this.query.widget,
4233
+ "Wrong method call for getSeries, expected type is",
4234
+ this.query.type
4235
+ ), {
4236
+ data: null,
4237
+ message: `wrong method call for getMessages, expected type is ${this.query.type}`,
4238
+ success: !1
4239
+ }) : await this.storageReader.getSeries(this.query));
4204
4240
  var D;
4205
4241
  if (this.listeners = o, h = ot(h), h.widget === void 0) {
4206
4242
  const M = (D = h.topics) == null ? void 0 : D.split("-");
@@ -4234,7 +4270,7 @@ class ao {
4234
4270
  }
4235
4271
  subscribe() {
4236
4272
  console.debug(
4237
- "%widget%c %csubscribe",
4273
+ "%cwidget%c %csubscribe",
4238
4274
  nn,
4239
4275
  H,
4240
4276
  at,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "buzzcasting-storage",
3
3
  "type": "module",
4
- "version": "2.5.8",
4
+ "version": "2.5.10",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "Mark Tamis, TouchFlows SAS",