mirror of
https://github.com/lil-org/wallet.git
synced 2025-01-06 04:13:11 +03:00
Support Solana disconnect via request method
This commit is contained in:
parent
398e9d87fa
commit
1432d534a0
File diff suppressed because one or more lines are too long
@ -113,6 +113,10 @@ class TokenarySolana extends EventEmitter {
|
||||
}
|
||||
|
||||
request(payload) {
|
||||
if (payload.method == "disconnect") {
|
||||
return this.disconnect();
|
||||
}
|
||||
|
||||
this.idMapping.tryFixId(payload);
|
||||
return new Promise((resolve, reject) => {
|
||||
if (!payload.id) {
|
||||
|
Loading…
Reference in New Issue
Block a user