@djvlc/openapi-client-core 1.2.6 → 1.2.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.
package/README.md CHANGED
@@ -1126,10 +1126,10 @@ const headers = mergeHeaders(
1126
1126
  import { VERSION, SDK_NAME, getSdkInfo } from '@djvlc/openapi-client-core';
1127
1127
 
1128
1128
  console.log(`${SDK_NAME}@${VERSION}`);
1129
- // @djvlc/openapi-client-core@2.0.0
1129
+ // @djvlc/openapi-client-core@1.0.0
1130
1130
 
1131
1131
  const info = getSdkInfo();
1132
- // { name: '@djvlc/openapi-client-core', version: '2.0.0' }
1132
+ // { name: '@djvlc/openapi-client-core', version: '1.0.0' }
1133
1133
  ```
1134
1134
 
1135
1135
  ## 迁移指南(从 1.x 升级)
package/dist/index.d.mts CHANGED
@@ -2705,7 +2705,7 @@ declare function hasContentType(headers: Record<string, string>, contentType: st
2705
2705
  *
2706
2706
  * @packageDocumentation
2707
2707
  */
2708
- declare const VERSION = "2.0.0";
2708
+ declare const VERSION = "1.0.0";
2709
2709
  declare const SDK_NAME = "@djvlc/openapi-client-core";
2710
2710
  /**
2711
2711
  * 获取 SDK 信息
package/dist/index.d.ts CHANGED
@@ -2705,7 +2705,7 @@ declare function hasContentType(headers: Record<string, string>, contentType: st
2705
2705
  *
2706
2706
  * @packageDocumentation
2707
2707
  */
2708
- declare const VERSION = "2.0.0";
2708
+ declare const VERSION = "1.0.0";
2709
2709
  declare const SDK_NAME = "@djvlc/openapi-client-core";
2710
2710
  /**
2711
2711
  * 获取 SDK 信息
package/dist/index.js CHANGED
@@ -18049,7 +18049,7 @@ function createTrackingMiddleware() {
18049
18049
  }
18050
18050
 
18051
18051
  // src/index.ts
18052
- var VERSION3 = "2.0.0";
18052
+ var VERSION3 = "1.0.0";
18053
18053
  var SDK_NAME = "@djvlc/openapi-client-core";
18054
18054
  function getSdkInfo() {
18055
18055
  return { name: SDK_NAME, version: VERSION3 };
package/dist/index.mjs CHANGED
@@ -17960,7 +17960,7 @@ function createTrackingMiddleware() {
17960
17960
  }
17961
17961
 
17962
17962
  // src/index.ts
17963
- var VERSION3 = "2.0.0";
17963
+ var VERSION3 = "1.0.0";
17964
17964
  var SDK_NAME = "@djvlc/openapi-client-core";
17965
17965
  function getSdkInfo() {
17966
17966
  return { name: SDK_NAME, version: VERSION3 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@djvlc/openapi-client-core",
3
- "version": "1.2.6",
3
+ "version": "1.2.8",
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.1"
27
+ "@djvlc/contracts-types": "1.8.3"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "^20.0.0",