Comparing version 0.39.10 to 0.39.11
@@ -77,5 +77,3 @@ import { AxiosError } from 'axios' | ||
_formatUpdate(c: { | ||
accountcreated?: string | undefined | ||
companyname: string | ||
created?: string | undefined | ||
email: string | ||
@@ -86,3 +84,3 @@ firstname: string | ||
language: string | ||
updated?: string | undefined | ||
status: string | ||
}): IContact | ||
@@ -89,0 +87,0 @@ } |
@@ -742,5 +742,3 @@ "use strict"; | ||
: '', | ||
createdAt: c.created !== '' && c.created !== undefined | ||
? new Date(c.created) | ||
: new Date(), | ||
createdAt: new Date(), | ||
email: c.email, | ||
@@ -751,5 +749,3 @@ firstName: c.firstname !== undefined && c.firstname !== '-' ? c.firstname : '', | ||
lastName: c.lastname !== undefined && c.lastname !== '-' ? c.lastname : '', | ||
updatedAt: c.updated !== '' && c.updated !== undefined | ||
? new Date(c.updated) | ||
: new Date(), | ||
updatedAt: new Date(), | ||
}; | ||
@@ -756,0 +752,0 @@ }, |
{ | ||
"name": "remote.it", | ||
"version": "0.39.10", | ||
"version": "0.39.11", | ||
"description": "remote.it JavaScript/node client library", | ||
@@ -5,0 +5,0 @@ "main": "lib/remote.it.js", |
@@ -569,5 +569,3 @@ import axios, { AxiosError, AxiosResponse } from 'axios' | ||
_formatUpdate(c: { | ||
accountcreated?: string | ||
companyname: string | ||
created?: string | ||
email: string | ||
@@ -578,3 +576,3 @@ firstname: string | ||
language: string | ||
updated?: string | ||
status: string | ||
}): IContact { | ||
@@ -587,6 +585,3 @@ return { | ||
: '', | ||
createdAt: | ||
c.created !== '' && c.created !== undefined | ||
? new Date(c.created) | ||
: new Date(), | ||
createdAt: new Date(), | ||
email: c.email, | ||
@@ -599,6 +594,3 @@ firstName: | ||
c.lastname !== undefined && c.lastname !== '-' ? c.lastname : '', | ||
updatedAt: | ||
c.updated !== '' && c.updated !== undefined | ||
? new Date(c.updated) | ||
: new Date(), | ||
updatedAt: new Date(), | ||
} | ||
@@ -605,0 +597,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
159082
3654