@ftvs/jssdk 1.4.3 → 1.4.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/lib/index.d.ts +15 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -185,6 +185,14 @@ interface GetAppInfoResult {
|
|
|
185
185
|
* 设备Id
|
|
186
186
|
*/
|
|
187
187
|
deviceId: string;
|
|
188
|
+
/**
|
|
189
|
+
* 平台
|
|
190
|
+
*/
|
|
191
|
+
platform: string;
|
|
192
|
+
/**
|
|
193
|
+
* App版本
|
|
194
|
+
*/
|
|
195
|
+
version: string;
|
|
188
196
|
/**
|
|
189
197
|
* 维度
|
|
190
198
|
*/
|
|
@@ -211,6 +219,8 @@ interface GetAppInfoResult {
|
|
|
211
219
|
* // 结果类似:
|
|
212
220
|
* //{
|
|
213
221
|
* // "deviceId": "9afe0aab4be06ce5",
|
|
222
|
+
* // "platform": "android",
|
|
223
|
+
* // "version": "0.0.1",
|
|
214
224
|
* // "isLogin": true,
|
|
215
225
|
* // "latitude": "26.61858",
|
|
216
226
|
* // "longitude": "106.64360",
|
|
@@ -273,6 +283,10 @@ interface GetAuthUserInfoResult {
|
|
|
273
283
|
* 昵称
|
|
274
284
|
*/
|
|
275
285
|
username: string;
|
|
286
|
+
/**
|
|
287
|
+
* 用户ID
|
|
288
|
+
*/
|
|
289
|
+
userId: string;
|
|
276
290
|
/**
|
|
277
291
|
* 用户头像
|
|
278
292
|
*/
|
|
@@ -293,6 +307,7 @@ interface GetAuthUserInfoResult {
|
|
|
293
307
|
* // 结果类似:
|
|
294
308
|
* // {
|
|
295
309
|
* // username: '张三’
|
|
310
|
+
* // userId: 'xxxxx’
|
|
296
311
|
* // avatar: 'https://www.dcwl.tv/xxxxx.png’
|
|
297
312
|
* // username: 1
|
|
298
313
|
* // }
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@ftvs/jssdk","version":"1.4.
|
|
1
|
+
{"name":"@ftvs/jssdk","version":"1.4.4","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/"}}
|