@recursiv/sdk 0.7.116 → 0.7.121

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +12 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -1486,10 +1486,22 @@ export interface ProfileMe extends Profile {
1486
1486
  * from `settings.requestConfirmationCode`. Absent on servers older than this field.
1487
1487
  */
1488
1488
  has_password?: boolean;
1489
+ /**
1490
+ * Two-factor on minds.com did not carry over to a migrated account. `suggested`: ask this member to turn two-factor
1491
+ * on again (an account the legacy import made, with it off here). `needs_password`: the account has no password
1492
+ * (the inverse of `has_password`), so the member sets one before turning two-factor on. Only on the caller's own
1493
+ * profile; absent on servers older than this field.
1494
+ */
1495
+ two_factor_reenrol?: TwoFactorReenrol;
1489
1496
  followers_count: number;
1490
1497
  following_count: number;
1491
1498
  updated_at: string;
1492
1499
  }
1500
+ /** Whether to ask a migrated member to turn two-factor on again (`ProfileMe.two_factor_reenrol`). */
1501
+ export interface TwoFactorReenrol {
1502
+ suggested: boolean;
1503
+ needs_password: boolean;
1504
+ }
1493
1505
  export interface UpdateProfileInput {
1494
1506
  name?: string;
1495
1507
  username?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recursiv/sdk",
3
- "version": "0.7.116",
3
+ "version": "0.7.121",
4
4
  "description": "TypeScript SDK for the Recursiv API",
5
5
  "license": "FSL-1.1-ALv2",
6
6
  "type": "module",