mezon-js 2.8.17 → 2.8.18

Sign up to get free protection for your applications and to get access to all the features.
package/client.ts CHANGED
@@ -1066,27 +1066,27 @@ export class Client {
1066
1066
  try {
1067
1067
  content = JSON.parse(m.content);
1068
1068
  } catch(e) {
1069
- console.log("error parse content", e);
1069
+ //console.log("error parse content", e);
1070
1070
  }
1071
1071
  try {
1072
1072
  reactions = JSON.parse(m.reactions || '[]');
1073
1073
  } catch(e) {
1074
- console.log("error parse reactions", e);
1074
+ //console.log("error parse reactions", e);
1075
1075
  }
1076
1076
  try {
1077
1077
  mentions = JSON.parse(m.mentions || '[]');
1078
1078
  } catch(e) {
1079
- console.log("error parse mentions", e);
1079
+ //console.log("error parse mentions", e);
1080
1080
  }
1081
1081
  try {
1082
1082
  attachments = JSON.parse(m.attachments || '[]');
1083
1083
  } catch(e) {
1084
- console.log("error parse attachments", e);
1084
+ //console.log("error parse attachments", e);
1085
1085
  }
1086
1086
  try {
1087
1087
  references = JSON.parse(m.references || '[]');
1088
1088
  } catch(e) {
1089
- console.log("error parse references", e);
1089
+ //console.log("error parse references", e);
1090
1090
  }
1091
1091
  result.messages!.push({
1092
1092
  channel_id: m.channel_id,
@@ -5704,27 +5704,22 @@ var Client = class {
5704
5704
  try {
5705
5705
  content = JSON.parse(m.content);
5706
5706
  } catch (e) {
5707
- console.log("error parse content", e);
5708
5707
  }
5709
5708
  try {
5710
5709
  reactions = JSON.parse(m.reactions || "[]");
5711
5710
  } catch (e) {
5712
- console.log("error parse reactions", e);
5713
5711
  }
5714
5712
  try {
5715
5713
  mentions = JSON.parse(m.mentions || "[]");
5716
5714
  } catch (e) {
5717
- console.log("error parse mentions", e);
5718
5715
  }
5719
5716
  try {
5720
5717
  attachments = JSON.parse(m.attachments || "[]");
5721
5718
  } catch (e) {
5722
- console.log("error parse attachments", e);
5723
5719
  }
5724
5720
  try {
5725
5721
  references = JSON.parse(m.references || "[]");
5726
5722
  } catch (e) {
5727
- console.log("error parse references", e);
5728
5723
  }
5729
5724
  result.messages.push({
5730
5725
  channel_id: m.channel_id,
@@ -5675,27 +5675,22 @@ var Client = class {
5675
5675
  try {
5676
5676
  content = JSON.parse(m.content);
5677
5677
  } catch (e) {
5678
- console.log("error parse content", e);
5679
5678
  }
5680
5679
  try {
5681
5680
  reactions = JSON.parse(m.reactions || "[]");
5682
5681
  } catch (e) {
5683
- console.log("error parse reactions", e);
5684
5682
  }
5685
5683
  try {
5686
5684
  mentions = JSON.parse(m.mentions || "[]");
5687
5685
  } catch (e) {
5688
- console.log("error parse mentions", e);
5689
5686
  }
5690
5687
  try {
5691
5688
  attachments = JSON.parse(m.attachments || "[]");
5692
5689
  } catch (e) {
5693
- console.log("error parse attachments", e);
5694
5690
  }
5695
5691
  try {
5696
5692
  references = JSON.parse(m.references || "[]");
5697
5693
  } catch (e) {
5698
- console.log("error parse references", e);
5699
5694
  }
5700
5695
  result.messages.push({
5701
5696
  channel_id: m.channel_id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mezon-js",
3
- "version": "2.8.17",
3
+ "version": "2.8.18",
4
4
  "scripts": {
5
5
  "build": "npx tsc && npx rollup -c --bundleConfigAsCjs && node build.mjs"
6
6
  },