Frontify / brand-sdk

Brand SDK is a collection of tools and packages for building apps that integrate with Frontify's brand management platform.
7 stars 2 forks source link

feat(app-bridge-app): New command `executeSecureRequest` #1082

Closed olivereisenhut closed 1 week ago

olivereisenhut commented 2 months ago

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.

changeset-bot[bot] commented 2 months ago

⚠️ No Changeset found

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.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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