floating-live 0.16.3 → 0.16.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.
|
@@ -52,18 +52,16 @@ export interface GiftInfo {
|
|
|
52
52
|
value?: number;
|
|
53
53
|
/** 价值类型 */
|
|
54
54
|
valueType?: string | number;
|
|
55
|
-
/** 礼物显示价格(总价,按平台货币计算) */
|
|
56
|
-
price?: number;
|
|
57
55
|
/** 平台货币名称 */
|
|
58
|
-
|
|
56
|
+
valueName?: string;
|
|
59
57
|
/** 礼物连击数 */
|
|
60
|
-
combo?:
|
|
58
|
+
combo?: number;
|
|
61
59
|
/** 礼物连击id */
|
|
62
60
|
comboId?: string;
|
|
63
61
|
/** 礼物金额(总价,按消费现金计算) */
|
|
64
|
-
|
|
62
|
+
price?: number;
|
|
65
63
|
/** 礼物金额货币 */
|
|
66
|
-
|
|
64
|
+
currency?: string;
|
|
67
65
|
/** 行为 */
|
|
68
66
|
action?: string;
|
|
69
67
|
/** 随机礼物信息 */
|
package/dist/live/platform.d.ts
CHANGED
|
@@ -27,14 +27,10 @@ export interface LivePlatformInfo {
|
|
|
27
27
|
/** 统计信息 */
|
|
28
28
|
stats?: Record<string, string>;
|
|
29
29
|
/** 货币信息 */
|
|
30
|
-
|
|
30
|
+
valueType?: {
|
|
31
31
|
[key: string | number]: {
|
|
32
32
|
/** 货币名称 */
|
|
33
33
|
name: string;
|
|
34
|
-
/** 1货币面值等值value (1面值/1数值) */
|
|
35
|
-
ratio: number;
|
|
36
|
-
/** 1单位消费金额等值value (1.00CNY/1数值) (若为0则为免费货币) */
|
|
37
|
-
money?: number;
|
|
38
34
|
};
|
|
39
35
|
};
|
|
40
36
|
}
|