Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit b709637

Browse files
Fix package-lock.json and pass linter
1 parent aa6ccc2 commit b709637

File tree

5 files changed

+14
-13
lines changed

5 files changed

+14
-13
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ function setupContext (appName, opts, cb) {
220220
}
221221

222222
// Support rooms
223-
ssbConfig.connections.incoming.tunnel = [{scope: 'public', transform: 'shs'}]
224-
ssbConfig.connections.outgoing.tunnel = [{transform: 'shs'}]
223+
ssbConfig.connections.incoming.tunnel = [{ scope: 'public', transform: 'shs' }]
224+
ssbConfig.connections.outgoing.tunnel = [{ transform: 'shs' }]
225225

226226
const redactedConfig = JSON.parse(JSON.stringify(ssbConfig))
227227
redactedConfig.keys.private = null

lib/depject/invite/invite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ exports.create = function (api) {
2424

2525
if (roomUtils.isInvite(invite)) {
2626
const address = roomUtils.inviteToAddress(invite)
27-
api.sbot.async.connRememberConnect(address, {type: 'room'}, cb)
27+
api.sbot.async.connRememberConnect(address, { type: 'room' }, cb)
2828
return
2929
}
3030

lib/plugins/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ exports.init = function (ssb, config) {
120120
const blocking = graph && graph[ssb.id] && graph[ssb.id][address.key] === false
121121
if (blocking) return
122122
// make multiserver address as a string
123-
let msAddr;
123+
let msAddr
124124
try {
125-
msAddr = ref.toMultiServerAddress(address);
125+
msAddr = ref.toMultiServerAddress(address)
126126
} catch (err) {
127127
return
128128
}
@@ -131,7 +131,7 @@ exports.init = function (ssb, config) {
131131
if (oldEntry && oldEntry.type === 'room') return
132132
// add pub to the CONN database
133133
discovered.add(address.key)
134-
ssb.conn.remember(msAddr, {type: 'pub', key: address.key, autoconnect: true});
134+
ssb.conn.remember(msAddr, { type: 'pub', key: address.key, autoconnect: true })
135135
}
136136
})
137137
)

package-lock.json

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@
131131
"publisherName": "Secure Scuttlebutt Consortium"
132132
}
133133
}
134-
}
134+
}

0 commit comments

Comments
 (0)