@ant-design/web3-eth-web3js 1.1.7 → 1.1.8
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/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type WagmiWeb3ConfigProviderProps } from '@ant-design/web3-wagmi';
|
|
3
3
|
import { type Storage } from 'wagmi';
|
|
4
|
-
import type { WalletConnectParameters } from 'wagmi/connectors';
|
|
5
|
-
export interface WalletConnectOptions extends Pick<WalletConnectParameters, 'disableProviderPing' | 'isNewChainsStale' | 'projectId' | 'metadata' | 'relayUrl' | 'storageOptions' | 'qrModalOptions'> {
|
|
6
|
-
useWalletConnectOfficialModal?: boolean;
|
|
7
|
-
}
|
|
8
4
|
export interface EthWeb3jsConfigProviderProps extends Omit<WagmiWeb3ConfigProviderProps, 'config'> {
|
|
9
|
-
walletConnect?: false | WalletConnectOptions;
|
|
10
5
|
storage?: Storage | false;
|
|
11
6
|
}
|
|
12
7
|
export declare const EthWeb3jsConfigProvider: React.FC<React.PropsWithChildren<EthWeb3jsConfigProviderProps>>;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type WagmiWeb3ConfigProviderProps } from '@ant-design/web3-wagmi';
|
|
3
3
|
import { type Storage } from 'wagmi';
|
|
4
|
-
import type { WalletConnectParameters } from 'wagmi/connectors';
|
|
5
|
-
export interface WalletConnectOptions extends Pick<WalletConnectParameters, 'disableProviderPing' | 'isNewChainsStale' | 'projectId' | 'metadata' | 'relayUrl' | 'storageOptions' | 'qrModalOptions'> {
|
|
6
|
-
useWalletConnectOfficialModal?: boolean;
|
|
7
|
-
}
|
|
8
4
|
export interface EthWeb3jsConfigProviderProps extends Omit<WagmiWeb3ConfigProviderProps, 'config'> {
|
|
9
|
-
walletConnect?: false | WalletConnectOptions;
|
|
10
5
|
storage?: Storage | false;
|
|
11
6
|
}
|
|
12
7
|
export declare const EthWeb3jsConfigProvider: React.FC<React.PropsWithChildren<EthWeb3jsConfigProviderProps>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ant-design/web3-eth-web3js",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"debug": "^4.3.5",
|
|
48
48
|
"viem": "^2.16.5",
|
|
49
49
|
"wagmi": "^2.10.9",
|
|
50
|
+
"@ant-design/web3-assets": "1.11.0",
|
|
50
51
|
"@ant-design/web3-common": "1.13.0",
|
|
51
|
-
"@ant-design/web3-wagmi": "2.
|
|
52
|
-
"@ant-design/web3-assets": "1.10.2"
|
|
52
|
+
"@ant-design/web3-wagmi": "2.8.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@types/debug": "^4.1.12",
|