@dereekb/zoom 13.14.0 → 13.16.0

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/index.cjs.js CHANGED
@@ -1409,7 +1409,7 @@ var DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUESTS_LOG_FUNCTION = function DEFAULT_
1409
1409
  * @returns A configured rate-limited fetch handler.
1410
1410
  */ function zoomRateLimitedFetchHandler(config) {
1411
1411
  var _ref, _ref1, _ref2;
1412
- var onTooManyRequests = (config === null || config === void 0 ? void 0 : config.onTooManyRequests) !== false ? (_ref = config === null || config === void 0 ? void 0 : config.onTooManyRequests) !== null && _ref !== void 0 ? _ref : DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUESTS_LOG_FUNCTION : undefined;
1412
+ var onTooManyRequests = (config === null || config === void 0 ? void 0 : config.onTooManyRequests) === false ? undefined : (_ref = config === null || config === void 0 ? void 0 : config.onTooManyRequests) !== null && _ref !== void 0 ? _ref : DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUESTS_LOG_FUNCTION;
1413
1413
  var defaultLimit = (_ref1 = config === null || config === void 0 ? void 0 : config.maxRateLimit) !== null && _ref1 !== void 0 ? _ref1 : DEFAULT_ZOOM_API_RATE_LIMIT;
1414
1414
  var defaultResetPeriod = (_ref2 = config === null || config === void 0 ? void 0 : config.resetPeriod) !== null && _ref2 !== void 0 ? _ref2 : DEFAULT_ZOOM_API_RATE_LIMIT_RESET_PERIOD;
1415
1415
  function configForLimit(limit, resetAt) {
package/index.esm.js CHANGED
@@ -1407,7 +1407,7 @@ var DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUESTS_LOG_FUNCTION = function DEFAULT_
1407
1407
  * @returns A configured rate-limited fetch handler.
1408
1408
  */ function zoomRateLimitedFetchHandler(config) {
1409
1409
  var _ref, _ref1, _ref2;
1410
- var onTooManyRequests = (config === null || config === void 0 ? void 0 : config.onTooManyRequests) !== false ? (_ref = config === null || config === void 0 ? void 0 : config.onTooManyRequests) !== null && _ref !== void 0 ? _ref : DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUESTS_LOG_FUNCTION : undefined;
1410
+ var onTooManyRequests = (config === null || config === void 0 ? void 0 : config.onTooManyRequests) === false ? undefined : (_ref = config === null || config === void 0 ? void 0 : config.onTooManyRequests) !== null && _ref !== void 0 ? _ref : DEFAULT_ZOOM_RATE_LIMITED_TOO_MANY_REQUESTS_LOG_FUNCTION;
1411
1411
  var defaultLimit = (_ref1 = config === null || config === void 0 ? void 0 : config.maxRateLimit) !== null && _ref1 !== void 0 ? _ref1 : DEFAULT_ZOOM_API_RATE_LIMIT;
1412
1412
  var defaultResetPeriod = (_ref2 = config === null || config === void 0 ? void 0 : config.resetPeriod) !== null && _ref2 !== void 0 ? _ref2 : DEFAULT_ZOOM_API_RATE_LIMIT_RESET_PERIOD;
1413
1413
  function configForLimit(limit, resetAt) {
@@ -454,7 +454,7 @@ function updateZoomCacheCapturingError(cache, accessToken) {
454
454
  * @throws {Error} When `inputServicesToMerge` is empty.
455
455
  */ function mergeZoomOAuthAccessTokenCacheServices(inputServicesToMerge, logError) {
456
456
  var allServices = _to_consumable_array$2(inputServicesToMerge);
457
- var logErrorFunction = typeof logError === 'function' ? logError : logError !== false ? logMergeZoomOAuthAccessTokenCacheServiceErrorFunction : undefined;
457
+ var logErrorFunction = typeof logError === 'function' ? logError : logError === false ? undefined : logMergeZoomOAuthAccessTokenCacheServiceErrorFunction;
458
458
  if (allServices.length === 0) {
459
459
  throw new Error('mergeZoomOAuthAccessTokenCacheServices() input cannot be empty.');
460
460
  }
@@ -452,7 +452,7 @@ function updateZoomCacheCapturingError(cache, accessToken) {
452
452
  * @throws {Error} When `inputServicesToMerge` is empty.
453
453
  */ function mergeZoomOAuthAccessTokenCacheServices(inputServicesToMerge, logError) {
454
454
  var allServices = _to_consumable_array$2(inputServicesToMerge);
455
- var logErrorFunction = typeof logError === 'function' ? logError : logError !== false ? logMergeZoomOAuthAccessTokenCacheServiceErrorFunction : undefined;
455
+ var logErrorFunction = typeof logError === 'function' ? logError : logError === false ? undefined : logMergeZoomOAuthAccessTokenCacheServiceErrorFunction;
456
456
  if (allServices.length === 0) {
457
457
  throw new Error('mergeZoomOAuthAccessTokenCacheServices() input cannot be empty.');
458
458
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dereekb/zoom/nestjs",
3
- "version": "13.14.0",
3
+ "version": "13.16.0",
4
4
  "peerDependencies": {
5
- "@dereekb/nestjs": "13.14.0",
6
- "@dereekb/rxjs": "13.14.0",
7
- "@dereekb/util": "13.14.0",
8
- "@dereekb/zoom": "13.14.0",
5
+ "@dereekb/nestjs": "13.16.0",
6
+ "@dereekb/rxjs": "13.16.0",
7
+ "@dereekb/util": "13.16.0",
8
+ "@dereekb/zoom": "13.16.0",
9
9
  "@nestjs/common": "^11.1.19",
10
10
  "@nestjs/config": "^4.0.4",
11
11
  "express": "^5.2.1"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/zoom",
3
- "version": "13.14.0",
3
+ "version": "13.16.0",
4
4
  "exports": {
5
5
  "./nestjs": {
6
6
  "module": "./nestjs/index.esm.js",
@@ -17,9 +17,9 @@
17
17
  }
18
18
  },
19
19
  "peerDependencies": {
20
- "@dereekb/nestjs": "13.14.0",
21
- "@dereekb/rxjs": "13.14.0",
22
- "@dereekb/util": "13.14.0",
20
+ "@dereekb/nestjs": "13.16.0",
21
+ "@dereekb/rxjs": "13.16.0",
22
+ "@dereekb/util": "13.16.0",
23
23
  "@nestjs/common": "^11.1.19",
24
24
  "@nestjs/config": "^4.0.4",
25
25
  "express": "^5.2.1",