devtools-protocol 0.0.1446921 → 0.0.1448144

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.
@@ -16330,6 +16330,63 @@
16330
16330
  }
16331
16331
  ]
16332
16332
  },
16333
+ {
16334
+ "name": "directTCPSocketChunkSent",
16335
+ "description": "Fired when data is sent to tcp direct socket stream.",
16336
+ "experimental": true,
16337
+ "parameters": [
16338
+ {
16339
+ "name": "identifier",
16340
+ "$ref": "RequestId"
16341
+ },
16342
+ {
16343
+ "name": "data",
16344
+ "type": "string"
16345
+ },
16346
+ {
16347
+ "name": "timestamp",
16348
+ "$ref": "MonotonicTime"
16349
+ }
16350
+ ]
16351
+ },
16352
+ {
16353
+ "name": "directTCPSocketChunkReceived",
16354
+ "description": "Fired when data is received from tcp direct socket stream.",
16355
+ "experimental": true,
16356
+ "parameters": [
16357
+ {
16358
+ "name": "identifier",
16359
+ "$ref": "RequestId"
16360
+ },
16361
+ {
16362
+ "name": "data",
16363
+ "type": "string"
16364
+ },
16365
+ {
16366
+ "name": "timestamp",
16367
+ "$ref": "MonotonicTime"
16368
+ }
16369
+ ]
16370
+ },
16371
+ {
16372
+ "name": "directTCPSocketChunkError",
16373
+ "description": "Fired when there is an error\nwhen writing to tcp direct socket stream.\nFor example, if user writes illegal type like string\ninstead of ArrayBuffer or ArrayBufferView.\nThere's no reporting for reading, because\nwe cannot know errors on the other side.",
16374
+ "experimental": true,
16375
+ "parameters": [
16376
+ {
16377
+ "name": "identifier",
16378
+ "$ref": "RequestId"
16379
+ },
16380
+ {
16381
+ "name": "errorMessage",
16382
+ "type": "string"
16383
+ },
16384
+ {
16385
+ "name": "timestamp",
16386
+ "$ref": "MonotonicTime"
16387
+ }
16388
+ ]
16389
+ },
16333
16390
  {
16334
16391
  "name": "requestWillBeSentExtraInfo",
16335
16392
  "description": "Fired when additional information about a requestWillBeSent event is available from the\nnetwork stack. Not every requestWillBeSent event will have an additional\nrequestWillBeSentExtraInfo fired for it, and there is no guarantee whether requestWillBeSent\nor requestWillBeSentExtraInfo will be fired first for the same request.",
@@ -23706,6 +23763,26 @@
23706
23763
  }
23707
23764
  }
23708
23765
  ]
23766
+ },
23767
+ {
23768
+ "name": "setProtectedAudienceKAnonymity",
23769
+ "parameters": [
23770
+ {
23771
+ "name": "owner",
23772
+ "type": "string"
23773
+ },
23774
+ {
23775
+ "name": "name",
23776
+ "type": "string"
23777
+ },
23778
+ {
23779
+ "name": "hashes",
23780
+ "type": "array",
23781
+ "items": {
23782
+ "type": "string"
23783
+ }
23784
+ }
23785
+ ]
23709
23786
  }
23710
23787
  ],
23711
23788
  "events": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1446921",
3
+ "version": "0.0.1448144",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -7512,6 +7512,32 @@ domain Network
7512
7512
  RequestId identifier
7513
7513
  MonotonicTime timestamp
7514
7514
 
7515
+ # Fired when data is sent to tcp direct socket stream.
7516
+ experimental event directTCPSocketChunkSent
7517
+ parameters
7518
+ RequestId identifier
7519
+ binary data
7520
+ MonotonicTime timestamp
7521
+
7522
+ # Fired when data is received from tcp direct socket stream.
7523
+ experimental event directTCPSocketChunkReceived
7524
+ parameters
7525
+ RequestId identifier
7526
+ binary data
7527
+ MonotonicTime timestamp
7528
+
7529
+ # Fired when there is an error
7530
+ # when writing to tcp direct socket stream.
7531
+ # For example, if user writes illegal type like string
7532
+ # instead of ArrayBuffer or ArrayBufferView.
7533
+ # There's no reporting for reading, because
7534
+ # we cannot know errors on the other side.
7535
+ experimental event directTCPSocketChunkError
7536
+ parameters
7537
+ RequestId identifier
7538
+ string errorMessage
7539
+ MonotonicTime timestamp
7540
+
7515
7541
  experimental type PrivateNetworkRequestPolicy extends string
7516
7542
  enum
7517
7543
  Allow
@@ -11307,6 +11333,12 @@ experimental domain Storage
11307
11333
  # party URL, only the first-party URL is returned in the array.
11308
11334
  array of string matchedUrls
11309
11335
 
