@joliegg/moderation 0.3.5 → 0.3.6

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/package.json +1 -1
  2. package/src/index.ts +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joliegg/moderation",
3
- "version": "0.3.5",
3
+ "version": "0.3.6",
4
4
  "description": "A set of tools for chat moderation",
5
5
  "author": "Diana Islas Ocampo",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -176,7 +176,6 @@ class ModerationClient {
176
176
  return { source: url, moderation: [{ category: 'BLACK_LIST', confidence: 100 }] };
177
177
  }
178
178
 
179
-
180
179
  if (typeof this.googleAPIKey !== 'string') {
181
180
  return { source: url, moderation: [] };
182
181
  }