File tree Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @web3-onboard/injected-wallets" ,
3
- "version" : " 2.0.0-alpha.4 " ,
3
+ "version" : " 2.0.0-alpha.5 " ,
4
4
"description" : " Injected wallets module for web3-onboard" ,
5
5
"module" : " dist/index.js" ,
6
6
"browser" : " dist/index.js" ,
Original file line number Diff line number Diff line change 1
1
import { ProviderRpcErrorCode , WalletModule } from '@web3-onboard/common'
2
- import { ProviderLabel } from './types'
2
+ import { ProviderLabel } from './types.js '
3
3
4
4
export class ProviderRpcError extends Error {
5
5
message : string
Original file line number Diff line number Diff line change 1
1
import uniqBy from 'lodash.uniqby'
2
2
3
3
import type { WalletInit } from '@web3-onboard/common'
4
- import type { InjectedWalletOptions , CustomWindow } from './types'
5
- import { ProviderLabel } from './types'
4
+ import type { InjectedWalletOptions , CustomWindow } from './types.js '
5
+ import { ProviderLabel } from './types.js '
6
6
7
7
import standardWallets from './wallets.js'
8
8
import { remove } from './helpers.js'
9
9
import { validateWalletOptions } from './validation.js'
10
10
11
11
declare const window : CustomWindow
12
12
13
- export { ProviderIdentityFlag , ProviderLabel } from './types'
13
+ export { ProviderIdentityFlag , ProviderLabel } from './types.js '
14
14
15
15
function injected ( options ?: InjectedWalletOptions ) : WalletInit {
16
16
if ( typeof window === 'undefined' ) return ( ) => null
Original file line number Diff line number Diff line change 1
- import { InjectedWalletOptions } from './types'
1
+ import { InjectedWalletOptions } from './types.js '
2
2
3
3
import Joi from 'joi'
4
4
Original file line number Diff line number Diff line change 1
1
import type { EIP1193Provider , ChainListener } from '@web3-onboard/common'
2
2
import { createEIP1193Provider } from '@web3-onboard/common'
3
- import type { InjectedWalletModule , CustomWindow } from './types'
4
- import { InjectedNameSpace , ProviderIdentityFlag , ProviderLabel } from './types'
3
+ import type { InjectedWalletModule , CustomWindow } from './types.js'
4
+ import {
5
+ InjectedNameSpace ,
6
+ ProviderIdentityFlag ,
7
+ ProviderLabel
8
+ } from './types.js'
5
9
6
10
declare const window : CustomWindow
7
11
You can’t perform that action at this time.
0 commit comments