buzzcasting-storage 3.11.3 → 3.11.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.
@@ -44,7 +44,7 @@ export declare class BuzzcastingStorageManager {
44
44
  getDashboards: (query: IQuery) => Promise<IResponse | undefined>;
45
45
  setDashboard: (query: IQuery) => Promise<IResponse | undefined>;
46
46
  loadImages: () => Promise<IResponse | undefined>;
47
- storeImage: (imageFile: File) => Promise<IResponse | number>;
47
+ storeImage: (imageFile: FormData) => Promise<IResponse | number>;
48
48
  deleteImage: (imageName: string) => Promise<IResponse | number>;
49
49
  getImages: (query: IQuery) => Promise<IResponse | undefined>;
50
50
  setImage: (query: IQuery) => Promise<IResponse | undefined>;
@@ -133,7 +133,7 @@ function Ot(h, t) {
133
133
  }
134
134
  return t;
135
135
  }
136
- const xa = "3.11.2";
136
+ const xa = "3.11.4";
137
137
  class ka {
138
138
  options;
139
139
  url;
@@ -435,7 +435,7 @@ class ka {
435
435
  c.API,
436
436
  c.NONE,
437
437
  c.WIDGET,
438
- t.name
438
+ t.get("name")
439
439
  ), await fetch(
440
440
  [this.url, "api", o, _.IMAGES].join("/"),
441
441
  { ...l, body: m, method: "post" }
@@ -4166,7 +4166,7 @@ class Mr {
4166
4166
  * @returns IResponse
4167
4167
  */
4168
4168
  getImages = async (t) => {
4169
- const o = (w) => t?.name ? w.name.includes(t?.name) : !1, m = await this.db.table(_.IMAGES).toArray().then((w) => t?.name ? w.filter(o) : w);
4169
+ const o = (w) => t?.id ? w.includes(t.id) : !1, m = await this.db.table(_.IMAGES).toArray().then((w) => t?.id ? w.filter(o) : w);
4170
4170
  return m !== void 0 && G(3, [
4171
4171
  "%cstorage%c %cimages",
4172
4172
  c.STORAGE,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "buzzcasting-storage",
3
3
  "type": "module",
4
- "version": "3.11.3",
4
+ "version": "3.11.5",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "Mark Tamis, TouchFlows SAS",