From 191e6c068d953b14607cabe4c9650b6f77738600 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Sat, 29 Jan 2022 15:52:11 -0500 Subject: [PATCH] Use Gunsmith typing instead of old SimpleGun typing --- services/gunDB/Mediator/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/services/gunDB/Mediator/index.js b/services/gunDB/Mediator/index.js index dba5a510..bcf10e8c 100644 --- a/services/gunDB/Mediator/index.js +++ b/services/gunDB/Mediator/index.js @@ -33,6 +33,8 @@ const $$__SHOCKWALLET__MSG__ = '$$__SHOCKWALLET__MSG__' const $$__SHOCKWALLET__NUMBER__ = '$$__SHOCKWALLET__NUMBER__' const $$__SHOCKWALLET__BOOLEAN__ = '$$__SHOCKWALLET__BOOLEAN__' +/// + mySEA.encrypt = (msg, secret) => { if (typeof secret !== 'string') { throw new TypeError( @@ -281,7 +283,7 @@ const isAuthenticating = () => _isAuthenticating const isRegistering = () => _isRegistering /** - * @returns {import('../contact-api/SimpleGUN').GUNNode} + * @returns {Smith.GunSmithNode} */ const getGun = () => { throw new Error('NO GUNS')