buzzcasting-storage 2.15.1 → 2.15.2
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 xa = Object.defineProperty;
|
|
|
2
2
|
var ka = (h, r, c) => r in h ? xa(h, r, { enumerable: !0, configurable: !0, writable: !0, value: c }) : h[r] = c;
|
|
3
3
|
var A = (h, r, c) => ka(h, typeof r != "symbol" ? r + "" : r, c);
|
|
4
4
|
var K = /* @__PURE__ */ ((h) => (h.MESSAGES = "messages", h.CLOUD = "cloud", h.SERIES = "series", h.TOPICS = "topics", h.WIDGET = "widget", h.WIDGETS = "widgets", h.SLIDE = "slide", h))(K || {}), _ = /* @__PURE__ */ ((h) => (h.API = "color:white;background-color:grey;padding:0 4px 0 4px;border-radius:5px;", h.APP = "color:white;background-color:navy;padding:0 4px 0 4px;border-radius:5px;", h.BROADCAST = "color:white;background-color:orange;padding:0 4px 0 4px;border-radius:5px;", h.DATA = "color:grey;background-color:lightskyblue;padding:0 4px 0 4px;border-radius:5px;", h.CLOUD = "color:grey;background-color:mistyrose;padding:0 4px 0 4px;border-radius:5px;", h.GET_DATA = "color:black;background-color:lime;padding:0 4px 0 4px;border-radius:5px;", h.HIDE = "color:white;background-color:red;padding:0 4px 0 4px;border-radius:5px;", h.MESSAGES = "color:grey;background-color:tan;padding:0 4px 0 4px;border-radius:5px;", h.NO_UPDATES = "color:grey;border:1px solid grey;padding:0 4px 0 4px;border-radius:5px;", h.NONE = "color:transparent;background-color:transparent;", h.PRESENTATION = "color:white;background-color:darkred;padding:0 4px 0 4px;border-radius:5px;", h.SERIES = "color:grey;background-color:thistle;padding:0 4px 0 4px;border-radius:5px;", h.SLIDE = "color:black;background-color:yellow;padding:0 4px 0 4px;border-radius:5px;", h.STORAGE = "color:black;background-color:cyan;padding:0 4px 0 4px;border-radius:5px;", h.SUBSCRIBE = "color:white;background-color:dodgerblue;padding:0 4px 0 4px;border-radius:5px;", h.WIDGET = "color:gret;background-color:lemonchiffon;padding:0 4px 0 4px;border-radius:5px;", h.WS = "color:white;background-color:green;padding:0 4px 0 4px;border-radius:5px;", h))(_ || {}), re = /* @__PURE__ */ ((h) => (h.ADD_SLIDE = "addSlide", h.APP_READY = "appReady", h.API_UPDATE = "apiUpdate", h.APPROVE_MESSAGE = "approveMessage", h.CHANNEL = "channel", h.CLEAN_MESSAGES = "cleanMessages", h.CLOSE_MODAL = "closeModal", h.ERROR = "error", h.HIDE_MESSAGE = "hideMessage", h.HIDE_LABELS = "hideLabels", h.PAUSE_PRESENTATION = "pausePresentation", h.PRESENTATION_READY = "presentationReady", h.PREV_SLIDE = "prevSlide", h.RELOAD_PRESENTATION = "reloadPresentation", h.SHOW_MODAL = "showModal", h.STAR_MESSAGE = "starMessage", h.GOTO_SLIDE = "gotoSlide", h.NEXT_SLIDE = "nextSlide", h.SLIDE_DID_LOAD = "slideDidLoad", h.SLIDE_GOTO = "slideGoto", h.SLIDE_READY = "slideReady", h.SLIDE_LOAD = "loadSlide", h.SLIDE_STORE = "storeSlide", h.SLIDE_TRANSITIONER = "slideTransitioner", h.START_TRANSITIONER = "startTransitioner", h.STORAGE_INIT = "storageInit", h.SUBSCRIBE = "subscribe", h.REMOVE_CLOUD = "removeCloud", h.UPDATE = "update", h.VERSION = "version", h.WIDGET_UPDATE = "widgetUpdate", h))(re || {}), Zt = /* @__PURE__ */ ((h) => (h.APPROVED = "approved", h.BEFORE = "before", h.DELAYED = "delayed", h.NONE = "none", h.REALTIME = "realtime", h))(Zt || {}), ge = /* @__PURE__ */ ((h) => (h.KEYVAL = "keyval", h.LOCAL = "local", h.SESSION = "session", h.DEXIE = "dexie", h.WINDOW = "window", h))(ge || {});
|
|
5
|
-
const Aa = "2.15.
|
|
5
|
+
const Aa = "2.15.2";
|
|
6
6
|
class Da {
|
|
7
7
|
constructor(r) {
|
|
8
8
|
A(this, "options");
|
|
@@ -102,7 +102,7 @@ class Da {
|
|
|
102
102
|
re.SLIDE_LOAD,
|
|
103
103
|
r.slide
|
|
104
104
|
), await fetch(
|
|
105
|
-
[this.url, "api", c,
|
|
105
|
+
[this.url, "api", c, "slides"].join("/") + D,
|
|
106
106
|
{ ...l, method: "get" }
|
|
107
107
|
).then(async (I) => {
|
|
108
108
|
if (!I.ok)
|
|
@@ -127,7 +127,7 @@ class Da {
|
|
|
127
127
|
re.SLIDE_STORE,
|
|
128
128
|
r.id
|
|
129
129
|
), await fetch(
|
|
130
|
-
[this.url, "api", c,
|
|
130
|
+
[this.url, "api", c, "slides", r.id].join("/"),
|
|
131
131
|
{ ...l, body: k, method: "put" }
|
|
132
132
|
).then((D) => {
|
|
133
133
|
if (!D.ok)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "buzzcasting-storage",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.15.
|
|
4
|
+
"version": "2.15.2",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Mark Tamis, TouchFlows SAS",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"lint-staged": "^15.2.10",
|
|
43
43
|
"typescript": "^5.5.4",
|
|
44
44
|
"vite": "^5.4.3",
|
|
45
|
-
"vite-plugin-dts": "^4.1.
|
|
45
|
+
"vite-plugin-dts": "^4.1.1",
|
|
46
46
|
"vitest": "^2.0.5"
|
|
47
47
|
},
|
|
48
48
|
"lint-staged": {
|