lemmy-js-client 0.17.0-rc.25 → 0.17.0-rc.26

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.
package/dist/websocket.js CHANGED
@@ -514,6 +514,6 @@ exports.wsUserOp = wsUserOp;
514
514
  * Converts a websocket string response to a usable result
515
515
  */
516
516
  function wsJsonToRes(msg, responseClass) {
517
- return (0, class_transformer_1.deserialize)(responseClass, msg.data);
517
+ return (0, class_transformer_1.deserialize)(responseClass, JSON.stringify(msg.data));
518
518
  }
519
519
  exports.wsJsonToRes = wsJsonToRes;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
3
  "description": "A javascript / typescript client for Lemmy",
4
- "version": "0.17.0-rc.25",
4
+ "version": "0.17.0-rc.26",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",