We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6182a2 commit db0930aCopy full SHA for db0930a
src/ws-discovery/ws-probe.ts
@@ -5,7 +5,7 @@ import { probe } from '../core/probe'
5
import { IWsProbeConfig, IWsResponse } from './ws-probe.interfaces'
6
import { DEFAULT_WS_PROBE_CONFIG } from './config'
7
8
-const mapDeviceStrToPayload = (str: string) => generateWsDiscoveryProbePayload(str)(generateGuid())
+const mapDeviceStrToPayload = (str: string) => generateWsDiscoveryProbePayload(generateGuid())(str)
9
const mapDevicesToPayloads = (devices: readonly string[]) => devices.map(mapDeviceStrToPayload)
10
11
export const wsProbe =
0 commit comments