@movmo_app/types 1.27.0 → 1.28.0

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 (2) hide show
  1. package/dist/passkeys.d.ts +15 -0
  2. package/package.json +1 -1
@@ -16,3 +16,18 @@ export type PasskeyRegistrationStart = {
16
16
  flow_id: string;
17
17
  options: WebAuthnOptionsJSON;
18
18
  };
19
+ /**
20
+ * `GET /v1/users/me/passkeys` (MOVMO-738). The four optional keys are present
21
+ * only when the user has at least one passkey, and are absent on a monolith
22
+ * that predates the WebAuthn Signal API support. `user_name` and
23
+ * `user_display_name` are exactly what the server registered with the
24
+ * authenticator; clients pass them through and never recompute them.
25
+ */
26
+ export interface PasskeyListResponse {
27
+ passkeys: PasskeySummary[];
28
+ /** base64url, no padding: the WebAuthn user handle. */
29
+ user_handle?: string;
30
+ rp_id?: string;
31
+ user_name?: string;
32
+ user_display_name?: string;
33
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movmo_app/types",
3
- "version": "1.27.0",
3
+ "version": "1.28.0",
4
4
  "description": "A collection of Movmo's types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",