@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/api/endpoints/UserApi.d.ts +5 -1
- package/dist/api/endpoints/UserApi.d.ts.map +1 -1
- package/dist/{chunk-NLVQVT7W.mjs → chunk-LGRX3TE4.mjs} +14 -7
- package/dist/chunk-LGRX3TE4.mjs.map +1 -0
- package/dist/index.js +13 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/internal.js +13 -6
- package/dist/internal.js.map +1 -1
- package/dist/internal.mjs +1 -1
- package/dist/util/shared.d.ts +1 -1
- package/package.json +2 -2
- package/dist/chunk-NLVQVT7W.mjs.map +0 -1
package/dist/index.mjs
CHANGED
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.
|
|
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
|
|
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, "
|
|
2242
|
-
bodyParams:
|
|
2243
|
-
|
|
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
|
};
|