bruce-models 6.9.2 → 6.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/bruce-models.es5.js +9 -4
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +9 -4
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/client-file/client-file.js +8 -3
- package/dist/lib/client-file/client-file.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -9267,9 +9267,14 @@
|
|
|
9267
9267
|
percent: 100,
|
|
9268
9268
|
uploaded: true
|
|
9269
9269
|
});
|
|
9270
|
-
|
|
9271
|
-
|
|
9272
|
-
};
|
|
9270
|
+
// Keeping any other magic properties in there.
|
|
9271
|
+
// When we upload a plant-3dz file it also returns its 'projects' which is a fun magic side-effect we really need to kill.
|
|
9272
|
+
const res = Object.assign({}, tempFile);
|
|
9273
|
+
if (res["TempFile.ID"]) {
|
|
9274
|
+
res.tempFileId = res["TempFile.ID"];
|
|
9275
|
+
delete res["TempFile.ID"];
|
|
9276
|
+
}
|
|
9277
|
+
return res;
|
|
9273
9278
|
});
|
|
9274
9279
|
}
|
|
9275
9280
|
ClientFile.UploadTemp = UploadTemp;
|
|
@@ -16519,7 +16524,7 @@
|
|
|
16519
16524
|
}
|
|
16520
16525
|
|
|
16521
16526
|
// This is updated with the package.json version on build.
|
|
16522
|
-
const VERSION = "6.9.
|
|
16527
|
+
const VERSION = "6.9.3";
|
|
16523
16528
|
|
|
16524
16529
|
exports.VERSION = VERSION;
|
|
16525
16530
|
exports.AbstractApi = AbstractApi;
|