chrome-types 0.1.85 → 0.1.89

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 +134 -13
  2. package/index.d.ts +128 -12
  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 Fri Jan 28 2022 04:52:02 GMT+0000 (Coordinated Universal Time)
18
- // Built at b6e837b5eb177ef37cdb563a6ba7895960619541
17
+ // Generated on Fri Feb 18 2022 22:28:05 GMT+0000 (Coordinated Universal Time)
18
+ // Built at d8e5cbade765a5019c53f0fd73a6cb010edf80e3
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -820,9 +820,14 @@ declare namespace chrome {
820
820
  */
821
821
  export function getIsInstalled(): boolean;
822
822
 
823
+ /**
824
+ * @chrome-returns-extra since Pending
825
+ */
826
+ export function installState(): Promise<InstallState>;
827
+
823
828
  export function installState(
824
829
 
825
- callback: (
830
+ callback?: (
826
831
  state: InstallState,
827
832
  ) => void,
828
833
  ): void;
@@ -1839,6 +1844,7 @@ declare namespace chrome {
1839
1844
  * @alpha
1840
1845
  * @chrome-manifest automation
1841
1846
  * @chrome-channel dev
1847
+ * @chrome-disallow-service-workers
1842
1848
  */
1843
1849
  export namespace automation {
1844
1850
 
@@ -17369,8 +17375,9 @@ declare namespace chrome {
17369
17375
  * @chrome-enum "IN\_LOGIN\_SCREEN" The user is in the login screen.
17370
17376
  * @chrome-enum "IN\_SESSION" The user is in the session.
17371
17377
  * @chrome-enum "IN\_LOCK\_SCREEN" The user is in the lock screen.
17378
+ * @chrome-enum "IN\_RMA\_SCREEN" The device is in RMA mode, finalizing repairs.
17372
17379
  */
17373
- export type SessionState = "UNKNOWN" | "IN_OOBE_SCREEN" | "IN_LOGIN_SCREEN" | "IN_SESSION" | "IN_LOCK_SCREEN";
17380
+ export type SessionState = "UNKNOWN" | "IN_OOBE_SCREEN" | "IN_LOGIN_SCREEN" | "IN_SESSION" | "IN_LOCK_SCREEN" | "IN_RMA_SCREEN";
17374
17381
 
17375
17382
  /**
17376
17383
  * Dispatched when the session state changes. `sessionState` is the new session state.
@@ -20730,11 +20737,27 @@ declare namespace chrome {
20730
20737
  /**
20731
20738
  * Sets the description and styling for the default suggestion. The default suggestion is the text that is displayed in the first suggestion row underneath the URL bar.
20732
20739
  *
20740
+ * @chrome-returns-extra since Pending
20733
20741
  * @param suggestion A partial SuggestResult object, without the 'content' parameter.
20734
20742
  */
20735
20743
  export function setDefaultSuggestion(
20736
20744
 
20737
20745
  suggestion: DefaultSuggestResult,
20746
+ ): Promise<void>;
20747
+
20748
+ /**
20749
+ * Sets the description and styling for the default suggestion. The default suggestion is the text that is displayed in the first suggestion row underneath the URL bar.
20750
+ *
20751
+ * @param suggestion A partial SuggestResult object, without the 'content' parameter.
20752
+ */
20753
+ export function setDefaultSuggestion(
20754
+
20755
+ suggestion: DefaultSuggestResult,
20756
+
20757
+ /**
20758
+ * @since Pending
20759
+ */
20760
+ callback?: () => void,
20738
20761
  ): void;
20739
20762
  }
20740
20763
 
@@ -21512,12 +21535,22 @@ declare namespace chrome {
21512
21535
 
21513
21536
  /**
21514
21537
  * Submits the job for print. If the extension is not listed in PrintingAPIExtensionsAllowlist policy, the user will be prompted to accept the print job.
21538
+ *
21539
+ * @chrome-returns-extra since Pending
21515
21540
  */
21516
21541
  export function submitJob(
21517
21542
 
21518
21543
  request: SubmitJobRequest,
21544
+ ): Promise<SubmitJobResponse>;
21519
21545
 
21520
- callback: (
21546
+ /**
21547
+ * Submits the job for print. If the extension is not listed in PrintingAPIExtensionsAllowlist policy, the user will be prompted to accept the print job.
21548
+ */
21549
+ export function submitJob(
21550
+
21551
+ request: SubmitJobRequest,
21552
+
21553
+ callback?: (
21521
21554
  response: SubmitJobResponse,
21522
21555
  ) => void,
21523
21556
  ): void;
@@ -21525,25 +21558,53 @@ declare namespace chrome {
21525
21558
  /**
21526
21559
  * Cancels previously submitted job.
21527
21560
  *
21561
+ * @chrome-returns-extra since Pending
21528
21562
  * @param jobId The id of the print job to cancel. This should be the same id received in a {@link SubmitJobResponse}.
21529
21563
  */
21530
21564
  export function cancelJob(
21531
21565
 
21532
21566
  jobId: string,
21567
+ ): Promise<void>;
21533
21568
 
21534
- callback: () => void,
21569
+ /**
21570
+ * Cancels previously submitted job.
21571
+ *
21572
+ * @param jobId The id of the print job to cancel. This should be the same id received in a {@link SubmitJobResponse}.
21573
+ */
21574
+ export function cancelJob(
21575
+
21576
+ jobId: string,
21577
+
21578
+ callback?: () => void,
21535
21579
  ): void;
21536
21580
 
21581
+ /**
21582
+ * Returns the list of available printers on the device. This includes manually added, enterprise and discovered printers.
21583
+ *
21584
+ * @chrome-returns-extra since Pending
21585
+ */
21586
+ export function getPrinters(): Promise<Printer[]>;
21587
+
21537
21588
  /**
21538
21589
  * Returns the list of available printers on the device. This includes manually added, enterprise and discovered printers.
21539
21590
  */
21540
21591
  export function getPrinters(
21541
21592
 
21542
- callback: (
21593
+ callback?: (
21543
21594
  printers: Printer[],
21544
21595
  ) => void,
21545
21596
  ): void;
21546
21597
 
21598
+ /**
21599
+ * Returns the status and capabilities of the printer in [CDD format](https://developers.google.com/cloud-print/docs/cdd#cdd). This call will fail with a runtime error if no printers with given id are installed.
21600
+ *
21601
+ * @chrome-returns-extra since Pending
21602
+ */
21603
+ export function getPrinterInfo(
21604
+
21605
+ printerId: string,
21606
+ ): Promise<GetPrinterInfoResponse>;
21607
+
21547
21608
  /**
21548
21609
  * Returns the status and capabilities of the printer in [CDD format](https://developers.google.com/cloud-print/docs/cdd#cdd). This call will fail with a runtime error if no printers with given id are installed.
21549
21610
  */
@@ -21551,7 +21612,7 @@ declare namespace chrome {
21551
21612
 
21552
21613
  printerId: string,
21553
21614
 
21554
- callback: (
21615
+ callback?: (
21555
21616
  response: GetPrinterInfoResponse,
21556
21617
  ) => void,
21557
21618
  ): void;
@@ -31491,6 +31552,21 @@ declare namespace chrome {
31491
31552
  requestDetailsJson: string;
31492
31553
  }
31493
31554
 
31555
+ export interface GetRequest {
31556
+
31557
+ /**
31558
+ * An opaque identifier for the request.
31559
+ */
31560
+ requestId: number;
31561
+
31562
+ /**
31563
+ * An JSON serialized representation of the PublicKeyCredentialRequestOptions passed to navigator.credentials.get().
31564
+ *
31565
+ * TODO(crbug.com/1231802): Reference deserialization method or document format.
31566
+ */
31567
+ requestDetailsJson: string;
31568
+ }
31569
+
31494
31570
  export interface DOMExceptionDetails {
31495
31571
 
31496
31572
  name: string;
@@ -31518,6 +31594,26 @@ declare namespace chrome {
31518
31594
  responseJson?: string;
31519
31595
  }
31520
31596
 
31597
+ export interface GetResponseDetails {
31598
+
31599
+ /**
31600
+ * The requestId of the `CreateRequest`.
31601
+ */
31602
+ requestId: number;
31603
+
31604
+ /**
31605
+ * The `DOMException`, if any, yielded by the remote request.
31606
+ */
31607
+ error?: DOMExceptionDetails;
31608
+
31609
+ /**
31610
+ * A JSON serialized representation of the `PublicKeyCredential` (https://w3c.github.io/webauthn/#publickeycredential), if any, yielded by the remote request.
31611
+ *
31612
+ * TODO(crbug.com/1231802): Reference serialization method or document format.
31613
+ */
31614
+ responseJson?: string;
31615
+ }
31616
+
31521
31617
  export interface IsUvpaaResponseDetails {
31522
31618
 
31523
31619
  requestId: number;
@@ -31526,12 +31622,19 @@ declare namespace chrome {
31526
31622
  }
31527
31623
 
31528
31624
  /**
31529
- * Fires when a WebAuthn navigator.credentials.create() call occurs. The extension must supply a response by calling completeCreateCredentialRequest() with the given requestId.
31625
+ * Fires when a WebAuthn navigator.credentials.create() call occurs. The extension must supply a response by calling completeCreateRequest() with the given requestId.
31530
31626
  */
31531
31627
  export const onCreateRequest: events.Event<(
31532
31628
  requestInfo: CreateRequest,
31533
31629
  ) => void>;
31534
31630
 
31631
+ /**
31632
+ * Fires when a WebAuthn navigator.credentials.get() call occurs. The extension must supply a response by calling completeGetRequest() with the given requestId.
31633
+ */
31634
+ export const onGetRequest: events.Event<(
31635
+ requestInfo: GetRequest,
31636
+ ) => void>;
31637
+
31535
31638
  /**
31536
31639
  * Fires when a PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable() call occurs. The extension must supply a response by calling completeIsUvpaaRequest() with the given requestId.
31537
31640
  */
@@ -31547,7 +31650,7 @@ declare namespace chrome {
31547
31650
  ) => void>;
31548
31651
 
31549
31652
  /**
31550
- * Reports the result of a navigator.credentials.create() call. The extension must call this for every onCreateRequest event it has received; but not if onRequestCanceled has been called for that particular requestId.
31653
+ * Reports the result of a navigator.credentials.create() call. The extension must call this for every onCreateRequest event it has received, unless the request was canceled (in which case, an onRequestCanceled event is fired).
31551
31654
  */
31552
31655
  export function completeCreateRequest(
31553
31656
 
@@ -31555,7 +31658,7 @@ declare namespace chrome {
31555
31658
  ): Promise<void>;
31556
31659
 
31557
31660
  /**
31558
- * Reports the result of a navigator.credentials.create() call. The extension must call this for every onCreateRequest event it has received; but not if onRequestCanceled has been called for that particular requestId.
31661
+ * Reports the result of a navigator.credentials.create() call. The extension must call this for every onCreateRequest event it has received, unless the request was canceled (in which case, an onRequestCanceled event is fired).
31559
31662
  */
31560
31663
  export function completeCreateRequest(
31561
31664
 
@@ -31565,7 +31668,25 @@ declare namespace chrome {
31565
31668
  ): void;
31566
31669
 
31567
31670
  /**
31568
- * Reports the result of a PublicKeyCredential.isUserVerifyingPlatformAuthenticator() call. The extension must call this for every onIsUvpaaRequest event it has received; but not if onRequestCanceled has been called for that particular requestId.
31671
+ * Reports the result of a navigator.credentials.get() call. The extension must call this for every onGetRequest event it has received, unless the request was canceled (in which case, an onRequestCanceled event is fired).
31672
+ */
31673
+ export function completeGetRequest(
31674
+
31675
+ details: GetResponseDetails,
31676
+ ): Promise<void>;
31677
+
31678
+ /**
31679
+ * Reports the result of a navigator.credentials.get() call. The extension must call this for every onGetRequest event it has received, unless the request was canceled (in which case, an onRequestCanceled event is fired).
31680
+ */
31681
+ export function completeGetRequest(
31682
+
31683
+ details: GetResponseDetails,
31684
+
31685
+ callback?: () => void,
31686
+ ): void;
31687
+
31688
+ /**
31689
+ * Reports the result of a PublicKeyCredential.isUserVerifyingPlatformAuthenticator() call. The extension must call this for every onIsUvpaaRequest event it has received.
31569
31690
  */
31570
31691
  export function completeIsUvpaaRequest(
31571
31692
 
@@ -31573,7 +31694,7 @@ declare namespace chrome {
31573
31694
  ): Promise<void>;
31574
31695
 
31575
31696
  /**
31576
- * Reports the result of a PublicKeyCredential.isUserVerifyingPlatformAuthenticator() call. The extension must call this for every onIsUvpaaRequest event it has received; but not if onRequestCanceled has been called for that particular requestId.
31697
+ * Reports the result of a PublicKeyCredential.isUserVerifyingPlatformAuthenticator() call. The extension must call this for every onIsUvpaaRequest event it has received.
31577
31698
  */
31578
31699
  export function completeIsUvpaaRequest(
31579
31700
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Fri Jan 28 2022 04:51:58 GMT+0000 (Coordinated Universal Time)
18
- // Built at b6e837b5eb177ef37cdb563a6ba7895960619541
17
+ // Generated on Fri Feb 18 2022 22:28:00 GMT+0000 (Coordinated Universal Time)
18
+ // Built at d8e5cbade765a5019c53f0fd73a6cb010edf80e3
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -854,6 +854,7 @@ declare namespace chrome {
854
854
  * @alpha
855
855
  * @chrome-manifest automation
856
856
  * @chrome-channel dev
857
+ * @chrome-disallow-service-workers
857
858
  */
858
859
  export namespace automation {
859
860
 
@@ -12670,8 +12671,9 @@ declare namespace chrome {
12670
12671
  * @chrome-enum "IN\_LOGIN\_SCREEN" The user is in the login screen.
12671
12672
  * @chrome-enum "IN\_SESSION" The user is in the session.
12672
12673
  * @chrome-enum "IN\_LOCK\_SCREEN" The user is in the lock screen.
12674
+ * @chrome-enum "IN\_RMA\_SCREEN" The device is in RMA mode, finalizing repairs.
12673
12675
  */
12674
- export type SessionState = "UNKNOWN" | "IN_OOBE_SCREEN" | "IN_LOGIN_SCREEN" | "IN_SESSION" | "IN_LOCK_SCREEN";
12676
+ export type SessionState = "UNKNOWN" | "IN_OOBE_SCREEN" | "IN_LOGIN_SCREEN" | "IN_SESSION" | "IN_LOCK_SCREEN" | "IN_RMA_SCREEN";
12675
12677
 
12676
12678
  /**
12677
12679
  * Dispatched when the session state changes. `sessionState` is the new session state.
@@ -13785,6 +13787,17 @@ declare namespace chrome {
13785
13787
  text: string,
13786
13788
  ) => void>;
13787
13789
 
13790
+ /**
13791
+ * Sets the description and styling for the default suggestion. The default suggestion is the text that is displayed in the first suggestion row underneath the URL bar.
13792
+ *
13793
+ * @chrome-returns-extra since Pending
13794
+ * @param suggestion A partial SuggestResult object, without the 'content' parameter.
13795
+ */
13796
+ export function setDefaultSuggestion(
13797
+
13798
+ suggestion: DefaultSuggestResult,
13799
+ ): Promise<void>;
13800
+
13788
13801
  /**
13789
13802
  * Sets the description and styling for the default suggestion. The default suggestion is the text that is displayed in the first suggestion row underneath the URL bar.
13790
13803
  *
@@ -13793,6 +13806,11 @@ declare namespace chrome {
13793
13806
  export function setDefaultSuggestion(
13794
13807
 
13795
13808
  suggestion: DefaultSuggestResult,
13809
+
13810
+ /**
13811
+ * @since Pending
13812
+ */
13813
+ callback?: () => void,
13796
13814
  ): void;
13797
13815
  }
13798
13816
 
@@ -14405,12 +14423,22 @@ declare namespace chrome {
14405
14423
 
14406
14424
  /**
14407
14425
  * Submits the job for print. If the extension is not listed in PrintingAPIExtensionsAllowlist policy, the user will be prompted to accept the print job.
14426
+ *
14427
+ * @chrome-returns-extra since Pending
14408
14428
  */
14409
14429
  export function submitJob(
14410
14430
 
14411
14431
  request: SubmitJobRequest,
14432
+ ): Promise<SubmitJobResponse>;
14412
14433
 
14413
- callback: (
14434
+ /**
14435
+ * Submits the job for print. If the extension is not listed in PrintingAPIExtensionsAllowlist policy, the user will be prompted to accept the print job.
14436
+ */
14437
+ export function submitJob(
14438
+
14439
+ request: SubmitJobRequest,
14440
+
14441
+ callback?: (
14414
14442
  response: SubmitJobResponse,
14415
14443
  ) => void,
14416
14444
  ): void;
@@ -14418,33 +14446,61 @@ declare namespace chrome {
14418
14446
  /**
14419
14447
  * Cancels previously submitted job.
14420
14448
  *
14449
+ * @chrome-returns-extra since Pending
14421
14450
  * @param jobId The id of the print job to cancel. This should be the same id received in a {@link SubmitJobResponse}.
14422
14451
  */
14423
14452
  export function cancelJob(
14424
14453
 
14425
14454
  jobId: string,
14455
+ ): Promise<void>;
14426
14456
 
14427
- callback: () => void,
14457
+ /**
14458
+ * Cancels previously submitted job.
14459
+ *
14460
+ * @param jobId The id of the print job to cancel. This should be the same id received in a {@link SubmitJobResponse}.
14461
+ */
14462
+ export function cancelJob(
14463
+
14464
+ jobId: string,
14465
+
14466
+ callback?: () => void,
14428
14467
  ): void;
14429
14468
 
14469
+ /**
14470
+ * Returns the list of available printers on the device. This includes manually added, enterprise and discovered printers.
14471
+ *
14472
+ * @chrome-returns-extra since Pending
14473
+ */
14474
+ export function getPrinters(): Promise<Printer[]>;
14475
+
14430
14476
  /**
14431
14477
  * Returns the list of available printers on the device. This includes manually added, enterprise and discovered printers.
14432
14478
  */
14433
14479
  export function getPrinters(
14434
14480
 
14435
- callback: (
14481
+ callback?: (
14436
14482
  printers: Printer[],
14437
14483
  ) => void,
14438
14484
  ): void;
14439
14485
 
14440
14486
  /**
14441
14487
  * Returns the status and capabilities of the printer in [CDD format](https://developers.google.com/cloud-print/docs/cdd#cdd). This call will fail with a runtime error if no printers with given id are installed.
14488
+ *
14489
+ * @chrome-returns-extra since Pending
14442
14490
  */
14443
14491
  export function getPrinterInfo(
14444
14492
 
14445
14493
  printerId: string,
14494
+ ): Promise<GetPrinterInfoResponse>;
14446
14495
 
14447
- callback: (
14496
+ /**
14497
+ * Returns the status and capabilities of the printer in [CDD format](https://developers.google.com/cloud-print/docs/cdd#cdd). This call will fail with a runtime error if no printers with given id are installed.
14498
+ */
14499
+ export function getPrinterInfo(
14500
+
14501
+ printerId: string,
14502
+
14503
+ callback?: (
14448
14504
  response: GetPrinterInfoResponse,
14449
14505
  ) => void,
14450
14506
  ): void;
@@ -20777,6 +20833,21 @@ declare namespace chrome {
20777
20833
  requestDetailsJson: string;
20778
20834
  }
20779
20835
 
20836
+ export interface GetRequest {
20837
+
20838
+ /**
20839
+ * An opaque identifier for the request.
20840
+ */
20841
+ requestId: number;
20842
+
20843
+ /**
20844
+ * An JSON serialized representation of the PublicKeyCredentialRequestOptions passed to navigator.credentials.get().
20845
+ *
20846
+ * TODO(crbug.com/1231802): Reference deserialization method or document format.
20847
+ */
20848
+ requestDetailsJson: string;
20849
+ }
20850
+
20780
20851
  export interface DOMExceptionDetails {
20781
20852
 
20782
20853
  name: string;
@@ -20804,6 +20875,26 @@ declare namespace chrome {
20804
20875
  responseJson?: string;
20805
20876
  }
20806
20877
 
20878
+ export interface GetResponseDetails {
20879
+
20880
+ /**
20881
+ * The requestId of the `CreateRequest`.
20882
+ */
20883
+ requestId: number;
20884
+
20885
+ /**
20886
+ * The `DOMException`, if any, yielded by the remote request.
20887
+ */
20888
+ error?: DOMExceptionDetails;
20889
+
20890
+ /**
20891
+ * A JSON serialized representation of the `PublicKeyCredential` (https://w3c.github.io/webauthn/#publickeycredential), if any, yielded by the remote request.
20892
+ *
20893
+ * TODO(crbug.com/1231802): Reference serialization method or document format.
20894
+ */
20895
+ responseJson?: string;
20896
+ }
20897
+
20807
20898
  export interface IsUvpaaResponseDetails {
20808
20899
 
20809
20900
  requestId: number;
@@ -20812,12 +20903,19 @@ declare namespace chrome {
20812
20903
  }
20813
20904
 
20814
20905
  /**
20815
- * Fires when a WebAuthn navigator.credentials.create() call occurs. The extension must supply a response by calling completeCreateCredentialRequest() with the given requestId.
20906
+ * Fires when a WebAuthn navigator.credentials.create() call occurs. The extension must supply a response by calling completeCreateRequest() with the given requestId.
20816
20907
  */
20817
20908
  export const onCreateRequest: events.Event<(
20818
20909
  requestInfo: CreateRequest,
20819
20910
  ) => void>;
20820
20911
 
20912
+ /**
20913
+ * Fires when a WebAuthn navigator.credentials.get() call occurs. The extension must supply a response by calling completeGetRequest() with the given requestId.
20914
+ */
20915
+ export const onGetRequest: events.Event<(
20916
+ requestInfo: GetRequest,
20917
+ ) => void>;
20918
+
20821
20919
  /**
20822
20920
  * Fires when a PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable() call occurs. The extension must supply a response by calling completeIsUvpaaRequest() with the given requestId.
20823
20921
  */
@@ -20833,7 +20931,7 @@ declare namespace chrome {
20833
20931
  ) => void>;
20834
20932
 
20835
20933
  /**
20836
- * Reports the result of a navigator.credentials.create() call. The extension must call this for every onCreateRequest event it has received; but not if onRequestCanceled has been called for that particular requestId.
20934
+ * Reports the result of a navigator.credentials.create() call. The extension must call this for every onCreateRequest event it has received, unless the request was canceled (in which case, an onRequestCanceled event is fired).
20837
20935
  */
20838
20936
  export function completeCreateRequest(
20839
20937
 
@@ -20841,7 +20939,7 @@ declare namespace chrome {
20841
20939
  ): Promise<void>;
20842
20940
 
20843
20941
  /**
20844
- * Reports the result of a navigator.credentials.create() call. The extension must call this for every onCreateRequest event it has received; but not if onRequestCanceled has been called for that particular requestId.
20942
+ * Reports the result of a navigator.credentials.create() call. The extension must call this for every onCreateRequest event it has received, unless the request was canceled (in which case, an onRequestCanceled event is fired).
20845
20943
  */
20846
20944
  export function completeCreateRequest(
20847
20945
 
@@ -20851,7 +20949,25 @@ declare namespace chrome {
20851
20949
  ): void;
20852
20950
 
20853
20951
  /**
20854
- * Reports the result of a PublicKeyCredential.isUserVerifyingPlatformAuthenticator() call. The extension must call this for every onIsUvpaaRequest event it has received; but not if onRequestCanceled has been called for that particular requestId.
20952
+ * Reports the result of a navigator.credentials.get() call. The extension must call this for every onGetRequest event it has received, unless the request was canceled (in which case, an onRequestCanceled event is fired).
20953
+ */
20954
+ export function completeGetRequest(
20955
+
20956
+ details: GetResponseDetails,
20957
+ ): Promise<void>;
20958
+
20959
+ /**
20960
+ * Reports the result of a navigator.credentials.get() call. The extension must call this for every onGetRequest event it has received, unless the request was canceled (in which case, an onRequestCanceled event is fired).
20961
+ */
20962
+ export function completeGetRequest(
20963
+
20964
+ details: GetResponseDetails,
20965
+
20966
+ callback?: () => void,
20967
+ ): void;
20968
+
20969
+ /**
20970
+ * Reports the result of a PublicKeyCredential.isUserVerifyingPlatformAuthenticator() call. The extension must call this for every onIsUvpaaRequest event it has received.
20855
20971
  */
20856
20972
  export function completeIsUvpaaRequest(
20857
20973
 
@@ -20859,7 +20975,7 @@ declare namespace chrome {
20859
20975
  ): Promise<void>;
20860
20976
 
20861
20977
  /**
20862
- * Reports the result of a PublicKeyCredential.isUserVerifyingPlatformAuthenticator() call. The extension must call this for every onIsUvpaaRequest event it has received; but not if onRequestCanceled has been called for that particular requestId.
20978
+ * Reports the result of a PublicKeyCredential.isUserVerifyingPlatformAuthenticator() call. The extension must call this for every onIsUvpaaRequest event it has received.
20863
20979
  */
20864
20980
  export function completeIsUvpaaRequest(
20865
20981
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "0d21ba8edc4494cb"
8
+ "build-hash": "0b4f465463d2fbfc"
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.85"
19
+ "version": "0.1.89"
20
20
  }