devtools-protocol 0.0.1441344 → 0.0.1443047
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.
@@ -24629,6 +24629,13 @@
|
|
24629
24629
|
"experimental": true,
|
24630
24630
|
"optional": true,
|
24631
24631
|
"type": "boolean"
|
24632
|
+
},
|
24633
|
+
{
|
24634
|
+
"name": "hidden",
|
24635
|
+
"description": "Whether to create a hidden target. The hidden target is observable via protocol, but not\npresent in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or\n`background: false`. The life-time of the tab is limited to the life-time of the session.",
|
24636
|
+
"experimental": true,
|
24637
|
+
"optional": true,
|
24638
|
+
"type": "boolean"
|
24632
24639
|
}
|
24633
24640
|
],
|
24634
24641
|
"returns": [
|
@@ -28082,12 +28089,8 @@
|
|
28082
28089
|
},
|
28083
28090
|
{
|
28084
28091
|
"name": "removeService",
|
28085
|
-
"description": "Removes the service respresented by |serviceId| from the
|
28092
|
+
"description": "Removes the service respresented by |serviceId| from the simulated central.",
|
28086
28093
|
"parameters": [
|
28087
|
-
{
|
28088
|
-
"name": "address",
|
28089
|
-
"type": "string"
|
28090
|
-
},
|
28091
28094
|
{
|
28092
28095
|
"name": "serviceId",
|
28093
28096
|
"type": "string"
|
@@ -28096,12 +28099,8 @@
|
|
28096
28099
|
},
|
28097
28100
|
{
|
28098
28101
|
"name": "addCharacteristic",
|
28099
|
-
"description": "Adds a characteristic with |characteristicUuid| and |properties| to the\nservice represented by |serviceId
|
28102
|
+
"description": "Adds a characteristic with |characteristicUuid| and |properties| to the\nservice represented by |serviceId|.",
|
28100
28103
|
"parameters": [
|
28101
|
-
{
|
28102
|
-
"name": "address",
|
28103
|
-
"type": "string"
|
28104
|
-
},
|
28105
28104
|
{
|
28106
28105
|
"name": "serviceId",
|
28107
28106
|
"type": "string"
|
@@ -28125,16 +28124,8 @@
|
|
28125
28124
|
},
|
28126
28125
|
{
|
28127
28126
|
"name": "removeCharacteristic",
|
28128
|
-
"description": "Removes the characteristic respresented by |characteristicId| from the\
|
28127
|
+
"description": "Removes the characteristic respresented by |characteristicId| from the\nsimulated central.",
|
28129
28128
|
"parameters": [
|
28130
|
-
{
|
28131
|
-
"name": "address",
|
28132
|
-
"type": "string"
|
28133
|
-
},
|
28134
|
-
{
|
28135
|
-
"name": "serviceId",
|
28136
|
-
"type": "string"
|
28137
|
-
},
|
28138
28129
|
{
|
28139
28130
|
"name": "characteristicId",
|
28140
28131
|
"type": "string"
|
@@ -28143,16 +28134,8 @@
|
|
28143
28134
|
},
|
28144
28135
|
{
|
28145
28136
|
"name": "addDescriptor",
|
28146
|
-
"description": "Adds a descriptor with |descriptorUuid| to the characteristic respresented\nby |characteristicId
|
28137
|
+
"description": "Adds a descriptor with |descriptorUuid| to the characteristic respresented\nby |characteristicId|.",
|
28147
28138
|
"parameters": [
|
28148
|
-
{
|
28149
|
-
"name": "address",
|
28150
|
-
"type": "string"
|
28151
|
-
},
|
28152
|
-
{
|
28153
|
-
"name": "serviceId",
|
28154
|
-
"type": "string"
|
28155
|
-
},
|
28156
28139
|
{
|
28157
28140
|
"name": "characteristicId",
|
28158
28141
|
"type": "string"
|
@@ -28172,20 +28155,8 @@
|
|
28172
28155
|
},
|
28173
28156
|
{
|
28174
28157
|
"name": "removeDescriptor",
|
28175
|
-
"description": "Removes the descriptor with |descriptorId| from the
|
28158
|
+
"description": "Removes the descriptor with |descriptorId| from the simulated central.",
|
28176
28159
|
"parameters": [
|
28177
|
-
{
|
28178
|
-
"name": "address",
|
28179
|
-
"type": "string"
|
28180
|
-
},
|
28181
|
-
{
|
28182
|
-
"name": "serviceId",
|
28183
|
-
"type": "string"
|
28184
|
-
},
|
28185
|
-
{
|
28186
|
-
"name": "characteristicId",
|
28187
|
-
"type": "string"
|
28188
|
-
},
|
28189
28160
|
{
|
28190
28161
|
"name": "descriptorId",
|
28191
28162
|
"type": "string"
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -11591,6 +11591,10 @@ domain Target
|
|
11591
11591
|
optional boolean background
|
11592
11592
|
# Whether to create the target of type "tab".
|
11593
11593
|
experimental optional boolean forTab
|
11594
|
+
# Whether to create a hidden target. The hidden target is observable via protocol, but not
|
11595
|
+
# present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or
|
11596
|
+
# `background: false`. The life-time of the tab is limited to the life-time of the session.
|
11597
|
+
experimental optional boolean hidden
|
11594
11598
|
returns
|
11595
11599
|
# The id of the page opened.
|
11596
11600
|
TargetID targetId
|
@@ -13335,18 +13339,15 @@ experimental domain BluetoothEmulation
|
|
13335
13339
|
# An identifier that uniquely represents this service.
|
13336
13340
|
string serviceId
|
13337
13341
|
|
13338
|
-
# Removes the service respresented by |serviceId| from the
|
13339
|
-
# |address|.
|
13342
|
+
# Removes the service respresented by |serviceId| from the simulated central.
|
13340
13343
|
command removeService
|
13341
13344
|
parameters
|
13342
|
-
string address
|
13343
13345
|
string serviceId
|
13344
13346
|
|
13345
13347
|
# Adds a characteristic with |characteristicUuid| and |properties| to the
|
13346
|
-
# service represented by |serviceId
|
13348
|
+
# service represented by |serviceId|.
|
13347
13349
|
command addCharacteristic
|
13348
13350
|
parameters
|
13349
|
-
string address
|
13350
13351
|
string serviceId
|
13351
13352
|
string characteristicUuid
|
13352
13353
|
CharacteristicProperties properties
|
@@ -13355,34 +13356,24 @@ experimental domain BluetoothEmulation
|
|
13355
13356
|
string characteristicId
|
13356
13357
|
|
13357
13358
|
# Removes the characteristic respresented by |characteristicId| from the
|
13358
|
-
#
|
13359
|
+
# simulated central.
|
13359
13360
|
command removeCharacteristic
|
13360
13361
|
parameters
|
13361
|
-
string address
|
13362
|
-
string serviceId
|
13363
13362
|
string characteristicId
|
13364
13363
|
|
13365
13364
|
# Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
13366
|
-
# by |characteristicId
|
13367
|
-
# peripheral with |address|.
|
13365
|
+
# by |characteristicId|.
|
13368
13366
|
command addDescriptor
|
13369
13367
|
parameters
|
13370
|
-
string address
|
13371
|
-
string serviceId
|
13372
13368
|
string characteristicId
|
13373
13369
|
string descriptorUuid
|
13374
13370
|
returns
|
13375
13371
|
# An identifier that uniquely represents this descriptor.
|
13376
13372
|
string descriptorId
|
13377
13373
|
|
13378
|
-
# Removes the descriptor with |descriptorId| from the
|
13379
|
-
# respresented by |characteristicId| in the service represented by |serviceId|
|
13380
|
-
# of the peripheral with |address|.
|
13374
|
+
# Removes the descriptor with |descriptorId| from the simulated central.
|
13381
13375
|
command removeDescriptor
|
13382
13376
|
parameters
|
13383
|
-
string address
|
13384
|
-
string serviceId
|
13385
|
-
string characteristicId
|
13386
13377
|
string descriptorId
|
13387
13378
|
|
13388
13379
|
# Event for when a GATT operation of |type| to the peripheral with |address|
|
@@ -5324,8 +5324,7 @@ export namespace ProtocolMapping {
|
|
5324
5324
|
returnType: Protocol.BluetoothEmulation.AddServiceResponse;
|
5325
5325
|
};
|
5326
5326
|
/**
|
5327
|
-
* Removes the service respresented by |serviceId| from the
|
5328
|
-
* |address|.
|
5327
|
+
* Removes the service respresented by |serviceId| from the simulated central.
|
5329
5328
|
*/
|
5330
5329
|
'BluetoothEmulation.removeService': {
|
5331
5330
|
paramsType: [Protocol.BluetoothEmulation.RemoveServiceRequest];
|
@@ -5333,7 +5332,7 @@ export namespace ProtocolMapping {
|
|
5333
5332
|
};
|
5334
5333
|
/**
|
5335
5334
|
* Adds a characteristic with |characteristicUuid| and |properties| to the
|
5336
|
-
* service represented by |serviceId
|
5335
|
+
* service represented by |serviceId|.
|
5337
5336
|
*/
|
5338
5337
|
'BluetoothEmulation.addCharacteristic': {
|
5339
5338
|
paramsType: [Protocol.BluetoothEmulation.AddCharacteristicRequest];
|
@@ -5341,7 +5340,7 @@ export namespace ProtocolMapping {
|
|
5341
5340
|
};
|
5342
5341
|
/**
|
5343
5342
|
* Removes the characteristic respresented by |characteristicId| from the
|
5344
|
-
*
|
5343
|
+
* simulated central.
|
5345
5344
|
*/
|
5346
5345
|
'BluetoothEmulation.removeCharacteristic': {
|
5347
5346
|
paramsType: [Protocol.BluetoothEmulation.RemoveCharacteristicRequest];
|
@@ -5349,17 +5348,14 @@ export namespace ProtocolMapping {
|
|
5349
5348
|
};
|
5350
5349
|
/**
|
5351
5350
|
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
5352
|
-
* by |characteristicId
|
5353
|
-
* peripheral with |address|.
|
5351
|
+
* by |characteristicId|.
|
5354
5352
|
*/
|
5355
5353
|
'BluetoothEmulation.addDescriptor': {
|
5356
5354
|
paramsType: [Protocol.BluetoothEmulation.AddDescriptorRequest];
|
5357
5355
|
returnType: Protocol.BluetoothEmulation.AddDescriptorResponse;
|
5358
5356
|
};
|
5359
5357
|
/**
|
5360
|
-
* Removes the descriptor with |descriptorId| from the
|
5361
|
-
* respresented by |characteristicId| in the service represented by |serviceId|
|
5362
|
-
* of the peripheral with |address|.
|
5358
|
+
* Removes the descriptor with |descriptorId| from the simulated central.
|
5363
5359
|
*/
|
5364
5360
|
'BluetoothEmulation.removeDescriptor': {
|
5365
5361
|
paramsType: [Protocol.BluetoothEmulation.RemoveDescriptorRequest];
|
@@ -4545,34 +4545,30 @@ export namespace ProtocolProxyApi {
|
|
4545
4545
|
addService(params: Protocol.BluetoothEmulation.AddServiceRequest): Promise<Protocol.BluetoothEmulation.AddServiceResponse>;
|
4546
4546
|
|
4547
4547
|
/**
|
4548
|
-
* Removes the service respresented by |serviceId| from the
|
4549
|
-
* |address|.
|
4548
|
+
* Removes the service respresented by |serviceId| from the simulated central.
|
4550
4549
|
*/
|
4551
4550
|
removeService(params: Protocol.BluetoothEmulation.RemoveServiceRequest): Promise<void>;
|
4552
4551
|
|
4553
4552
|
/**
|
4554
4553
|
* Adds a characteristic with |characteristicUuid| and |properties| to the
|
4555
|
-
* service represented by |serviceId
|
4554
|
+
* service represented by |serviceId|.
|
4556
4555
|
*/
|
4557
4556
|
addCharacteristic(params: Protocol.BluetoothEmulation.AddCharacteristicRequest): Promise<Protocol.BluetoothEmulation.AddCharacteristicResponse>;
|
4558
4557
|
|
4559
4558
|
/**
|
4560
4559
|
* Removes the characteristic respresented by |characteristicId| from the
|
4561
|
-
*
|
4560
|
+
* simulated central.
|
4562
4561
|
*/
|
4563
4562
|
removeCharacteristic(params: Protocol.BluetoothEmulation.RemoveCharacteristicRequest): Promise<void>;
|
4564
4563
|
|
4565
4564
|
/**
|
4566
4565
|
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
4567
|
-
* by |characteristicId
|
4568
|
-
* peripheral with |address|.
|
4566
|
+
* by |characteristicId|.
|
4569
4567
|
*/
|
4570
4568
|
addDescriptor(params: Protocol.BluetoothEmulation.AddDescriptorRequest): Promise<Protocol.BluetoothEmulation.AddDescriptorResponse>;
|
4571
4569
|
|
4572
4570
|
/**
|
4573
|
-
* Removes the descriptor with |descriptorId| from the
|
4574
|
-
* respresented by |characteristicId| in the service represented by |serviceId|
|
4575
|
-
* of the peripheral with |address|.
|
4571
|
+
* Removes the descriptor with |descriptorId| from the simulated central.
|
4576
4572
|
*/
|
4577
4573
|
removeDescriptor(params: Protocol.BluetoothEmulation.RemoveDescriptorRequest): Promise<void>;
|
4578
4574
|
|
@@ -4949,34 +4949,30 @@ export namespace ProtocolTestsProxyApi {
|
|
4949
4949
|
addService(params: Protocol.BluetoothEmulation.AddServiceRequest): Promise<{id: number, result: Protocol.BluetoothEmulation.AddServiceResponse, sessionId: string}>;
|
4950
4950
|
|
4951
4951
|
/**
|
4952
|
-
* Removes the service respresented by |serviceId| from the
|
4953
|
-
* |address|.
|
4952
|
+
* Removes the service respresented by |serviceId| from the simulated central.
|
4954
4953
|
*/
|
4955
4954
|
removeService(params: Protocol.BluetoothEmulation.RemoveServiceRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4956
4955
|
|
4957
4956
|
/**
|
4958
4957
|
* Adds a characteristic with |characteristicUuid| and |properties| to the
|
4959
|
-
* service represented by |serviceId
|
4958
|
+
* service represented by |serviceId|.
|
4960
4959
|
*/
|
4961
4960
|
addCharacteristic(params: Protocol.BluetoothEmulation.AddCharacteristicRequest): Promise<{id: number, result: Protocol.BluetoothEmulation.AddCharacteristicResponse, sessionId: string}>;
|
4962
4961
|
|
4963
4962
|
/**
|
4964
4963
|
* Removes the characteristic respresented by |characteristicId| from the
|
4965
|
-
*
|
4964
|
+
* simulated central.
|
4966
4965
|
*/
|
4967
4966
|
removeCharacteristic(params: Protocol.BluetoothEmulation.RemoveCharacteristicRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4968
4967
|
|
4969
4968
|
/**
|
4970
4969
|
* Adds a descriptor with |descriptorUuid| to the characteristic respresented
|
4971
|
-
* by |characteristicId
|
4972
|
-
* peripheral with |address|.
|
4970
|
+
* by |characteristicId|.
|
4973
4971
|
*/
|
4974
4972
|
addDescriptor(params: Protocol.BluetoothEmulation.AddDescriptorRequest): Promise<{id: number, result: Protocol.BluetoothEmulation.AddDescriptorResponse, sessionId: string}>;
|
4975
4973
|
|
4976
4974
|
/**
|
4977
|
-
* Removes the descriptor with |descriptorId| from the
|
4978
|
-
* respresented by |characteristicId| in the service represented by |serviceId|
|
4979
|
-
* of the peripheral with |address|.
|
4975
|
+
* Removes the descriptor with |descriptorId| from the simulated central.
|
4980
4976
|
*/
|
4981
4977
|
removeDescriptor(params: Protocol.BluetoothEmulation.RemoveDescriptorRequest): Promise<{id: number, result: void, sessionId: string}>;
|
4982
4978
|
|
package/types/protocol.d.ts
CHANGED
@@ -17622,6 +17622,12 @@ export namespace Protocol {
|
|
17622
17622
|
* Whether to create the target of type "tab".
|
17623
17623
|
*/
|
17624
17624
|
forTab?: boolean;
|
17625
|
+
/**
|
17626
|
+
* Whether to create a hidden target. The hidden target is observable via protocol, but not
|
17627
|
+
* present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or
|
17628
|
+
* `background: false`. The life-time of the tab is limited to the life-time of the session.
|
17629
|
+
*/
|
17630
|
+
hidden?: boolean;
|
17625
17631
|
}
|
17626
17632
|
|
17627
17633
|
export interface CreateTargetResponse {
|
@@ -19599,12 +19605,10 @@ export namespace Protocol {
|
|
19599
19605
|
}
|
19600
19606
|
|
19601
19607
|
export interface RemoveServiceRequest {
|
19602
|
-
address: string;
|
19603
19608
|
serviceId: string;
|
19604
19609
|
}
|
19605
19610
|
|
19606
19611
|
export interface AddCharacteristicRequest {
|
19607
|
-
address: string;
|
19608
19612
|
serviceId: string;
|
19609
19613
|
characteristicUuid: string;
|
19610
19614
|
properties: CharacteristicProperties;
|
@@ -19618,14 +19622,10 @@ export namespace Protocol {
|
|
19618
19622
|
}
|
19619
19623
|
|
19620
19624
|
export interface RemoveCharacteristicRequest {
|
19621
|
-
address: string;
|
19622
|
-
serviceId: string;
|
19623
19625
|
characteristicId: string;
|
19624
19626
|
}
|
19625
19627
|
|
19626
19628
|
export interface AddDescriptorRequest {
|
19627
|
-
address: string;
|
19628
|
-
serviceId: string;
|
19629
19629
|
characteristicId: string;
|
19630
19630
|
descriptorUuid: string;
|
19631
19631
|
}
|
@@ -19638,9 +19638,6 @@ export namespace Protocol {
|
|
19638
19638
|
}
|
19639
19639
|
|
19640
19640
|
export interface RemoveDescriptorRequest {
|
19641
|
-
address: string;
|
19642
|
-
serviceId: string;
|
19643
|
-
characteristicId: string;
|
19644
19641
|
descriptorId: string;
|
19645
19642
|
}
|
19646
19643
|
|