(ability: Namespace)
| 112 | } |
| 113 | |
| 114 | hasAbility(ability: Namespace) { |
| 115 | deviceLogger.debug(`Checking if device ${this.id} has ability ${ability}`, { |
| 116 | ability, |
| 117 | }); |
| 118 | return Object.keys(this.ability).includes(ability); |
| 119 | } |
| 120 | |
| 121 | private sendMessage(message: any): Promise<Record<string, any>> { |
| 122 | return this.transport.send({ |
no outgoing calls
no test coverage detected