@xpadev-net/niconicomments 0.1.8 → 0.1.9

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.
Files changed (2) hide show
  1. package/dist/bundle.js +2 -2
  2. package/package.json +1 -1
package/dist/bundle.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- niconicomments.js v0.1.8
2
+ niconicomments.js v0.1.9
3
3
  (c) 2021 xpadev-net https://xpadevn.et
4
4
  Released under the MIT License.
5
5
  */
@@ -113,7 +113,7 @@
113
113
  for (let key in data[i]) {
114
114
  let value = data[i][key];
115
115
 
116
- if (key === "chat" && value["deleted"] !== 1) {
116
+ if (key === "chat" && value["deleted"] !== 1 && !value["content"].startsWith("/")) {
117
117
  let tmpParam = {
118
118
  "id": value["no"],
119
119
  "vpos": value["vpos"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpadev-net/niconicomments",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "NiconiComments is a comment drawing library that is somewhat compatible with the official Nico Nico Douga player.",
5
5
  "main": "dist/bundle.js",
6
6
  "scripts": {