@continuous-excellence/ze-great-dashboard-aws 0.31.62 → 0.31.63

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.
Files changed (2) hide show
  1. package/dist/lambda.mjs +116 -64
  2. package/package.json +1 -1
package/dist/lambda.mjs CHANGED
@@ -464,7 +464,7 @@ var require_dist_cjs = __commonJS({
464
464
  FieldPosition3[FieldPosition3["HEADER"] = 0] = "HEADER";
465
465
  FieldPosition3[FieldPosition3["TRAILER"] = 1] = "TRAILER";
466
466
  })(FieldPosition2 || (FieldPosition2 = {}));
467
- var SMITHY_CONTEXT_KEY4 = "__smithy_context";
467
+ var SMITHY_CONTEXT_KEY5 = "__smithy_context";
468
468
  var IniSectionType4;
469
469
  (function(IniSectionType5) {
470
470
  IniSectionType5["PROFILE"] = "profile";
@@ -484,7 +484,7 @@ var require_dist_cjs = __commonJS({
484
484
  exports.HttpAuthLocation = HttpAuthLocation;
485
485
  exports.IniSectionType = IniSectionType4;
486
486
  exports.RequestHandlerProtocol = RequestHandlerProtocol;
487
- exports.SMITHY_CONTEXT_KEY = SMITHY_CONTEXT_KEY4;
487
+ exports.SMITHY_CONTEXT_KEY = SMITHY_CONTEXT_KEY5;
488
488
  exports.getDefaultClientConfiguration = getDefaultClientConfiguration2;
489
489
  exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig2;
490
490
  }
@@ -1866,15 +1866,21 @@ function schemaLogFilter(schema, data) {
1866
1866
  return SENSITIVE_STRING;
1867
1867
  }
1868
1868
  if (ns.isListSchema()) {
1869
- const isSensitive = !!ns.getValueSchema().getMergedTraits().sensitive;
1870
- if (isSensitive) {
1869
+ const valueSchema = ns.getValueSchema();
1870
+ if (valueSchema.getMergedTraits().sensitive) {
1871
1871
  return SENSITIVE_STRING;
1872
1872
  }
1873
+ if (Array.isArray(data)) {
1874
+ return data.map((value) => schemaLogFilter(valueSchema, value));
1875
+ }
1873
1876
  } else if (ns.isMapSchema()) {
1874
- const isSensitive = !!ns.getKeySchema().getMergedTraits().sensitive || !!ns.getValueSchema().getMergedTraits().sensitive;
1875
- if (isSensitive) {
1877
+ const valueSchema = ns.getValueSchema();
1878
+ if (ns.getKeySchema().getMergedTraits().sensitive || valueSchema.getMergedTraits().sensitive) {
1876
1879
  return SENSITIVE_STRING;
1877
1880
  }
1881
+ if (typeof data === "object") {
1882
+ return Object.fromEntries(Object.entries(data).map(([key, value]) => [key, schemaLogFilter(valueSchema, value)]));
1883
+ }
1878
1884
  } else if (ns.isStructSchema() && typeof data === "object") {
1879
1885
  const object2 = data;
1880
1886
  const newObject = {};
@@ -1928,7 +1934,8 @@ var init_command = __esm({
1928
1934
  ...additionalSmithyContext,
1929
1935
  commandInstance: this,
1930
1936
  ...smithyContext,
1931
- ...options?.metricsRecorder === void 0 ? {} : { metricsRecorder: options.metricsRecorder }
1937
+ ...options?.metricsRecorder === void 0 ? {} : { metricsRecorder: options.metricsRecorder },
1938
+ ...options?.abortSignal === void 0 ? {} : { abortSignal: options.abortSignal }
1932
1939
  }
1933
1940
  };
1934
1941
  const { requestHandler } = configuration;
@@ -12062,6 +12069,34 @@ var init_service_error_classification = __esm({
12062
12069
  }
12063
12070
  });
12064
12071
 
12072
+ // node_modules/@smithy/core/dist-es/submodules/retry/util-retry/race.js
12073
+ var race, createAbortError, isAbortError;
12074
+ var init_race = __esm({
12075
+ "node_modules/@smithy/core/dist-es/submodules/retry/util-retry/race.js"() {
12076
+ race = (promise2, signal) => {
12077
+ if (!signal) {
12078
+ return promise2;
12079
+ }
12080
+ let cleanup = () => {
12081
+ };
12082
+ const aborted2 = new Promise((_, reject) => {
12083
+ const handler2 = () => reject(createAbortError());
12084
+ if (signal.aborted) {
12085
+ handler2();
12086
+ } else if (typeof signal.addEventListener === "function") {
12087
+ signal.addEventListener("abort", handler2, { once: true });
12088
+ cleanup = () => signal.removeEventListener("abort", handler2);
12089
+ } else {
12090
+ signal.onabort = handler2;
12091
+ }
12092
+ });
12093
+ return Promise.race([promise2, aborted2]).finally(cleanup);
12094
+ };
12095
+ createAbortError = () => Object.assign(new Error("Request aborted"), { name: "AbortError" });
12096
+ isAbortError = (error63) => typeof error63 === "object" && error63 !== null && "name" in error63 && error63.name === "AbortError";
12097
+ }
12098
+ });
12099
+
12065
12100
  // node_modules/@smithy/core/dist-es/submodules/retry/util-retry/constants.js
12066
12101
  var DEFAULT_RETRY_DELAY_BASE, MAXIMUM_RETRY_DELAY, THROTTLING_RETRY_DELAY_BASE, INITIAL_RETRY_TOKENS, RETRY_COST, TIMEOUT_RETRY_COST, NO_RETRY_INCREMENT, INVOCATION_ID_HEADER, REQUEST_HEADER;
12067
12102
  var init_constants5 = __esm({
@@ -12156,9 +12191,11 @@ function bindRetryMiddleware(isStreamingPayload2) {
12156
12191
  return (options) => (next, context) => async (args) => {
12157
12192
  let retryStrategy = await options.retryStrategy();
12158
12193
  const maxAttempts = await options.maxAttempts();
12194
+ const abortSignal = context[import_types24.SMITHY_CONTEXT_KEY]?.abortSignal;
12159
12195
  if (isRetryStrategyV2(retryStrategy)) {
12160
12196
  retryStrategy = retryStrategy;
12161
- let retryToken = await retryStrategy.acquireInitialRetryToken((context["partition_id"] ?? "") + (context.__retryLongPoll ? ":longpoll" : ""));
12197
+ const retryTokenScope = (context["partition_id"] ?? "") + (context.__retryLongPoll ? ":longpoll" : "");
12198
+ let retryToken = await race(retryStrategy.acquireInitialRetryToken(retryTokenScope), abortSignal);
12162
12199
  let lastError = new Error();
12163
12200
  let attempts = 0;
12164
12201
  let totalRetryDelay = 0;
@@ -12185,8 +12222,11 @@ function bindRetryMiddleware(isStreamingPayload2) {
12185
12222
  throw lastError;
12186
12223
  }
12187
12224
  try {
12188
- retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo);
12189
- } catch (ignoredRefreshError) {
12225
+ retryToken = await race(retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo), abortSignal);
12226
+ } catch (refreshError) {
12227
+ if (abortSignal?.aborted && isAbortError(refreshError)) {
12228
+ throw refreshError;
12229
+ }
12190
12230
  if (!lastError.$metadata) {
12191
12231
  lastError.$metadata = {};
12192
12232
  }
@@ -12198,7 +12238,7 @@ function bindRetryMiddleware(isStreamingPayload2) {
12198
12238
  const delay = retryToken.getRetryDelay();
12199
12239
  totalRetryDelay += (retryToken?.$retryLog?.acquisitionDelay ?? 0) + delay;
12200
12240
  if (delay > 0) {
12201
- await cooldown(delay);
12241
+ await race(new Promise((resolve) => setTimeout(resolve, delay)), abortSignal);
12202
12242
  }
12203
12243
  }
12204
12244
  }
@@ -12219,17 +12259,18 @@ function bindGetRetryPlugin(isStreamingPayload2) {
12219
12259
  }
12220
12260
  });
12221
12261
  }
12222
- var cooldown, isRetryStrategyV2, getRetryErrorInfo, getRetryErrorType, retryMiddlewareOptions;
12262
+ var import_types24, isRetryStrategyV2, getRetryErrorInfo, getRetryErrorType, retryMiddlewareOptions;
12223
12263
  var init_retryMiddleware = __esm({
12224
12264
  "node_modules/@smithy/core/dist-es/submodules/retry/middleware-retry/retryMiddleware.js"() {
12225
12265
  init_client2();
12226
12266
  init_protocols();
12227
12267
  init_serde();
12268
+ import_types24 = __toESM(require_dist_cjs());
12228
12269
  init_service_error_classification();
12270
+ init_race();
12229
12271
  init_constants5();
12230
12272
  init_parseRetryAfterHeader();
12231
12273
  init_util();
12232
- cooldown = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
12233
12274
  isRetryStrategyV2 = (retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" && typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" && typeof retryStrategy.recordSuccess !== "undefined";
12234
12275
  getRetryErrorInfo = (error63, logger2) => {
12235
12276
  const errorInfo = {
@@ -13654,11 +13695,11 @@ var init_DefaultIdentityProviderConfig = __esm({
13654
13695
  });
13655
13696
 
13656
13697
  // node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js
13657
- var import_types24, HttpApiKeyAuthSigner;
13698
+ var import_types25, HttpApiKeyAuthSigner;
13658
13699
  var init_httpApiKeyAuth = __esm({
13659
13700
  "node_modules/@smithy/core/dist-es/legacy-root-exports/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.js"() {
13660
13701
  init_protocols();
13661
- import_types24 = __toESM(require_dist_cjs());
13702
+ import_types25 = __toESM(require_dist_cjs());
13662
13703
  HttpApiKeyAuthSigner = class {
13663
13704
  async sign(httpRequest, identity, signingProperties) {
13664
13705
  if (!signingProperties) {
@@ -13674,9 +13715,9 @@ var init_httpApiKeyAuth = __esm({
13674
13715
  throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined");
13675
13716
  }
13676
13717
  const clonedRequest = HttpRequest.clone(httpRequest);
13677
- if (signingProperties.in === import_types24.HttpApiKeyAuthLocation.QUERY) {
13718
+ if (signingProperties.in === import_types25.HttpApiKeyAuthLocation.QUERY) {
13678
13719
  clonedRequest.query[signingProperties.name] = identity.apiKey;
13679
- } else if (signingProperties.in === import_types24.HttpApiKeyAuthLocation.HEADER) {
13720
+ } else if (signingProperties.in === import_types25.HttpApiKeyAuthLocation.HEADER) {
13680
13721
  clonedRequest.headers[signingProperties.name] = signingProperties.scheme ? `${signingProperties.scheme} ${identity.apiKey}` : identity.apiKey;
13681
13722
  } else {
13682
13723
  throw new Error("request can only be signed with `apiKey` locations `query` or `header`, but found: `" + signingProperties.in + "`");
@@ -13974,12 +14015,18 @@ var init_partitions = __esm({
13974
14015
  "me-south-1": {
13975
14016
  "description": "Middle East (Bahrain)"
13976
14017
  },
14018
+ "me-west-1": {
14019
+ "description": "Middle East (Saudi Arabia)"
14020
+ },
13977
14021
  "mx-central-1": {
13978
14022
  "description": "Mexico (Central)"
13979
14023
  },
13980
14024
  "sa-east-1": {
13981
14025
  "description": "South America (Sao Paulo)"
13982
14026
  },
14027
+ "sa-west-1": {
14028
+ "description": "South America (Chile)"
14029
+ },
13983
14030
  "us-east-1": {
13984
14031
  "description": "US East (N. Virginia)"
13985
14032
  },
@@ -16915,6 +16962,9 @@ var init_getUpdatedSystemClockOffset = __esm({
16915
16962
  return currentSystemClockOffset;
16916
16963
  }
16917
16964
  const serverTime = Date.parse(clockTime);
16965
+ if (Number.isNaN(serverTime)) {
16966
+ return currentSystemClockOffset;
16967
+ }
16918
16968
  const timeResponseReceived = Date.now();
16919
16969
  if (timeRequestSent !== void 0 && timeResponseReceived - timeRequestSent > 9e5) {
16920
16970
  return currentSystemClockOffset;
@@ -16934,11 +16984,11 @@ var init_utils3 = __esm({
16934
16984
  });
16935
16985
 
16936
16986
  // node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js
16937
- var import_types25, throwSigningPropertyError, hasEventStreamOutput, validateSigningProperties, AwsSdkSigV4Signer, AWSSDKSigV4Signer;
16987
+ var import_types26, throwSigningPropertyError, hasEventStreamOutput, validateSigningProperties, AwsSdkSigV4Signer, AWSSDKSigV4Signer;
16938
16988
  var init_AwsSdkSigV4Signer = __esm({
16939
16989
  "node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js"() {
16940
16990
  init_protocols();
16941
- import_types25 = __toESM(require_dist_cjs());
16991
+ import_types26 = __toESM(require_dist_cjs());
16942
16992
  init_utils3();
16943
16993
  throwSigningPropertyError = (name, property) => {
16944
16994
  if (!property) {
@@ -16948,7 +16998,7 @@ var init_AwsSdkSigV4Signer = __esm({
16948
16998
  };
16949
16999
  hasEventStreamOutput = (signingProperties) => {
16950
17000
  const context = signingProperties.context;
16951
- const eventStream = context?.[import_types25.SMITHY_CONTEXT_KEY]?.eventStream;
17001
+ const eventStream = context?.[import_types26.SMITHY_CONTEXT_KEY]?.eventStream;
16952
17002
  return eventStream?.output === true;
16953
17003
  };
16954
17004
  validateSigningProperties = async (signingProperties) => {
@@ -18418,38 +18468,39 @@ var require_dist_cjs5 = __commonJS({
18418
18468
  return typeof value === "number" && Number.isFinite(value) && value > 0 ? value : void 0;
18419
18469
  };
18420
18470
  var DEFER_EVENT_LISTENER_TIME = 3e3;
18421
- var setSocketTimeout = (request, reject, timeoutInMs = 0, destroyResponseBodyOnTimeout = false) => {
18422
- let response;
18423
- if (destroyResponseBodyOnTimeout) {
18424
- request.once("response", (res) => response = res);
18471
+ var setSocketTimeout = (request, reject, timeoutInMs = 0, isServiceDefault = false) => {
18472
+ if (!Number.isFinite(timeoutInMs) || timeoutInMs <= 0) {
18473
+ return;
18425
18474
  }
18426
- const registerTimeout = (offset) => {
18427
- const timeout = timeoutInMs - offset;
18428
- const onTimeout = () => {
18429
- const error63 = Object.assign(new Error(`@smithy/node-http-handler - the request socket timed out after ${timeoutInMs} ms of inactivity (${destroyResponseBodyOnTimeout ? "service default socket timeout" : "configured by client requestHandler"}).`), { name: "TimeoutError" });
18430
- if (destroyResponseBodyOnTimeout) {
18431
- response?.destroy(error63);
18432
- }
18433
- request.destroy();
18434
- reject(error63);
18435
- };
18436
- if (request.socket) {
18437
- request.socket.setTimeout(timeout, onTimeout);
18438
- request.on("close", () => request.socket?.removeListener("timeout", onTimeout));
18475
+ let response;
18476
+ request.once("response", (res) => response = res);
18477
+ const onTimeout = () => {
18478
+ if (response?.complete) {
18479
+ request.socket?.destroy();
18480
+ return;
18481
+ }
18482
+ const error63 = Object.assign(new Error(`@smithy/node-http-handler - the request socket timed out after ${timeoutInMs} ms of inactivity (${isServiceDefault ? "service default socket timeout" : "configured by client requestHandler"}).`), { name: "TimeoutError" });
18483
+ response?.destroy(error63);
18484
+ request.destroy();
18485
+ reject(error63);
18486
+ };
18487
+ const registerTimeout = () => {
18488
+ const { socket } = request;
18489
+ if (!socket) {
18490
+ request.once("socket", registerTimeout);
18491
+ } else if (socket.connecting) {
18492
+ socket.once("connect", registerTimeout);
18439
18493
  } else {
18440
- request.setTimeout(timeout, onTimeout);
18494
+ socket.setTimeout(timeoutInMs, onTimeout);
18495
+ request.on("close", () => socket.removeListener("timeout", onTimeout));
18441
18496
  }
18442
18497
  };
18443
- if (0 < timeoutInMs && timeoutInMs < 6e3) {
18444
- registerTimeout(0);
18445
- return 0;
18446
- }
18447
- const deferralId = timing.setTimeout(registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
18448
- if (destroyResponseBodyOnTimeout) {
18449
- request.once("close", () => timing.clearTimeout(deferralId));
18450
- return 0;
18498
+ if (timeoutInMs < 6e3) {
18499
+ registerTimeout();
18500
+ return;
18451
18501
  }
18452
- return deferralId;
18502
+ const deferralId = timing.setTimeout(registerTimeout, DEFER_EVENT_LISTENER_TIME);
18503
+ request.once("close", () => timing.clearTimeout(deferralId));
18453
18504
  };
18454
18505
  var MIN_WAIT_TIME = 6e3;
18455
18506
  async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME, externalAgent = false) {
@@ -18579,13 +18630,11 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
18579
18630
  let socketWarningTimeoutId = -1;
18580
18631
  let connectionTimeoutId = -1;
18581
18632
  let requestTimeoutId = -1;
18582
- let socketTimeoutId = -1;
18583
18633
  let keepAliveTimeoutId = -1;
18584
18634
  const clearTimeouts = () => {
18585
18635
  timing.clearTimeout(socketWarningTimeoutId);
18586
18636
  timing.clearTimeout(connectionTimeoutId);
18587
18637
  timing.clearTimeout(requestTimeoutId);
18588
- timing.clearTimeout(socketTimeoutId);
18589
18638
  timing.clearTimeout(keepAliveTimeoutId);
18590
18639
  };
18591
18640
  const resolve = async (arg) => {
@@ -18680,9 +18729,9 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
18680
18729
  requestTimeoutId = setRequestTimeout(req, reject, effectiveRequestTimeout, config2.throwOnRequestTimeout, logger2 ?? console);
18681
18730
  const defaultSocketTimeout = config2.socketTimeout === void 0 ? resolveDefaultSocketTimeout(config2) : void 0;
18682
18731
  if (defaultSocketTimeout) {
18683
- socketTimeoutId = setSocketTimeout(req, reject, defaultSocketTimeout, true);
18732
+ setSocketTimeout(req, reject, defaultSocketTimeout, true);
18684
18733
  } else {
18685
- socketTimeoutId = setSocketTimeout(req, reject, config2.socketTimeout);
18734
+ setSocketTimeout(req, reject, config2.socketTimeout);
18686
18735
  }
18687
18736
  const httpAgent = nodeHttpsOptions.agent;
18688
18737
  if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
@@ -18723,6 +18772,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
18723
18772
  const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger: logger2 } = options || {};
18724
18773
  const keepAlive = true;
18725
18774
  const maxSockets = 50;
18775
+ let httpAgentPromise;
18726
18776
  return {
18727
18777
  connectionTimeout,
18728
18778
  requestTimeout,
@@ -18730,7 +18780,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
18730
18780
  defaultSocketTimeout: resolveDefaultSocketTimeout(options),
18731
18781
  socketAcquisitionWarningTimeout,
18732
18782
  throwOnRequestTimeout,
18733
- httpAgentProvider: async () => {
18783
+ httpAgentProvider: () => httpAgentPromise ??= (async () => {
18734
18784
  const node_http = __require("node:http");
18735
18785
  const { Agent, request } = node_http.default ?? node_http;
18736
18786
  hRequest = request;
@@ -18740,7 +18790,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
18740
18790
  return httpAgent;
18741
18791
  }
18742
18792
  return new hAgent({ keepAlive, maxSockets, ...httpAgent });
18743
- },
18793
+ })(),
18744
18794
  httpsAgent: (() => {
18745
18795
  if (httpsAgent instanceof node_https.Agent || typeof httpsAgent?.destroy === "function") {
18746
18796
  this.externalAgent = true;
@@ -19413,7 +19463,7 @@ var init_package = __esm({
19413
19463
  "node_modules/@aws-sdk/nested-clients/package.json"() {
19414
19464
  package_default = {
19415
19465
  name: "@aws-sdk/nested-clients",
19416
- version: "3.998.1",
19466
+ version: "3.998.2",
19417
19467
  description: "Nested clients for AWS SDK packages.",
19418
19468
  homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
19419
19469
  license: "Apache-2.0",
@@ -19513,13 +19563,13 @@ var init_package = __esm({
19513
19563
  "test:watch": "yarn g:vitest watch"
19514
19564
  },
19515
19565
  dependencies: {
19516
- "@aws-sdk/core": "^3.980.1",
19517
- "@aws-sdk/signature-v4-multi-region": "^3.996.51",
19518
- "@aws-sdk/types": "^3.975.0",
19519
- "@smithy/core": "^3.38.0",
19520
- "@smithy/fetch-http-handler": "^5.8.0",
19521
- "@smithy/node-http-handler": "^4.14.0",
19522
- "@smithy/types": "^4.19.0",
19566
+ "@aws-sdk/core": "^3.980.2",
19567
+ "@aws-sdk/signature-v4-multi-region": "^3.996.52",
19568
+ "@aws-sdk/types": "^3.975.1",
19569
+ "@smithy/core": "^3.39.0",
19570
+ "@smithy/fetch-http-handler": "^5.8.1",
19571
+ "@smithy/node-http-handler": "^4.14.2",
19572
+ "@smithy/types": "^4.20.0",
19523
19573
  tslib: "^2.6.2"
19524
19574
  },
19525
19575
  devDependencies: {
@@ -27962,7 +28012,7 @@ var require_dist_cjs16 = __commonJS({
27962
28012
  Region: { type: "builtInParams", name: "region" },
27963
28013
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
27964
28014
  };
27965
- var version2 = "3.1163.0";
28015
+ var version2 = "3.1164.0";
27966
28016
  var packageInfo = {
27967
28017
  version: version2
27968
28018
  };
@@ -29754,7 +29804,7 @@ var require_dist_cjs17 = __commonJS({
29754
29804
  Region: { type: "builtInParams", name: "region" },
29755
29805
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
29756
29806
  };
29757
- var version2 = "3.1163.0";
29807
+ var version2 = "3.1164.0";
29758
29808
  var packageInfo = {
29759
29809
  version: version2
29760
29810
  };
@@ -76791,6 +76841,8 @@ function validateClaimsSet(protectedHeader, claimsSetBytes, options = {}) {
76791
76841
  throw new JWTExpired('"exp" claim timestamp check failed', claimsSet, "exp", checkFailed);
76792
76842
  if (maxTokenAge !== void 0) {
76793
76843
  const age = now - iat, max2 = validateInput("maxTokenAge option", typeof maxTokenAge == "number" ? maxTokenAge : secs(maxTokenAge));
76844
+ if (max2 < 0)
76845
+ throw new TypeError("Invalid maxTokenAge option input");
76794
76846
  if (age - tolerance > max2)
76795
76847
  throw new JWTExpired('"iat" claim timestamp check failed (too far in the past)', claimsSet, "iat", checkFailed);
76796
76848
  if (age < -tolerance)
@@ -76868,7 +76920,7 @@ function isCloudflareWorkers() {
76868
76920
  return typeof WebSocketPair < "u" || typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers" || typeof EdgeRuntime < "u" && EdgeRuntime === "vercel";
76869
76921
  }
76870
76922
  var USER_AGENT2;
76871
- (typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT2 = "jose/v6.2.16");
76923
+ (typeof navigator > "u" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) && (USER_AGENT2 = "jose/v6.2.17");
76872
76924
  var customFetch = /* @__PURE__ */ Symbol();
76873
76925
  async function fetchJwks(url2, headers, signal, fetchImpl = fetch) {
76874
76926
  const response = await fetchImpl(url2, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@continuous-excellence/ze-great-dashboard-aws",
3
- "version": "0.31.62",
3
+ "version": "0.31.63",
4
4
  "type": "module",
5
5
  "description": "AWS server runtime and CloudFormation deployment tooling for Ze Great Dashboard.",
6
6
  "keywords": [