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.
|
|
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.
|
|
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,
|