Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@amplitude/types

Package Overview
Dependencies
Maintainers
12
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amplitude/types - npm Package Compare versions

Comparing version 1.5.0 to 1.5.2

18

dist/src/baseEvent.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc