From 0818b8b87dc96d7d17986f589ca564f68adf4b10 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 28 Mar 2024 15:44:19 -0400 Subject: [PATCH] fix: add patch for tus on parallel uploads to ensure it sends the meta --- patches/tus-js-client+3.1.3.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/tus-js-client+3.1.3.patch diff --git a/patches/tus-js-client+3.1.3.patch b/patches/tus-js-client+3.1.3.patch new file mode 100644 index 0000000..44ca22d --- /dev/null +++ b/patches/tus-js-client+3.1.3.patch @@ -0,0 +1,12 @@ +diff --git a/node_modules/tus-js-client/lib.esm/upload.js b/node_modules/tus-js-client/lib.esm/upload.js +index 02fde5b..f9e3972 100644 +--- a/node_modules/tus-js-client/lib.esm/upload.js ++++ b/node_modules/tus-js-client/lib.esm/upload.js +@@ -272,7 +272,6 @@ var BaseUpload = /*#__PURE__*/function () { + parallelUploads: 1, + // Reset this option as we are not doing a parallel upload. + parallelUploadBoundaries: null, +- metadata: {}, + // Add the header to indicate the this is a partial upload. + headers: _objectSpread(_objectSpread({}, _this3.options.headers), {}, { + 'Upload-Concat': 'partial'