@polkadot-onboard/core
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -28,2 +28,3 @@ import type { Signer } from '@polkadot/types/types'; | ||
} | ||
export type UnsubscribeFn = () => void; | ||
export interface BaseWallet { | ||
@@ -37,3 +38,4 @@ metadata: WalletMetadata; | ||
getAccounts: () => Promise<Account[]>; | ||
subscribeAccounts: (cb: (accounts: Account[]) => void) => Promise<UnsubscribeFn>; | ||
} | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@polkadot-onboard/core", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"author": "Parity Team <admin@parity.io>", | ||
@@ -29,5 +29,5 @@ "maintainers": [ | ||
"@polkadot/types": "10.9.1", | ||
"prettier": "3.0.3", | ||
"typescript": "5.1.6" | ||
"prettier": "3.1.0", | ||
"typescript": "5.2.2" | ||
} | ||
} |
@@ -31,2 +31,4 @@ import type { Signer } from '@polkadot/types/types'; | ||
export type UnsubscribeFn = () => void; | ||
export interface BaseWallet { | ||
@@ -41,2 +43,3 @@ metadata: WalletMetadata; | ||
getAccounts: () => Promise<Account[]>; | ||
subscribeAccounts: (cb: (accounts: Account[]) => void) => Promise<UnsubscribeFn>; | ||
} |
Sorry, the diff of this file is not supported yet
7738
18
131