remove debug code
This commit is contained in:
parent
a12e31f72a
commit
d6df459070
1 changed files with 0 additions and 8 deletions
|
|
@ -4,8 +4,6 @@
|
||||||
const Gun = require('gun')
|
const Gun = require('gun')
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
require('gun/lib/open')
|
require('gun/lib/open')
|
||||||
// @ts-ignore
|
|
||||||
require('gun/lib/load')
|
|
||||||
const debounce = require('lodash/debounce')
|
const debounce = require('lodash/debounce')
|
||||||
const once = require('lodash/once')
|
const once = require('lodash/once')
|
||||||
const Encryption = require('../../../utils/encryptionStore')
|
const Encryption = require('../../../utils/encryptionStore')
|
||||||
|
|
@ -198,12 +196,6 @@ const authenticate = async (alias, pass) => {
|
||||||
API.Jobs.onAcceptedRequests(user, mySEA)
|
API.Jobs.onAcceptedRequests(user, mySEA)
|
||||||
API.Jobs.onOrders(user, gun, mySEA)
|
API.Jobs.onOrders(user, gun, mySEA)
|
||||||
|
|
||||||
setInterval(() => {
|
|
||||||
user.get('outgoings').load(data => {
|
|
||||||
console.log(JSON.stringify(data, null, 4))
|
|
||||||
})
|
|
||||||
}, 1000)
|
|
||||||
|
|
||||||
const mySec = await mySEA.secret(user._.sea.epub, user._.sea)
|
const mySec = await mySEA.secret(user._.sea.epub, user._.sea)
|
||||||
if (typeof mySec !== 'string') {
|
if (typeof mySec !== 'string') {
|
||||||
throw new TypeError('mySec not an string')
|
throw new TypeError('mySec not an string')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue