@ichinese/open-sdk 1.0.0-rc.1 → 1.0.0-rc.2

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
@@ -1,5 +1,7 @@
1
1
  # iChinese Open Platform SDK for Node.js
2
2
 
3
+ > **Prerelease 1.0.0-rc.2.** 这是预发布版,开放平台还没有正式开放,SDK 的默认地址可能连不上。This is a prerelease: the open platform is not open to the public yet, so the SDK's default address may not answer.
4
+
3
5
  爱中文开放平台的 Node.js 服务端 SDK:开放接口(`/open-apis/v1`)的每个接口都是一个方法,并处理令牌、重试、分页和事件推送。
4
6
 
5
7
  The server SDK of the iChinese open platform. Every operation of the open API is a method on `Client`
@@ -1,5 +1,5 @@
1
1
  /** The SDK's version (it follows the open API's). */
2
- export declare const VERSION = "1.0.0-rc.1";
2
+ export declare const VERSION = "1.0.0-rc.2";
3
3
  /** The open API's address from the release configuration (sdks/release.json); `baseUrl` overrides it. */
4
4
  export declare const DEFAULT_BASE_URL = "https://open.ichinese.cn";
5
5
  export declare const API_PREFIX = "/open-apis/v1";
package/dist/index.cjs CHANGED
@@ -106,7 +106,7 @@ var OpenApiError = class extends Error {
106
106
  var isOpenApiError = (e) => e instanceof OpenApiError;
107
107
 
108
108
  // src/gen/meta.ts
109
- var VERSION = "1.0.0-rc.1";
109
+ var VERSION = "1.0.0-rc.2";
110
110
  var DEFAULT_BASE_URL = "https://open.ichinese.cn";
111
111
  var API_PREFIX = "/open-apis/v1";
112
112
  var SCOPES = [
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ var OpenApiError = class extends Error {
36
36
  var isOpenApiError = (e) => e instanceof OpenApiError;
37
37
 
38
38
  // src/gen/meta.ts
39
- var VERSION = "1.0.0-rc.1";
39
+ var VERSION = "1.0.0-rc.2";
40
40
  var DEFAULT_BASE_URL = "https://open.ichinese.cn";
41
41
  var API_PREFIX = "/open-apis/v1";
42
42
  var SCOPES = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichinese/open-sdk",
3
- "version": "1.0.0-rc.1",
3
+ "version": "1.0.0-rc.2",
4
4
  "description": "Server SDK for the iChinese open platform (open API, tokens, events, web login): Node.js 20+",
5
5
  "license": "MIT",
6
6
  "type": "module",