@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.js CHANGED
@@ -651,7 +651,13 @@ var InlineFile = class _InlineFile {
651
651
  }
652
652
  // Write the files contents from a buffer
653
653
  write(buffer) {
654
- this._contents = new Blob([buffer]);
654
+ this._contents = new Blob([
655
+ new Uint8Array(
656
+ buffer.buffer,
657
+ buffer.byteOffset,
658
+ buffer.byteLength
659
+ )
660
+ ]);
655
661
  }
656
662
  // Reads the contents of the file as a buffer
657
663
  async read() {