Closed julio75012 closed 5 months ago
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch @cosmos-kit/core@2.7.14 for the project I'm working on.
@cosmos-kit/core@2.7.14
Here is the diff that solved my problem:
diff --git a/node_modules/@cosmos-kit/core/cjs/manager.js b/node_modules/@cosmos-kit/core/cjs/manager.js index e8da4fd..1da853b 100644 --- a/node_modules/@cosmos-kit/core/cjs/manager.js +++ b/node_modules/@cosmos-kit/core/cjs/manager.js @@ -57,7 +57,7 @@ class WalletManager extends bases_1.StateBase { this.init(chains, assetLists, wallets, walletConnectOptions, signerOptions, endpointOptions); } init(chains, assetLists, wallets, walletConnectOptions, signerOptions, endpointOptions) { - this.logger.info(`${chains.length} chains and ${wallets.length} wallets are provided!`); + this.logger.info(`${chains.length} chains and ${wallets.length} wallets are provided! cjs`); this.isLazy = endpointOptions?.isLazy; this.chainRecords = chains.map((chain) => { const converted = (0, utils_1.convertChain)(chain, assetLists, signerOptions, endpointOptions?.endpoints?.[chain.chain_name], this.isLazy, this.logger); diff --git a/node_modules/@cosmos-kit/core/esm/manager.js b/node_modules/@cosmos-kit/core/esm/manager.js index ee14fd8..8a127cf 100644 --- a/node_modules/@cosmos-kit/core/esm/manager.js +++ b/node_modules/@cosmos-kit/core/esm/manager.js @@ -51,7 +51,7 @@ export class WalletManager extends StateBase { this.init(chains, assetLists, wallets, walletConnectOptions, signerOptions, endpointOptions); } init(chains, assetLists, wallets, walletConnectOptions, signerOptions, endpointOptions) { - this.logger.info(`${chains.length} chains and ${wallets.length} wallets are provided!`); + this.logger.info(`${chains.length} chains and ${wallets.length} wallets are provided! esm`); this.isLazy = endpointOptions?.isLazy; this.chainRecords = chains.map((chain) => { const converted = convertChain(chain, assetLists, signerOptions, endpointOptions?.endpoints?.[chain.chain_name], this.isLazy, this.logger);
This issue body was partially generated by patch-package.
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch
@cosmos-kit/core@2.7.14
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.