Closed lucaslee-crypto closed 5 months ago
tested and installed the wallet, but while it showed up in the list, it didn't show up as installed. Looking into the code to get the extension
const cdcwallet = (window as CdcwalletWindow).cdc_wallet?.cosmos;
if (cdcwallet) {
return cdcwallet;
}
if (document.readyState === 'complete') {
if (cdcwallet) {
return cdcwallet;
} else {
throw ClientNotExistError;
}
}
I went into my chrome console and can verify, I do not have window.cdc_wallet
Here is the extension I installed — which I followed from the link
tested and installed the wallet, but while it showed up in the list, it didn't show up as installed. Looking into the code to get the extension
Osmosis support is not in the current production build yet. We are planning to release the new version with it next week, which should by then contains the window property of cdc_wallet
.
(Below is a screenshot from our dev build)
Is it possible to merge this PR before our new version is publicly released? Or would you have to verify this with a working production build on chrome store before this could be merged? If it is of the latter case then please wait for our update next week and I should mark this PR as draft for now.
I understand it's working and in dev, makes sense it showed up as not installed. I published it so you can test:
- @cosmos-kit/cdcwallet-extension@2.12.0
- @cosmos-kit/cdcwallet@2.12.0
Add Crypto.com Wallet Extension to cosmos-kit