Spell checking

This commit is contained in:
Daniel Lugo 2021-12-09 12:08:25 -04:00
parent 38628cafb6
commit 4b74d5e13d
2 changed files with 8 additions and 3 deletions

View file

@ -16,10 +16,15 @@
"falsey", "falsey",
"GUNRPC", "GUNRPC",
"ISEA", "ISEA",
"LNDRPC",
"lndstreaming",
"PUBKEY", "PUBKEY",
"radata", "radata",
"Reqs", "Reqs",
"shockping",
"SHOCKWALLET",
"thenables", "thenables",
"unsubscription",
"uuidv" "uuidv"
] ]
} }

View file

@ -178,7 +178,7 @@ mySEA.secret = async (recipientOrSenderEpub, recipientOrSenderSEA) => {
if (recipientOrSenderSEA === null) { if (recipientOrSenderSEA === null) {
throw new TypeError( throw new TypeError(
'sea has to be nont null, args: ' + 'sea has to be non null, args: ' +
`${JSON.stringify(recipientOrSenderEpub)} -- ${JSON.stringify( `${JSON.stringify(recipientOrSenderEpub)} -- ${JSON.stringify(
recipientOrSenderSEA recipientOrSenderSEA
)}` )}`
@ -187,7 +187,7 @@ mySEA.secret = async (recipientOrSenderEpub, recipientOrSenderSEA) => {
if (recipientOrSenderEpub === recipientOrSenderSEA.pub) { if (recipientOrSenderEpub === recipientOrSenderSEA.pub) {
throw new Error( throw new Error(
'Do not use pub for mysecret, args: ' + 'Do not use pub for mySecret, args: ' +
`${JSON.stringify(recipientOrSenderEpub)} -- ${JSON.stringify( `${JSON.stringify(recipientOrSenderEpub)} -- ${JSON.stringify(
recipientOrSenderSEA recipientOrSenderSEA
)}` )}`
@ -287,7 +287,7 @@ const getGun = () => {
const getUser = () => { const getUser = () => {
if (!user.is) { if (!user.is) {
logger.warn('called getUser() without being authed') logger.warn('called getUser() without being authenticated')
throw new Error(Constants.ErrorCode.NOT_AUTH) throw new Error(Constants.ErrorCode.NOT_AUTH)
} }
return user return user