@wealthsweet/embed-message-api
v1.2.0
Published
Communicate with embedded WealthSweet components.
Readme
@wealthsweet/embed-message-api
Communicate with embedded WealthSweet components.
WealthSweet embedded components can communicate with their parent page via messages sent through the postMessage browser api.
This library provides:
- TypeScript types of WealthSweet embedded messages
- Zod Schemas that can be used to validate WealthSweet embedded messages
Installation
Simply install with the package manager of your choice.
npm install @wealthsweet/embed-message-api