no SEA throw (gun bug)

This commit is contained in:
Daniel Lugo 2020-03-10 18:11:11 -04:00
parent dfca4d9bbd
commit 67efc4e995

View file

@ -13,8 +13,9 @@ const Encryption = require('../../../utils/encryptionStore')
/** @type {import('../contact-api/SimpleGUN').ISEA} */ /** @type {import('../contact-api/SimpleGUN').ISEA} */
// @ts-ignore // @ts-ignore
const SEAx = require('gun/sea') const SEAx = require('gun/sea')
// @ts-ignore // Re-enable in the future, when SEA errors inside user.auth/etc actually
SEAx.throw = true // propagate up.
// SEAx.throw = true
/** @type {import('../contact-api/SimpleGUN').ISEA} */ /** @type {import('../contact-api/SimpleGUN').ISEA} */
const mySEA = {} const mySEA = {}