@dustid/dust-go-connect 0.1.5 → 0.1.6
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/types.d.ts +35 -37
- package/package.json +2 -4
package/lib/types.d.ts
CHANGED
|
@@ -8,43 +8,41 @@ export type ReactNativeWebView = {
|
|
|
8
8
|
injectedObjectJson(): string | undefined;
|
|
9
9
|
};
|
|
10
10
|
export type EventType = 'scan' | 'hide' | 'show';
|
|
11
|
-
export
|
|
12
|
-
brand?: string | null
|
|
13
|
-
deviceName?: string | null
|
|
14
|
-
deviceType?:
|
|
15
|
-
modelId?: string | null
|
|
16
|
-
modelName?: string | null
|
|
17
|
-
osName?: string | null
|
|
18
|
-
osVersion?: string | null
|
|
19
|
-
osBuildId?: string | null
|
|
20
|
-
appId?: string | null
|
|
21
|
-
appName?: string | null
|
|
22
|
-
appVersion?: string | null
|
|
23
|
-
build?: string | null
|
|
24
|
-
zoom?: number |
|
|
25
|
-
focusMode?: string | null
|
|
26
|
-
focusX?: number |
|
|
27
|
-
focusY?: number |
|
|
28
|
-
focusSetPoint?: number |
|
|
29
|
-
focusDepth?: number |
|
|
30
|
-
lensPosition?: number |
|
|
31
|
-
autoFocusRangeRestriction?:
|
|
32
|
-
exposureDuration?: number |
|
|
33
|
-
iso?: number |
|
|
34
|
-
exposureValue?: number |
|
|
35
|
-
flashMode?:
|
|
36
|
-
latitude?: number |
|
|
37
|
-
longitude?: number |
|
|
38
|
-
accuracy?: number |
|
|
39
|
-
tapToFocusCount?: number |
|
|
40
|
-
}
|
|
41
|
-
export type
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}, {}>;
|
|
47
|
-
export type EnrollMetadata = typeof EnrollMetadata.infer;
|
|
11
|
+
export type ScanSettings = {
|
|
12
|
+
brand?: string | null;
|
|
13
|
+
deviceName?: string | null;
|
|
14
|
+
deviceType?: 'DESKTOP' | 'PHONE' | 'TABLET' | 'TV' | 'UNKNOWN' | null;
|
|
15
|
+
modelId?: string | null;
|
|
16
|
+
modelName?: string | null;
|
|
17
|
+
osName?: string | null;
|
|
18
|
+
osVersion?: string | null;
|
|
19
|
+
osBuildId?: string | null;
|
|
20
|
+
appId?: string | null;
|
|
21
|
+
appName?: string | null;
|
|
22
|
+
appVersion?: string | null;
|
|
23
|
+
build?: string | null;
|
|
24
|
+
zoom?: number | null;
|
|
25
|
+
focusMode?: string | null;
|
|
26
|
+
focusX?: number | null;
|
|
27
|
+
focusY?: number | null;
|
|
28
|
+
focusSetPoint?: number | null;
|
|
29
|
+
focusDepth?: number | null;
|
|
30
|
+
lensPosition?: number | null;
|
|
31
|
+
autoFocusRangeRestriction?: 'none' | 'near' | 'far' | null;
|
|
32
|
+
exposureDuration?: number | null;
|
|
33
|
+
iso?: number | null;
|
|
34
|
+
exposureValue?: number | null;
|
|
35
|
+
flashMode?: 'auto' | 'off' | 'on' | 'torch' | null;
|
|
36
|
+
latitude?: number | null;
|
|
37
|
+
longitude?: number | null;
|
|
38
|
+
accuracy?: number | null;
|
|
39
|
+
tapToFocusCount?: number | null;
|
|
40
|
+
};
|
|
41
|
+
export type EnrollMetadata = {
|
|
42
|
+
latitude?: number;
|
|
43
|
+
longitude?: number;
|
|
44
|
+
accuracy?: number;
|
|
45
|
+
};
|
|
48
46
|
export type ScanPayload = {
|
|
49
47
|
type: 'dust';
|
|
50
48
|
data: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dustid/dust-go-connect",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "A library for connecting a frontend application to the DUST GO react native application",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"files": [
|
|
@@ -119,7 +119,5 @@
|
|
|
119
119
|
"@semantic-release/github"
|
|
120
120
|
]
|
|
121
121
|
},
|
|
122
|
-
"dependencies": {
|
|
123
|
-
"arktype": "^2.1.23"
|
|
124
|
-
}
|
|
122
|
+
"dependencies": {}
|
|
125
123
|
}
|