@zhin.js/plugin-qrcode 1.0.1 → 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/README.md +28 -0
  2. package/package.json +3 -3
package/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # @zhin.js/plugin-qrcode
2
+
3
+ Zhin.js plugin for qrcode functionality.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pnpm add @zhin.js/plugin-qrcode
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ Add the plugin to your `zhin.config.yml`:
14
+
15
+ ```yaml
16
+ plugins:
17
+ - @zhin.js/plugin-qrcode
18
+ ```
19
+
20
+ Or via CLI:
21
+
22
+ ```bash
23
+ zhin install @zhin.js/plugin-qrcode
24
+ ```
25
+
26
+ ## Configuration
27
+
28
+ Configure in `zhin.config.yml` under the plugin's key. Refer to the plugin source for available options.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/plugin-qrcode",
3
- "version": "1.0.1",
3
+ "version": "2.0.1",
4
4
  "description": "QR code generator & reader plugin for Zhin.js",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -35,10 +35,10 @@
35
35
  "dependencies": {},
36
36
  "devDependencies": {
37
37
  "typescript": "^6.0.3",
38
- "zhin.js": "2.0.1"
38
+ "zhin.js": "4.0.1"
39
39
  },
40
40
  "peerDependencies": {
41
- "zhin.js": "2.0.1"
41
+ "zhin.js": "4.0.1"
42
42
  },
43
43
  "repository": {
44
44
  "type": "git",