@zeewain/3d-avatar-sdk 2.1.3 → 2.1.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.
@@ -16,7 +16,7 @@
16
16
  "lint:all-fix": "npm run lint:fix && npm run lint:css-fix"
17
17
  },
18
18
  "dependencies": {
19
- "@zeewain/3d-avatar-sdk": "^2.1.3",
19
+ "@zeewain/3d-avatar-sdk": "^2.1.4",
20
20
  "core-js": "^3.8.3",
21
21
  "element-ui": "^2.15.13",
22
22
  "vue": "^2.6.14"
@@ -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.1.3",
27
+ "@zeewain/3d-avatar-sdk": "^2.1.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.d.ts CHANGED
@@ -1432,7 +1432,7 @@ declare class ZEEAvatarSDK {
1432
1432
  * SDK 版本号
1433
1433
  * @const {string} SDK_VERSION
1434
1434
  */
1435
- declare const SDK_VERSION = "2.1.3";
1435
+ declare const SDK_VERSION = "2.1.4";
1436
1436
 
1437
1437
  export { AvatarCameraType, AvatarOperationType, AvatarService, BroadcastOperationType, BroadcastService, BroadcastType, ConfigErrorCode, ERROR_CODE_MAP, ErrorCategory, NetworkErrorCode, OperationErrorCode, ResourceErrorCode, SDKError, SDK_VERSION, SystemErrorCode, UnityOperationStatus, ZEEAvatarLoader, ZEEAvatarSDK, getErrorInfo };
1438
1438
  export type { IAvatarAPI, IAvatarCallbackResponse, IAvatarSDKConfig, IBroadcastAPI, IBroadcastCallbacks, IBroadcastParams, IBroadcastResponse, IBroadcastServiceConfig, IUnityCallbackManager, IUnityCallbackResponse, IUnityInstance, IUnityMessageSender, IUnityServiceConfig, SDKErrorCode, TOperationType };
package/dist/index.es5.js CHANGED
@@ -12565,7 +12565,7 @@ var ZEEAvatarSDKLib = (function (exports) {
12565
12565
  var finalConfig = __assign(__assign({}, DEFAULT_CONFIG), config);
12566
12566
  this.unityInstance = finalConfig.unityInstance;
12567
12567
  this.targetObjectName = finalConfig.targetObjectName;
12568
- this.timeout = finalConfig.timeout;
12568
+ this.timeout = finalConfig.timeout || DEFAULT_CONFIG.timeout;
12569
12569
  this.maxRetries = finalConfig.maxRetries;
12570
12570
  this.instanceId = finalConfig.instanceId || 'default';
12571
12571
  this.logger = new SimpleLogger(finalConfig.enableDebugLog);
@@ -12568,7 +12568,7 @@
12568
12568
  var finalConfig = __assign(__assign({}, DEFAULT_CONFIG), config);
12569
12569
  this.unityInstance = finalConfig.unityInstance;
12570
12570
  this.targetObjectName = finalConfig.targetObjectName;
12571
- this.timeout = finalConfig.timeout;
12571
+ this.timeout = finalConfig.timeout || DEFAULT_CONFIG.timeout;
12572
12572
  this.maxRetries = finalConfig.maxRetries;
12573
12573
  this.instanceId = finalConfig.instanceId || 'default';
12574
12574
  this.logger = new SimpleLogger(finalConfig.enableDebugLog);
package/dist/index.esm.js CHANGED
@@ -502,7 +502,7 @@ class UnityBaseService {
502
502
  const finalConfig = Object.assign(Object.assign({}, DEFAULT_CONFIG), config);
503
503
  this.unityInstance = finalConfig.unityInstance;
504
504
  this.targetObjectName = finalConfig.targetObjectName;
505
- this.timeout = finalConfig.timeout;
505
+ this.timeout = finalConfig.timeout || DEFAULT_CONFIG.timeout;
506
506
  this.maxRetries = finalConfig.maxRetries;
507
507
  this.instanceId = finalConfig.instanceId || 'default';
508
508
  this.logger = new SimpleLogger(finalConfig.enableDebugLog);
@@ -2463,7 +2463,7 @@ function compareVersionCompatibility(version1, version2) {
2463
2463
  * SDK 版本号
2464
2464
  * @const {string} SDK_VERSION
2465
2465
  */
2466
- const SDK_VERSION = '2.1.3';
2466
+ const SDK_VERSION = '2.1.4';
2467
2467
 
2468
2468
  /**
2469
2469
  * @fileoverview 统一的3D数字人SDK入口类
@@ -508,7 +508,7 @@
508
508
  const finalConfig = Object.assign(Object.assign({}, DEFAULT_CONFIG), config);
509
509
  this.unityInstance = finalConfig.unityInstance;
510
510
  this.targetObjectName = finalConfig.targetObjectName;
511
- this.timeout = finalConfig.timeout;
511
+ this.timeout = finalConfig.timeout || DEFAULT_CONFIG.timeout;
512
512
  this.maxRetries = finalConfig.maxRetries;
513
513
  this.instanceId = finalConfig.instanceId || 'default';
514
514
  this.logger = new SimpleLogger(finalConfig.enableDebugLog);
@@ -2469,7 +2469,7 @@
2469
2469
  * SDK 版本号
2470
2470
  * @const {string} SDK_VERSION
2471
2471
  */
2472
- const SDK_VERSION = '2.1.3';
2472
+ const SDK_VERSION = '2.1.4';
2473
2473
 
2474
2474
  /**
2475
2475
  * @fileoverview 统一的3D数字人SDK入口类
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@zeewain/3d-avatar-sdk",
3
3
  "type": "module",
4
- "version": "2.1.3",
4
+ "version": "2.1.4",
5
5
  "description": "SDK for ZEE Avatar WebGL integration",
6
6
  "author": "ZEEWain",
7
7
  "license": "MIT",