@faable/auth-sdk 2.7.38 → 2.7.39

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.
@@ -4781,18 +4781,12 @@ export interface components {
4781
4781
  login_flow?: string | null;
4782
4782
  /** @description Audience a client_credentials token request gets when it sends none. An explicit `audience` wins. `null` removes it. */
4783
4783
  default_audience?: string | null;
4784
- /**
4785
- * @description Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta.
4786
- * @default {}
4787
- */
4788
- metadata: {
4784
+ /** @description Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta. Omit it to leave the metadata untouched. */
4785
+ metadata?: {
4789
4786
  [key: string]: unknown;
4790
4787
  };
4791
4788
  };
4792
- /**
4793
- * @description Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta.
4794
- * @default {}
4795
- */
4789
+ /** @description Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta. Omit it to leave the metadata untouched. */
4796
4790
  ClientUpdateMetadata: {
4797
4791
  [key: string]: unknown;
4798
4792
  };
@@ -10297,10 +10291,7 @@ export interface operations {
10297
10291
  login_flow?: string | null;
10298
10292
  /** @description Audience a client_credentials token request gets when it sends none. An explicit `audience` wins. `null` removes it. */
10299
10293
  default_audience?: string | null;
10300
- /**
10301
- * @description Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta.
10302
- * @default {}
10303
- */
10294
+ /** @description Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta. Omit it to leave the metadata untouched. */
10304
10295
  metadata?: {
10305
10296
  [key: string]: unknown;
10306
10297
  };
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.38";
12
+ export const version = "2.7.39";
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 = "0b124d8";
18
+ export const commit = "7956a31";
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.38",
3
+ "version": "2.7.39",
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.41.0",
6
+ "version": "2.41.1",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -2418,8 +2418,7 @@
2418
2418
  "type": "object",
2419
2419
  "properties": {},
2420
2420
  "additionalProperties": true,
2421
- "description": "Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta.",
2422
- "default": {}
2421
+ "description": "Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta. Omit it to leave the metadata untouched."
2423
2422
  }
2424
2423
  },
2425
2424
  "description": "Partial update for a Client. Only the supplied fields are modified. `client_id` and `client_secret` are not editable through this endpoint to prevent accidental rotation; use a dedicated endpoint when secret rotation is added.",
@@ -2429,8 +2428,7 @@
2429
2428
  "type": "object",
2430
2429
  "properties": {},
2431
2430
  "additionalProperties": true,
2432
- "description": "Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta.",
2433
- "default": {}
2431
+ "description": "Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta. Omit it to leave the metadata untouched."
2434
2432
  },
2435
2433
  "User": {
2436
2434
  "type": "object",
@@ -17772,8 +17770,7 @@
17772
17770
  "type": "object",
17773
17771
  "properties": {},
17774
17772
  "additionalProperties": true,
17775
- "description": "Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta.",
17776
- "default": {}
17773
+ "description": "Free-form client metadata. Replaces the whole object — send the full merged value, not a partial delta. Omit it to leave the metadata untouched."
17777
17774
  }
17778
17775
  },
17779
17776
  "description": "Partial update for a Client. Only the supplied fields are modified. `client_id` and `client_secret` are not editable through this endpoint to prevent accidental rotation; use a dedicated endpoint when secret rotation is added.",