@zhin.js/plugin-qrcode 4.0.10 → 4.0.11
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/commands/gen/[text].js +1 -1
- package/commands/gen/[text].ts +1 -1
- package/commands/scan/[url].js +1 -1
- package/commands/scan/[url].ts +1 -1
- package/package.json +6 -6
- package/plugin.js +1 -1
package/commands/gen/[text].js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
import { raw } from '@zhin.js/core/runtime';
|
|
4
4
|
import { buildQrImageUrl } from "../../lib/qrcode-lib.js";
|
|
5
5
|
export default defineCommand({
|
package/commands/gen/[text].ts
CHANGED
package/commands/scan/[url].js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// Generated by build-plugin-runtime-entries.mjs. Do not edit.
|
|
2
|
-
import { defineCommand } from '
|
|
2
|
+
import { defineCommand } from 'zhin.js/command';
|
|
3
3
|
const QR_API_BASE = 'https://api.qrserver.com/v1';
|
|
4
4
|
export default defineCommand({
|
|
5
5
|
description: '识别图片中的二维码内容',
|
package/commands/scan/[url].ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zhin.js/plugin-qrcode",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.11",
|
|
4
4
|
"description": "QR code generator & reader plugin for Zhin.js (Plugin Runtime)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
},
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@zhin.js/
|
|
41
|
-
"@zhin.js/core": "1.5.9",
|
|
42
|
-
"@zhin.js/command": "1.0.13"
|
|
40
|
+
"@zhin.js/core": "1.5.10"
|
|
43
41
|
},
|
|
44
42
|
"devDependencies": {
|
|
45
43
|
"typescript": "^6.0.3",
|
|
46
44
|
"vitest": "^4.1.10",
|
|
47
45
|
"zod": "^4.4.3",
|
|
48
|
-
"@zhin.js/agent": "1.1.
|
|
46
|
+
"@zhin.js/agent": "1.1.11",
|
|
47
|
+
"zhin.js": "6.0.10"
|
|
49
48
|
},
|
|
50
49
|
"peerDependencies": {
|
|
51
50
|
"zod": "^4.0.0",
|
|
52
|
-
"@zhin.js/agent": "1.1.
|
|
51
|
+
"@zhin.js/agent": "1.1.11",
|
|
52
|
+
"zhin.js": "6.0.10"
|
|
53
53
|
},
|
|
54
54
|
"peerDependenciesMeta": {
|
|
55
55
|
"@zhin.js/agent": {
|
package/plugin.js
CHANGED