libshv-js 3.6.5 → 3.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/ws-client.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libshv-js",
3
- "version": "3.6.5",
3
+ "version": "3.6.6",
4
4
  "description": "Typescript implementation of libshv",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
package/src/ws-client.ts CHANGED
@@ -387,7 +387,7 @@ class WsClient {
387
387
  const makeLoginParams = (loginMap: ShvMap) => makeMap({
388
388
  login: loginMap,
389
389
  options: makeMap({
390
- device: options.mountPoint === 'string' ? makeMap({mountPoint: options.mountPoint}) : undefined,
390
+ device: typeof options.mountPoint === 'string' ? makeMap({mountPoint: options.mountPoint}) : undefined,
391
391
  }),
392
392
  });
393
393