Closed olivereisenhut closed 1 week ago
Latest commit: f20b5de66736029520244c5350924d18d2f11aae
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
This PR creates a new
executeSecureRequest
command that returns a fetch response. The client benefits from being able to decide what to do with the data. For example, deciding whether it's an image or not.Since it's not possible to send complex objects with methods via
MessagePort:postMessage()
, we have to disassemble the message before sending it through the port and reassemble it on the other side.