chrome-types 0.1.108 → 0.1.109

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.
Files changed (3) hide show
  1. package/_all.d.ts +2 -76
  2. package/index.d.ts +2 -76
  3. package/package.json +2 -2
package/_all.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Fri May 06 2022 22:29:08 GMT+0000 (Coordinated Universal Time)
18
- // Built at 26ccfbe1726242734603208c6866138080086114
17
+ // Generated on Tue May 10 2022 22:30:25 GMT+0000 (Coordinated Universal Time)
18
+ // Built at e3695ceb6f43dfd6040e6e97e2ce69000689379b
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -24269,80 +24269,6 @@ declare namespace chrome {
24269
24269
  }
24270
24270
  }
24271
24271
 
24272
- /**
24273
- * Use the `chrome.signedInDevices` API to get a list of devices signed into Chrome with the same account as the current profile.
24274
- *
24275
- * @alpha
24276
- * @chrome-permission signedInDevices
24277
- * @chrome-channel dev
24278
- */
24279
- export namespace signedInDevices {
24280
-
24281
- export type OS = "win" | "mac" | "linux" | "chrome_os" | "android" | "ios" | "unknown";
24282
-
24283
- export type DeviceType = "desktop_or_laptop" | "phone" | "tablet" | "unknown";
24284
-
24285
- export interface DeviceInfo {
24286
-
24287
- /**
24288
- * Name of the device. This name is usually set by the user when setting up a device.
24289
- */
24290
- name: string;
24291
-
24292
- /**
24293
- * Unique Id for this device. Note: The id is meaningful only in the current device. This id cannot be used to refer to the same device from another device or extension.
24294
- */
24295
- id: string;
24296
-
24297
- /**
24298
- * The OS of the device.
24299
- */
24300
- os: OS;
24301
-
24302
- /**
24303
- * Device Type.
24304
- */
24305
- type: DeviceType;
24306
-
24307
- /**
24308
- * Version of Chrome running on this device.
24309
- */
24310
- chromeVersion: string;
24311
- }
24312
-
24313
- /**
24314
- * Fired when the DeviceInfo object of any of the signed in devices changes, or when a device is added or removed.
24315
- */
24316
- export const onDeviceInfoChange: events.Event<(
24317
- devices: DeviceInfo[],
24318
- ) => void>;
24319
-
24320
- /**
24321
- * Gets the array of signed in devices, signed into the same account as the current profile.
24322
- *
24323
- * @param isLocal If true only return the information for the local device. If false or omitted return the list of all devices including the local device.
24324
- */
24325
- export function get(
24326
-
24327
- isLocal?: boolean,
24328
- ): Promise<DeviceInfo[]>;
24329
-
24330
- /**
24331
- * Gets the array of signed in devices, signed into the same account as the current profile.
24332
- *
24333
- * @param isLocal If true only return the information for the local device. If false or omitted return the list of all devices including the local device.
24334
- * @param callback The callback to be invoked with the array of DeviceInfo objects.
24335
- */
24336
- export function get(
24337
-
24338
- isLocal?: boolean,
24339
-
24340
- callback?: (
24341
- devices: DeviceInfo[],
24342
- ) => void,
24343
- ): void;
24344
- }
24345
-
24346
24272
  /**
24347
24273
  * Use the `chrome.socket` API to send and receive data over the network using TCP and UDP connections. **Note:** Starting with Chrome 33, this API is deprecated in favor of the {@link sockets.udp}, {@link sockets.tcp} and {@link sockets.tcpServer} APIs.
24348
24274
  *
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Fri May 06 2022 22:29:04 GMT+0000 (Coordinated Universal Time)
18
- // Built at 26ccfbe1726242734603208c6866138080086114
17
+ // Generated on Tue May 10 2022 22:30:19 GMT+0000 (Coordinated Universal Time)
18
+ // Built at e3695ceb6f43dfd6040e6e97e2ce69000689379b
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -18685,80 +18685,6 @@ declare namespace chrome {
18685
18685
  }
18686
18686
  }
18687
18687
 
18688
- /**
18689
- * Use the `chrome.signedInDevices` API to get a list of devices signed into Chrome with the same account as the current profile.
18690
- *
18691
- * @alpha
18692
- * @chrome-permission signedInDevices
18693
- * @chrome-channel dev
18694
- */
18695
- export namespace signedInDevices {
18696
-
18697
- export type OS = "win" | "mac" | "linux" | "chrome_os" | "android" | "ios" | "unknown";
18698
-
18699
- export type DeviceType = "desktop_or_laptop" | "phone" | "tablet" | "unknown";
18700
-
18701
- export interface DeviceInfo {
18702
-
18703
- /**
18704
- * Name of the device. This name is usually set by the user when setting up a device.
18705
- */
18706
- name: string;
18707
-
18708
- /**
18709
- * Unique Id for this device. Note: The id is meaningful only in the current device. This id cannot be used to refer to the same device from another device or extension.
18710
- */
18711
- id: string;
18712
-
18713
- /**
18714
- * The OS of the device.
18715
- */
18716
- os: OS;
18717
-
18718
- /**
18719
- * Device Type.
18720
- */
18721
- type: DeviceType;
18722
-
18723
- /**
18724
- * Version of Chrome running on this device.
18725
- */
18726
- chromeVersion: string;
18727
- }
18728
-
18729
- /**
18730
- * Fired when the DeviceInfo object of any of the signed in devices changes, or when a device is added or removed.
18731
- */
18732
- export const onDeviceInfoChange: events.Event<(
18733
- devices: DeviceInfo[],
18734
- ) => void>;
18735
-
18736
- /**
18737
- * Gets the array of signed in devices, signed into the same account as the current profile.
18738
- *
18739
- * @param isLocal If true only return the information for the local device. If false or omitted return the list of all devices including the local device.
18740
- */
18741
- export function get(
18742
-
18743
- isLocal?: boolean,
18744
- ): Promise<DeviceInfo[]>;
18745
-
18746
- /**
18747
- * Gets the array of signed in devices, signed into the same account as the current profile.
18748
- *
18749
- * @param isLocal If true only return the information for the local device. If false or omitted return the list of all devices including the local device.
18750
- * @param callback The callback to be invoked with the array of DeviceInfo objects.
18751
- */
18752
- export function get(
18753
-
18754
- isLocal?: boolean,
18755
-
18756
- callback?: (
18757
- devices: DeviceInfo[],
18758
- ) => void,
18759
- ): void;
18760
- }
18761
-
18762
18688
  /**
18763
18689
  * Use the `chrome.sockets.tcp` API to send and receive data over the network using TCP connections. This API supersedes the TCP functionality previously found in the `chrome.socket` API.
18764
18690
  *
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "c775af485d60fbd2"
8
+ "build-hash": "447bef99ec8e6d6b"
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
@@ -16,5 +16,5 @@
16
16
  "url": "https://github.com/GoogleChrome/chrome-types/issues"
17
17
  },
18
18
  "homepage": "https://github.com/GoogleChrome/chrome-types",
19
- "version": "0.1.108"
19
+ "version": "0.1.109"
20
20
  }