Skip to content

Commit d4fed9f

Browse files
authored
[DCent - v1.0.0-alpha.1] : fix - Update types (#1042)
* Remove unneeded code and logs, formatted file, incremented version for injected wallets for removal of dcent injected, added CI * More cleanup * cleanup types
1 parent d5bd4ab commit d4fed9f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/dcent/src/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ import {
1212
} from '@web3-onboard/common'
1313

1414
import type { providers } from 'ethers'
15-
import type { CustomWindow } from '@web3-onboard/injected-wallets/src/types'
15+
16+
interface CustomWindow extends Window {
17+
ethereum: EIP1193Provider
18+
}
19+
1620
declare const window: CustomWindow
1721

1822
const DEFAULT_BASE_PATH = "m/44'/60'/0'/0/0"

packages/injected/src/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ export enum InjectedNameSpace {
9292
XFI = 'xfi'
9393
}
9494

95-
// Arbitrum = 'arbitrum'
9695
export interface CustomWindow extends Window {
9796
BinanceChain: BinanceProvider
9897
ethereum: InjectedProvider

0 commit comments

Comments
 (0)