chrome-types 0.1.444 → 0.1.446
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/_all.d.ts +8 -15
- package/index.d.ts +8 -15
- 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
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Fri Sep 11 2026 22:24:21 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 1eb755efcbc96b5fcf3af53b1ff00a9497e2e44b
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -24195,13 +24195,6 @@ declare namespace chrome {
|
|
|
24195
24195
|
* **Available on Windows and ChromeOS only**: If enabled, Chrome provides a unique ID to plugins in order to run protected content. The value of this preference is of type boolean, and the default value is `true`.
|
|
24196
24196
|
*/
|
|
24197
24197
|
protectedContentEnabled: types.ChromeSetting<boolean>,
|
|
24198
|
-
|
|
24199
|
-
/**
|
|
24200
|
-
* If disabled, [Related Website Sets](https://developer.chrome.com/docs/privacy-sandbox/related-website-sets/) is deactivated. The value of this preference is of type boolean, and the default value is `true`. Extensions may only disable this API by setting the value to `false`. If you try setting this API to `true`, it will throw an error.
|
|
24201
|
-
*
|
|
24202
|
-
* @since Chrome 121
|
|
24203
|
-
*/
|
|
24204
|
-
relatedWebsiteSetsEnabled: types.ChromeSetting<boolean>,
|
|
24205
24198
|
};
|
|
24206
24199
|
}
|
|
24207
24200
|
|
|
@@ -28005,7 +27998,7 @@ declare namespace chrome {
|
|
|
28005
27998
|
export interface SocketProperties {
|
|
28006
27999
|
|
|
28007
28000
|
/**
|
|
28008
|
-
* Flag indicating if the socket is left open when the event page of the application is unloaded (see [Manage App Lifecycle](https://developer.chrome.com/docs/apps/app_lifecycle)). The default value is "false.
|
|
28001
|
+
* Flag indicating if the socket is left open when the event page of the application is unloaded (see [Manage App Lifecycle](https://developer.chrome.com/docs/apps/app_lifecycle)). The default value is "false". When the application is loaded, any sockets previously opened with persistent=true can be fetched with `getSockets`.
|
|
28009
28002
|
*/
|
|
28010
28003
|
persistent?: boolean;
|
|
28011
28004
|
|
|
@@ -28083,7 +28076,7 @@ declare namespace chrome {
|
|
|
28083
28076
|
name?: string;
|
|
28084
28077
|
|
|
28085
28078
|
/**
|
|
28086
|
-
* The size of the buffer used to receive data. If no buffer size has been specified
|
|
28079
|
+
* The size of the buffer used to receive data. If no buffer size has been specified explicitly, the value is not provided.
|
|
28087
28080
|
*/
|
|
28088
28081
|
bufferSize?: number;
|
|
28089
28082
|
|
|
@@ -28152,7 +28145,7 @@ declare namespace chrome {
|
|
|
28152
28145
|
) => void>;
|
|
28153
28146
|
|
|
28154
28147
|
/**
|
|
28155
|
-
* Event raised when a network error
|
|
28148
|
+
* Event raised when a network error occurred while the runtime was waiting for data on the socket address and port. Once this event is raised, the socket is set to `paused` and no more `onReceive` events are raised for this socket.
|
|
28156
28149
|
*/
|
|
28157
28150
|
export const onReceiveError: events.Event<(
|
|
28158
28151
|
info: ReceiveErrorInfo,
|
|
@@ -28523,7 +28516,7 @@ declare namespace chrome {
|
|
|
28523
28516
|
export interface SocketProperties {
|
|
28524
28517
|
|
|
28525
28518
|
/**
|
|
28526
|
-
* Flag indicating if the socket remains open when the event page of the application is unloaded (see [Manage App Lifecycle](https://developer.chrome.com/docs/apps/app_lifecycle)). The default value is "false.
|
|
28519
|
+
* Flag indicating if the socket remains open when the event page of the application is unloaded (see [Manage App Lifecycle](https://developer.chrome.com/docs/apps/app_lifecycle)). The default value is "false". When the application is loaded, any sockets previously opened with persistent=true can be fetched with `getSockets`.
|
|
28527
28520
|
*/
|
|
28528
28521
|
persistent?: boolean;
|
|
28529
28522
|
|
|
@@ -28582,7 +28575,7 @@ declare namespace chrome {
|
|
|
28582
28575
|
socketId: number;
|
|
28583
28576
|
|
|
28584
28577
|
/**
|
|
28585
|
-
* The client socket identifier, i.e. the socket identifier of the newly established connection. This socket identifier should be used only with functions from the `chrome.sockets.tcp` namespace. Note the client socket is initially paused and must be
|
|
28578
|
+
* The client socket identifier, i.e. the socket identifier of the newly established connection. This socket identifier should be used only with functions from the `chrome.sockets.tcp` namespace. Note the client socket is initially paused and must be explicitly un-paused by the application to start receiving data.
|
|
28586
28579
|
*/
|
|
28587
28580
|
clientSocketId: number;
|
|
28588
28581
|
}
|
|
@@ -28608,7 +28601,7 @@ declare namespace chrome {
|
|
|
28608
28601
|
) => void>;
|
|
28609
28602
|
|
|
28610
28603
|
/**
|
|
28611
|
-
* Event raised when a network error
|
|
28604
|
+
* Event raised when a network error occurred while the runtime was waiting for new connections on the socket address and port. Once this event is raised, the socket is set to `paused` and no more `onAccept` events are raised for this socket until the socket is resumed.
|
|
28612
28605
|
*/
|
|
28613
28606
|
export const onAcceptError: events.Event<(
|
|
28614
28607
|
info: AcceptErrorInfo,
|
package/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Fri Sep 11 2026 22:24:17 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 1eb755efcbc96b5fcf3af53b1ff00a9497e2e44b
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -16999,13 +16999,6 @@ declare namespace chrome {
|
|
|
16999
16999
|
* **Available on Windows and ChromeOS only**: If enabled, Chrome provides a unique ID to plugins in order to run protected content. The value of this preference is of type boolean, and the default value is `true`.
|
|
17000
17000
|
*/
|
|
17001
17001
|
protectedContentEnabled: types.ChromeSetting<boolean>,
|
|
17002
|
-
|
|
17003
|
-
/**
|
|
17004
|
-
* If disabled, [Related Website Sets](https://developer.chrome.com/docs/privacy-sandbox/related-website-sets/) is deactivated. The value of this preference is of type boolean, and the default value is `true`. Extensions may only disable this API by setting the value to `false`. If you try setting this API to `true`, it will throw an error.
|
|
17005
|
-
*
|
|
17006
|
-
* @since Chrome 121
|
|
17007
|
-
*/
|
|
17008
|
-
relatedWebsiteSetsEnabled: types.ChromeSetting<boolean>,
|
|
17009
17002
|
};
|
|
17010
17003
|
}
|
|
17011
17004
|
|
|
@@ -19565,7 +19558,7 @@ declare namespace chrome {
|
|
|
19565
19558
|
export interface SocketProperties {
|
|
19566
19559
|
|
|
19567
19560
|
/**
|
|
19568
|
-
* Flag indicating if the socket is left open when the event page of the application is unloaded (see [Manage App Lifecycle](https://developer.chrome.com/docs/apps/app_lifecycle)). The default value is "false.
|
|
19561
|
+
* Flag indicating if the socket is left open when the event page of the application is unloaded (see [Manage App Lifecycle](https://developer.chrome.com/docs/apps/app_lifecycle)). The default value is "false". When the application is loaded, any sockets previously opened with persistent=true can be fetched with `getSockets`.
|
|
19569
19562
|
*/
|
|
19570
19563
|
persistent?: boolean;
|
|
19571
19564
|
|
|
@@ -19641,7 +19634,7 @@ declare namespace chrome {
|
|
|
19641
19634
|
name?: string;
|
|
19642
19635
|
|
|
19643
19636
|
/**
|
|
19644
|
-
* The size of the buffer used to receive data. If no buffer size has been specified
|
|
19637
|
+
* The size of the buffer used to receive data. If no buffer size has been specified explicitly, the value is not provided.
|
|
19645
19638
|
*/
|
|
19646
19639
|
bufferSize?: number;
|
|
19647
19640
|
|
|
@@ -19710,7 +19703,7 @@ declare namespace chrome {
|
|
|
19710
19703
|
) => void>;
|
|
19711
19704
|
|
|
19712
19705
|
/**
|
|
19713
|
-
* Event raised when a network error
|
|
19706
|
+
* Event raised when a network error occurred while the runtime was waiting for data on the socket address and port. Once this event is raised, the socket is set to `paused` and no more `onReceive` events are raised for this socket.
|
|
19714
19707
|
*/
|
|
19715
19708
|
export const onReceiveError: events.Event<(
|
|
19716
19709
|
info: ReceiveErrorInfo,
|
|
@@ -20079,7 +20072,7 @@ declare namespace chrome {
|
|
|
20079
20072
|
export interface SocketProperties {
|
|
20080
20073
|
|
|
20081
20074
|
/**
|
|
20082
|
-
* Flag indicating if the socket remains open when the event page of the application is unloaded (see [Manage App Lifecycle](https://developer.chrome.com/docs/apps/app_lifecycle)). The default value is "false.
|
|
20075
|
+
* Flag indicating if the socket remains open when the event page of the application is unloaded (see [Manage App Lifecycle](https://developer.chrome.com/docs/apps/app_lifecycle)). The default value is "false". When the application is loaded, any sockets previously opened with persistent=true can be fetched with `getSockets`.
|
|
20083
20076
|
*/
|
|
20084
20077
|
persistent?: boolean;
|
|
20085
20078
|
|
|
@@ -20138,7 +20131,7 @@ declare namespace chrome {
|
|
|
20138
20131
|
socketId: number;
|
|
20139
20132
|
|
|
20140
20133
|
/**
|
|
20141
|
-
* The client socket identifier, i.e. the socket identifier of the newly established connection. This socket identifier should be used only with functions from the `chrome.sockets.tcp` namespace. Note the client socket is initially paused and must be
|
|
20134
|
+
* The client socket identifier, i.e. the socket identifier of the newly established connection. This socket identifier should be used only with functions from the `chrome.sockets.tcp` namespace. Note the client socket is initially paused and must be explicitly un-paused by the application to start receiving data.
|
|
20142
20135
|
*/
|
|
20143
20136
|
clientSocketId: number;
|
|
20144
20137
|
}
|
|
@@ -20164,7 +20157,7 @@ declare namespace chrome {
|
|
|
20164
20157
|
) => void>;
|
|
20165
20158
|
|
|
20166
20159
|
/**
|
|
20167
|
-
* Event raised when a network error
|
|
20160
|
+
* Event raised when a network error occurred while the runtime was waiting for new connections on the socket address and port. Once this event is raised, the socket is set to `paused` and no more `onAccept` events are raised for this socket until the socket is resumed.
|
|
20168
20161
|
*/
|
|
20169
20162
|
export const onAcceptError: events.Event<(
|
|
20170
20163
|
info: AcceptErrorInfo,
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "module",
|
|
6
6
|
"name": "chrome-types",
|
|
7
7
|
"config": {
|
|
8
|
-
"build-hash": "
|
|
8
|
+
"build-hash": "7f3f6158f352742f"
|
|
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.
|
|
19
|
+
"version": "0.1.446"
|
|
20
20
|
}
|