sprof 0.9.2 → 0.9.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.
- package/dist/sprof.js +7 -5
- package/dist/sprof.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/sprof.js
CHANGED
|
@@ -4996,14 +4996,16 @@ class je {
|
|
|
4996
4996
|
}, o = await He.Post(s);
|
|
4997
4997
|
if (!o)
|
|
4998
4998
|
return;
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
4999
|
+
const r = o.data ?? o;
|
|
5000
|
+
if (Array.isArray(r))
|
|
5001
|
+
this.SetAll(r);
|
|
5002
|
+
else if (r && Array.isArray(r.items)) {
|
|
5003
|
+
const l = r;
|
|
5002
5004
|
if (i.p.append) {
|
|
5003
|
-
this.AppendToAll(
|
|
5005
|
+
this.AppendToAll(l.items);
|
|
5004
5006
|
return;
|
|
5005
5007
|
}
|
|
5006
|
-
this.SetAllWithCount(
|
|
5008
|
+
this.SetAllWithCount(l);
|
|
5007
5009
|
}
|
|
5008
5010
|
} catch (n) {
|
|
5009
5011
|
console.warn("FTSP failed:", n);
|