buzzcasting-storage 3.9.3 → 3.9.5
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/dist/buzzcasting-storage.esm.js +13 -13
- package/package.json +1 -1
|
@@ -133,7 +133,7 @@ function St(p, n) {
|
|
|
133
133
|
}
|
|
134
134
|
return n;
|
|
135
135
|
}
|
|
136
|
-
const xa = "3.9.
|
|
136
|
+
const xa = "3.9.4";
|
|
137
137
|
class ka {
|
|
138
138
|
options;
|
|
139
139
|
url;
|
|
@@ -3452,7 +3452,7 @@ class Mr {
|
|
|
3452
3452
|
* @returns IResponse
|
|
3453
3453
|
*/
|
|
3454
3454
|
getCloud = async (n) => {
|
|
3455
|
-
if (n.widget
|
|
3455
|
+
if (n.widget === "")
|
|
3456
3456
|
return K(3, [
|
|
3457
3457
|
"%cget%c %cstorage%c %ccloud",
|
|
3458
3458
|
c.KO,
|
|
@@ -3586,7 +3586,7 @@ class Mr {
|
|
|
3586
3586
|
* @returns IResponse
|
|
3587
3587
|
*/
|
|
3588
3588
|
getMessages = async (n) => {
|
|
3589
|
-
if (n.widget
|
|
3589
|
+
if (n.widget === "")
|
|
3590
3590
|
return K(3, [
|
|
3591
3591
|
"%cget%c %cstorage%c %cmessages",
|
|
3592
3592
|
c.KO,
|
|
@@ -3736,7 +3736,7 @@ class Mr {
|
|
|
3736
3736
|
* @returns IResponse
|
|
3737
3737
|
*/
|
|
3738
3738
|
getSeries = async (n) => {
|
|
3739
|
-
if (n.widget
|
|
3739
|
+
if (n.widget === "")
|
|
3740
3740
|
return K(3, [
|
|
3741
3741
|
"%cget%c %cstorage%c %cseries",
|
|
3742
3742
|
c.KO,
|
|
@@ -3804,7 +3804,7 @@ class Mr {
|
|
|
3804
3804
|
* @returns IResponse
|
|
3805
3805
|
*/
|
|
3806
3806
|
getWidget = async (n) => {
|
|
3807
|
-
if (n.id
|
|
3807
|
+
if (n.id === "")
|
|
3808
3808
|
return K(3, [
|
|
3809
3809
|
"%cget%c %cstorage%c %cwidget",
|
|
3810
3810
|
c.KO,
|
|
@@ -5399,7 +5399,7 @@ class La {
|
|
|
5399
5399
|
let C;
|
|
5400
5400
|
C = n.data.messages.filter(
|
|
5401
5401
|
(G) => G.id !== null
|
|
5402
|
-
), n.data.messages = C, _ = Fn(n.data.messages), E?.hash && E.hash === _ ? (K(3, [
|
|
5402
|
+
), n.data.messages = C, _ = Fn(n.data.messages[0].utc), E?.hash && E.hash === _ ? (K(3, [
|
|
5403
5403
|
"%cload%c %cmessages%c %cno updates",
|
|
5404
5404
|
c.OK,
|
|
5405
5405
|
c.NONE,
|
|
@@ -5444,25 +5444,25 @@ class La {
|
|
|
5444
5444
|
}, l = await this.sm?.setSeries(n.query, n.data).then((G) => this.broadcastUpdate(G, n)));
|
|
5445
5445
|
break;
|
|
5446
5446
|
default:
|
|
5447
|
-
K(4, [
|
|
5448
|
-
"%
|
|
5447
|
+
return K(4, [
|
|
5448
|
+
"%cfetch%c %capi%c %cno updates",
|
|
5449
5449
|
c.KO,
|
|
5450
5450
|
c.NONE,
|
|
5451
|
-
c.
|
|
5451
|
+
c.API,
|
|
5452
5452
|
c.NONE,
|
|
5453
5453
|
c.NO_UPDATES,
|
|
5454
5454
|
`Bad request: type ${n.query.type} unknown`
|
|
5455
|
-
]),
|
|
5455
|
+
]), n;
|
|
5456
5456
|
}
|
|
5457
5457
|
} else
|
|
5458
|
-
switch (K(
|
|
5459
|
-
|
|
5458
|
+
switch (K(4, [
|
|
5459
|
+
`%cload%c %c${n.query}%c %bad request`,
|
|
5460
5460
|
c.KO,
|
|
5461
5461
|
c.NONE,
|
|
5462
5462
|
c.STORAGE,
|
|
5463
5463
|
c.NONE,
|
|
5464
5464
|
c.NO_UPDATES,
|
|
5465
|
-
n.
|
|
5465
|
+
n.query
|
|
5466
5466
|
]), n.query.type) {
|
|
5467
5467
|
case O.MESSAGES:
|
|
5468
5468
|
return await this.sm?.getMessages(n.query).then((E) => {
|