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

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.mjs CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  createAuthenticateRequest,
3
3
  createBackendApiClient,
4
4
  verifyToken
5
- } from "./chunk-NLVQVT7W.mjs";
5
+ } from "./chunk-LGRX3TE4.mjs";
6
6
  import "./chunk-YBVFDYDR.mjs";
7
7
  import {
8
8
  withLegacyReturn
package/dist/internal.js CHANGED
@@ -56,7 +56,7 @@ module.exports = __toCommonJS(internal_exports);
56
56
  // src/constants.ts
57
57
  var API_URL = "https://api.clerk.com";
58
58
  var API_VERSION = "v1";
59
- var USER_AGENT = `${"@clerk/backend"}@${"3.0.0-snapshot.v20251216175437"}`;
59
+ var USER_AGENT = `${"@clerk/backend"}@${"3.0.0-snapshot.v20251217165918"}`;
60
60
  var MAX_CACHE_LAST_UPDATED_AT_SECONDS = 5 * 60;
61
61
  var SUPPORTED_BAPI_VERSION = "2025-11-10";
62
62
  var Attributes = {
@@ -2234,14 +2234,21 @@ var UserAPI = class extends AbstractAPI {
2234
2234
  path: joinPaths(basePath27, userId, "totp")
2235
2235
  });
2236
2236
  }
2237
- async __experimental_passwordCompromised(userId) {
2237
+ async __experimental_setPasswordCompromised(userId, params = {
2238
+ revokeAllSessions: false
2239
+ }) {
2238
2240
  this.requireId(userId);
2239
2241
  return this.request({
2240
2242
  method: "POST",
2241
- path: joinPaths(basePath27, userId, "password_compromised"),
2242
- bodyParams: {
2243
- revokeAllSessions: false
2244
- }
2243
+ path: joinPaths(basePath27, userId, "password", "set_compromised"),
2244
+ bodyParams: params
2245
+ });
2246
+ }
2247
+ async __experimental_unsetPasswordCompromised(userId) {
2248
+ this.requireId(userId);
2249
+ return this.request({
2250
+ method: "POST",
2251
+ path: joinPaths(basePath27, userId, "password", "unset_compromised")
2245
2252
  });
2246
2253
  }
2247
2254
  };