allow remote peers to call hubClient.connect
This commit is contained in:
parent
a97fe9a0c2
commit
9fe47c2b9f
|
@ -8,9 +8,14 @@ const { ErrorDuplex } = require('./utils')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'hubClient',
|
name: 'hubClient',
|
||||||
manifest: {
|
manifest: {
|
||||||
add: 'async',
|
|
||||||
connect: 'duplex',
|
connect: 'duplex',
|
||||||
},
|
},
|
||||||
|
permissions: {
|
||||||
|
anonymous: {
|
||||||
|
allow: ['connect'],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {any} sstack
|
* @param {any} sstack
|
||||||
* @param {any} config
|
* @param {any} config
|
||||||
|
|
Loading…
Reference in New Issue