@zeewain/3d-avatar-sdk 2.1.5 → 2.2.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/assets/Build/webgl.data.unityweb +0 -0
- package/dist/assets/Build/webgl.framework.js.unityweb +0 -0
- package/dist/assets/Build/webgl.wasm.unityweb +0 -0
- package/dist/examples/test-vue2/package.json +1 -1
- package/dist/examples/test-vue3/package.json +1 -1
- package/dist/examples/test-vue3/src/App.vue +2 -2
- package/dist/examples/test-vue3/src/components/UnityPreview.vue +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.es5.js +1 -14877
- package/dist/index.es5.umd.js +1 -14878
- package/dist/index.esm.js +1 -2850
- package/dist/index.umd.cjs +1 -2865
- package/package.json +2 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@element-plus/icons-vue": "^2.3.1",
|
|
25
25
|
"@vueuse/core": "^13.5.0",
|
|
26
26
|
"@vueuse/integrations": "^13.5.0",
|
|
27
|
-
"@zeewain/3d-avatar-sdk": "^2.
|
|
27
|
+
"@zeewain/3d-avatar-sdk": "^2.2.2",
|
|
28
28
|
"dayjs": "^1.11.13",
|
|
29
29
|
"element-plus": "^2.10.4",
|
|
30
30
|
"vite-plugin-html": "^3.2.2",
|
|
@@ -475,12 +475,12 @@ async function handleTextBroadcast(params: {
|
|
|
475
475
|
type: BroadcastType.TEXT,
|
|
476
476
|
humanCode: params.avatarCode || globalConfig.avatarCode,
|
|
477
477
|
text: params.text,
|
|
478
|
-
volume: params.volume ??
|
|
478
|
+
volume: params.volume ?? 1,
|
|
479
479
|
voiceCode: params.voiceCode || '',
|
|
480
480
|
speed: params.speed ?? 1,
|
|
481
481
|
isSubtitle: false,
|
|
482
482
|
motionList: params.broadcastMotionString?.split(',').filter(item => item.trim()) || [],
|
|
483
|
-
motionPlayMode:
|
|
483
|
+
motionPlayMode:'sequence'
|
|
484
484
|
};
|
|
485
485
|
|
|
486
486
|
// 队列播报模式下使用传入的isAppend参数,单次播报模式下使用sdkStatus.isStartBroadcast
|
package/dist/index.d.ts
CHANGED
|
@@ -1441,7 +1441,7 @@ declare class ZEEAvatarSDK {
|
|
|
1441
1441
|
* SDK 版本号
|
|
1442
1442
|
* @const {string} SDK_VERSION
|
|
1443
1443
|
*/
|
|
1444
|
-
declare const SDK_VERSION = "2.
|
|
1444
|
+
declare const SDK_VERSION = "2.2.2";
|
|
1445
1445
|
|
|
1446
1446
|
export { AvatarCameraType, AvatarOperationType, AvatarService, BroadcastOperationType, BroadcastService, BroadcastType, ConfigErrorCode, ERROR_CODE_MAP, ErrorCategory, NetworkErrorCode, OperationErrorCode, ResourceErrorCode, SDKError, SDK_VERSION, SystemErrorCode, UnityOperationStatus, ZEEAvatarLoader, ZEEAvatarSDK, getErrorInfo };
|
|
1447
1447
|
export type { IAvatarAPI, IAvatarCallbackResponse, IAvatarSDKConfig, IBroadcastAPI, IBroadcastCallbacks, IBroadcastParams, IBroadcastResponse, IBroadcastServiceConfig, IUnityCallbackManager, IUnityCallbackResponse, IUnityInstance, IUnityMessageSender, IUnityServiceConfig, SDKErrorCode, TOperationType };
|