@faable/auth-sdk 2.7.57 → 2.7.58

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.
@@ -4743,6 +4743,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4743
4743
  status: "active" | "revoked";
4744
4744
  ip?: string | undefined;
4745
4745
  user_agent?: string | undefined;
4746
+ device_name?: string | undefined;
4746
4747
  client?: unknown;
4747
4748
  connection?: unknown;
4748
4749
  issuer?: string | undefined;
@@ -4782,6 +4783,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4782
4783
  status: "active" | "revoked";
4783
4784
  ip?: string | undefined;
4784
4785
  user_agent?: string | undefined;
4786
+ device_name?: string | undefined;
4785
4787
  client?: unknown;
4786
4788
  connection?: unknown;
4787
4789
  issuer?: string | undefined;
@@ -4803,6 +4805,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4803
4805
  status: "active" | "revoked";
4804
4806
  ip?: string | undefined;
4805
4807
  user_agent?: string | undefined;
4808
+ device_name?: string | undefined;
4806
4809
  client?: unknown;
4807
4810
  connection?: unknown;
4808
4811
  issuer?: string | undefined;
@@ -4827,6 +4830,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4827
4830
  status: "active" | "revoked";
4828
4831
  ip?: string | undefined;
4829
4832
  user_agent?: string | undefined;
4833
+ device_name?: string | undefined;
4830
4834
  client?: unknown;
4831
4835
  connection?: unknown;
4832
4836
  issuer?: string | undefined;
@@ -4867,6 +4871,7 @@ export declare abstract class GeneratedFaableAuthApi extends FaableApi {
4867
4871
  status: "active" | "revoked";
4868
4872
  ip?: string | undefined;
4869
4873
  user_agent?: string | undefined;
4874
+ device_name?: string | undefined;
4870
4875
  client?: unknown;
4871
4876
  connection?: unknown;
4872
4877
  issuer?: string | undefined;
@@ -6225,6 +6225,8 @@ export interface components {
6225
6225
  ip?: string;
6226
6226
  /** @description Raw `User-Agent` header at the last authentication. */
6227
6227
  user_agent?: string;
6228
+ /** @description The name a device gave itself when it asked for a code (device authorization grant), e.g. the hostname `faable login` runs on. Absent for browser sessions: a browser does not expose one. */
6229
+ device_name?: string;
6228
6230
  client?: components["schemas"]["Client"] | string | unknown;
6229
6231
  connection?: components["schemas"]["Connection"] | string | unknown;
6230
6232
  /** @description Issuer URL the session was minted on. */
@@ -24420,6 +24422,8 @@ export interface operations {
24420
24422
  ip?: string;
24421
24423
  /** @description Raw `User-Agent` header at the last authentication. */
24422
24424
  user_agent?: string;
24425
+ /** @description The name a device gave itself when it asked for a code (device authorization grant), e.g. the hostname `faable login` runs on. Absent for browser sessions: a browser does not expose one. */
24426
+ device_name?: string;
24423
24427
  client?: components["schemas"]["Client"] | string | unknown;
24424
24428
  connection?: components["schemas"]["Connection"] | string | unknown;
24425
24429
  /** @description Issuer URL the session was minted on. */
@@ -24573,6 +24577,8 @@ export interface operations {
24573
24577
  ip?: string;
24574
24578
  /** @description Raw `User-Agent` header at the last authentication. */
24575
24579
  user_agent?: string;
24580
+ /** @description The name a device gave itself when it asked for a code (device authorization grant), e.g. the hostname `faable login` runs on. Absent for browser sessions: a browser does not expose one. */
24581
+ device_name?: string;
24576
24582
  client?: components["schemas"]["Client"] | string | unknown;
24577
24583
  connection?: components["schemas"]["Connection"] | string | unknown;
24578
24584
  /** @description Issuer URL the session was minted on. */
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.57";
12
+ export const version = "2.7.58";
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 = "faf0086";
18
+ export const commit = "93432c1";
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.57",
3
+ "version": "2.7.58",
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.49.3",
6
+ "version": "2.50.0",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -6103,6 +6103,10 @@
6103
6103
  "type": "string",
6104
6104
  "description": "Raw `User-Agent` header at the last authentication."
6105
6105
  },
6106
+ "device_name": {
6107
+ "type": "string",
6108
+ "description": "The name a device gave itself when it asked for a code (device authorization grant), e.g. the hostname `faable login` runs on. Absent for browser sessions: a browser does not expose one."
6109
+ },
6106
6110
  "client": {
6107
6111
  "anyOf": [
6108
6112
  {
@@ -50979,6 +50983,10 @@
50979
50983
  "type": "string",
50980
50984
  "description": "Raw `User-Agent` header at the last authentication."
50981
50985
  },
50986
+ "device_name": {
50987
+ "type": "string",
50988
+ "description": "The name a device gave itself when it asked for a code (device authorization grant), e.g. the hostname `faable login` runs on. Absent for browser sessions: a browser does not expose one."
50989
+ },
50982
50990
  "client": {
50983
50991
  "anyOf": [
50984
50992
  {
@@ -51310,6 +51318,10 @@
51310
51318
  "type": "string",
51311
51319
  "description": "Raw `User-Agent` header at the last authentication."
51312
51320
  },
51321
+ "device_name": {
51322
+ "type": "string",
51323
+ "description": "The name a device gave itself when it asked for a code (device authorization grant), e.g. the hostname `faable login` runs on. Absent for browser sessions: a browser does not expose one."
51324
+ },
51313
51325
  "client": {
51314
51326
  "anyOf": [
51315
51327
  {