glyphix 1.0.15 → 1.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glyphix",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "main": "lib/index.js",
5
5
  "types": "types/index.d.ts",
6
6
  "files": [
package/types/device.d.ts CHANGED
@@ -11,7 +11,7 @@ declare module "@system.device" {
11
11
  osVersionName: string
12
12
  }>
13
13
 
14
- getId<T extends IdType[]>({types: T}): Promise<{[K in T[number]]: string}>
14
+ getId<T extends IdType[]>({type: T}): Promise<{[K in T[number]]: string}>
15
15
  getDeviceId(): Promise<{ deviceId: string }>
16
16
 
17
17
  // 获取设备唯一标识。