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",
"GUNRPC",
"ISEA",
"LNDRPC",
"lndstreaming",
"PUBKEY",
"radata",
"Reqs",
"shockping",
"SHOCKWALLET",
"thenables",
"unsubscription",
"uuidv"
]
}

View file

@ -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