@volcengine/veplayer 1.19.2-rc.0 → 1.19.2-rc.1

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/index.d.ts CHANGED
@@ -3446,8 +3446,8 @@ export interface IGetDramaInfoPerfInfo {
3446
3446
  * JSB 获取短剧信息返回结果
3447
3447
  */
3448
3448
  export interface IJSBCallbackResult {
3449
- /** {zh} @brief 顶层 Native 通参;旧客户端可缺失。 */
3450
- /** {en} @brief Top-level Native tracking fields; absent on older clients. */
3449
+ /** {zh} @brief 旧回包的顶层 Native 通参;优先使用 data.tracking_context。 */
3450
+ /** {en} @brief Legacy top-level tracking fields; data.tracking_context takes priority. */
3451
3451
  tracking_context?: {
3452
3452
  enter_from?: string;
3453
3453
  minis_type?: string;
@@ -3457,9 +3457,13 @@ export interface IJSBCallbackResult {
3457
3457
  is_success: number | boolean;
3458
3458
  error?: MinisError;
3459
3459
  data?: {
3460
+ /** {zh} @brief Native 埋点通参;缺失时不报对应字段。 */
3461
+ /** {en} @brief Native tracking fields; omitted fields are not reported. */
3462
+ tracking_context?: IJSBCallbackResult["tracking_context"];
3460
3463
  status: number;
3461
3464
  drama_info: {
3462
- album_id: string;
3465
+ drama_id?: string;
3466
+ album_id?: string;
3463
3467
  album_name?: string;
3464
3468
  episode_total_num?: number;
3465
3469
  drama_name?: string;