@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 +2 -0
- package/dist/gen/meta.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
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`
|
package/dist/gen/meta.d.ts
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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