@karpeleslab/klbfw 0.2.9 → 0.2.10

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/upload.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@karpeleslab/klbfw",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "description": "Frontend Framework",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/upload.js CHANGED
@@ -694,7 +694,7 @@ module.exports.upload = (function () {
694
694
  up.done = completedParts;
695
695
 
696
696
  // Check if all parts are complete
697
- if (pendingParts === 0) {
697
+ if (pendingParts === 0 && completedParts === up.blocks) {
698
698
  // All parts complete, finalize the upload
699
699
  up.status = "validating";
700
700