Spell checking
This commit is contained in:
parent
38628cafb6
commit
4b74d5e13d
2 changed files with 8 additions and 3 deletions
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
|
|
@ -16,10 +16,15 @@
|
|||
"falsey",
|
||||
"GUNRPC",
|
||||
"ISEA",
|
||||
"LNDRPC",
|
||||
"lndstreaming",
|
||||
"PUBKEY",
|
||||
"radata",
|
||||
"Reqs",
|
||||
"shockping",
|
||||
"SHOCKWALLET",
|
||||
"thenables",
|
||||
"unsubscription",
|
||||
"uuidv"
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue