@vxil/sdk 0.26.0 → 0.26.1
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.
- package/dist/index.d.ts +8 -1
- package/dist/index.js +7 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4349,7 +4349,13 @@ export declare class Vxil<S extends VxilSchemaShape = VxilSchemaShape> {
|
|
|
4349
4349
|
* a taken address surfaces at `verify` as 409 `email_in_use`. A guest
|
|
4350
4350
|
* session is 409 `anonymous_user` — guests use `anonymous.link`. Shares
|
|
4351
4351
|
* the OTP knobs (cooldown → 429 `otp_rate_limited`, attempts, TTL,
|
|
4352
|
-
* `test_code` for `otp.testRecipients`) but does NOT need `otp.enabled`.
|
|
4352
|
+
* `test_code` for `otp.testRecipients`) but does NOT need `otp.enabled`.
|
|
4353
|
+
* A completed change mails a security notice to the OLD address (new
|
|
4354
|
+
* address masked; its language is the user's stored `attributes.locale`,
|
|
4355
|
+
* else `verify`'s optional `locale`; no mute preference suppresses it). With
|
|
4356
|
+
* the auth config's `security.emailChangeStepUp: true`, `request` answers
|
|
4357
|
+
* 403 `step_up_required` unless this session passed `auth.stepUp` in the
|
|
4358
|
+
* last 300 s — retry with the rotated token. */
|
|
4353
4359
|
email: {
|
|
4354
4360
|
change: {
|
|
4355
4361
|
request: (input: {
|
|
@@ -4364,6 +4370,7 @@ export declare class Vxil<S extends VxilSchemaShape = VxilSchemaShape> {
|
|
|
4364
4370
|
token: string;
|
|
4365
4371
|
new_email: string;
|
|
4366
4372
|
code: string;
|
|
4373
|
+
locale?: string;
|
|
4367
4374
|
}) => Promise<{
|
|
4368
4375
|
user_id: string;
|
|
4369
4376
|
email: string;
|
package/dist/index.js
CHANGED
|
@@ -1217,7 +1217,13 @@ export class Vxil {
|
|
|
1217
1217
|
* a taken address surfaces at `verify` as 409 `email_in_use`. A guest
|
|
1218
1218
|
* session is 409 `anonymous_user` — guests use `anonymous.link`. Shares
|
|
1219
1219
|
* the OTP knobs (cooldown → 429 `otp_rate_limited`, attempts, TTL,
|
|
1220
|
-
* `test_code` for `otp.testRecipients`) but does NOT need `otp.enabled`.
|
|
1220
|
+
* `test_code` for `otp.testRecipients`) but does NOT need `otp.enabled`.
|
|
1221
|
+
* A completed change mails a security notice to the OLD address (new
|
|
1222
|
+
* address masked; its language is the user's stored `attributes.locale`,
|
|
1223
|
+
* else `verify`'s optional `locale`; no mute preference suppresses it). With
|
|
1224
|
+
* the auth config's `security.emailChangeStepUp: true`, `request` answers
|
|
1225
|
+
* 403 `step_up_required` unless this session passed `auth.stepUp` in the
|
|
1226
|
+
* last 300 s — retry with the rotated token. */
|
|
1221
1227
|
email: {
|
|
1222
1228
|
change: {
|
|
1223
1229
|
request: async (input) => (await this.call('POST', '/v1/auth/email/change/request', input)).data,
|
package/package.json
CHANGED