qt-human 4.7.0 → 4.7.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/dist/bundle.iife.js +1 -1
- package/dist/bundle.umd.js +1 -1
- package/dist/esm/chunks/human-core-DpA5JgBc.js +1 -0
- package/dist/esm/chunks/{index-CqOuvqux.js → index-DKUUrvlu.js} +1 -1
- package/dist/esm/chunks/{render-BCz87JQl.js → render-BmqHHJHq.js} +1 -1
- package/dist/esm/chunks/{shared-ClYAgl3c.js → shared-CycNVC14.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/types/modules/human/AudioDebugger.d.ts +2 -0
- package/dist/esm/types/modules/human/AudioDebugger.d.ts.map +1 -1
- package/dist/esm/types/modules/human/ChatOrchestrator.d.ts +3 -0
- package/dist/esm/types/modules/human/ChatOrchestrator.d.ts.map +1 -1
- package/dist/esm/types/modules/human/WebRTCLipSync.d.ts +2 -0
- package/dist/esm/types/modules/human/WebRTCLipSync.d.ts.map +1 -1
- package/dist/esm/types/modules/human.d.ts.map +1 -1
- package/dist/esm/types/modules/voice/TextProcessor.d.ts +4 -0
- package/dist/esm/types/modules/voice/TextProcessor.d.ts.map +1 -1
- package/dist/esm/types/modules/voice/animation-helpers.d.ts +2 -0
- package/dist/esm/types/modules/voice/animation-helpers.d.ts.map +1 -0
- package/dist/esm/types/modules/voice/barge-in-helpers.d.ts +18 -0
- package/dist/esm/types/modules/voice/barge-in-helpers.d.ts.map +1 -0
- package/dist/esm/types/modules/voice/graceful-exit-helpers.d.ts +4 -0
- package/dist/esm/types/modules/voice/graceful-exit-helpers.d.ts.map +1 -0
- package/dist/esm/types/modules/voice/llm-helpers.d.ts +2 -0
- package/dist/esm/types/modules/voice/llm-helpers.d.ts.map +1 -0
- package/dist/esm/types/modules/voice/state-generation.d.ts +8 -0
- package/dist/esm/types/modules/voice/state-generation.d.ts.map +1 -0
- package/dist/esm/types/modules/voice/tts-transport-helpers.d.ts +2 -0
- package/dist/esm/types/modules/voice/tts-transport-helpers.d.ts.map +1 -0
- package/dist/esm/types/modules/voice/vad-gate-helpers.d.ts +3 -0
- package/dist/esm/types/modules/voice/vad-gate-helpers.d.ts.map +1 -0
- package/dist/esm/types/modules/voice/voice-state-helpers.d.ts +7 -0
- package/dist/esm/types/modules/voice/voice-state-helpers.d.ts.map +1 -0
- package/dist/esm/types/modules/voice-conversation-e2e.d.ts +2 -0
- package/dist/esm/types/modules/voice-conversation-e2e.d.ts.map +1 -1
- package/dist/esm/types/modules/voice-conversation.d.ts +1 -0
- package/dist/esm/types/modules/voice-conversation.d.ts.map +1 -1
- package/dist/esm/types/types/config.d.ts +6 -5
- package/dist/esm/types/utils/aes.d.ts +0 -6
- package/dist/esm/types/utils/aes.d.ts.map +1 -1
- package/dist/index.d.ts +9 -5
- package/dist/types/types/config.d.ts +6 -5
- package/package.json +4 -1
- package/dist/esm/chunks/human-core-CRfOrN5Q.js +0 -1
|
@@ -215,12 +215,13 @@ export interface ModelRenderConfig {
|
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
217
|
* 加密配置
|
|
218
|
-
*
|
|
218
|
+
* @deprecated audit #22: 静态 salt/iv 路径已废弃,运行时不再使用(真模型解密走服务端
|
|
219
|
+
* 按授权下发的 key)。保留类型仅为向后兼容,传入将被忽略(no-op)。
|
|
219
220
|
*/
|
|
220
221
|
export interface CryptoConfig {
|
|
221
|
-
/**
|
|
222
|
+
/** @deprecated 已废弃,忽略 */
|
|
222
223
|
salt?: string;
|
|
223
|
-
/**
|
|
224
|
+
/** @deprecated 已废弃,忽略 */
|
|
224
225
|
iv?: string;
|
|
225
226
|
}
|
|
226
227
|
|
|
@@ -549,8 +550,8 @@ export interface HumanConfig {
|
|
|
549
550
|
text2SpeachApiParams?: TTSApiParams;
|
|
550
551
|
|
|
551
552
|
/**
|
|
552
|
-
*
|
|
553
|
-
*
|
|
553
|
+
* @deprecated audit #22: 静态 salt/iv 加密路径已废弃,传入将被忽略(no-op)。
|
|
554
|
+
* 真模型解密由服务端按授权下发 key 完成(形象 IP 防盗 P0)。
|
|
554
555
|
*/
|
|
555
556
|
crypto?: CryptoConfig;
|
|
556
557
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "qt-human",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.2",
|
|
4
4
|
"description": "A JavaScript SDK for 3D digital human rendering and interaction",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,6 +28,8 @@
|
|
|
28
28
|
"dev": "cross-env NODE_ENV=development rollup -c -w",
|
|
29
29
|
"clean": "rimraf dist",
|
|
30
30
|
"typecheck": "tsc --noEmit",
|
|
31
|
+
"test": "vitest run",
|
|
32
|
+
"test:watch": "vitest",
|
|
31
33
|
"validate": "node scripts/validate-build.js",
|
|
32
34
|
"prepublishOnly": "",
|
|
33
35
|
"release": "npm run build --silent && npm publish && cnpm sync qt-human",
|
|
@@ -76,6 +78,7 @@
|
|
|
76
78
|
"rollup-plugin-web-worker-loader": "^1.7.0",
|
|
77
79
|
"tsx": "^4.21.0",
|
|
78
80
|
"typescript": "^5.5.2",
|
|
81
|
+
"vitest": "1.6.1",
|
|
79
82
|
"web-streams-polyfill": "^4.0.0",
|
|
80
83
|
"ws": "^8.20.0"
|
|
81
84
|
},
|