@vtj/utils 0.17.5 → 0.17.6

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@vtj/utils",
3
3
  "private": false,
4
- "version": "0.17.5",
4
+ "version": "0.17.6",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "低代码引擎",
@@ -25,11 +25,11 @@
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/js-cookie": "~3.0.6",
28
- "axios": "~1.13.0",
28
+ "axios": "~1.16.0",
29
29
  "fetch-jsonp": "~1.3.0",
30
30
  "js-cookie": "~3.0.5",
31
31
  "load-script": "~2.0.0",
32
- "@vtj/cli": "~0.12.19"
32
+ "@vtj/cli": "~0.12.20"
33
33
  },
34
34
  "exports": {
35
35
  ".": {
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { default as axios, AxiosInstance, CreateAxiosDefaults, AxiosResponse, AxiosRequestConfig, RawAxiosRequestHeaders, InternalAxiosRequestConfig, CancelTokenSource } from 'axios';
2
+ import { default as axios, AxiosInstance, CreateAxiosDefaults, AxiosResponse, AxiosRequestConfig, RawAxiosRequestHeaders, InternalAxiosRequestConfig, CancelTokenSource, AxiosAdapter } from 'axios';
3
3
  declare const LOCAL_REQUEST_ID = "Local-Request-Id";
4
4
  export interface IRequestSkipWarn {
5
5
  executor: (resolve: (value: unknown) => void, reject: (reason?: any) => void) => void;
@@ -138,4 +138,4 @@ export interface UseApiReturn<R = any> {
138
138
  reload: () => void;
139
139
  }
140
140
  export declare function useApi<R = any>(loader: Promise<R> | (() => Promise<R>), transform?: (res: any) => R): UseApiReturn<R>;
141
- export { axios, LOCAL_REQUEST_ID, type AxiosRequestConfig, type AxiosResponse, type RawAxiosRequestHeaders };
141
+ export { axios, LOCAL_REQUEST_ID, type AxiosRequestConfig, type AxiosResponse, type RawAxiosRequestHeaders, type AxiosAdapter };
@@ -2,7 +2,7 @@
2
2
  * Copyright (c) 2026, VTJ.PRO All rights reserved.
3
3
  * @name @vtj/utils
4
4
  * @author CHC chenhuachun1549@dingtalk.com
5
- * @version 0.17.4
5
+ * @version 0.17.5
6
6
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
7
7
  */
8
- export declare const version = "0.17.4";
8
+ export declare const version = "0.17.5";