chrome-types 0.1.278 → 0.1.279
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 +34 -6
- package/index.d.ts +34 -6
- 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 Wed Apr 10 2024 22:30:10 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 606475c6ec831eafa70978b96731cef50c784d53
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -7410,7 +7410,7 @@ declare namespace chrome {
|
|
|
7410
7410
|
namespace _debugger {
|
|
7411
7411
|
|
|
7412
7412
|
/**
|
|
7413
|
-
* Debuggee identifier. Either tabId or
|
|
7413
|
+
* Debuggee identifier. Either tabId, extensionId or targetId must be specified
|
|
7414
7414
|
*/
|
|
7415
7415
|
export interface Debuggee {
|
|
7416
7416
|
|
|
@@ -7430,6 +7430,34 @@ declare namespace chrome {
|
|
|
7430
7430
|
targetId?: string;
|
|
7431
7431
|
}
|
|
7432
7432
|
|
|
7433
|
+
/**
|
|
7434
|
+
* Debugger session identifier. One of tabId, extensionId or targetId must be specified. Additionally, an optional sessionId can be provided. If sessionId is specified for arguments sent from {@link onEvent}, it means the event is coming from a child protocol session within the root debuggee session. If sessionId is specified when passed to {@link sendCommand}, it targets a child protocol session within the root debuggee session.
|
|
7435
|
+
*
|
|
7436
|
+
* @since Pending
|
|
7437
|
+
*/
|
|
7438
|
+
export interface DebuggerSession {
|
|
7439
|
+
|
|
7440
|
+
/**
|
|
7441
|
+
* The id of the tab which you intend to debug.
|
|
7442
|
+
*/
|
|
7443
|
+
tabId?: number;
|
|
7444
|
+
|
|
7445
|
+
/**
|
|
7446
|
+
* The id of the extension which you intend to debug. Attaching to an extension background page is only possible when the `--silent-debugger-extension-api` command-line switch is used.
|
|
7447
|
+
*/
|
|
7448
|
+
extensionId?: string;
|
|
7449
|
+
|
|
7450
|
+
/**
|
|
7451
|
+
* The opaque id of the debug target.
|
|
7452
|
+
*/
|
|
7453
|
+
targetId?: string;
|
|
7454
|
+
|
|
7455
|
+
/**
|
|
7456
|
+
* The opaque id of the Chrome DevTools Protocol session. Identifies a child session within the root session identified by tabId, extensionId or targetId.
|
|
7457
|
+
*/
|
|
7458
|
+
sessionId?: string;
|
|
7459
|
+
}
|
|
7460
|
+
|
|
7433
7461
|
/**
|
|
7434
7462
|
* Target type.
|
|
7435
7463
|
*
|
|
@@ -7494,7 +7522,7 @@ declare namespace chrome {
|
|
|
7494
7522
|
* Fired whenever debugging target issues instrumentation event.
|
|
7495
7523
|
*/
|
|
7496
7524
|
export const onEvent: events.Event<(
|
|
7497
|
-
source:
|
|
7525
|
+
source: DebuggerSession,
|
|
7498
7526
|
method: string,
|
|
7499
7527
|
params?: {[name: string]: any},
|
|
7500
7528
|
) => void>;
|
|
@@ -7571,7 +7599,7 @@ declare namespace chrome {
|
|
|
7571
7599
|
*/
|
|
7572
7600
|
export function sendCommand(
|
|
7573
7601
|
|
|
7574
|
-
target:
|
|
7602
|
+
target: DebuggerSession,
|
|
7575
7603
|
|
|
7576
7604
|
method: string,
|
|
7577
7605
|
|
|
@@ -7588,7 +7616,7 @@ declare namespace chrome {
|
|
|
7588
7616
|
*/
|
|
7589
7617
|
export function sendCommand(
|
|
7590
7618
|
|
|
7591
|
-
target:
|
|
7619
|
+
target: DebuggerSession,
|
|
7592
7620
|
|
|
7593
7621
|
method: string,
|
|
7594
7622
|
|
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 Wed Apr 10 2024 22:30:05 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 606475c6ec831eafa70978b96731cef50c784d53
|
|
19
19
|
|
|
20
20
|
// Includes MV3+ APIs only.
|
|
21
21
|
|
|
@@ -4156,7 +4156,7 @@ declare namespace chrome {
|
|
|
4156
4156
|
namespace _debugger {
|
|
4157
4157
|
|
|
4158
4158
|
/**
|
|
4159
|
-
* Debuggee identifier. Either tabId or
|
|
4159
|
+
* Debuggee identifier. Either tabId, extensionId or targetId must be specified
|
|
4160
4160
|
*/
|
|
4161
4161
|
export interface Debuggee {
|
|
4162
4162
|
|
|
@@ -4176,6 +4176,34 @@ declare namespace chrome {
|
|
|
4176
4176
|
targetId?: string;
|
|
4177
4177
|
}
|
|
4178
4178
|
|
|
4179
|
+
/**
|
|
4180
|
+
* Debugger session identifier. One of tabId, extensionId or targetId must be specified. Additionally, an optional sessionId can be provided. If sessionId is specified for arguments sent from {@link onEvent}, it means the event is coming from a child protocol session within the root debuggee session. If sessionId is specified when passed to {@link sendCommand}, it targets a child protocol session within the root debuggee session.
|
|
4181
|
+
*
|
|
4182
|
+
* @since Pending
|
|
4183
|
+
*/
|
|
4184
|
+
export interface DebuggerSession {
|
|
4185
|
+
|
|
4186
|
+
/**
|
|
4187
|
+
* The id of the tab which you intend to debug.
|
|
4188
|
+
*/
|
|
4189
|
+
tabId?: number;
|
|
4190
|
+
|
|
4191
|
+
/**
|
|
4192
|
+
* The id of the extension which you intend to debug. Attaching to an extension background page is only possible when the `--silent-debugger-extension-api` command-line switch is used.
|
|
4193
|
+
*/
|
|
4194
|
+
extensionId?: string;
|
|
4195
|
+
|
|
4196
|
+
/**
|
|
4197
|
+
* The opaque id of the debug target.
|
|
4198
|
+
*/
|
|
4199
|
+
targetId?: string;
|
|
4200
|
+
|
|
4201
|
+
/**
|
|
4202
|
+
* The opaque id of the Chrome DevTools Protocol session. Identifies a child session within the root session identified by tabId, extensionId or targetId.
|
|
4203
|
+
*/
|
|
4204
|
+
sessionId?: string;
|
|
4205
|
+
}
|
|
4206
|
+
|
|
4179
4207
|
/**
|
|
4180
4208
|
* Target type.
|
|
4181
4209
|
*
|
|
@@ -4240,7 +4268,7 @@ declare namespace chrome {
|
|
|
4240
4268
|
* Fired whenever debugging target issues instrumentation event.
|
|
4241
4269
|
*/
|
|
4242
4270
|
export const onEvent: events.Event<(
|
|
4243
|
-
source:
|
|
4271
|
+
source: DebuggerSession,
|
|
4244
4272
|
method: string,
|
|
4245
4273
|
params?: {[name: string]: any},
|
|
4246
4274
|
) => void>;
|
|
@@ -4317,7 +4345,7 @@ declare namespace chrome {
|
|
|
4317
4345
|
*/
|
|
4318
4346
|
export function sendCommand(
|
|
4319
4347
|
|
|
4320
|
-
target:
|
|
4348
|
+
target: DebuggerSession,
|
|
4321
4349
|
|
|
4322
4350
|
method: string,
|
|
4323
4351
|
|
|
@@ -4334,7 +4362,7 @@ declare namespace chrome {
|
|
|
4334
4362
|
*/
|
|
4335
4363
|
export function sendCommand(
|
|
4336
4364
|
|
|
4337
|
-
target:
|
|
4365
|
+
target: DebuggerSession,
|
|
4338
4366
|
|
|
4339
4367
|
method: string,
|
|
4340
4368
|
|
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": "a66a589486597e54"
|
|
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.279"
|
|
20
20
|
}
|