Closed srph closed 1 year ago
@pyramation I'm also running into this with any network I use in useChain
.
"@cosmos-kit/core": "1.0.4",
"@cosmos-kit/keplr": "0.32.21",
"@cosmos-kit/react": "1.0.4",
could you please let us know in which version has this fix been implemented? I had tried this today and it was still throwing the same error.
npm packages that i'm using: "@cosmos-kit/core": "^1.0.4", "@cosmos-kit/cosmostation": "^0.14.21", "@cosmos-kit/keplr": "^0.32.21", "@cosmos-kit/leap": "^0.13.21", "@cosmos-kit/react": "^1.0.4",
Error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'client') at getOfflineSigner (client.js?e347:21:1) at clientMethodAssert (hooks.js?2a7b:110:1) at getOfflineSigner (hooks.js?2a7b:147:1) at eval (GravityToEthBridge.js?a307:181:26) at step (tslib.es6.js?a65a:102:1) at Object.eval [as next] (tslib.es6.js?a65a:83:46) at asyncGeneratorStep (_async_to_generator.mjs?4e1b:3:1) at _next (_async_to_generator.mjs?4e1b:25:1) at eval (_async_to_generator.mjs?4e1b:32:1) at new Promise () at eval (_async_to_generator.mjs?4e1b:21:1) at handleSubmit (GravityToEthBridge.js?a307:172:32) at HTMLUnknownElement.callCallback (react-dom.development.js?ac89:4164:1) at Object.invokeGuardedCallbackDev (react-dom.development.js?ac89:4213:1) at invokeGuardedCallback (react-dom.development.js?ac89:4277:1) at invokeGuardedCallbackAndCatchFirstError (react-dom.development.js?ac89:4291:1) at executeDispatch (react-dom.development.js?ac89:9041:1) at processDispatchQueueItemsInOrder (react-dom.development.js?ac89:9073:1) at processDispatchQueue (react-dom.development.js?ac89:9086:1) at dispatchEventsForPlugins (react-dom.development.js?ac89:9097:1) at eval (react-dom.development.js?ac89:9288:1) at batchedUpdates$1 (react-dom.development.js?ac89:26140:1) at batchedUpdates (react-dom.development.js?ac89:3991:1) at dispatchEventForPluginEventSystem (react-dom.development.js?ac89:9287:1)
Seems like it hasn't been published yet @kombos
Seems like it hasn't been published yet @kombos
any ideas as to when this will get published ? our product development is kinda stuck because of this and hoping for a resolution soon :)
@kombos I would suggest directly using the git commit that fixes this. Something like:
"@cosmos-kit/react": "git@github.com:cosmology-tech/cosmos-kit.git#4f0f2a8f803cad0b518974192043fbc4514c7314"
@kombos I would suggest directly using the git commit that fixes this. Something like:
"@cosmos-kit/react": "git@github.com:cosmology-tech/cosmos-kit.git#4f0f2a8f803cad0b518974192043fbc4514c7314"
I tried to import like this and didnt work. during yarn install, it is asking which version number to install, with options same as npm registry semvers (1.0.4, 1.0.3, etc.) .. since the actual package for @cosmos-kit/react exists here : https://github.com/cosmology-tech/cosmos-kit/tree/main/packages/react, do we have to mention this location, alongwith commit hash ?
Hi, it seems that calling offlineSigner results to an error:
Reproduction here. Demo here
Just happened to stumble upon this issue while playing with another chain.