From 4b74d5e13d6db29d68deed0abc261b63517ed6e6 Mon Sep 17 00:00:00 2001 From: Daniel Lugo Date: Thu, 9 Dec 2021 12:08:25 -0400 Subject: [PATCH] Spell checking --- .vscode/settings.json | 5 +++++ services/gunDB/Mediator/index.js | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 5c0e42b5..aa72f34d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -16,10 +16,15 @@ "falsey", "GUNRPC", "ISEA", + "LNDRPC", + "lndstreaming", "PUBKEY", "radata", "Reqs", + "shockping", + "SHOCKWALLET", "thenables", + "unsubscription", "uuidv" ] } diff --git a/services/gunDB/Mediator/index.js b/services/gunDB/Mediator/index.js index c6ea9731..e89b0894 100644 --- a/services/gunDB/Mediator/index.js +++ b/services/gunDB/Mediator/index.js @@ -178,7 +178,7 @@ mySEA.secret = async (recipientOrSenderEpub, recipientOrSenderSEA) => { if (recipientOrSenderSEA === null) { throw new TypeError( - 'sea has to be nont null, args: ' + + 'sea has to be non null, args: ' + `${JSON.stringify(recipientOrSenderEpub)} -- ${JSON.stringify( recipientOrSenderSEA )}` @@ -187,7 +187,7 @@ mySEA.secret = async (recipientOrSenderEpub, recipientOrSenderSEA) => { if (recipientOrSenderEpub === recipientOrSenderSEA.pub) { throw new Error( - 'Do not use pub for mysecret, args: ' + + 'Do not use pub for mySecret, args: ' + `${JSON.stringify(recipientOrSenderEpub)} -- ${JSON.stringify( recipientOrSenderSEA )}` @@ -287,7 +287,7 @@ const getGun = () => { const getUser = () => { if (!user.is) { - logger.warn('called getUser() without being authed') + logger.warn('called getUser() without being authenticated') throw new Error(Constants.ErrorCode.NOT_AUTH) } return user