aepp-sdk-js
aepp-sdk-js copied to clipboard
ShareWalletInfo doesn't reach aepp with base aepp inside iframe
Describe the bug
Base Aepp opens in iframe inside aepp example before client is initialized. Because of that, shareWalletInfo
doesn't reach aepp example.
To Reproduce Steps to reproduce the behavior:
- Open example aepp on localhost:9001
- Pass localhost:8080 to prompt window
- Connection won't establish
Expected behavior
I think it's reasonable to move window !== window.parent || await this.getReverseWindow()
after this.client = await RpcAepp({
in created
hook.
Please tell us about your environment:
- SDK Version: v7.4.2