@teamkeel/functions-runtime 0.449.0 → 0.449.2

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.cjs CHANGED
@@ -703,7 +703,13 @@ var InlineFile = class _InlineFile {
703
703
  }
704
704
  // Write the files contents from a buffer
705
705
  write(buffer) {
706
- this._contents = new Blob([buffer]);
706
+ this._contents = new Blob([
707
+ new Uint8Array(
708
+ buffer.buffer,
709
+ buffer.byteOffset,
710
+ buffer.byteLength
711
+ )
712
+ ]);
707
713
  }
708
714
  // Reads the contents of the file as a buffer
709
715
  async read() {