libshv-js 3.15.0 → 3.15.1

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.15.0",
3
+ "version": "3.15.1",
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
@@ -352,7 +352,7 @@ class WsClient {
352
352
  const requestParam = request.value[RPC_MESSAGE_PARAMS];
353
353
  const parsedParam = methodDefinition.paramParser.safeParse(requestParam);
354
354
  if (!parsedParam.success) {
355
- throw new InvalidParams(`Unexpected param for method ${methodName} on path ${shvPath}: ${toCpon(requestParam)}`);
355
+ throw new InvalidParams(`Unexpected param for method ${methodName} on path '${shvPath}': ${toCpon(requestParam)}`);
356
356
  }
357
357
 
358
358
  let result = methodDefinition.handler(