@cryptorubic/web3 1.4.1 → 1.4.2-alpha.cloudflare.1
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/package.json
CHANGED
|
@@ -106,7 +106,9 @@ class BlockchainAdapterFactoryService {
|
|
|
106
106
|
if (!adapter.connected) {
|
|
107
107
|
adapter.initWeb3Client();
|
|
108
108
|
const msg = `Web3 client for ${adapter.constructor.name} initialized successfully.`;
|
|
109
|
-
|
|
109
|
+
if (this.clientParams?.envType == 'local') {
|
|
110
|
+
this.logger ? this.logger?.customLog(msg, adapter) : console.debug(msg, adapter);
|
|
111
|
+
}
|
|
110
112
|
}
|
|
111
113
|
});
|
|
112
114
|
}
|