-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Embedded SDK #623
base: development
Are you sure you want to change the base?
feat: Embedded SDK #623
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
} | ||
}); | ||
|
||
resizeObserver.observe(mainElement); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will be notifying the parent about any change in size due to images loading, elements appearing/disappearing, etc.
}: PostEmbeddedMessageData<K>) { | ||
if (!type.startsWith("embedded_")) | ||
throw new Error( | ||
`Only "embedded_auth", "embedded_balance", "embedded_resize" or "embedded_data" can be posted to the upper frame.` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
embedded_data
is this intentional ? embedded_close is missing i guess based on map in types file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, the last should be embedded_close
. I've pushed commit with the correct code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 👍
feat: Embedded SDK
…(rather than raw style).
…ds showing an AuthRequest.
No description provided.