@amplitude/types
Advanced tools
Comparing version 1.5.0 to 1.5.2
@@ -17,5 +17,2 @@ /** | ||
time?: number; | ||
country?: string; | ||
region?: string; | ||
city?: string; | ||
location_lat?: number; | ||
@@ -26,2 +23,7 @@ location_lng?: number; | ||
library?: string; | ||
/** Optional | ||
* Warning: updating any one of the following seven fields will reset the other fields | ||
* to null on the backend, unless the other fields are also set. | ||
* See https://developers.amplitude.com/docs/http-api-v2 (Footnote 2) for more info | ||
*/ | ||
platform?: string; | ||
@@ -34,2 +36,11 @@ os_name?: string; | ||
carrier?: string; | ||
/** Optional | ||
* Warning: updating any one of the following four fields will reset the other fields | ||
* to null on the backend, unless the other fields are also set. | ||
* See https://developers.amplitude.com/docs/http-api-v2 (Footnote 3) for more info | ||
*/ | ||
country?: string; | ||
region?: string; | ||
city?: string; | ||
dma?: string; | ||
idfa?: string; | ||
@@ -39,3 +50,2 @@ idfv?: string; | ||
android_id?: string; | ||
dma?: string; | ||
language?: string; | ||
@@ -42,0 +52,0 @@ ip?: string; |
@@ -9,4 +9,4 @@ import { BaseEvent, SpecialEventType } from './baseEvent'; | ||
REMOVE = "$remove", | ||
PREINSERT = "$preinsert", | ||
POSTINSERT = "$postinsert", | ||
PREINSERT = "$preInsert", | ||
POSTINSERT = "$postInsert", | ||
UNSET = "$unset", | ||
@@ -13,0 +13,0 @@ CLEAR_ALL = "$clearAll" |
@@ -14,4 +14,4 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
// Operations around appending values *if* they aren't present | ||
IdentifyOperation["PREINSERT"] = "$preinsert"; | ||
IdentifyOperation["POSTINSERT"] = "$postinsert"; | ||
IdentifyOperation["PREINSERT"] = "$preInsert"; | ||
IdentifyOperation["POSTINSERT"] = "$postInsert"; | ||
// Operations around removing properties/values | ||
@@ -18,0 +18,0 @@ IdentifyOperation["UNSET"] = "$unset"; |
@@ -17,5 +17,2 @@ /** | ||
time?: number; | ||
country?: string; | ||
region?: string; | ||
city?: string; | ||
location_lat?: number; | ||
@@ -26,2 +23,7 @@ location_lng?: number; | ||
library?: string; | ||
/** Optional | ||
* Warning: updating any one of the following seven fields will reset the other fields | ||
* to null on the backend, unless the other fields are also set. | ||
* See https://developers.amplitude.com/docs/http-api-v2 (Footnote 2) for more info | ||
*/ | ||
platform?: string; | ||
@@ -34,2 +36,11 @@ os_name?: string; | ||
carrier?: string; | ||
/** Optional | ||
* Warning: updating any one of the following four fields will reset the other fields | ||
* to null on the backend, unless the other fields are also set. | ||
* See https://developers.amplitude.com/docs/http-api-v2 (Footnote 3) for more info | ||
*/ | ||
country?: string; | ||
region?: string; | ||
city?: string; | ||
dma?: string; | ||
idfa?: string; | ||
@@ -39,3 +50,2 @@ idfv?: string; | ||
android_id?: string; | ||
dma?: string; | ||
language?: string; | ||
@@ -42,0 +52,0 @@ ip?: string; |
@@ -9,4 +9,4 @@ import { BaseEvent, SpecialEventType } from './baseEvent'; | ||
REMOVE = "$remove", | ||
PREINSERT = "$preinsert", | ||
POSTINSERT = "$postinsert", | ||
PREINSERT = "$preInsert", | ||
POSTINSERT = "$postInsert", | ||
UNSET = "$unset", | ||
@@ -13,0 +13,0 @@ CLEAR_ALL = "$clearAll" |
@@ -12,4 +12,4 @@ export var IdentifyOperation; | ||
// Operations around appending values *if* they aren't present | ||
IdentifyOperation["PREINSERT"] = "$preinsert"; | ||
IdentifyOperation["POSTINSERT"] = "$postinsert"; | ||
IdentifyOperation["PREINSERT"] = "$preInsert"; | ||
IdentifyOperation["POSTINSERT"] = "$postInsert"; | ||
// Operations around removing properties/values | ||
@@ -16,0 +16,0 @@ IdentifyOperation["UNSET"] = "$unset"; |
{ | ||
"name": "@amplitude/types", | ||
"version": "1.5.0", | ||
"version": "1.5.2", | ||
"description": "Types for all Amplitude JavaScript SDKs", | ||
@@ -44,3 +44,3 @@ "repository": "git://github.com/amplitude/Amplitude-Node.git", | ||
"sideEffects": false, | ||
"gitHead": "b65defea984885bd25391ee411ec8b5790f3eaf8" | ||
"gitHead": "005c309d4a4f0e83d059105738e577c9fe97c955" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
85517
884
1