@ftvs/jssdk 1.4.3 → 1.4.5
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/lib/index.d.ts +37 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -186,7 +186,33 @@ interface GetAppInfoResult {
|
|
|
186
186
|
*/
|
|
187
187
|
deviceId: string;
|
|
188
188
|
/**
|
|
189
|
-
*
|
|
189
|
+
* 设备名称
|
|
190
|
+
*/
|
|
191
|
+
deviceName: string;
|
|
192
|
+
/**
|
|
193
|
+
* 设备类型
|
|
194
|
+
* `1`机顶盒/电视
|
|
195
|
+
* `2`触摸屏设备(平板/手机)
|
|
196
|
+
*/
|
|
197
|
+
deviceType: Number;
|
|
198
|
+
/**
|
|
199
|
+
* 渠道缩写
|
|
200
|
+
* `cmcc` 移动
|
|
201
|
+
* `unicom` 联通
|
|
202
|
+
* `telecom` 电信
|
|
203
|
+
*/
|
|
204
|
+
channel: string;
|
|
205
|
+
/**
|
|
206
|
+
* 渠道中文名称
|
|
207
|
+
*
|
|
208
|
+
*/
|
|
209
|
+
channelText: string;
|
|
210
|
+
/**
|
|
211
|
+
* App版本
|
|
212
|
+
*/
|
|
213
|
+
version: string;
|
|
214
|
+
/**
|
|
215
|
+
* 纬度
|
|
190
216
|
*/
|
|
191
217
|
latitude: string;
|
|
192
218
|
/**
|
|
@@ -211,6 +237,11 @@ interface GetAppInfoResult {
|
|
|
211
237
|
* // 结果类似:
|
|
212
238
|
* //{
|
|
213
239
|
* // "deviceId": "9afe0aab4be06ce5",
|
|
240
|
+
* // "deviceType": 1,
|
|
241
|
+
* // "deviceName": 'ALN-AL10',
|
|
242
|
+
* // "channel": 'unicomtest',
|
|
243
|
+
* // "channelText": '联通测试',
|
|
244
|
+
* // "version": "1.1.0",
|
|
214
245
|
* // "isLogin": true,
|
|
215
246
|
* // "latitude": "26.61858",
|
|
216
247
|
* // "longitude": "106.64360",
|
|
@@ -273,6 +304,10 @@ interface GetAuthUserInfoResult {
|
|
|
273
304
|
* 昵称
|
|
274
305
|
*/
|
|
275
306
|
username: string;
|
|
307
|
+
/**
|
|
308
|
+
* 用户ID
|
|
309
|
+
*/
|
|
310
|
+
userId: string;
|
|
276
311
|
/**
|
|
277
312
|
* 用户头像
|
|
278
313
|
*/
|
|
@@ -293,6 +328,7 @@ interface GetAuthUserInfoResult {
|
|
|
293
328
|
* // 结果类似:
|
|
294
329
|
* // {
|
|
295
330
|
* // username: '张三’
|
|
331
|
+
* // userId: 'xxxxx’
|
|
296
332
|
* // avatar: 'https://www.dcwl.tv/xxxxx.png’
|
|
297
333
|
* // username: 1
|
|
298
334
|
* // }
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@ftvs/jssdk","version":"1.4.
|
|
1
|
+
{"name":"@ftvs/jssdk","version":"1.4.5","description":"未来电视 JSSDK。","license":"MIT","main":"./lib/index.js","module":"./lib/index.es.js","types":"./lib/index.d.ts","files":["lib"],"dependencies":{"uuid":"^9.0.0"},"standard-version":{"scripts":{"postchangelog":"npm run docs:gen-log && git add docs/changelog.md && git commit -m \"chore: 同步更新日志\""}},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"}}
|