Skip to content
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

refactor(wallet-rpc)!: rewrite to TypeScript #1548

Merged
merged 15 commits into from
Jun 7, 2022
Merged

Conversation

davidyuk
Copy link
Member

@davidyuk davidyuk commented Jun 7, 2022

No description provided.

BREAKING CHANGE: RpcClient doesn't contain aepp info anymore
Get aepp info in `onConnection` callback, and store somehow to use later.
BREAKING CHANGE: RpcClient has no `origin` property
Use `connection` property instead.
BREAKING CHANGE: wallet can't selectively notify aepps about selecting/adding account
If you need this feature, create a custom wallet implementation.

BREAKING CHANGE: wallet can't provide metadata for accounts
If you need this feature, create a custom wallet implementation.
BREAKING CHANGE: wallet-rpc can't handle specific account set for app anymore
If you need this feature, create a custom wallet implementation.
BREAKING CHANGE: `onDisconnect` callback on wallet side accepts client id instead of RpcClient
Use `sdk.rpcClient[clientId]` to get the corresponding instance of RpcClient.
BREAKING CHANGE: `rpcClients` in wallet is not exposed anymore
BREAKING CHANGE: wallet callbacks accepts aeppId, params, and origin
BREAKING CHANGE: `txObject` parameter of `onSign` callback is removed
Use `unpackTx(tx)` on wallet side instead.
@aeternity aeternity deleted a comment from lgtm-com bot Jun 7, 2022
@aeternity aeternity deleted a comment from lgtm-com bot Jun 7, 2022
@davidyuk davidyuk merged commit b1b3336 into develop Jun 7, 2022
@davidyuk davidyuk deleted the feature/wallet-ts branch June 7, 2022 09:44
@davidyuk davidyuk mentioned this pull request Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant