@swetrix/captcha 2.0.0 → 2.0.1

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/captcha.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swetrix/captcha",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Swetrix CAPTCHA",
5
5
  "type": "module",
6
6
  "captchaloader": "dist/captcha-loader.js",
package/src/captcha.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export {}
2
2
 
3
3
  // @ts-ignore
4
- const isDevelopment = true // window.__SWETRIX_CAPTCHA_DEV || false
4
+ const isDevelopment = window.__SWETRIX_CAPTCHA_DEV || false
5
5
 
6
6
  const API_URL = isDevelopment ? 'http://localhost:5005/v1/captcha' : 'https://api.swetrix.com/v1/captcha'
7
7
  const WORKER_URL = isDevelopment ? './pow-worker.js' : 'https://cap.swetrix.com/pow-worker.js'