sidechat.js 2.2.3 → 2.2.4
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidechatAPIClient.d.ts","sourceRoot":"","sources":["../../src/classes/SidechatAPIClient.js"],"names":[],"mappings":";AAGA;;;;GAIG;AACH;
|
|
1
|
+
{"version":3,"file":"SidechatAPIClient.d.ts","sourceRoot":"","sources":["../../src/classes/SidechatAPIClient.js"],"names":[],"mappings":";AAGA;;;;GAIG;AACH;IAmBE;;;OAGG;IACH,uCAIC;IA1BD;;;SAGK;IACL,6BAAU;IACV;;;;;OAKG;IACH,oBAKE;IAYF;;;;OAIG;IACH,6CAEE;IAEF;;;;;OAKG;IACH,mDAgBE;IAEF;;;;;;OAMG;IACH,mEAsBE;IAEF;;;;;;OAMG;IACH,8DAyBE;IAEF;;;;;;OAMG;IACH,+CA2BE;IAEF;;;;OAIG;IACH,2CAyBE;IAEF;;;;;OAKG;IACH,6CA2BE;IAEF;;;;;;OAMG;IACH,oDAGE;IAEF;;;;;OAKG;IACH,+CAqBE;IAEF;;;;;;;;OAQG;IACH,4CAJW,KAAK,GAAC,QAAQ,GAAC,KAAK,2DA2B7B;IAEF;;;;;;OAMG;IACH,sEAsBE;IAEF;;;;;;OAMG;IACH,qCAFa,uBAAuB,CAqElC;IAEF;;;;;OAKG;IACH,0BAFa,eAAe,CAsB1B;IAEF;;;;;OAKG;IACH,uBAFa,sBAAsB,CAoBjC;IAEF;;;;;OAKG;IACH,0CAkBE;IAEF;;;;;;OAMG;IACH,sDAkBE;IAEF;;;;;;;;;;;OAWG;IACH,0GAJW,qBAAqB,iDAsC9B;IAEF;;;;;;;;;;OAUG;IACH,wDALW,qBAAqB,4EAsC9B;IAEF;;;;;OAKG;IACH,+DAqBE;IAEF;;;;;;;;OAQG;IACH,2GA0BE;CACH"}
|
package/dist/index.cjs
CHANGED
|
@@ -35,6 +35,7 @@ class SidechatAPIClient {
|
|
|
35
35
|
Accept: "application/json",
|
|
36
36
|
"Content-Type": "application/json",
|
|
37
37
|
"App-Version": "10.0.0",
|
|
38
|
+
Dnt: "1",
|
|
38
39
|
};
|
|
39
40
|
|
|
40
41
|
/**
|
|
@@ -444,8 +445,10 @@ class SidechatAPIClient {
|
|
|
444
445
|
const res = await fetch(`https://api.sidechat.lol/v1/groups/explore`, {
|
|
445
446
|
method: "GET",
|
|
446
447
|
headers: {
|
|
447
|
-
|
|
448
|
+
Accept: "application/json",
|
|
449
|
+
"Content-Type": "application/json",
|
|
448
450
|
Authorization: `Bearer ${this.userToken}`,
|
|
451
|
+
Dnt: "1",
|
|
449
452
|
},
|
|
450
453
|
});
|
|
451
454
|
const json = await res.json();
|
package/dist/index.mjs
CHANGED
|
@@ -31,6 +31,7 @@ class SidechatAPIClient {
|
|
|
31
31
|
Accept: "application/json",
|
|
32
32
|
"Content-Type": "application/json",
|
|
33
33
|
"App-Version": "10.0.0",
|
|
34
|
+
Dnt: "1",
|
|
34
35
|
};
|
|
35
36
|
|
|
36
37
|
/**
|
|
@@ -440,8 +441,10 @@ class SidechatAPIClient {
|
|
|
440
441
|
const res = await fetch(`https://api.sidechat.lol/v1/groups/explore`, {
|
|
441
442
|
method: "GET",
|
|
442
443
|
headers: {
|
|
443
|
-
|
|
444
|
+
Accept: "application/json",
|
|
445
|
+
"Content-Type": "application/json",
|
|
444
446
|
Authorization: `Bearer ${this.userToken}`,
|
|
447
|
+
Dnt: "1",
|
|
445
448
|
},
|
|
446
449
|
});
|
|
447
450
|
const json = await res.json();
|
package/package.json
CHANGED
|
@@ -22,6 +22,7 @@ class SidechatAPIClient {
|
|
|
22
22
|
Accept: "application/json",
|
|
23
23
|
"Content-Type": "application/json",
|
|
24
24
|
"App-Version": "10.0.0",
|
|
25
|
+
Dnt: "1",
|
|
25
26
|
};
|
|
26
27
|
|
|
27
28
|
/**
|
|
@@ -431,8 +432,10 @@ class SidechatAPIClient {
|
|
|
431
432
|
const res = await fetch(`https://api.sidechat.lol/v1/groups/explore`, {
|
|
432
433
|
method: "GET",
|
|
433
434
|
headers: {
|
|
434
|
-
|
|
435
|
+
Accept: "application/json",
|
|
436
|
+
"Content-Type": "application/json",
|
|
435
437
|
Authorization: `Bearer ${this.userToken}`,
|
|
438
|
+
Dnt: "1",
|
|
436
439
|
},
|
|
437
440
|
});
|
|
438
441
|
const json = await res.json();
|