chrome-types 0.1.353 → 0.1.354

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 +28 -4
  2. package/index.d.ts +28 -4
  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 30 2025 14:28:33 GMT+0000 (Coordinated Universal Time)
18
- // Built at f3c1029454d8d2c2db74c6816d9cb0a7436aa3b6
17
+ // Generated on Fri Jun 13 2025 22:33:38 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 88f0190b90922634641f5e986583ab209f072769
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -12303,6 +12303,30 @@ declare namespace chrome {
12303
12303
  ): void;
12304
12304
  }
12305
12305
 
12306
+ /**
12307
+ * Use the `chrome.enterprise.login` API to exit user sessions. Note: This API is only available to extensions installed by enterprise policy in ChromeOS managed sessions.
12308
+ *
12309
+ * @since Pending
12310
+ * @chrome-permission enterprise.login
12311
+ * @chrome-install-location policy
12312
+ * @chrome-platform chromeos
12313
+ */
12314
+ export namespace enterprise.login {
12315
+
12316
+ /**
12317
+ * Exits the current managed guest session.
12318
+ */
12319
+ export function exitCurrentManagedGuestSession(): Promise<void>;
12320
+
12321
+ /**
12322
+ * Exits the current managed guest session.
12323
+ */
12324
+ export function exitCurrentManagedGuestSession(
12325
+
12326
+ callback?: () => void,
12327
+ ): void;
12328
+ }
12329
+
12306
12330
  /**
12307
12331
  * Use the `chrome.enterprise.networkingAttributes` API to read information about your current network. Note: This API is only available to extensions force-installed by enterprise policy.
12308
12332
  *
@@ -23673,9 +23697,9 @@ declare namespace chrome {
23673
23697
  export const websites: {
23674
23698
 
23675
23699
  /**
23676
- * If disabled, Chrome blocks third-party sites from setting cookies. The value of this preference is of type boolean, and the default value is `true`.
23700
+ * If disabled, Chrome blocks third-party sites from setting cookies. The value of this preference is of type boolean, and the default value is `true`. Extensions may not enable this API in Incognito mode, where third-party cookies are blocked and can only be allowed at the site level. If you try setting this API to true in Incognito, it will throw an error.
23677
23701
  *
23678
- * **Note:**Individual sites may still be able to access third-party cookies when this API returns `false`, if they have a valid [exemption](https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/preserving-critical-user-experiences) or they use the [Storage Access API](https://developers.google.com/privacy-sandbox/cookies/storage-access-api) instead.
23702
+ * Note: Individual sites may still be able to access third-party cookies when this API returns `false`, if they have a valid [exemption](https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/preserving-critical-user-experiences) or they use the [Storage Access API](https://developers.google.com/privacy-sandbox/cookies/storage-access-api) instead.
23679
23703
  */
23680
23704
  thirdPartyCookiesAllowed: types.ChromeSetting<boolean>,
23681
23705
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Fri May 30 2025 14:28:28 GMT+0000 (Coordinated Universal Time)
18
- // Built at f3c1029454d8d2c2db74c6816d9cb0a7436aa3b6
17
+ // Generated on Fri Jun 13 2025 22:33:33 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 88f0190b90922634641f5e986583ab209f072769
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -8453,6 +8453,30 @@ declare namespace chrome {
8453
8453
  ): void;
8454
8454
  }
8455
8455
 
8456
+ /**
8457
+ * Use the `chrome.enterprise.login` API to exit user sessions. Note: This API is only available to extensions installed by enterprise policy in ChromeOS managed sessions.
8458
+ *
8459
+ * @since Pending
8460
+ * @chrome-permission enterprise.login
8461
+ * @chrome-install-location policy
8462
+ * @chrome-platform chromeos
8463
+ */
8464
+ export namespace enterprise.login {
8465
+
8466
+ /**
8467
+ * Exits the current managed guest session.
8468
+ */
8469
+ export function exitCurrentManagedGuestSession(): Promise<void>;
8470
+
8471
+ /**
8472
+ * Exits the current managed guest session.
8473
+ */
8474
+ export function exitCurrentManagedGuestSession(
8475
+
8476
+ callback?: () => void,
8477
+ ): void;
8478
+ }
8479
+
8456
8480
  /**
8457
8481
  * Use the `chrome.enterprise.networkingAttributes` API to read information about your current network. Note: This API is only available to extensions force-installed by enterprise policy.
8458
8482
  *
@@ -18448,9 +18472,9 @@ declare namespace chrome {
18448
18472
  export const websites: {
18449
18473
 
18450
18474
  /**
18451
- * If disabled, Chrome blocks third-party sites from setting cookies. The value of this preference is of type boolean, and the default value is `true`.
18475
+ * If disabled, Chrome blocks third-party sites from setting cookies. The value of this preference is of type boolean, and the default value is `true`. Extensions may not enable this API in Incognito mode, where third-party cookies are blocked and can only be allowed at the site level. If you try setting this API to true in Incognito, it will throw an error.
18452
18476
  *
18453
- * **Note:**Individual sites may still be able to access third-party cookies when this API returns `false`, if they have a valid [exemption](https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/preserving-critical-user-experiences) or they use the [Storage Access API](https://developers.google.com/privacy-sandbox/cookies/storage-access-api) instead.
18477
+ * Note: Individual sites may still be able to access third-party cookies when this API returns `false`, if they have a valid [exemption](https://developers.google.com/privacy-sandbox/cookies/temporary-exceptions/preserving-critical-user-experiences) or they use the [Storage Access API](https://developers.google.com/privacy-sandbox/cookies/storage-access-api) instead.
18454
18478
  */
18455
18479
  thirdPartyCookiesAllowed: types.ChromeSetting<boolean>,
18456
18480
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "7e5dd444ae8761d7"
8
+ "build-hash": "087bfeb71c90ef89"
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.353"
19
+ "version": "0.1.354"
20
20
  }