@dereekb/zoom 13.9.0 → 13.10.1

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
@@ -186,6 +186,7 @@ function _inherits$1(subClass, superClass) {
186
186
  if (superClass) _set_prototype_of$1(subClass, superClass);
187
187
  }
188
188
  function _instanceof(left, right) {
189
+ "@swc/helpers - instanceof";
189
190
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
190
191
  return !!right[Symbol.hasInstance](left);
191
192
  } else {
@@ -1883,7 +1884,7 @@ function _ts_generator(thisArg, body) {
1883
1884
  } : _factoryConfig_fetchFactory;
1884
1885
  return function(config) {
1885
1886
  var accessTokenFromTokenResponse = function accessTokenFromTokenResponse(result) {
1886
- var createdAt = new Date().getTime();
1887
+ var createdAt = Date.now();
1887
1888
  var access_token = result.access_token, api_url = result.api_url, scope = result.scope, expires_in = result.expires_in;
1888
1889
  var accessToken = {
1889
1890
  accessToken: access_token,
@@ -2004,7 +2005,7 @@ function _ts_generator(thisArg, body) {
2004
2005
  case 2:
2005
2006
  // check expiration
2006
2007
  if (currentToken != null) {
2007
- isExpired = new Date().getTime() + tokenExpirationBuffer >= currentToken.expiresAt.getTime();
2008
+ isExpired = Date.now() + tokenExpirationBuffer >= currentToken.expiresAt.getTime();
2008
2009
  if (isExpired) {
2009
2010
  currentToken = null;
2010
2011
  }
package/index.esm.js CHANGED
@@ -184,6 +184,7 @@ function _inherits$1(subClass, superClass) {
184
184
  if (superClass) _set_prototype_of$1(subClass, superClass);
185
185
  }
186
186
  function _instanceof(left, right) {
187
+ "@swc/helpers - instanceof";
187
188
  if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
188
189
  return !!right[Symbol.hasInstance](left);
189
190
  } else {
@@ -1881,7 +1882,7 @@ function _ts_generator(thisArg, body) {
1881
1882
  } : _factoryConfig_fetchFactory;
1882
1883
  return function(config) {
1883
1884
  var accessTokenFromTokenResponse = function accessTokenFromTokenResponse(result) {
1884
- var createdAt = new Date().getTime();
1885
+ var createdAt = Date.now();
1885
1886
  var access_token = result.access_token, api_url = result.api_url, scope = result.scope, expires_in = result.expires_in;
1886
1887
  var accessToken = {
1887
1888
  accessToken: access_token,
@@ -2002,7 +2003,7 @@ function _ts_generator(thisArg, body) {
2002
2003
  case 2:
2003
2004
  // check expiration
2004
2005
  if (currentToken != null) {
2005
- isExpired = new Date().getTime() + tokenExpirationBuffer >= currentToken.expiresAt.getTime();
2006
+ isExpired = Date.now() + tokenExpirationBuffer >= currentToken.expiresAt.getTime();
2006
2007
  if (isExpired) {
2007
2008
  currentToken = null;
2008
2009
  }
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@dereekb/zoom/nestjs",
3
- "version": "13.9.0",
3
+ "version": "13.10.1",
4
4
  "peerDependencies": {
5
- "@dereekb/nestjs": "13.9.0",
6
- "@dereekb/rxjs": "13.9.0",
7
- "@dereekb/util": "13.9.0",
8
- "@dereekb/zoom": "13.9.0",
9
- "@nestjs/common": "^11.1.17",
5
+ "@dereekb/nestjs": "13.10.1",
6
+ "@dereekb/rxjs": "13.10.1",
7
+ "@dereekb/util": "13.10.1",
8
+ "@dereekb/zoom": "13.10.1",
9
+ "@nestjs/common": "^11.1.19",
10
10
  "@nestjs/config": "^4.0.4",
11
- "express": "^5.0.0"
11
+ "express": "^5.2.1"
12
12
  },
13
13
  "devDependencies": {
14
- "@nestjs/testing": "^11.1.14",
15
- "date-fns": "^4.0.0"
14
+ "@nestjs/testing": "^11.1.19",
15
+ "date-fns": "^4.1.0"
16
16
  },
17
17
  "exports": {
18
18
  "./package.json": "./package.json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/zoom",
3
- "version": "13.9.0",
3
+ "version": "13.10.1",
4
4
  "exports": {
5
5
  "./nestjs": {
6
6
  "module": "./nestjs/index.esm.js",
@@ -17,17 +17,17 @@
17
17
  }
18
18
  },
19
19
  "peerDependencies": {
20
- "@dereekb/nestjs": "13.9.0",
21
- "@dereekb/rxjs": "13.9.0",
22
- "@dereekb/util": "13.9.0",
23
- "@nestjs/common": "^11.1.17",
20
+ "@dereekb/nestjs": "13.10.1",
21
+ "@dereekb/rxjs": "13.10.1",
22
+ "@dereekb/util": "13.10.1",
23
+ "@nestjs/common": "^11.1.19",
24
24
  "@nestjs/config": "^4.0.4",
25
- "express": "^5.0.0",
26
- "make-error": "^1.3.0"
25
+ "express": "^5.2.1",
26
+ "make-error": "^1.3.6"
27
27
  },
28
28
  "devDependencies": {
29
- "@nestjs/testing": "^11.1.14",
30
- "date-fns": "^4.0.0"
29
+ "@nestjs/testing": "^11.1.19",
30
+ "date-fns": "^4.1.0"
31
31
  },
32
32
  "module": "./index.esm.js",
33
33
  "main": "./index.cjs.js",
@@ -239,7 +239,7 @@ export interface ZoomUserPhoneNumber {
239
239
  *
240
240
  * @example "Mobile"
241
241
  */
242
- readonly label: 'Mobile' | 'Office' | 'Home' | 'Fax' | string;
242
+ readonly label: 'Mobile' | 'Office' | 'Home' | 'Fax' | (string & {});
243
243
  /**
244
244
  * The user's phone number.
245
245
  *