@djvlc/openapi-client-core 1.2.11 → 1.2.13

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/README.md CHANGED
@@ -125,7 +125,7 @@ const pagesApi = new PagesApi(config, undefined, axiosInstance);
125
125
 
126
126
  ```typescript
127
127
  import { createEnhancedFetch, createConsoleLogger } from '@djvlc/openapi-client-core';
128
- import { PagesApi, Configuration } from '@djvlc/openapi-admin-client';
128
+ import { PagesApi, Configuration } from '@djvlc/openapi-user-client';
129
129
 
130
130
  // 创建增强的 fetch 函数
131
131
  const enhancedFetch = createEnhancedFetch({
@@ -290,7 +290,7 @@ import {
290
290
  createConsoleLogger,
291
291
  type AxiosClientConfig,
292
292
  } from '@djvlc/openapi-client-core';
293
- import { PagesApi, ComponentsApi, Configuration } from '@djvlc/openapi-admin-client';
293
+ import { PagesApi, ComponentsApi, Configuration } from '@djvlc/openapi-user-client';
294
294
 
295
295
  const config: AxiosClientConfig = {
296
296
  // ============ 基础配置 ============
package/dist/index.d.mts CHANGED
@@ -2408,7 +2408,7 @@ interface MiddlewareConfig {
2408
2408
  * @example
2409
2409
  * ```typescript
2410
2410
  * import { createMiddlewares, createConsoleLogger } from '@djvlc/openapi-client-core';
2411
- * import { Configuration, PagesApi } from '@djvlc/openapi-admin-client';
2411
+ * import { Configuration, PagesApi } from '@djvlc/openapi-user-client';
2412
2412
  *
2413
2413
  * const middlewares = createMiddlewares({
2414
2414
  * auth: { type: 'bearer', getToken: () => token },
package/dist/index.d.ts CHANGED
@@ -2408,7 +2408,7 @@ interface MiddlewareConfig {
2408
2408
  * @example
2409
2409
  * ```typescript
2410
2410
  * import { createMiddlewares, createConsoleLogger } from '@djvlc/openapi-client-core';
2411
- * import { Configuration, PagesApi } from '@djvlc/openapi-admin-client';
2411
+ * import { Configuration, PagesApi } from '@djvlc/openapi-user-client';
2412
2412
  *
2413
2413
  * const middlewares = createMiddlewares({
2414
2414
  * auth: { type: 'bearer', getToken: () => token },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djvlc/openapi-client-core",
3
- "version": "1.2.11",
3
+ "version": "1.2.13",
4
4
  "description": "DJV Low-code Platform - OpenAPI Client 公共运行时",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -24,7 +24,7 @@
24
24
  "typecheck": "tsc --noEmit"
25
25
  },
26
26
  "dependencies": {
27
- "@djvlc/contracts-types": "1.8.5"
27
+ "@djvlc/contracts-types": "1.9.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "^20.0.0",