@faable/auth-sdk 2.9.43 → 2.9.45

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.
@@ -26391,6 +26391,11 @@ export interface operations {
26391
26391
  inviter_user_id?: string;
26392
26392
  /** @description Your own page for accepting the invite. The emailed link becomes `<accept_url>#<token>`; the page reads the token from the fragment, signs the user in, and calls `POST /team/invite/accept` with the token and the signed-in user's id. Must be at an origin of one of this tenant's client callbacks or `callback_hostnames`. Without it the link is auth's own `/invite-verify`. */
26393
26393
  accept_url?: string;
26394
+ /**
26395
+ * @description The invitee's language (`es`, `en`…): the invitation's emails go out in it when the tenant enables it, and the user created on accepting keeps it as their `locale`. Without it, the tenant's first enabled locale.
26396
+ * @example es
26397
+ */
26398
+ locale?: string;
26394
26399
  };
26395
26400
  };
26396
26401
  };
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.9.43";
12
+ export const version = "2.9.45";
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 = "a5b61ec";
18
+ export const commit = "b11be14";
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.9.43",
3
+ "version": "2.9.45",
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.117.0",
6
+ "version": "2.119.0",
7
7
  "license": {
8
8
  "name": "private",
9
9
  "url": "https://faable.com/docs/platform/privacy-policy"
@@ -50859,6 +50859,12 @@
50859
50859
  "accept_url": {
50860
50860
  "type": "string",
50861
50861
  "description": "Your own page for accepting the invite. The emailed link becomes `<accept_url>#<token>`; the page reads the token from the fragment, signs the user in, and calls `POST /team/invite/accept` with the token and the signed-in user's id. Must be at an origin of one of this tenant's client callbacks or `callback_hostnames`. Without it the link is auth's own `/invite-verify`."
50862
+ },
50863
+ "locale": {
50864
+ "type": "string",
50865
+ "pattern": "^[a-z]{2}(-[A-Z]{2})?$",
50866
+ "description": "The invitee's language (`es`, `en`…): the invitation's emails go out in it when the tenant enables it, and the user created on accepting keeps it as their `locale`. Without it, the tenant's first enabled locale.",
50867
+ "example": "es"
50862
50868
  }
50863
50869
  },
50864
50870
  "additionalProperties": false,