tfk-360-unwrap-contact
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -10,6 +10,6 @@ const resolve = (path, obj) => { | ||
throw new Error('Missing required input: contact object') | ||
} else if (!contact.GetPrivatePersonsResult) { | ||
} else if (!contact.GetPrivatePersonsResult && !contact.PrivatePersons) { | ||
throw new Error('Malformed contact object') | ||
} | ||
const person = resolve('GetPrivatePersonsResult.PrivatePersons.PrivatePersonBase', contact) || resolve('GetPrivatePersonsResult.PrivatePersons.PrivatePersonResult', contact) | ||
const person = resolve('PrivatePersons', contact) || resolve('GetPrivatePersonsResult.PrivatePersons.PrivatePersonBase', contact) || resolve('GetPrivatePersonsResult.PrivatePersons.PrivatePersonResult', contact) | ||
if (!person) { | ||
@@ -16,0 +16,0 @@ return false |
{ | ||
"name": "tfk-360-unwrap-contact", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Unwraps GetPrivatePersonsResult from Public 360", | ||
@@ -37,6 +37,6 @@ "license": "MIT", | ||
"devDependencies": { | ||
"standard": "12.0.1", | ||
"coveralls": "3.0.2", | ||
"tap": "12.1.1" | ||
"standard": "14.3.3", | ||
"coveralls": "3.0.9", | ||
"tap": "14.10.6" | ||
} | ||
} |
{ | ||
"extends": [ | ||
"config:base" | ||
], | ||
"devDependencies": { | ||
"automerge": true | ||
}, | ||
"assignees": [ | ||
"zrrrzzt" | ||
] | ||
"extends": ["@vtfk"] | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
11030
241
1