gun rpc as a module

This commit is contained in:
Daniel Lugo 2020-10-18 16:41:07 -04:00
parent cc083e64f8
commit b960a17855

View file

@ -6,16 +6,16 @@ const { makePromise, Constants, Schema } = require('shock-common')
const mapValues = require('lodash/mapValues') const mapValues = require('lodash/mapValues')
const Bluebird = require('bluebird') const Bluebird = require('bluebird')
const { pubToEpub } = require('./contact-api/utils') const { pubToEpub } = require('../contact-api/utils')
const { const {
getGun, getGun,
getUser, getUser,
mySEA: SEA, mySEA: SEA,
getMySecret, getMySecret,
$$__SHOCKWALLET__ENCRYPTED__ $$__SHOCKWALLET__ENCRYPTED__
} = require('./Mediator') } = require('../Mediator')
/** /**
* @typedef {import('./contact-api/SimpleGUN').ValidDataValue} ValidDataValue * @typedef {import('../contact-api/SimpleGUN').ValidDataValue} ValidDataValue
*/ */
/** /**