@clerk/backend 3.0.0-snapshot.v20251216175437 → 3.0.0-snapshot.v20251217162523

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.js CHANGED
@@ -1371,14 +1371,21 @@ var UserAPI = class extends AbstractAPI {
1371
1371
  path: joinPaths(basePath27, userId, "totp")
1372
1372
  });
1373
1373
  }
1374
- async __experimental_passwordCompromised(userId) {
1374
+ async __experimental_setPasswordCompromised(userId, params = {
1375
+ revokeAllSessions: false
1376
+ }) {
1375
1377
  this.requireId(userId);
1376
1378
  return this.request({
1377
1379
  method: "POST",
1378
- path: joinPaths(basePath27, userId, "password_compromised"),
1379
- bodyParams: {
1380
- revokeAllSessions: false
1381
- }
1380
+ path: joinPaths(basePath27, userId, "password", "set_compromised"),
1381
+ bodyParams: params
1382
+ });
1383
+ }
1384
+ async __experimental_unsetPasswordCompromised(userId) {
1385
+ this.requireId(userId);
1386
+ return this.request({
1387
+ method: "POST",
1388
+ path: joinPaths(basePath27, userId, "password", "unset_compromised")
1382
1389
  });
1383
1390
  }
1384
1391
  };
@@ -1691,7 +1698,7 @@ var snakecase_keys_default = snakecaseKeys;
1691
1698
  // src/constants.ts
1692
1699
  var API_URL = "https://api.clerk.com";
1693
1700
  var API_VERSION = "v1";
1694
- var USER_AGENT = `${"@clerk/backend"}@${"3.0.0-snapshot.v20251216175437"}`;
1701
+ var USER_AGENT = `${"@clerk/backend"}@${"3.0.0-snapshot.v20251217162523"}`;
1695
1702
  var MAX_CACHE_LAST_UPDATED_AT_SECONDS = 5 * 60;
1696
1703
  var SUPPORTED_BAPI_VERSION = "2025-11-10";
1697
1704
  var Attributes = {