chrome-types 0.1.97 → 0.1.98

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 +24 -2
  2. package/index.d.ts +24 -2
  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 Sat Apr 02 2022 22:28:08 GMT+0000 (Coordinated Universal Time)
18
- // Built at a87cbfe9f700ee5b7ee516d8126e327ce61ece7e
17
+ // Generated on Tue Apr 05 2022 22:30:08 GMT+0000 (Coordinated Universal Time)
18
+ // Built at df646d7d2beb4af0bd2741b5369056056afd9670
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -31720,6 +31720,9 @@ declare namespace chrome {
31720
31720
  * @chrome-permission webAuthenticationProxy
31721
31721
  * @chrome-channel trunk
31722
31722
  * @chrome-min-manifest MV3
31723
+ * @chrome-platform win
31724
+ * @chrome-platform linux
31725
+ * @chrome-platform mac
31723
31726
  */
31724
31727
  export namespace webAuthenticationProxy {
31725
31728
 
@@ -31815,6 +31818,17 @@ declare namespace chrome {
31815
31818
  isUvpaa: boolean;
31816
31819
  }
31817
31820
 
31821
+ /**
31822
+ * A native application associated with this extension can cause this event to be fired by writing to a file with a name equal to the extension's ID in a directory named `WebAuthenticationProxyRemoteSessionStateChange` inside the \[default user data directory\](https://chromium.googlesource.com/chromium/src/+/master/docs/user\_data\_dir.md#default-location).
31823
+ *
31824
+ * The contents of the file should be empty. I.e., it is not necessary to change the contents of the file in order to trigger this event.
31825
+ *
31826
+ * The native host application may use this event mechanism to signal a possible remote session state change (i.e. from detached to attached, or vice versa) while the extension service worker is possibly suspended. In the handler for this event, the extension can call the \`attach()\` or \`detach()\` API methods accordingly.
31827
+ *
31828
+ * The event listener must be registered synchronously at load time.
31829
+ */
31830
+ export const onRemoteSessionStateChange: events.Event<() => void>;
31831
+
31818
31832
  /**
31819
31833
  * Fires when a WebAuthn navigator.credentials.create() call occurs. The extension must supply a response by calling completeCreateRequest() with the given requestId.
31820
31834
  */
@@ -31905,6 +31919,8 @@ declare namespace chrome {
31905
31919
  * This method fails with an error if a different extension is already attached or if the extension has not subscribed to all of the events defined in this API.
31906
31920
  *
31907
31921
  * The attached extension must call \`detach()\` once the remote desktop session has ended in order to resume regular WebAuthn request processing. Extensions automatically become detached if they are unloaded.
31922
+ *
31923
+ * Refer to the `onRemoteSessionStateChange` event for signaling a change of remote session attachment from a native application to to the (possibly suspended) extension.
31908
31924
  */
31909
31925
  export function attach(): Promise<string | undefined>;
31910
31926
 
@@ -31916,6 +31932,8 @@ declare namespace chrome {
31916
31932
  * This method fails with an error if a different extension is already attached or if the extension has not subscribed to all of the events defined in this API.
31917
31933
  *
31918
31934
  * The attached extension must call \`detach()\` once the remote desktop session has ended in order to resume regular WebAuthn request processing. Extensions automatically become detached if they are unloaded.
31935
+ *
31936
+ * Refer to the `onRemoteSessionStateChange` event for signaling a change of remote session attachment from a native application to to the (possibly suspended) extension.
31919
31937
  */
31920
31938
  export function attach(
31921
31939
 
@@ -31928,6 +31946,8 @@ declare namespace chrome {
31928
31946
  * Removes this extension from being the active Web Authentication API request proxy.
31929
31947
  *
31930
31948
  * This method is typically called when the extension detects that a remote desktop session was terminated. Once this method returns without error, regular processing of WebAuthn requests continues.
31949
+ *
31950
+ * Refer to the `onRemoteSessionStateChange` event for signaling a change of remote session attachment from a native application to to the (possibly suspended) extension.
31931
31951
  */
31932
31952
  export function detach(): Promise<string | undefined>;
31933
31953
 
@@ -31935,6 +31955,8 @@ declare namespace chrome {
31935
31955
  * Removes this extension from being the active Web Authentication API request proxy.
31936
31956
  *
31937
31957
  * This method is typically called when the extension detects that a remote desktop session was terminated. Once this method returns without error, regular processing of WebAuthn requests continues.
31958
+ *
31959
+ * Refer to the `onRemoteSessionStateChange` event for signaling a change of remote session attachment from a native application to to the (possibly suspended) extension.
31938
31960
  */
31939
31961
  export function detach(
31940
31962
 
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Sat Apr 02 2022 22:28:04 GMT+0000 (Coordinated Universal Time)
18
- // Built at a87cbfe9f700ee5b7ee516d8126e327ce61ece7e
17
+ // Generated on Tue Apr 05 2022 22:30:01 GMT+0000 (Coordinated Universal Time)
18
+ // Built at df646d7d2beb4af0bd2741b5369056056afd9670
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -24966,6 +24966,9 @@ declare namespace chrome {
24966
24966
  * @chrome-permission webAuthenticationProxy
24967
24967
  * @chrome-channel trunk
24968
24968
  * @chrome-min-manifest MV3
24969
+ * @chrome-platform win
24970
+ * @chrome-platform linux
24971
+ * @chrome-platform mac
24969
24972
  */
24970
24973
  export namespace webAuthenticationProxy {
24971
24974
 
@@ -25061,6 +25064,17 @@ declare namespace chrome {
25061
25064
  isUvpaa: boolean;
25062
25065
  }
25063
25066
 
25067
+ /**
25068
+ * A native application associated with this extension can cause this event to be fired by writing to a file with a name equal to the extension's ID in a directory named `WebAuthenticationProxyRemoteSessionStateChange` inside the \[default user data directory\](https://chromium.googlesource.com/chromium/src/+/master/docs/user\_data\_dir.md#default-location).
25069
+ *
25070
+ * The contents of the file should be empty. I.e., it is not necessary to change the contents of the file in order to trigger this event.
25071
+ *
25072
+ * The native host application may use this event mechanism to signal a possible remote session state change (i.e. from detached to attached, or vice versa) while the extension service worker is possibly suspended. In the handler for this event, the extension can call the \`attach()\` or \`detach()\` API methods accordingly.
25073
+ *
25074
+ * The event listener must be registered synchronously at load time.
25075
+ */
25076
+ export const onRemoteSessionStateChange: events.Event<() => void>;
25077
+
25064
25078
  /**
25065
25079
  * Fires when a WebAuthn navigator.credentials.create() call occurs. The extension must supply a response by calling completeCreateRequest() with the given requestId.
25066
25080
  */
@@ -25151,6 +25165,8 @@ declare namespace chrome {
25151
25165
  * This method fails with an error if a different extension is already attached or if the extension has not subscribed to all of the events defined in this API.
25152
25166
  *
25153
25167
  * The attached extension must call \`detach()\` once the remote desktop session has ended in order to resume regular WebAuthn request processing. Extensions automatically become detached if they are unloaded.
25168
+ *
25169
+ * Refer to the `onRemoteSessionStateChange` event for signaling a change of remote session attachment from a native application to to the (possibly suspended) extension.
25154
25170
  */
25155
25171
  export function attach(): Promise<string | undefined>;
25156
25172
 
@@ -25162,6 +25178,8 @@ declare namespace chrome {
25162
25178
  * This method fails with an error if a different extension is already attached or if the extension has not subscribed to all of the events defined in this API.
25163
25179
  *
25164
25180
  * The attached extension must call \`detach()\` once the remote desktop session has ended in order to resume regular WebAuthn request processing. Extensions automatically become detached if they are unloaded.
25181
+ *
25182
+ * Refer to the `onRemoteSessionStateChange` event for signaling a change of remote session attachment from a native application to to the (possibly suspended) extension.
25165
25183
  */
25166
25184
  export function attach(
25167
25185
 
@@ -25174,6 +25192,8 @@ declare namespace chrome {
25174
25192
  * Removes this extension from being the active Web Authentication API request proxy.
25175
25193
  *
25176
25194
  * This method is typically called when the extension detects that a remote desktop session was terminated. Once this method returns without error, regular processing of WebAuthn requests continues.
25195
+ *
25196
+ * Refer to the `onRemoteSessionStateChange` event for signaling a change of remote session attachment from a native application to to the (possibly suspended) extension.
25177
25197
  */
25178
25198
  export function detach(): Promise<string | undefined>;
25179
25199
 
@@ -25181,6 +25201,8 @@ declare namespace chrome {
25181
25201
  * Removes this extension from being the active Web Authentication API request proxy.
25182
25202
  *
25183
25203
  * This method is typically called when the extension detects that a remote desktop session was terminated. Once this method returns without error, regular processing of WebAuthn requests continues.
25204
+ *
25205
+ * Refer to the `onRemoteSessionStateChange` event for signaling a change of remote session attachment from a native application to to the (possibly suspended) extension.
25184
25206
  */
25185
25207
  export function detach(
25186
25208
 
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "34e4b1cb350e859b"
8
+ "build-hash": "ae23024158d1056f"
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.97"
19
+ "version": "0.1.98"
20
20
  }