buzzcasting-storage 3.15.14 → 3.16.0
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.
|
@@ -118,7 +118,7 @@ function _t(f, t) {
|
|
|
118
118
|
}
|
|
119
119
|
return t;
|
|
120
120
|
}
|
|
121
|
-
const $a = "3.15.
|
|
121
|
+
const $a = "3.15.14";
|
|
122
122
|
async function* ja(f) {
|
|
123
123
|
const t = f.pipeThrough(new TextDecoderStream("utf-8")).getReader();
|
|
124
124
|
let o = "";
|
|
@@ -203,7 +203,7 @@ class Ga {
|
|
|
203
203
|
return M;
|
|
204
204
|
}).then((M) => M.json()).then((M) => (M.query = t, M)).catch((M) => ({ success: !1, message: `${M}`, data: null, query: t }));
|
|
205
205
|
}
|
|
206
|
-
async
|
|
206
|
+
async ndjson(t) {
|
|
207
207
|
const { version: o } = this.options, l = this.headers(), g = await fetch(
|
|
208
208
|
`${[this.url, "api", o, "stream"].join("/")}`,
|
|
209
209
|
{
|
|
@@ -5766,7 +5766,7 @@ class rs {
|
|
|
5766
5766
|
const t = [];
|
|
5767
5767
|
Object.values(this.subscribers).forEach((o) => {
|
|
5768
5768
|
t.push(o);
|
|
5769
|
-
}), this.api.
|
|
5769
|
+
}), this.api.ndjson(t);
|
|
5770
5770
|
};
|
|
5771
5771
|
apiQuery = async (t) => await this.api.get(t).then(async (o) => await this.processResponse(o)).catch((o) => ({ code: 204, hash: "" }));
|
|
5772
5772
|
processResponse = async (t) => {
|