lemmy-js-client 0.17.2-rc.15 → 0.17.2-rc.16

Sign up to get free protection for your applications and to get access to all the features.
package/dist/http.js CHANGED
@@ -56,7 +56,7 @@ var form_data_1 = __importDefault(require("form-data"));
56
56
  var others_1 = require("./types/others");
57
57
  // @ts-ignore
58
58
  BigInt.prototype["toJSON"] = function () {
59
- return this.toString();
59
+ return parseInt(this.toString());
60
60
  };
61
61
  var HttpType;
62
62
  (function (HttpType) {
package/dist/websocket.js CHANGED
@@ -4,7 +4,7 @@ exports.wsJsonToRes = exports.wsUserOp = exports.LemmyWebsocket = void 0;
4
4
  var others_1 = require("./types/others");
5
5
  // @ts-ignore
6
6
  BigInt.prototype["toJSON"] = function () {
7
- return this.toString();
7
+ return parseInt(this.toString());
8
8
  };
9
9
  /**
10
10
  * Helps build lemmy websocket message requests, that you can use in your Websocket sends.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
- "version": "0.17.2-rc.15",
3
+ "version": "0.17.2-rc.16",
4
4
  "description": "A javascript / typescript client for Lemmy",
5
5
  "repository": "https://github.com/LemmyNet/lemmy-js-client",
6
6
  "license": "AGPL-3.0",