allow remote peers to call hubClient.connect

This commit is contained in:
Andre Staltz 2023-07-13 10:46:34 +03:00
parent a97fe9a0c2
commit 9fe47c2b9f
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 6 additions and 1 deletions

View File

@ -8,9 +8,14 @@ const { ErrorDuplex } = require('./utils')
module.exports = {
name: 'hubClient',
manifest: {
add: 'async',
connect: 'duplex',
},
permissions: {
anonymous: {
allow: ['connect'],
},
},
/**
* @param {any} sstack
* @param {any} config