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",
|
"falsey",
|
||||||
"GUNRPC",
|
"GUNRPC",
|
||||||
"ISEA",
|
"ISEA",
|
||||||
|
"LNDRPC",
|
||||||
|
"lndstreaming",
|
||||||
"PUBKEY",
|
"PUBKEY",
|
||||||
"radata",
|
"radata",
|
||||||
"Reqs",
|
"Reqs",
|
||||||
|
"shockping",
|
||||||
|
"SHOCKWALLET",
|
||||||
"thenables",
|
"thenables",
|
||||||
|
"unsubscription",
|
||||||
"uuidv"
|
"uuidv"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue