@faable/auth-sdk 2.7.71 → 2.7.72

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.
@@ -26635,10 +26635,12 @@ export interface operations {
26635
26635
  content: {
26636
26636
  "application/json": {
26637
26637
  client_id: string;
26638
- event: "callback_stalled" | "callback_no_verifier";
26638
+ event: "callback_stalled" | "callback_no_verifier" | "callback_recovered";
26639
26639
  /** @description Last step the SDK reached before reporting (`detected`, `verifier_loaded`, `token_request_sent`, `token_response`…). */
26640
26640
  stage?: string;
26641
26641
  elapsed_ms?: number;
26642
+ /** @description First characters of the authorization code, to join the report with the `Generated code=` and `/oauth/token` lines of the same sign-in. */
26643
+ code_prefix?: string;
26642
26644
  detail?: string;
26643
26645
  };
26644
26646
  };
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.7.71";
12
+ export const version = "2.7.72";
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 = "b7541d7";
18
+ export const commit = "6edf3a1";
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.7.71",
3
+ "version": "2.7.72",
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.58.0",
6
+ "version": "2.59.0",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -54783,6 +54783,12 @@
54783
54783
  "enum": [
54784
54784
  "callback_no_verifier"
54785
54785
  ]
54786
+ },
54787
+ {
54788
+ "type": "string",
54789
+ "enum": [
54790
+ "callback_recovered"
54791
+ ]
54786
54792
  }
54787
54793
  ]
54788
54794
  },
@@ -54796,6 +54802,11 @@
54796
54802
  "minimum": 0,
54797
54803
  "maximum": 3600000
54798
54804
  },
54805
+ "code_prefix": {
54806
+ "type": "string",
54807
+ "pattern": "^[0-9a-f-]{1,8}$",
54808
+ "description": "First characters of the authorization code, to join the report with the `Generated code=` and `/oauth/token` lines of the same sign-in."
54809
+ },
54799
54810
  "detail": {
54800
54811
  "type": "string",
54801
54812
  "maxLength": 500