buzzcasting-storage 3.11.2 → 3.11.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.
@@ -133,7 +133,7 @@ function Ot(h, t) {
133
133
  }
134
134
  return t;
135
135
  }
136
- const xa = "3.11.1";
136
+ const xa = "3.11.2";
137
137
  class ka {
138
138
  options;
139
139
  url;
@@ -151,6 +151,14 @@ class ka {
151
151
  })
152
152
  };
153
153
  };
154
+ fileHeaders = () => {
155
+ const t = `Bearer ${this.options.bearer}`;
156
+ return {
157
+ headers: new Headers({
158
+ Authorization: t
159
+ })
160
+ };
161
+ };
154
162
  formHeaders = () => {
155
163
  const t = `Bearer ${this.options.bearer}`;
156
164
  return {
@@ -421,7 +429,7 @@ class ka {
421
429
  })).catch((l) => ({ success: !1, message: `${l}`, data: null }));
422
430
  }
423
431
  async storeImage(t) {
424
- const { version: o } = this.options, l = this.formHeaders(), m = t;
432
+ const { version: o } = this.options, l = this.fileHeaders(), m = t;
425
433
  return console.info(
426
434
  "%capi%c %cstoreImage",
427
435
  c.API,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "buzzcasting-storage",
3
3
  "type": "module",
4
- "version": "3.11.2",
4
+ "version": "3.11.3",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "Mark Tamis, TouchFlows SAS",