buzzcasting-storage 3.9.4 → 3.9.6

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.
@@ -133,7 +133,7 @@ function St(p, n) {
133
133
  }
134
134
  return n;
135
135
  }
136
- const xa = "3.9.3";
136
+ const xa = "3.9.5";
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,
@@ -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
- "%cload%c %cunknown%c %cno updates",
5447
+ return K(4, [
5448
+ "%cfetch%c %capi%c %cno updates",
5449
5449
  c.KO,
5450
5450
  c.NONE,
5451
- c.STORAGE,
5451
+ c.API,
5452
5452
  c.NONE,
5453
5453
  c.NO_UPDATES,
5454
5454
  `Bad request: type ${n.query.type} unknown`
5455
- ]), l = 204;
5455
+ ]), n;
5456
5456
  }
5457
5457
  } else
5458
- switch (K(2, [
5459
- "%cload%c %cunknown%c %cno updates",
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.status
5465
+ n.query
5466
5466
  ]), n.query.type) {
5467
5467
  case O.MESSAGES:
5468
5468
  return await this.sm?.getMessages(n.query).then((E) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "buzzcasting-storage",
3
3
  "type": "module",
4
- "version": "3.9.4",
4
+ "version": "3.9.6",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "Mark Tamis, TouchFlows SAS",
@@ -28,7 +28,6 @@
28
28
  "test:coverage": "vitest --coverage"
29
29
  },
30
30
  "dependencies": {
31
- "buzzcasting-utils": "^1.3.7",
32
31
  "dexie": "^4.0.11",
33
32
  "idb-keyval": "^6.2.1"
34
33
  },
@@ -40,6 +39,7 @@
40
39
  "@typescript-eslint/eslint-plugin": "^8.29.1",
41
40
  "@typescript-eslint/parser": "^8.29.1",
42
41
  "@vitest/coverage-v8": "^3.1.1",
42
+ "buzzcasting-utils": "^1.3.8",
43
43
  "camelcase": "^8.0.0",
44
44
  "changelogen": "^0.6.1",
45
45
  "eslint": "^9.24.0",