chrome-types 0.1.249 → 0.1.250

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 +5 -5
  2. package/index.d.ts +5 -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 Thu Jan 11 2024 22:29:39 GMT+0000 (Coordinated Universal Time)
18
- // Built at 556a639302edb38380da70a49cd31bff92658b06
17
+ // Generated on Fri Jan 12 2024 22:29:10 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 3a8692f19bee75c535ee46c2aaa3dd3e0952db77
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -10996,7 +10996,7 @@ declare namespace chrome {
10996
10996
  ): void;
10997
10997
 
10998
10998
  /**
10999
- * Open the downloaded file now if the {@link DownloadItem} is complete; otherwise returns an error through {@link runtime.lastError}. Requires the `"downloads.open"` permission in addition to the `"downloads"` permission. An {@link onChanged} event will fire when the item is opened for the first time.
10999
+ * Opens the downloaded file now if the {@link DownloadItem} is complete; otherwise returns an error through {@link runtime.lastError}. This method requires the `"downloads.open"` permission in addition to the `"downloads"` permission. An {@link onChanged} event fires when the item is opened for the first time. This method can only be called in response to a user gesture.
11000
11000
  *
11001
11001
  * @param downloadId The identifier for the downloaded file.
11002
11002
  */
@@ -23263,7 +23263,7 @@ declare namespace chrome {
23263
23263
  ) => void>;
23264
23264
 
23265
23265
  /**
23266
- * Fired when a connection is made from another extension (by {@link runtime.connect}).
23266
+ * Fired when a connection is made from another extension (by {@link runtime.connect}), or from an externally connectable web site.
23267
23267
  */
23268
23268
  export const onConnectExternal: events.Event<(
23269
23269
  port: Port,
@@ -37417,7 +37417,7 @@ declare namespace chrome {
37417
37417
  export const WINDOW_ID_NONE: -1;
37418
37418
 
37419
37419
  /**
37420
- * The windowId value that represents the [current window](https://developer.chrome.com/docs/extensions/reference/windows/#current-window).
37420
+ * The windowId value that represents the [current window](https://developer.chrome.com/docs/extensions/reference/windows/#the_current_window).
37421
37421
  */
37422
37422
  export const WINDOW_ID_CURRENT: -2;
37423
37423
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Thu Jan 11 2024 22:29:34 GMT+0000 (Coordinated Universal Time)
18
- // Built at 556a639302edb38380da70a49cd31bff92658b06
17
+ // Generated on Fri Jan 12 2024 22:29:05 GMT+0000 (Coordinated Universal Time)
18
+ // Built at 3a8692f19bee75c535ee46c2aaa3dd3e0952db77
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -7126,7 +7126,7 @@ declare namespace chrome {
7126
7126
  ): void;
7127
7127
 
7128
7128
  /**
7129
- * Open the downloaded file now if the {@link DownloadItem} is complete; otherwise returns an error through {@link runtime.lastError}. Requires the `"downloads.open"` permission in addition to the `"downloads"` permission. An {@link onChanged} event will fire when the item is opened for the first time.
7129
+ * Opens the downloaded file now if the {@link DownloadItem} is complete; otherwise returns an error through {@link runtime.lastError}. This method requires the `"downloads.open"` permission in addition to the `"downloads"` permission. An {@link onChanged} event fires when the item is opened for the first time. This method can only be called in response to a user gesture.
7130
7130
  *
7131
7131
  * @param downloadId The identifier for the downloaded file.
7132
7132
  */
@@ -18026,7 +18026,7 @@ declare namespace chrome {
18026
18026
  ) => void>;
18027
18027
 
18028
18028
  /**
18029
- * Fired when a connection is made from another extension (by {@link runtime.connect}).
18029
+ * Fired when a connection is made from another extension (by {@link runtime.connect}), or from an externally connectable web site.
18030
18030
  */
18031
18031
  export const onConnectExternal: events.Event<(
18032
18032
  port: Port,
@@ -28866,7 +28866,7 @@ declare namespace chrome {
28866
28866
  export const WINDOW_ID_NONE: -1;
28867
28867
 
28868
28868
  /**
28869
- * The windowId value that represents the [current window](https://developer.chrome.com/docs/extensions/reference/windows/#current-window).
28869
+ * The windowId value that represents the [current window](https://developer.chrome.com/docs/extensions/reference/windows/#the_current_window).
28870
28870
  */
28871
28871
  export const WINDOW_ID_CURRENT: -2;
28872
28872
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "269f4e8c3609e7e1"
8
+ "build-hash": "84c78a44a571a0b9"
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.249"
19
+ "version": "0.1.250"
20
20
  }