@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.js CHANGED
@@ -1434,7 +1434,7 @@ var M2MToken = class _M2MToken {
1434
1434
  // src/constants.ts
1435
1435
  var API_URL = "https://api.clerk.com";
1436
1436
  var API_VERSION = "v1";
1437
- var USER_AGENT = `${"@clerk/backend"}@${"3.4.7-snapshot.v20260508180306"}`;
1437
+ var USER_AGENT = `${"@clerk/backend"}@${"3.4.7"}`;
1438
1438
  var MAX_CACHE_LAST_UPDATED_AT_SECONDS = 5 * 60;
1439
1439
  var SUPPORTED_BAPI_VERSION = "2025-11-10";
1440
1440
  var Attributes = {
@@ -1811,13 +1811,20 @@ var M2MTokenApi = class extends AbstractAPI {
1811
1811
  return this.request(requestOptions);
1812
1812
  }
1813
1813
  async createToken(params) {
1814
- const { claims = null, machineSecretKey, secondsUntilExpiration = null, tokenFormat = "opaque" } = params || {};
1814
+ const {
1815
+ claims = null,
1816
+ machineSecretKey,
1817
+ minRemainingTtlSeconds,
1818
+ secondsUntilExpiration = null,
1819
+ tokenFormat = "opaque"
1820
+ } = params || {};
1815
1821
  const requestOptions = __privateMethod(this, _M2MTokenApi_instances, createRequestOptions_fn).call(this, {
1816
1822
  method: "POST",
1817
1823
  path: basePath16,
1818
1824
  bodyParams: {
1819
1825
  secondsUntilExpiration,
1820
1826
  claims,
1827
+ minRemainingTtlSeconds,
1821
1828
  tokenFormat
1822
1829
  }
1823
1830
  }, machineSecretKey);