mirror of https://github.com/embarklabs/embark.git
f2903e7577
When trying to either sending, or listening to whisper channels within Embark's consoles (CLI and Cockpit), the console outputs an error that `EmbarkJS` isn't defined. E.g. running: ``` > EmbarkJS.Messages.listenTo({ topic: ['somechannel']) ``` Outputs: ``` EmbarkJS is not defined ``` This seemed very odd as outputting `EmbarkJS` and all of its members worked totally fine. It turns out that both methods, `listenTo()` and `sendMessage()`, in `EmbarkJS.Messages` are not necessarily what one thinks they are. EmbarkJS decorates both methods to create some options that need to be available in the delegate, two of them being `EmbarkJS.Utils.toAscii` and `EmbarkJS.Utils.fromAscii` ( |
||
---|---|---|
.. | ||
src | ||
.babelrc.js | ||
.gitignore | ||
.npmrc | ||
CHANGELOG.md | ||
README.md | ||
package.json |
README.md
embarkjs-whisper
embarkjs plugin to interact with whisper
Visit embark.status.im to get started with Embark.