11336
+ command setProtectedAudienceKAnonymity
11337
+ parameters
11338
+ string owner
11339
+ string name
11340
+ array of binary hashes
11341
+
11310
11342
  # The SystemInfo domain defines methods and events for querying low-level system information.
11311
11343
  experimental domain SystemInfo
11312
11344
 
@@ -367,6 +367,23 @@ export namespace ProtocolMapping {
367
367
  * Fired when direct_socket.TCPSocket is closed.
368
368
  */
369
369
  'Network.directTCPSocketClosed': [Protocol.Network.DirectTCPSocketClosedEvent];
370
+ /**
371
+ * Fired when data is sent to tcp direct socket stream.
372
+ */
373
+ 'Network.directTCPSocketChunkSent': [Protocol.Network.DirectTCPSocketChunkSentEvent];
374
+ /**
375
+ * Fired when data is received from tcp direct socket stream.
376
+ */
377
+ 'Network.directTCPSocketChunkReceived': [Protocol.Network.DirectTCPSocketChunkReceivedEvent];
378
+ /**
379
+ * Fired when there is an error
380
+ * when writing to tcp direct socket stream.
381
+ * For example, if user writes illegal type like string
382
+ * instead of ArrayBuffer or ArrayBufferView.
383
+ * There's no reporting for reading, because
384
+ * we cannot know errors on the other side.
385
+ */
386
+ 'Network.directTCPSocketChunkError': [Protocol.Network.DirectTCPSocketChunkErrorEvent];
370
387
  /**
371
388
  * Fired when additional information about a requestWillBeSent event is available from the
372
389
  * network stack. Not every requestWillBeSent event will have an additional
@@ -4695,6 +4712,10 @@ export namespace ProtocolMapping {
4695
4712
  paramsType: [Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest];
4696
4713
  returnType: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse;
4697
4714
  };
4715
+ 'Storage.setProtectedAudienceKAnonymity': {
4716
+ paramsType: [Protocol.Storage.SetProtectedAudienceKAnonymityRequest];
4717
+ returnType: void;
4718
+ };
4698
4719
  /**
4699
4720
  * Returns information about the system.
4700
4721
  */
@@ -2731,6 +2731,26 @@ export namespace ProtocolProxyApi {
2731
2731
  */
2732
2732
  on(event: 'directTCPSocketClosed', listener: (params: Protocol.Network.DirectTCPSocketClosedEvent) => void): void;
2733
2733
 
2734
+ /**
2735
+ * Fired when data is sent to tcp direct socket stream.
2736
+ */
2737
+ on(event: 'directTCPSocketChunkSent', listener: (params: Protocol.Network.DirectTCPSocketChunkSentEvent) => void): void;
2738
+
2739
+ /**
2740
+ * Fired when data is received from tcp direct socket stream.
2741
+ */
2742
+ on(event: 'directTCPSocketChunkReceived', listener: (params: Protocol.Network.DirectTCPSocketChunkReceivedEvent) => void): void;
2743
+
2744
+ /**
2745
+ * Fired when there is an error
2746
+ * when writing to tcp direct socket stream.
2747
+ * For example, if user writes illegal type like string
2748
+ * instead of ArrayBuffer or ArrayBufferView.
2749
+ * There's no reporting for reading, because
2750
+ * we cannot know errors on the other side.
2751
+ */
2752
+ on(event: 'directTCPSocketChunkError', listener: (params: Protocol.Network.DirectTCPSocketChunkErrorEvent) => void): void;
2753
+
2734
2754
  /**
2735
2755
  * Fired when additional information about a requestWillBeSent event is available from the
2736
2756
  * network stack. Not every requestWillBeSent event will have an additional
@@ -3750,6 +3770,8 @@ export namespace ProtocolProxyApi {
3750
3770
  */
3751
3771
  getAffectedUrlsForThirdPartyCookieMetadata(params: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest): Promise<Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse>;
3752
3772
 
3773
+ setProtectedAudienceKAnonymity(params: Protocol.Storage.SetProtectedAudienceKAnonymityRequest): Promise<void>;
3774
+
3753
3775
  /**
3754
3776
  * A cache's contents have been modified.
3755
3777
  */
@@ -2919,6 +2919,32 @@ export namespace ProtocolTestsProxyApi {
2919
2919
  offDirectTCPSocketClosed(listener: (event: { params: Protocol.Network.DirectTCPSocketClosedEvent }) => void): void;
2920
2920
  onceDirectTCPSocketClosed(eventMatcher?: (event: { params: Protocol.Network.DirectTCPSocketClosedEvent }) => boolean): Promise<{ params: Protocol.Network.DirectTCPSocketClosedEvent }>;
2921
2921
 
2922
+ /**
2923
+ * Fired when data is sent to tcp direct socket stream.
2924
+ */
2925
+ onDirectTCPSocketChunkSent(listener: (event: { params: Protocol.Network.DirectTCPSocketChunkSentEvent }) => void): void;
2926
+ offDirectTCPSocketChunkSent(listener: (event: { params: Protocol.Network.DirectTCPSocketChunkSentEvent }) => void): void;
2927
+ onceDirectTCPSocketChunkSent(eventMatcher?: (event: { params: Protocol.Network.DirectTCPSocketChunkSentEvent }) => boolean): Promise<{ params: Protocol.Network.DirectTCPSocketChunkSentEvent }>;
2928
+
2929
+ /**
2930
+ * Fired when data is received from tcp direct socket stream.
2931
+ */
2932
+ onDirectTCPSocketChunkReceived(listener: (event: { params: Protocol.Network.DirectTCPSocketChunkReceivedEvent }) => void): void;
2933
+ offDirectTCPSocketChunkReceived(listener: (event: { params: Protocol.Network.DirectTCPSocketChunkReceivedEvent }) => void): void;
2934
+ onceDirectTCPSocketChunkReceived(eventMatcher?: (event: { params: Protocol.Network.DirectTCPSocketChunkReceivedEvent }) => boolean): Promise<{ params: Protocol.Network.DirectTCPSocketChunkReceivedEvent }>;
2935
+
2936
+ /**
2937
+ * Fired when there is an error
2938
+ * when writing to tcp direct socket stream.
2939
+ * For example, if user writes illegal type like string
2940
+ * instead of ArrayBuffer or ArrayBufferView.
2941
+ * There's no reporting for reading, because
2942
+ * we cannot know errors on the other side.
2943
+ */
2944
+ onDirectTCPSocketChunkError(listener: (event: { params: Protocol.Network.DirectTCPSocketChunkErrorEvent }) => void): void;
2945
+ offDirectTCPSocketChunkError(listener: (event: { params: Protocol.Network.DirectTCPSocketChunkErrorEvent }) => void): void;
2946
+ onceDirectTCPSocketChunkError(eventMatcher?: (event: { params: Protocol.Network.DirectTCPSocketChunkErrorEvent }) => boolean): Promise<{ params: Protocol.Network.DirectTCPSocketChunkErrorEvent }>;
2947
+
2922
2948
  /**
2923
2949
  * Fired when additional information about a requestWillBeSent event is available from the
2924
2950
  * network stack. Not every requestWillBeSent event will have an additional
@@ -4042,6 +4068,8 @@ export namespace ProtocolTestsProxyApi {
4042
4068
  */
4043
4069
  getAffectedUrlsForThirdPartyCookieMetadata(params: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataRequest): Promise<{id: number, result: Protocol.Storage.GetAffectedUrlsForThirdPartyCookieMetadataResponse, sessionId: string}>;
4044
4070
 
4071
+ setProtectedAudienceKAnonymity(params: Protocol.Storage.SetProtectedAudienceKAnonymityRequest): Promise<{id: number, result: void, sessionId: string}>;
4072
+
4045
4073
  /**
4046
4074
  * A cache's contents have been modified.
4047
4075
  */
@@ -12819,6 +12819,38 @@ export namespace Protocol {
12819
12819
  timestamp: MonotonicTime;
12820
12820
  }
12821
12821
 
12822
+ /**
12823
+ * Fired when data is sent to tcp direct socket stream.
12824
+ */
12825
+ export interface DirectTCPSocketChunkSentEvent {
12826
+ identifier: RequestId;
12827
+ data: string;
12828
+ timestamp: MonotonicTime;
12829
+ }
12830
+
12831
+ /**
12832
+ * Fired when data is received from tcp direct socket stream.
12833
+ */
12834
+ export interface DirectTCPSocketChunkReceivedEvent {
12835
+ identifier: RequestId;
12836
+ data: string;
12837
+ timestamp: MonotonicTime;
12838
+ }
12839
+
12840
+ /**
12841
+ * Fired when there is an error
12842
+ * when writing to tcp direct socket stream.
12843
+ * For example, if user writes illegal type like string
12844
+ * instead of ArrayBuffer or ArrayBufferView.
12845
+ * There's no reporting for reading, because
12846
+ * we cannot know errors on the other side.
12847
+ */
12848
+ export interface DirectTCPSocketChunkErrorEvent {
12849
+ identifier: RequestId;
12850
+ errorMessage: string;
12851
+ timestamp: MonotonicTime;
12852
+ }
12853
+
12822
12854
  /**
12823
12855
  * Fired when additional information about a requestWillBeSent event is available from the
12824
12856
  * network stack. Not every requestWillBeSent event will have an additional
@@ -17005,6 +17037,12 @@ export namespace Protocol {
17005
17037
  matchedUrls: string[];
17006
17038
  }
17007
17039
 
17040
+ export interface SetProtectedAudienceKAnonymityRequest {
17041
+ owner: string;
17042
+ name: string;
17043
+ hashes: string[];
17044
+ }
17045
+
17008
17046
  /**
17009
17047
  * A cache's contents have been modified.
17010
17048
  */