@zhin.js/plugin-qrcode 4.0.9 → 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.
@@ -1,5 +1,5 @@
1
1
  // Generated by build-plugin-runtime-entries.mjs. Do not edit.
2
- import { defineCommand } from '@zhin.js/command';
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({
@@ -1,4 +1,4 @@
1
- import { defineCommand } from '@zhin.js/command';
1
+ import { defineCommand } from 'zhin.js/command';
2
2
  import { raw } from '@zhin.js/core/runtime';
3
3
  import { buildQrImageUrl } from '../../src/qrcode-lib.js';
4
4
 
@@ -1,5 +1,5 @@
1
1
  // Generated by build-plugin-runtime-entries.mjs. Do not edit.
2
- import { defineCommand } from '@zhin.js/command';
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: '识别图片中的二维码内容',
@@ -1,4 +1,4 @@
1
- import { defineCommand } from '@zhin.js/command';
1
+ import { defineCommand } from 'zhin.js/command';
2
2
 
3
3
  const QR_API_BASE = 'https://api.qrserver.com/v1';
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhin.js/plugin-qrcode",
3
- "version": "4.0.9",
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/command": "1.0.12",
41
- "@zhin.js/plugin-runtime": "1.1.6",
42
- "@zhin.js/core": "1.5.8"
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.9"
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.9"
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
@@ -1,5 +1,5 @@
1
1
  // Generated by build-plugin-runtime-entries.mjs. Do not edit.
2
- import { definePlugin } from '@zhin.js/plugin-runtime';
2
+ import { definePlugin } from 'zhin.js';
3
3
  export default definePlugin({
4
4
  name: 'qrcode',
5
5
  metadata: {