resolve-account
Advanced tools
Comparing version 0.0.9 to 1.0.0
@@ -20,3 +20,3 @@ (function (root, factory) { | ||
var SOURCE = 'library'; | ||
var VERSION = '0.0.9'; | ||
var VERSION = '1.0.0'; | ||
@@ -157,2 +157,13 @@ function ResolveAccount(options) { | ||
account.activity.geolocation = account.activity.geolocation || {}; | ||
account.activity.geolocation.ip = account.activity.geolocation.ip || 'unknown'; | ||
account.activity.geolocation.continent = account.activity.geolocation.continent || 'unknown'; | ||
account.activity.geolocation.country = account.activity.geolocation.country || 'unknown'; | ||
account.activity.geolocation.city = account.activity.geolocation.city || 'unknown'; | ||
account.activity.geolocation.latitude = account.activity.geolocation.latitude || 'unknown'; | ||
account.activity.geolocation.longitude = account.activity.geolocation.longitude || 'unknown'; | ||
account.activity.geolocation.userAgent = account.activity.geolocation.userAgent || 'unknown'; | ||
account.activity.geolocation.language = account.activity.geolocation.language || 'unknown'; | ||
account.activity.geolocation.platform = account.activity.geolocation.platform || 'unknown'; | ||
// Api | ||
@@ -159,0 +170,0 @@ account.api = account.api || {}; |
{ | ||
"name": "resolve-account", | ||
"version": "0.0.9", | ||
"version": "1.0.0", | ||
"description": "Standardize account JSON structure for projects built under ITW Creative Works", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
21344
256
0