@clerk/backend 3.4.7-snapshot.v20260508180306 → 3.4.7

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-W3G3SAMQ.mjs";
5
+ } from "./chunk-ZFGNNAZZ.mjs";
6
6
  import "./chunk-YBVFDYDR.mjs";
7
7
  import {
8
8
  withLegacyReturn
package/dist/internal.js CHANGED
@@ -320,7 +320,7 @@ module.exports = __toCommonJS(internal_exports);
320
320
  // src/constants.ts
321
321
  var API_URL = "https://api.clerk.com";
322
322
  var API_VERSION = "v1";
323
- var USER_AGENT = `${"@clerk/backend"}@${"3.4.7-snapshot.v20260508180306"}`;
323
+ var USER_AGENT = `${"@clerk/backend"}@${"3.4.7"}`;
324
324
  var MAX_CACHE_LAST_UPDATED_AT_SECONDS = 5 * 60;
325
325
  var SUPPORTED_BAPI_VERSION = "2025-11-10";
326
326
  var Attributes = {
@@ -2185,13 +2185,20 @@ var M2MTokenApi = class extends AbstractAPI {
2185
2185
  return this.request(requestOptions);
2186
2186
  }
2187
2187
  async createToken(params) {
2188
- const { claims = null, machineSecretKey, secondsUntilExpiration = null, tokenFormat = "opaque" } = params || {};
2188
+ const {
2189
+ claims = null,
2190
+ machineSecretKey,
2191
+ minRemainingTtlSeconds,
2192
+ secondsUntilExpiration = null,
2193
+ tokenFormat = "opaque"
2194
+ } = params || {};
2189
2195
  const requestOptions = __privateMethod(this, _M2MTokenApi_instances, createRequestOptions_fn).call(this, {
2190
2196
  method: "POST",
2191
2197
  path: basePath16,
2192
2198
  bodyParams: {
2193
2199
  secondsUntilExpiration,
2194
2200
  claims,
2201
+ minRemainingTtlSeconds,
2195
2202
  tokenFormat
2196
2203
  }
2197
2204
  }, machineSecretKey);