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 +1 -1
- package/dist/websocket.js +1 -1
- package/package.json +1 -1
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