@go-avro/avro-js 0.0.111 → 0.0.112
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/dist/types/api/Device.d.ts +2 -8
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -6,20 +6,15 @@ export declare const DevicePlatform: {
|
|
|
6
6
|
readonly WEB: "web";
|
|
7
7
|
};
|
|
8
8
|
export type DevicePlatform = (typeof DevicePlatform)[keyof typeof DevicePlatform];
|
|
9
|
-
/** What a client tells the server about the install it is running on. */
|
|
10
9
|
export interface DeviceInfo {
|
|
11
|
-
/** Stable per-install id (identifierForVendor, androidId, stored UUID). */
|
|
12
10
|
device_key: string;
|
|
13
11
|
platform: DevicePlatform;
|
|
14
|
-
/** User-facing label, e.g. "Chris's iPhone". */
|
|
15
12
|
name?: string;
|
|
16
|
-
/** Hardware, e.g. "iPhone 17" or "ASUS Zenbook". */
|
|
17
13
|
model?: string;
|
|
18
|
-
/** OS and version, e.g. "iOS 26.1" or "macOS 15". */
|
|
19
14
|
os?: string;
|
|
20
15
|
app_version?: string;
|
|
21
|
-
/** Whether the client is on screen (app active / tab visible). */
|
|
22
16
|
foreground?: boolean;
|
|
17
|
+
headless?: boolean;
|
|
23
18
|
}
|
|
24
19
|
/** A device the user has connected from, as tracked by the server. */
|
|
25
20
|
export interface Device {
|
|
@@ -31,9 +26,8 @@ export interface Device {
|
|
|
31
26
|
os: string | null;
|
|
32
27
|
app_version: string | null;
|
|
33
28
|
location_status: LocationServicesStatus;
|
|
34
|
-
/** Whether the device currently holds a socket. */
|
|
35
29
|
online: boolean;
|
|
36
|
-
|
|
30
|
+
tracking: boolean;
|
|
37
31
|
foreground: boolean;
|
|
38
32
|
last_location: Location | null;
|
|
39
33
|
last_seen: number | null;
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const AVRO_JS_VERSION = "0.0.
|
|
1
|
+
export declare const AVRO_JS_VERSION = "0.0.112";
|
package/dist/version.js
CHANGED