@qrauth/web-components 0.4.0 → 0.4.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qrauth/web-components",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "QRAuth Web Components — drop-in authentication elements",
5
5
  "type": "module",
6
6
  "main": "dist/qrauth-components.js",
@@ -25,7 +25,7 @@
25
25
  "dev": "tsc --watch",
26
26
  "test": "vitest run",
27
27
  "test:watch": "vitest",
28
- "prepublishOnly": "npm run build"
28
+ "prepublishOnly": "npm run build && (grep -rEl \"https?://api\\.qrserver\\.com\" dist/ && echo 'qrserver host in dist — refusing to publish' && exit 1 || true)"
29
29
  },
30
30
  "keywords": [
31
31
  "qrauth",
@@ -49,10 +49,14 @@
49
49
  "type": "git",
50
50
  "url": "git+https://github.com/qrauth-io/qrauth.git"
51
51
  },
52
+ "dependencies": {
53
+ "qrcode": "1.5.4"
54
+ },
52
55
  "devDependencies": {
53
- "esbuild": "^0.24.0",
54
- "happy-dom": "^15.11.7",
55
- "typescript": "^5.7.0",
56
+ "@types/qrcode": "^1.5.5",
57
+ "esbuild": "0.28.0",
58
+ "happy-dom": "^20.10.2",
59
+ "typescript": "5.9.3",
56
60
  "vitest": "^2.1.9"
57
61
  }
58
62
  }