@pubinfo/module-captcha 2.1.6 → 2.1.8

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,4 +1,4 @@
1
- import { RequestInstance } from 'pubinfo';
1
+ import type { RequestInstance } from 'pubinfo';
2
2
  export interface CaptchaOptions {
3
3
  /**
4
4
  * 接口请求实例
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo/module-captcha",
3
3
  "type": "module",
4
- "version": "2.1.6",
4
+ "version": "2.1.8",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -22,17 +22,17 @@
22
22
  "peerDependencies": {
23
23
  "@ant-design/icons-vue": "^7.0.1",
24
24
  "ant-design-vue": "^4.2.6",
25
- "pubinfo": "2.1.6"
25
+ "pubinfo": "2.1.8"
26
26
  },
27
27
  "dependencies": {
28
- "@vueuse/core": "^13.7.0",
28
+ "@vueuse/core": "^14.1.0",
29
29
  "crypto-js": "^4.2.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@ant-design/icons-vue": "^7.0.1",
33
33
  "@types/crypto-js": "^4.2.2",
34
34
  "ant-design-vue": "^4.2.6",
35
- "pubinfo": "2.1.6"
35
+ "pubinfo": "2.1.8"
36
36
  },
37
37
  "scripts": {
38
38
  "dev": "pubinfo build -w --sourcemap",
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
  import { CheckOutlined, CloseOutlined, RightOutlined } from '@ant-design/icons-vue';
3
3
  import { useElementSize } from '@vueuse/core';
4
- import { computed, defineEmits, getCurrentInstance, onMounted, ref } from 'vue';
4
+ import { computed, getCurrentInstance, onMounted, ref } from 'vue';
5
5
  import { getPictrue, refresh } from './common/init.ts';
6
6
  import useMounseOpertae from './common/mouse.ts';
7
7
  import { variable } from './common/variable.ts';