@broxus/evm-connect 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/EvmConnectButton/index.js +3 -2
- package/dist/cjs/components/EvmConnectDialog/index.js +5 -5
- package/dist/cjs/components/EvmProvidersDispatcher/ConnectionRequest/index.js +12 -12
- package/dist/cjs/context/EvmWalletProvidersContext.d.ts +3 -3
- package/dist/cjs/context/EvmWalletProvidersContext.js +17 -16
- package/dist/cjs/context/EvmWalletServiceContext.d.ts +2 -1
- package/dist/cjs/context/EvmWalletServiceContext.js +4 -2
- package/dist/cjs/services/EvmWalletService.d.ts +1 -2
- package/dist/cjs/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/cjs/types.d.ts +7 -0
- package/dist/esm/components/EvmConnectButton/index.js +4 -3
- package/dist/esm/components/EvmConnectDialog/index.js +5 -5
- package/dist/esm/components/EvmProvidersDispatcher/ConnectionRequest/index.js +12 -12
- package/dist/esm/context/EvmWalletProvidersContext.d.ts +3 -3
- package/dist/esm/context/EvmWalletProvidersContext.js +17 -16
- package/dist/esm/context/EvmWalletServiceContext.d.ts +2 -1
- package/dist/esm/context/EvmWalletServiceContext.js +4 -2
- package/dist/esm/services/EvmWalletService.d.ts +1 -2
- package/dist/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/dist/esm/types.d.ts +7 -0
- package/package.json +2 -3
package/dist/esm/types.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { type NetworkConfigBase } from '@broxus/js-core';
|
|
1
2
|
import { type EIP1193Provider, type MetaMaskProvider, type Web3APISpec, type Web3BaseProvider, type Web3EthExecutionAPI } from 'web3-types';
|
|
2
3
|
import { type EthereumConnector } from './core';
|
|
4
|
+
type EvmBasedNetwork = 'evm';
|
|
5
|
+
export interface EvmNetworkConfig extends NetworkConfigBase<string> {
|
|
6
|
+
transactionType?: string | string[];
|
|
7
|
+
type: EvmBasedNetwork;
|
|
8
|
+
}
|
|
3
9
|
export type SupportedProviders<API extends Web3APISpec = Web3EthExecutionAPI> = EIP1193Provider<API> | Web3BaseProvider<API> | MetaMaskProvider<API>;
|
|
4
10
|
export declare enum ConnectionType {
|
|
5
11
|
INJECTED = "INJECTED",
|
|
@@ -45,3 +51,4 @@ export interface EvmWalletProviderConfig {
|
|
|
45
51
|
};
|
|
46
52
|
isRecent?: boolean;
|
|
47
53
|
}
|
|
54
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@broxus/evm-connect",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Ethereum wallets connector.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -57,7 +57,6 @@
|
|
|
57
57
|
"prepare": "npx yarn cleanup && npx yarn build"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@broxus/js-bridge-essentials": "^0.5.0",
|
|
61
60
|
"@broxus/js-core": "^0.13.0",
|
|
62
61
|
"@broxus/js-utils": "^1.3.6",
|
|
63
62
|
"@broxus/react-components": "^0.17.0",
|
|
@@ -78,5 +77,5 @@
|
|
|
78
77
|
"web3-types": "^1.x",
|
|
79
78
|
"web3-utils": "^4.x"
|
|
80
79
|
},
|
|
81
|
-
"gitHead": "
|
|
80
|
+
"gitHead": "3d1224bfea7dbcf833304fdfce78b206e5973b42"
|
|
82
81
|
}
|