buzzcasting-storage 3.7.2 → 3.7.3

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.
@@ -2,7 +2,7 @@ var Aa = Object.defineProperty;
2
2
  var Pa = (d, t, s) => t in d ? Aa(d, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : d[t] = s;
3
3
  var b = (d, t, s) => Pa(d, typeof t != "symbol" ? t + "" : t, s);
4
4
  var _ = /* @__PURE__ */ ((d) => (d.MESSAGES = "messages", d.CLOUD = "cloud", d.SERIES = "series", d.TOPICS = "topics", d.WIDGET = "widget", d.WIDGETS = "widgets", d.DASHBOARD = "dashboard", d.DASHBOARDS = "dashboards", d.SLIDE = "slide", d.SLIDES = "slides", d.PRESENTATION = "presentation", d.PRESENTATIONS = "presentations", d.PREFERENCE = "preference", d.PREFERENCES = "preferences", d))(_ || {}), l = /* @__PURE__ */ ((d) => (d.API = "color:white;background-color:grey;padding:0 4px 0 4px;border-radius:5px;", d.APP = "color:white;background-color:navy;padding:0 4px 0 4px;border-radius:5px;", d.BROADCAST = "color:navy;background-color:orange;padding:0 4px 0 4px;border-radius:5px;", d.DATA = "color:grey;background-color:lightskyblue;padding:0 4px 0 4px;border-radius:5px;", d.CLOUD = "color:grey;background-color:mistyrose;padding:0 4px 0 4px;border-radius:5px;", d.GET_DATA = "color:black;background-color:lime;padding:0 4px 0 4px;border-radius:5px;", d.HIDE = "color:white;background-color:red;padding:0 4px 0 4px;border-radius:5px;", d.MESSAGES = "color:white;background-color:darkslateblue;padding:0 4px 0 4px;border-radius:5px;", d.NO_UPDATES = "color:grey;border:1px solid grey;padding:0 4px 0 4px;border-radius:5px;", d.NONE = "color:transparent;background-color:transparent;", d.PRESENTATION = "color:white;background-color:darkred;padding:0 4px 0 4px;border-radius:5px;", d.SERIES = "color:grey;background-color:thistle;padding:0 4px 0 4px;border-radius:5px;", d.SLIDE = "color:black;background-color:yellow;padding:0 4px 0 4px;border-radius:5px;", d.STORAGE = "color:black;background-color:cyan;padding:0 4px 0 4px;border-radius:5px;", d.SUBSCRIBE = "color:white;background-color:dodgerblue;padding:0 4px 0 4px;border-radius:5px;", d.WIDGET = "color:gret;background-color:lemonchiffon;padding:0 4px 0 4px;border-radius:5px;", d.WS = "color:white;background-color:green;padding:0 4px 0 4px;border-radius:5px;", d))(l || {}), q = /* @__PURE__ */ ((d) => (d.ADD_SLIDE = "addSlide", d.APP_READY = "appReady", d.API_UPDATE = "apiUpdate", d.WS_API_REQUEST = "wsApiRequest", d.WS_API_RESPONSE = "wsApiResponse", d.WS_API_UPDATE = "wsApiRUpdate", d.APPROVE_MESSAGE = "approveMessage", d.CHANNEL = "channel", d.CLEAN_MESSAGES = "cleanMessages", d.CLOSE_MODAL = "closeModal", d.CLOSE_BUILDER_MODAL = "closeBuilderModal", d.DASHBOARD_LOAD = "loadDashboard", d.DASHBOARD_STORE = "storeDashboard", d.ERROR = "error", d.HIDE_MESSAGE = "hideMessage", d.HIDE_LABELS = "hideLabels", d.MAUPPUT_UPDATE = "layoutUpdate", d.PAUSE_PRESENTATION = "pausePresentation", d.PRESENTATION_READY = "presentationReady", d.PREV_SLIDE = "prevSlide", d.RELOAD_PRESENTATION = "reloadPresentation", d.SHOW_MODAL = "showModal", d.STAR_MESSAGE = "starMessage", d.GOTO_SLIDE = "gotoSlide", d.NEXT_SLIDE = "nextSlide", d.PREFERENCE_LOAD = "loadPreference", d.PREFERENCE_STORE = "storePreference", d.PRESENTATION_LOAD = "loadPresentation", d.PRESENTATION_STORE = "storePresentation", d.SHOW_BUILDER_MODAL = "showBuilderModal", d.SLIDE_DID_LOAD = "slideDidLoad", d.SLIDE_GOTO = "slideGoto", d.SLIDE_READY = "slideReady", d.SLIDE_LOAD = "loadSlide", d.SLIDE_STORE = "storeSlide", d.SLIDE_TRANSITIONER = "slideTransitioner", d.START_TRANSITIONER = "startTransitioner", d.STORAGE_INIT = "storageInit", d.SUBSCRIBE = "subscribe", d.SUSPEND_ACCOUNT = "suspendAccount", d.SWITCH_PRESENTATION = "switchPresentation", d.REMOVE_CLOUD = "removeCloud", d.UPDATE = "update", d.VERSION = "version", d.WIDGET_LOAD = "widgetLoad", d.WIDGET_STORE = "widgetStore", d.WIDGET_UPDATE = "widgetUpdate", d))(q || {}), qt = /* @__PURE__ */ ((d) => (d.APPROVED = "approved", d.BEFORE = "before", d.DELAYED = "delayed", d.NONE = "none", d.REALTIME = "realtime", d))(qt || {}), ye = /* @__PURE__ */ ((d) => (d.KEYVAL = "keyval", d.LOCAL = "local", d.SESSION = "session", d.DEXIE = "dexie", d.WINDOW = "window", d))(ye || {});
5
- const Da = "3.7.1";
5
+ const Da = "3.7.2";
6
6
  function Ua(d) {
7
7
  const t = d.toUpperCase().split(/[\s_-]+/);
8
8
  return t.length > 0 ? (t.forEach((s, c) => {
@@ -5952,9 +5952,9 @@ class cs {
5952
5952
  window.dispatchEvent(s);
5953
5953
  });
5954
5954
  var I;
5955
- this.element = t, this.callbacks = s, c = typeof c < "u" ? c : "buzzcasting-presentation";
5955
+ this.element = t, this.callbacks = s, c = typeof c < "u" ? c : "buzzcasting-app";
5956
5956
  let v;
5957
- v = { ...t.dataset }, delete v.hmr, v.presentation = ((I = t.closest(c.toUpperCase())) == null ? void 0 : I.id) ?? `${c} not found`, this.query = v, xa(t);
5957
+ v = { ...t.dataset }, delete v.hmr, v.presentation = ((I = t.closest(c.toUpperCase())) == null ? void 0 : I.presentation) ?? `${c} not found`, this.query = v, xa(t);
5958
5958
  const P = window.BuzzCasting.getOptions();
5959
5959
  this.storageReader = new Fa(P), this.broadcastChannel = new BroadcastChannel(v.presentation), this.broadcastListener();
5960
5960
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "buzzcasting-storage",
3
3
  "type": "module",
4
- "version": "3.7.2",
4
+ "version": "3.7.3",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "Mark Tamis, TouchFlows SAS",
@@ -32,7 +32,7 @@
32
32
  "idb-keyval": "^6.2.1"
33
33
  },
34
34
  "devDependencies": {
35
- "@antfu/eslint-config": "^4.8.1",
35
+ "@antfu/eslint-config": "^4.10.1",
36
36
  "@commitlint/cli": "^19.8.0",
37
37
  "@commitlint/config-conventional": "^19.8.0",
38
38
  "@types/node": "^22.13.10",
@@ -42,7 +42,7 @@
42
42
  "camelcase": "^8.0.0",
43
43
  "changelogen": "^0.6.1",
44
44
  "eslint": "^9.22.0",
45
- "lint-staged": "^15.4.3",
45
+ "lint-staged": "^15.5.0",
46
46
  "typescript": "^5.8.2",
47
47
  "vite": "^6.2.1",
48
48
  "vite-plugin-dts": "^4.5.3",