hive-keychain/hive-keychain-extension

requestHandshake callback returning undefined

jenyaftw opened this issue · 1 comments

Trying to check whether Hive Keychain is installed (which it is) by doing requestHandshake, like this:

window.hive_keychain.requestHandshake(res => { console.log(res); // undefined });

However, it is returning undefined.

The handshake callback doesn't have arguments, so it's normal it's returning undefined.
The fact that the callback is triggered at all means that Keychain is installed.