eip1193-types
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "eip1193-types", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"packageManager": "pnpm@8.1.1", | ||
@@ -5,0 +5,0 @@ "description": "Type definitions for EIP-1193 and MetaMask.", |
@@ -0,1 +1,3 @@ | ||
import type { Address } from '.' | ||
export interface RequestArguments { | ||
@@ -29,3 +31,3 @@ method: any | ||
on(event: 'networkChanged', listener: (networkId: string) => void): this | ||
on(event: 'accountsChanged', listener: (accounts: string[]) => void): this | ||
on(event: 'accountsChanged', listener: (accounts: Address[]) => void): this | ||
on(event: 'message', listener: (message: ProviderMessage) => void): this | ||
@@ -32,0 +34,0 @@ /** @deprecated */ |
8114
170