@zeewain/3d-avatar-sdk 1.2.4-1 → 1.2.4
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-vue2/pnpm-lock.yaml +4 -4
- package/dist/examples/test-vue3/package.json +2 -2
- package/dist/examples/test-vue3/src/components/BroadcastAPI.vue +1 -0
- package/dist/index.es5.js +3 -11
- package/dist/index.es5.umd.js +3 -11
- package/dist/index.esm.js +3 -11
- package/dist/index.umd.cjs +3 -11
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -6,8 +6,8 @@ settings:
|
|
|
6
6
|
|
|
7
7
|
dependencies:
|
|
8
8
|
'@zeewain/3d-avatar-sdk':
|
|
9
|
-
specifier: ^1.1
|
|
10
|
-
version: 1.1
|
|
9
|
+
specifier: ^1.2.1
|
|
10
|
+
version: 1.2.1
|
|
11
11
|
core-js:
|
|
12
12
|
specifier: ^3.8.3
|
|
13
13
|
version: 3.43.0
|
|
@@ -2479,8 +2479,8 @@ packages:
|
|
|
2479
2479
|
resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==}
|
|
2480
2480
|
dev: true
|
|
2481
2481
|
|
|
2482
|
-
/@zeewain/3d-avatar-sdk@1.1
|
|
2483
|
-
resolution: {integrity: sha512-
|
|
2482
|
+
/@zeewain/3d-avatar-sdk@1.2.1:
|
|
2483
|
+
resolution: {integrity: sha512-qUcSflPO6C0G3aHlSLx3YM+ze2gzPkqujYsdcO9d73HzdvSOMTcaCeDQrpiuai5tKpcQ+vXX4+v1kTu3bd91qg==}
|
|
2484
2484
|
dependencies:
|
|
2485
2485
|
'@microsoft/fetch-event-source': 2.0.1
|
|
2486
2486
|
core-js: 3.43.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zee-avatar-sdk-vue3-test",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "ZEEAvatarSDK Vue3 + TypeScript + Vite 测试项目",
|
|
5
5
|
"private": true,
|
|
6
6
|
"type": "module",
|
|
@@ -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": "^1.2.4
|
|
27
|
+
"@zeewain/3d-avatar-sdk": "^1.2.4",
|
|
28
28
|
"dayjs": "^1.11.13",
|
|
29
29
|
"element-plus": "^2.10.4",
|
|
30
30
|
"vite-plugin-html": "^3.2.2",
|
package/dist/index.es5.js
CHANGED
|
@@ -14423,20 +14423,12 @@ var ZEEAvatarSDKLib = (function (exports) {
|
|
|
14423
14423
|
* @private
|
|
14424
14424
|
*/
|
|
14425
14425
|
BroadcastService.prototype.getBroadcastApiPath = function (type) {
|
|
14426
|
-
|
|
14426
|
+
ConfigManager.getInstance().getEnv();
|
|
14427
14427
|
switch (type) {
|
|
14428
14428
|
case exports.BroadcastType.TEXT:
|
|
14429
|
-
|
|
14430
|
-
if (env === 'dev' || env === 'test') {
|
|
14431
|
-
return '/aiep-openapi/avatar-interaction/v1/broadcast/text';
|
|
14432
|
-
}
|
|
14433
|
-
return '/dh-talker/user/agent/broadcast/text';
|
|
14429
|
+
return '/aiep-openapi/avatar-interaction/v1/broadcast/text';
|
|
14434
14430
|
case exports.BroadcastType.AUDIO:
|
|
14435
|
-
|
|
14436
|
-
if (env === 'dev' || env === 'test') {
|
|
14437
|
-
return '/aiep-openapi/avatar-interaction/v1/broadcast/audio';
|
|
14438
|
-
}
|
|
14439
|
-
return '/dh-talker/user/agent/broadcast/customAudio';
|
|
14431
|
+
return '/aiep-openapi/avatar-interaction/v1/broadcast/audio';
|
|
14440
14432
|
default:
|
|
14441
14433
|
throw new SDKError(exports.ConfigErrorCode.INVALID_CONFIG, "\u672A\u77E5\u7684\u64AD\u62A5\u7C7B\u578B: ".concat(type));
|
|
14442
14434
|
}
|
package/dist/index.es5.umd.js
CHANGED
|
@@ -14426,20 +14426,12 @@
|
|
|
14426
14426
|
* @private
|
|
14427
14427
|
*/
|
|
14428
14428
|
BroadcastService.prototype.getBroadcastApiPath = function (type) {
|
|
14429
|
-
|
|
14429
|
+
ConfigManager.getInstance().getEnv();
|
|
14430
14430
|
switch (type) {
|
|
14431
14431
|
case exports.BroadcastType.TEXT:
|
|
14432
|
-
|
|
14433
|
-
if (env === 'dev' || env === 'test') {
|
|
14434
|
-
return '/aiep-openapi/avatar-interaction/v1/broadcast/text';
|
|
14435
|
-
}
|
|
14436
|
-
return '/dh-talker/user/agent/broadcast/text';
|
|
14432
|
+
return '/aiep-openapi/avatar-interaction/v1/broadcast/text';
|
|
14437
14433
|
case exports.BroadcastType.AUDIO:
|
|
14438
|
-
|
|
14439
|
-
if (env === 'dev' || env === 'test') {
|
|
14440
|
-
return '/aiep-openapi/avatar-interaction/v1/broadcast/audio';
|
|
14441
|
-
}
|
|
14442
|
-
return '/dh-talker/user/agent/broadcast/customAudio';
|
|
14434
|
+
return '/aiep-openapi/avatar-interaction/v1/broadcast/audio';
|
|
14443
14435
|
default:
|
|
14444
14436
|
throw new SDKError(exports.ConfigErrorCode.INVALID_CONFIG, "\u672A\u77E5\u7684\u64AD\u62A5\u7C7B\u578B: ".concat(type));
|
|
14445
14437
|
}
|
package/dist/index.esm.js
CHANGED
|
@@ -2062,20 +2062,12 @@ class BroadcastService extends UnityBaseService {
|
|
|
2062
2062
|
* @private
|
|
2063
2063
|
*/
|
|
2064
2064
|
getBroadcastApiPath(type) {
|
|
2065
|
-
|
|
2065
|
+
ConfigManager.getInstance().getEnv();
|
|
2066
2066
|
switch (type) {
|
|
2067
2067
|
case BroadcastType.TEXT:
|
|
2068
|
-
|
|
2069
|
-
if (env === 'dev' || env === 'test') {
|
|
2070
|
-
return '/aiep-openapi/avatar-interaction/v1/broadcast/text';
|
|
2071
|
-
}
|
|
2072
|
-
return '/dh-talker/user/agent/broadcast/text';
|
|
2068
|
+
return '/aiep-openapi/avatar-interaction/v1/broadcast/text';
|
|
2073
2069
|
case BroadcastType.AUDIO:
|
|
2074
|
-
|
|
2075
|
-
if (env === 'dev' || env === 'test') {
|
|
2076
|
-
return '/aiep-openapi/avatar-interaction/v1/broadcast/audio';
|
|
2077
|
-
}
|
|
2078
|
-
return '/dh-talker/user/agent/broadcast/customAudio';
|
|
2070
|
+
return '/aiep-openapi/avatar-interaction/v1/broadcast/audio';
|
|
2079
2071
|
default:
|
|
2080
2072
|
throw new SDKError(ConfigErrorCode.INVALID_CONFIG, `未知的播报类型: ${type}`);
|
|
2081
2073
|
}
|
package/dist/index.umd.cjs
CHANGED
|
@@ -2068,20 +2068,12 @@
|
|
|
2068
2068
|
* @private
|
|
2069
2069
|
*/
|
|
2070
2070
|
getBroadcastApiPath(type) {
|
|
2071
|
-
|
|
2071
|
+
ConfigManager.getInstance().getEnv();
|
|
2072
2072
|
switch (type) {
|
|
2073
2073
|
case exports.BroadcastType.TEXT:
|
|
2074
|
-
|
|
2075
|
-
if (env === 'dev' || env === 'test') {
|
|
2076
|
-
return '/aiep-openapi/avatar-interaction/v1/broadcast/text';
|
|
2077
|
-
}
|
|
2078
|
-
return '/dh-talker/user/agent/broadcast/text';
|
|
2074
|
+
return '/aiep-openapi/avatar-interaction/v1/broadcast/text';
|
|
2079
2075
|
case exports.BroadcastType.AUDIO:
|
|
2080
|
-
|
|
2081
|
-
if (env === 'dev' || env === 'test') {
|
|
2082
|
-
return '/aiep-openapi/avatar-interaction/v1/broadcast/audio';
|
|
2083
|
-
}
|
|
2084
|
-
return '/dh-talker/user/agent/broadcast/customAudio';
|
|
2076
|
+
return '/aiep-openapi/avatar-interaction/v1/broadcast/audio';
|
|
2085
2077
|
default:
|
|
2086
2078
|
throw new SDKError(exports.ConfigErrorCode.INVALID_CONFIG, `未知的播报类型: ${type}`);
|
|
2087
2079
|
}
|