Closed code3z closed 2 years ago
const pair = await SEA.pair() user.auth(pair)
throws a typescript error
https://github.com/amark/gun/issues/1218#issuecomment-1063646160
It seems to work:
const gun = new Gun() gun.user().auth(await Gun.SEA.pair());
Straight from Gun TS auth test
throws a typescript error