Add periodic auto-sync with backend push events, remove refresh button
This commit is contained in:
@@ -98,7 +98,7 @@ export type EvmWalletInfo = {
|
||||
}
|
||||
|
||||
type RPC = {
|
||||
bun: {
|
||||
bun: {
|
||||
requests: {
|
||||
resetApp: {
|
||||
params: {}
|
||||
@@ -149,6 +149,10 @@ type RPC = {
|
||||
params: {}
|
||||
response: void
|
||||
}
|
||||
setAutoSync: {
|
||||
params: { address: string; chainid: string } | null
|
||||
response: void
|
||||
}
|
||||
fetchTokenBalances: {
|
||||
params: {
|
||||
address: string
|
||||
@@ -260,7 +264,13 @@ type RPC = {
|
||||
}
|
||||
webview: {
|
||||
requests: {}
|
||||
messages: {}
|
||||
messages: {
|
||||
transfersUpdate: {
|
||||
count: number
|
||||
chainid: string
|
||||
address: string
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user