chrome-types 0.1.366 → 0.1.368

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 +25 -5
  2. package/index.d.ts +25 -5
  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 Tue Jul 29 2025 22:33:46 GMT+0000 (Coordinated Universal Time)
18
- // Built at 8fc08dc1e4b41e34e61c484dce298abd7826252f
17
+ // Generated on Mon Aug 04 2025 22:34:36 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 19958fb507107da128a9f76e3d256fb426a1fc40
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -12358,7 +12358,7 @@ declare namespace chrome {
12358
12358
  /**
12359
12359
  * Use the `chrome.enterprise.login` API to exit Managed Guest sessions. Note: This API is only available to extensions installed by enterprise policy in ChromeOS Managed Guest sessions.
12360
12360
  *
12361
- * @since Pending
12361
+ * @since Chrome 139
12362
12362
  * @chrome-permission enterprise.login
12363
12363
  * @chrome-install-location policy
12364
12364
  * @chrome-platform chromeos
@@ -13468,14 +13468,14 @@ declare namespace chrome {
13468
13468
  export namespace extensionTypes {
13469
13469
 
13470
13470
  /**
13471
- * @since Pending
13471
+ * @since Chrome 139
13472
13472
  */
13473
13473
  export type ColorArray = [number, number, number, number];
13474
13474
 
13475
13475
  /**
13476
13476
  * Pixel data for an image. Must be an ImageData object; for example, from a `canvas` element.
13477
13477
  *
13478
- * @since Pending
13478
+ * @since Chrome 139
13479
13479
  */
13480
13480
  export type ImageDataType = ImageData;
13481
13481
 
@@ -26756,6 +26756,26 @@ declare namespace chrome {
26756
26756
 
26757
26757
  callback?: () => void,
26758
26758
  ): void;
26759
+
26760
+ /**
26761
+ * Returns the side panel's current layout.
26762
+ *
26763
+ * @since Pending
26764
+ */
26765
+ export function getLayout(): Promise<PanelLayout>;
26766
+
26767
+ /**
26768
+ * Returns the side panel's current layout.
26769
+ *
26770
+ * @param callback Called with a {@link PanelLayout} containing the side value.
26771
+ * @since Pending
26772
+ */
26773
+ export function getLayout(
26774
+
26775
+ callback?: (
26776
+ layout: PanelLayout,
26777
+ ) => void,
26778
+ ): void;
26759
26779
  }
26760
26780
 
26761
26781
  /**
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Tue Jul 29 2025 22:33:41 GMT+0000 (Coordinated Universal Time)
18
- // Built at 8fc08dc1e4b41e34e61c484dce298abd7826252f
17
+ // Generated on Mon Aug 04 2025 22:34:31 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 19958fb507107da128a9f76e3d256fb426a1fc40
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -8490,7 +8490,7 @@ declare namespace chrome {
8490
8490
  /**
8491
8491
  * Use the `chrome.enterprise.login` API to exit Managed Guest sessions. Note: This API is only available to extensions installed by enterprise policy in ChromeOS Managed Guest sessions.
8492
8492
  *
8493
- * @since Pending
8493
+ * @since Chrome 139
8494
8494
  * @chrome-permission enterprise.login
8495
8495
  * @chrome-install-location policy
8496
8496
  * @chrome-platform chromeos
@@ -9466,14 +9466,14 @@ declare namespace chrome {
9466
9466
  export namespace extensionTypes {
9467
9467
 
9468
9468
  /**
9469
- * @since Pending
9469
+ * @since Chrome 139
9470
9470
  */
9471
9471
  export type ColorArray = [number, number, number, number];
9472
9472
 
9473
9473
  /**
9474
9474
  * Pixel data for an image. Must be an ImageData object; for example, from a `canvas` element.
9475
9475
  *
9476
- * @since Pending
9476
+ * @since Chrome 139
9477
9477
  */
9478
9478
  export type ImageDataType = ImageData;
9479
9479
 
@@ -20872,6 +20872,26 @@ declare namespace chrome {
20872
20872
 
20873
20873
  callback?: () => void,
20874
20874
  ): void;
20875
+
20876
+ /**
20877
+ * Returns the side panel's current layout.
20878
+ *
20879
+ * @since Pending
20880
+ */
20881
+ export function getLayout(): Promise<PanelLayout>;
20882
+
20883
+ /**
20884
+ * Returns the side panel's current layout.
20885
+ *
20886
+ * @param callback Called with a {@link PanelLayout} containing the side value.
20887
+ * @since Pending
20888
+ */
20889
+ export function getLayout(
20890
+
20891
+ callback?: (
20892
+ layout: PanelLayout,
20893
+ ) => void,
20894
+ ): void;
20875
20895
  }
20876
20896
 
20877
20897
  /**
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "a3458d0ac4086e4e"
8
+ "build-hash": "a9d4b1067f353d7c"
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.366"
19
+ "version": "0.1.368"
20
20
  }