fix: apply linting fixes

This commit is contained in:
Yarmo Mackenbach 2023-06-16 15:38:47 +02:00
parent 4f5e5592f4
commit 542bab3232
No known key found for this signature in database
GPG key ID: 3C57D093219103A3
22 changed files with 30 additions and 30 deletions

View file

@ -29,11 +29,11 @@ const processURI = (uri) => {
},
profile: {
display: uri,
uri: uri,
uri,
qr: null
},
proof: {
uri: uri,
uri,
request: {
fetcher: E.Fetcher.ACTIVITYPUB,
access: E.ProofAccess.GENERIC,

View file

@ -31,11 +31,11 @@ const processURI = (uri) => {
},
profile: {
display: `${match[2]}@${match[1]}`,
uri: uri,
uri,
qr: null
},
proof: {
uri: uri,
uri,
request: {
fetcher: E.Fetcher.HTTP,
access: E.ProofAccess.NOCORS,

View file

@ -35,7 +35,7 @@ const processURI = (uri) => {
qr: null
},
proof: {
uri: uri,
uri,
request: {
fetcher: E.Fetcher.HTTP,
access: E.ProofAccess.NOCORS,

View file

@ -35,7 +35,7 @@ const processURI = (uri) => {
qr: null
},
proof: {
uri: uri,
uri,
request: {
fetcher: E.Fetcher.HTTP,
access: E.ProofAccess.NOCORS,

View file

@ -35,7 +35,7 @@ const processURI = (uri) => {
qr: null
},
proof: {
uri: uri,
uri,
request: {
fetcher: E.Fetcher.HTTP,
access: E.ProofAccess.NOCORS,

View file

@ -35,7 +35,7 @@ const processURI = (uri) => {
qr: null
},
proof: {
uri: uri,
uri,
request: {
fetcher: E.Fetcher.HTTP,
access: E.ProofAccess.GENERIC,

View file

@ -35,7 +35,7 @@ const processURI = (uri) => {
qr: null
},
proof: {
uri: uri,
uri,
request: {
fetcher: E.Fetcher.HTTP,
access: E.ProofAccess.GENERIC,

View file

@ -31,7 +31,7 @@ const processURI = (uri) => {
},
profile: {
display: match[1],
uri: uri,
uri,
qr: null
},
proof: {

View file

@ -31,7 +31,7 @@ const processURI = (uri) => {
},
profile: {
display: `irc://${match[1]}/${match[2]}`,
uri: uri,
uri,
qr: null
},
proof: {

View file

@ -31,7 +31,7 @@ const processURI = (uri) => {
},
profile: {
display: match[1],
uri: uri,
uri,
qr: null
},
proof: {

View file

@ -31,11 +31,11 @@ const processURI = (uri) => {
},
profile: {
display: match[1],
uri: uri,
uri,
qr: null
},
proof: {
uri: uri,
uri,
request: {
fetcher: E.Fetcher.HTTP,
access: E.ProofAccess.GENERIC,

View file

@ -31,7 +31,7 @@ const processURI = (uri) => {
},
profile: {
display: match[1],
uri: uri,
uri,
qr: null
},
proof: {

View file

@ -31,7 +31,7 @@ const processURI = (uri) => {
},
profile: {
display: match[1],
uri: uri,
uri,
qr: null
},
proof: {

View file

@ -31,11 +31,11 @@ const processURI = (uri) => {
},
profile: {
display: match[1],
uri: uri,
uri,
qr: null
},
proof: {
uri: uri,
uri,
request: {
fetcher: E.Fetcher.GRAPHQL,
access: E.ProofAccess.NOCORS,

View file

@ -31,7 +31,7 @@ const processURI = (uri) => {
},
profile: {
display: match[1],
uri: uri,
uri,
qr: null
},
proof: {

View file

@ -35,7 +35,7 @@ const processURI = (uri) => {
qr: null
},
proof: {
uri: uri,
uri,
request: {
fetcher: E.Fetcher.HTTP,
access: E.ProofAccess.NOCORS,

View file

@ -33,7 +33,7 @@ const processURI = (uri) => {
},
profile: {
display: `${id}@${site}`,
uri: uri,
uri,
qr: null
},
proof: {

View file

@ -35,7 +35,7 @@ const processURI = (uri) => {
qr: null
},
proof: {
uri: uri,
uri,
request: {
fetcher: E.Fetcher.HTTP,
access: E.ProofAccess.NOCORS,

View file

@ -31,7 +31,7 @@ const processURI = (uri) => {
},
profile: {
display: `${match[1]}@${match[2]}`,
uri: uri,
uri,
qr: uri
},
proof: {

View file

@ -36,9 +36,9 @@ if (jsEnv.isNode) {
const xmppStart = async (service, username, password) => {
return new Promise((resolve, reject) => {
const xmpp = client({
service: service,
username: username,
password: password
service,
username,
password
})
if (process.env.NODE_ENV !== 'production') {
debug(xmpp, true)
@ -46,7 +46,7 @@ if (jsEnv.isNode) {
const { iqCaller } = xmpp
xmpp.start()
xmpp.on('online', _ => {
resolve({ xmpp: xmpp, iqCaller: iqCaller })
resolve({ xmpp, iqCaller })
})
xmpp.on('error', error => {
reject(error)

View file

@ -303,7 +303,7 @@ const process = async (publicKey) => {
})
return {
fingerprint: fingerprint,
fingerprint,
users: usersOutput,
primaryUserIndex: primaryUser.index,
key: {

View file

@ -111,7 +111,7 @@ const createDefaultRequestPromise = (data, opts) => {
.then((res) => {
return resolve({
fetcher: data.proof.request.fetcher,
data: data,
data,
viaProxy: false,
result: res
})
@ -145,7 +145,7 @@ const createProxyRequestPromise = (data, opts) => {
.then((res) => {
return resolve({
fetcher: 'http',
data: data,
data,
viaProxy: true,
result: res
})