@hoanghong/speaking-core 0.4.2 → 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 CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.4.3
2
+
3
+ - Remove service addresses from public integration examples; no runtime changes.
4
+
1
5
  ## 0.4.2
2
6
 
3
7
  - Simplify public integration documentation; no runtime changes.
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.2 cài bằng `npm install ./vendor/hoanghong-speaking-core-0.4.2.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.
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,15 +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
- ## Application key and service URL
81
+ ## Application key
82
82
 
83
- Pass the application key provided by FSEL as `appKey`. Quotas and key status are
84
- managed by the service. App keys identify an application and are visible in
85
- browser/mobile applications.
86
-
87
- The default service is https://ai-service.fsel.edu.vn/sdk. For a private deployment,
88
- set `baseUrl` to the absolute /sdk endpoint supplied by your service operator.
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.
89
86
 
90
87
  ```ts
91
- createSpeakingService({ appKey: 'YOUR_APP_KEY', baseUrl: 'https://your-service.example/sdk' });
88
+ createSpeakingService({ appKey: 'YOUR_APP_KEY' });
92
89
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hoanghong/speaking-core",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Online speaking SDK: gateway configuration, realtime microphone and audio upload",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",