AlphaWallet / AlphaWallet-web3-provider

[Used in AlphaWallet]
MIT License
57 stars 37 forks source link

some dapp use the request method report:"TypeError: _this.sendAsync is not a function"" #17

Open jason-bateman opened 3 years ago

hboon commented 3 years ago

@JasonPan2012 could you give an example please? Easier to verify that it's working correctly after we fix it.

jason-bateman commented 3 years ago

Heco Chain fork from ethereum,developer doc:https://docs.hecochain.com/#/ Chain info : Chianid 128 Rpc Url:https://http-mainnet.hecochain.com The dApp in question: https://filda.io/

jason-bateman commented 3 years ago

hi,How is the progress on this issue?

moyaying commented 3 years ago

heco dapp: https://hpool.mdex.com/#/menu also have the same issue.

hboon commented 3 years ago

Update: I was looking at this but was distracted, will check again. Thanks for reporting.

naiba commented 2 years ago

Hi @JasonPan2008 , does this issue still exist? Could it be caused by the CORS issue? Because I failed to load the language file under https://filda.io and it is fine under https://www.filda.io, why not redirect www to non-www or non-www to www?

@hboon Do you have plans to upgrade to https://github.com/MetaMask/json-rpc-engine ?

hboon commented 2 years ago

does this issue still exist? Could it be caused by the CORS issue? Because I failed to load the language file under https://filda.io and it is fine under https://www.filda.io, why not redirect www to non-www or non-www to www?

This isn't relevant to the library

@hboon Do you have plans to upgrade to https://github.com/MetaMask/json-rpc-engine ?

Not for the short term definitely.