@hoanghong/speaking-core 0.4.1 → 0.4.3
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/CHANGELOG.md +9 -1
- package/README.md +6 -11
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
+
## 0.4.3
|
|
2
|
+
|
|
3
|
+
- Remove service addresses from public integration examples; no runtime changes.
|
|
4
|
+
|
|
5
|
+
## 0.4.2
|
|
6
|
+
|
|
7
|
+
- Simplify public integration documentation; no runtime changes.
|
|
8
|
+
|
|
1
9
|
# 0.4.1
|
|
2
10
|
|
|
3
|
-
-
|
|
11
|
+
- Application keys support quota updates, rotation and revocation.
|
|
4
12
|
- Optional public-service baseUrl for private deployments and local integration.
|
|
5
13
|
- Includes microphone selection and realtime audio backpressure fixes (web SDK).
|
|
6
14
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @hoanghong/speaking-core
|
|
2
2
|
|
|
3
|
-
SDK online cho người tự làm UI. Bản test 0.4.
|
|
3
|
+
SDK online cho người tự làm UI. Bản test 0.4.3 cài bằng `npm install ./vendor/hoanghong-speaking-core-0.4.3.tgz` từ bộ ZIP, chưa publish registry. Angular dùng @hoanghong/speaking-angular với component có sẵn; Flutter dùng fsel_speaking. MIT.
|
|
4
4
|
|
|
5
5
|
## Đánh giá phát âm tiếng Anh Mỹ
|
|
6
6
|
|
|
@@ -78,17 +78,12 @@ createSpeakingGateway và các constructor cấu hình thủ công cũ vẫn đ
|
|
|
78
78
|
Dùng `createSpeakingService({ appKey: "KEY_DUOC_FSEL_CAP" })` thay cho lời gọi không tham số. SDK gửi key khi cấp phiên; quota quản lý phía server, không có URL cần cấu hình. Key này là định danh ứng dụng có thể quan sát ở frontend, không có quyền quản trị. INVALID_APP_KEY/401 nghĩa là sai hoặc đã bị khóa; không tự fallback ẩn danh.
|
|
79
79
|
|
|
80
80
|
|
|
81
|
-
##
|
|
81
|
+
## Application key
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
sessions are also checked against key state. App keys identify quota; they do not
|
|
87
|
-
grant CMS administrator access and are visible in browser/mobile applications.
|
|
88
|
-
|
|
89
|
-
The hosted default remains https://ai-service.fsel.edu.vn/sdk. A custom deployment
|
|
90
|
-
can set `baseUrl` to its absolute /sdk endpoint (never /admin/api).
|
|
83
|
+
Pass the application key provided by FSEL as `appKey`. The SDK handles service
|
|
84
|
+
connections automatically. Quotas and key status are managed by the service.
|
|
85
|
+
App keys identify an application and are visible in browser/mobile applications.
|
|
91
86
|
|
|
92
87
|
```ts
|
|
93
|
-
createSpeakingService({ appKey: '
|
|
88
|
+
createSpeakingService({ appKey: 'YOUR_APP_KEY' });
|
|
94
89
|
```
|