pinata 2.4.5 → 2.4.6

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/index.js CHANGED
@@ -2561,7 +2561,7 @@ var uploadFile = async (config, file, network, options) => {
2561
2561
  }
2562
2562
  });
2563
2563
  }
2564
- const chunkSize = 50 * 1024 * 1024;
2564
+ const chunkSize = 50 * 1024 * 1024 + 1;
2565
2565
  const totalChunks = Math.ceil(file.size / chunkSize);
2566
2566
  let offset = 0;
2567
2567
  let uploadReq;