@hoanghong/speaking-angular 0.4.1 → 0.4.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +5 -1
  2. package/README.md +10 -12
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
+ ## 0.4.2
2
+
3
+ - Simplify public integration documentation; no runtime changes.
4
+
1
5
  # 0.4.1
2
6
 
3
- - CMS-managed application keys share PostgreSQL quota, rotation and revocation.
7
+ - Application keys support quota updates, rotation and revocation.
4
8
  - Optional public-service baseUrl for private deployments and local integration.
5
9
  - Includes microphone selection and realtime audio backpressure fixes (web SDK).
6
10
 
package/README.md CHANGED
@@ -5,15 +5,15 @@ Component nhận dạng lời nói online dùng ngay. Chỉ cài package, chọn
5
5
  ## 1. Cài đặt
6
6
 
7
7
  ```bash
8
- npm install ./vendor/hoanghong-speaking-core-0.4.1.tgz ./vendor/hoanghong-speaking-angular-0.4.1.tgz
8
+ npm install ./vendor/hoanghong-speaking-core-0.4.2.tgz ./vendor/hoanghong-speaking-angular-0.4.2.tgz
9
9
  ```
10
10
 
11
11
  Core được cài tự động. Với ứng dụng mới: `npx @angular/cli@18 new speaking-demo --standalone --routing=false --style=css`, rồi `cd speaking-demo` và chạy lệnh trên.
12
12
 
13
- Bản 0.4.1 là bộ cài test local: giải nén ZIP và copy hai tarball vào `vendor/` trước.
14
- Chưa publish 0.4.1 lên registry. Các tính năng nhận dạng cũ vẫn dùng được.
13
+ Bản 0.4.2 là bộ cài test local: giải nén ZIP và copy hai tarball vào `vendor/` trước.
14
+ Chưa publish 0.4.2 lên registry. Các tính năng nhận dạng cũ vẫn dùng được.
15
15
 
16
- ## Đánh giá phát âm tiếng Anh Mỹ (0.4.1)
16
+ ## Đánh giá phát âm tiếng Anh Mỹ (0.4.2)
17
17
 
18
18
  Thêm `SpeakingService` vào `providers` của component dùng để test, import từ
19
19
  `@hoanghong/speaking-angular`, rồi gọi trong class component:
@@ -158,16 +158,14 @@ Dịch vụ public tự cấp phiên ngắn hạn. Mặc định server giới h
158
158
  API thấp của 0.2 vẫn có sẵn cho tích hợp tùy chỉnh; không cần dùng trong luồng trên. Microphone thiết bị và khả năng truy cập mạng cần kiểm tra trong ứng dụng triển khai thực tế.
159
159
 
160
160
 
161
- ## CMS application keys (0.4.1)
161
+ ## Application key and service URL
162
162
 
163
- Create an application key in CMS > API Keys, then pass it as `appKey`.
164
- The CMS backend and SDK endpoint must share the same PostgreSQL DATABASE_URL.
165
- Quota changes, key rotation and disabling are enforced by the backend. Existing
166
- sessions are also checked against key state. App keys identify quota; they do not
167
- grant CMS administrator access and are visible in browser/mobile applications.
163
+ Pass the application key provided by FSEL as `appKey`. Quotas and key status are
164
+ managed by the service. App keys identify an application and are visible in
165
+ browser/mobile applications.
168
166
 
169
- The hosted default remains https://ai-service.fsel.edu.vn/sdk. A custom deployment
170
- can set `baseUrl` to its absolute /sdk endpoint (never /admin/api).
167
+ The default service is https://ai-service.fsel.edu.vn/sdk. For a private deployment,
168
+ set `baseUrl` to the absolute /sdk endpoint supplied by your service operator.
171
169
 
172
170
  ```ts
173
171
  provideSpeakingApp({ appKey: environment.speakingAppKey,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hoanghong/speaking-angular",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Ready-to-use online speaking: five languages, microphone realtime and audio upload",
5
5
  "type": "module",
6
6
  "peerDependencies": {
@@ -11,7 +11,7 @@
11
11
  "sideEffects": false,
12
12
  "license": "MIT",
13
13
  "dependencies": {
14
- "@hoanghong/speaking-core": "^0.4.1",
14
+ "@hoanghong/speaking-core": "^0.4.2",
15
15
  "tslib": "^2.3.0"
16
16
  },
17
17
  "publishConfig": {