lemmy-js-client 0.17.2-rc.14 → 0.17.2-rc.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/http.js +4 -0
- package/dist/websocket.js +4 -0
- package/package.json +1 -1
package/dist/http.js
CHANGED
@@ -54,6 +54,10 @@ exports.LemmyHttp = void 0;
|
|
54
54
|
var cross_fetch_1 = __importDefault(require("cross-fetch"));
|
55
55
|
var form_data_1 = __importDefault(require("form-data"));
|
56
56
|
var others_1 = require("./types/others");
|
57
|
+
// @ts-ignore
|
58
|
+
BigInt.prototype["toJSON"] = function () {
|
59
|
+
return this.toString();
|
60
|
+
};
|
57
61
|
var HttpType;
|
58
62
|
(function (HttpType) {
|
59
63
|
HttpType["Get"] = "GET";
|
package/dist/websocket.js
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.wsJsonToRes = exports.wsUserOp = exports.LemmyWebsocket = void 0;
|
4
4
|
var others_1 = require("./types/others");
|
5
|
+
// @ts-ignore
|
6
|
+
BigInt.prototype["toJSON"] = function () {
|
7
|
+
return this.toString();
|
8
|
+
};
|
5
9
|
/**
|
6
10
|
* Helps build lemmy websocket message requests, that you can use in your Websocket sends.
|
7
11
|
*
|
package/package.json
CHANGED