From b960a17855f39d0ea0a8bd787d83b9e639a059b8 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Sun, 18 Oct 2020 16:41:07 -0400 Subject: [PATCH] gun rpc as a module --- services/gunDB/{rpc.js => rpc/index.js} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename services/gunDB/{rpc.js => rpc/index.js} (96%) diff --git a/services/gunDB/rpc.js b/services/gunDB/rpc/index.js similarity index 96% rename from services/gunDB/rpc.js rename to services/gunDB/rpc/index.js index 8d56592d..67d15ca0 100644 --- a/services/gunDB/rpc.js +++ b/services/gunDB/rpc/index.js @@ -6,16 +6,16 @@ const { makePromise, Constants, Schema } = require('shock-common') const mapValues = require('lodash/mapValues') const Bluebird = require('bluebird') -const { pubToEpub } = require('./contact-api/utils') +const { pubToEpub } = require('../contact-api/utils') const { getGun, getUser, mySEA: SEA, getMySecret, $$__SHOCKWALLET__ENCRYPTED__ -} = require('./Mediator') +} = require('../Mediator') /** - * @typedef {import('./contact-api/SimpleGUN').ValidDataValue} ValidDataValue + * @typedef {import('../contact-api/SimpleGUN').ValidDataValue} ValidDataValue */ /**