sprof 0.9.1 → 0.9.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.
- package/dist/sprof.js +12 -13
- package/dist/sprof.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/sprof.js
CHANGED
|
@@ -4989,25 +4989,24 @@ class je {
|
|
|
4989
4989
|
}
|
|
4990
4990
|
}
|
|
4991
4991
|
async FTSP(e) {
|
|
4992
|
-
var n;
|
|
4993
4992
|
try {
|
|
4994
|
-
const
|
|
4995
|
-
payload: { ftsp:
|
|
4993
|
+
const i = ((e == null ? void 0 : e.ftsp) ?? cn.Get()).clearForHTTP(), s = {
|
|
4994
|
+
payload: { ftsp: i },
|
|
4996
4995
|
query: this.getUrl("ftsp")
|
|
4997
|
-
},
|
|
4998
|
-
if (!
|
|
4996
|
+
}, o = await He.Post(s);
|
|
4997
|
+
if (!o)
|
|
4999
4998
|
return;
|
|
5000
|
-
if (Array.isArray(
|
|
5001
|
-
this.SetAll(
|
|
5002
|
-
else {
|
|
5003
|
-
if (
|
|
5004
|
-
this.AppendToAll(
|
|
4999
|
+
if (Array.isArray(o.data))
|
|
5000
|
+
this.SetAll(o.data);
|
|
5001
|
+
else if (o.data && Array.isArray(o.data.items)) {
|
|
5002
|
+
if (i.p.append) {
|
|
5003
|
+
this.AppendToAll(o.data.items);
|
|
5005
5004
|
return;
|
|
5006
5005
|
}
|
|
5007
|
-
this.SetAllWithCount(
|
|
5006
|
+
this.SetAllWithCount(o.data);
|
|
5008
5007
|
}
|
|
5009
|
-
} catch (
|
|
5010
|
-
console.warn("FTSP failed:",
|
|
5008
|
+
} catch (n) {
|
|
5009
|
+
console.warn("FTSP failed:", n);
|
|
5011
5010
|
}
|
|
5012
5011
|
}
|
|
5013
5012
|
async Create(e) {
|