I hereby claim:
- I am kelkes on github.
- I am kelkes (https://keybase.io/kelkes) on keybase.
- I have a public key whose fingerprint is 104A 14F9 5C1F FA6F 3634 680D AA96 5074 575B 1276
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
import debug from 'debug'; | |
import Nes from 'nes/client'; | |
const client = new Nes.Client('ws://localhost:3000') // replace with your url here | |
// we use isomorphic-fetch | |
// optain a ws related cookie via this get request (using the default auth cookie) | |
fetch('/nes/auth', { | |
credentials: 'same-origin', | |
}) | |
.then(() => { |