@dynamic-labs/wagmi-connector 4.0.0-alpha.5 → 4.0.0-alpha.51
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 +468 -0
- package/package.js +4 -0
- package/package.json +10 -13
- package/src/index.js +4 -0
- package/src/lib/Connector.d.ts +2 -13226
- package/src/lib/SyncDynamicWagmi.js +2 -2
|
@@ -13,7 +13,7 @@ const SyncDynamicWagmi = ({ children, connector, wallet, }) => {
|
|
|
13
13
|
const lastConnectedWalletId = useRef(undefined);
|
|
14
14
|
const hasPreviousConnection = Boolean(lastConnectedWalletId.current);
|
|
15
15
|
const disconnectWagmi = useCallback(() => {
|
|
16
|
-
logger.
|
|
16
|
+
logger.logVerboseTroubleshootingMessage('[SyncDynamicWagmi] disconnecting wagmi - previous status: ', clientStatus);
|
|
17
17
|
if (clientStatus === 'disconnected') {
|
|
18
18
|
return;
|
|
19
19
|
}
|
|
@@ -21,7 +21,7 @@ const SyncDynamicWagmi = ({ children, connector, wallet, }) => {
|
|
|
21
21
|
lastConnectedWalletId.current = undefined;
|
|
22
22
|
}, [disconnect, clientStatus]);
|
|
23
23
|
const connectWagmi = useCallback((connector, newId, forceConnect) => {
|
|
24
|
-
logger.
|
|
24
|
+
logger.logVerboseTroubleshootingMessage('[SyncDynamicWagmi] connecting wagmi - previous status: ', clientStatus);
|
|
25
25
|
if (clientStatus !== 'disconnected' && !forceConnect) {
|
|
26
26
|
return;
|
|
27
27
|
}
|