sprof 0.0.233 → 0.0.235
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 +2 -6
- package/dist/sprof.umd.cjs +3 -3
- package/package.json +1 -1
package/dist/sprof.js
CHANGED
|
@@ -4162,9 +4162,7 @@ class ce {
|
|
|
4162
4162
|
}
|
|
4163
4163
|
}
|
|
4164
4164
|
async Create(e) {
|
|
4165
|
-
const i = e ?? this.item;
|
|
4166
|
-
F.DeepTrim(i);
|
|
4167
|
-
const n = { payload: i, query: this.getUrl() };
|
|
4165
|
+
const i = e ?? this.item, n = { payload: i, query: this.getUrl() };
|
|
4168
4166
|
return i.getFileInfos && (n.fileInfos = i.getFileInfos()), await he.Post(n);
|
|
4169
4167
|
}
|
|
4170
4168
|
async CreateAndSet(e) {
|
|
@@ -4181,9 +4179,7 @@ class ce {
|
|
|
4181
4179
|
}), Promise.all(i);
|
|
4182
4180
|
}
|
|
4183
4181
|
async Update(e) {
|
|
4184
|
-
const i = e ?? this.item;
|
|
4185
|
-
F.DeepTrim(i);
|
|
4186
|
-
const n = { query: this.getUrl(`${i.id}`), payload: i };
|
|
4182
|
+
const i = e ?? this.item, n = { query: this.getUrl(`${i.id}`), payload: i };
|
|
4187
4183
|
return i.getFileInfos && (n.fileInfos = i.getFileInfos(), n.fileInfos.forEach((s) => s.url = "")), await he.Put(n);
|
|
4188
4184
|
}
|
|
4189
4185
|
async UpdateAndSet(e) {
|