@faable/auth-sdk 2.8.19 → 2.8.21

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.
@@ -5928,6 +5928,17 @@ export interface components {
5928
5928
  label: string;
5929
5929
  url: string;
5930
5930
  };
5931
+ /** @description How a passwordless type behaves. Present only on types of the `passwordless` category. */
5932
+ passwordless?: {
5933
+ /** @description Digits in an emailed code. */
5934
+ code_length: number;
5935
+ /** @description Seconds an emailed code stays valid. */
5936
+ code_ttl_seconds: number;
5937
+ /** @description Seconds a magic link stays valid. */
5938
+ link_ttl_seconds: number;
5939
+ /** @description One email per address in this window: a start inside it sends nothing new. */
5940
+ resend_interval_seconds: number;
5941
+ };
5931
5942
  /** @description The credentials a tenant fills in for its own app, when they are more than a client id and a secret (Apple). Absent means client id + secret. */
5932
5943
  credential_fields?: {
5933
5944
  /** @description Connection field this input writes, as a dotted path (`client_id`, `provider_options.team_id`). */
package/dist/version.js CHANGED
@@ -9,13 +9,13 @@
9
9
  // login pages could not import the SDK at all. Same pattern as auth-js.
10
10
  //
11
11
  // The sentinels MUST stay byte-identical to the `from` values in `.releaserc`.
12
- export const version = "2.8.19";
12
+ export const version = "2.8.21";
13
13
  // Short git SHA of the released commit. The version dates a build; this names
14
14
  // the exact tree, so a canonical log line or an audit entry leads straight to
15
15
  // `git show <sha>`. Deliberately NOT hex: an unreleased build (dev, a local
16
16
  // link) cannot be mistaken for a real commit — auth only records values that
17
17
  // look like a SHA, and this one never will.
18
- export const commit = "b4e2a58";
18
+ export const commit = "7e170f3";
19
19
  // What this SDK writes in `x-faable-client`. Exported for a consumer that
20
20
  // builds a strategy on its own (outside `FaableAuthApi`) and still wants the
21
21
  // token request attributed — a bare `authClientCredentials` stamps only what
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faable/auth-sdk",
3
- "version": "2.8.19",
3
+ "version": "2.8.21",
4
4
  "author": "Marc Pomar <marc@faable.com>",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/spec/openapi.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "@faablecloud/auth",
5
5
  "description": "Auth Platform made by Faable. Manage Users and Roles",
6
- "version": "2.86.3",
6
+ "version": "2.87.1",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -1424,6 +1424,35 @@
1424
1424
  },
1425
1425
  "description": "Provider documentation for tenants registering their own OAuth app."
1426
1426
  },
1427
+ "passwordless": {
1428
+ "type": "object",
1429
+ "required": [
1430
+ "code_length",
1431
+ "code_ttl_seconds",
1432
+ "link_ttl_seconds",
1433
+ "resend_interval_seconds"
1434
+ ],
1435
+ "properties": {
1436
+ "code_length": {
1437
+ "type": "integer",
1438
+ "description": "Digits in an emailed code."
1439
+ },
1440
+ "code_ttl_seconds": {
1441
+ "type": "integer",
1442
+ "description": "Seconds an emailed code stays valid."
1443
+ },
1444
+ "link_ttl_seconds": {
1445
+ "type": "integer",
1446
+ "description": "Seconds a magic link stays valid."
1447
+ },
1448
+ "resend_interval_seconds": {
1449
+ "type": "integer",
1450
+ "description": "One email per address in this window: a start inside it sends nothing new."
1451
+ }
1452
+ },
1453
+ "additionalProperties": false,
1454
+ "description": "How a passwordless type behaves. Present only on types of the `passwordless` category."
1455
+ },
1427
1456
  "credential_fields": {
1428
1457
  "type": "array",
1429
1458
  "items": {