Socket
Socket
Sign inDemoInstall

@mparticle/event-models

Package Overview
Dependencies
Maintainers
10
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mparticle/event-models - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

dist/index.d.ts

@@ -6,3 +6,3 @@ export interface ApplicationInformation {

install_referrer?: string;
_package?: string;
package?: string;
os?: ApplicationInformationOsEnum;

@@ -9,0 +9,0 @@ apple_search_ads_attributes?: {

{
"name": "@mparticle/event-models",
"version": "1.1.2",
"version": "1.1.3",
"description": "",

@@ -42,3 +42,3 @@ "main": "dist/index.js",

},
"gitHead": "f95a802dccd4d37c3d1077616dd435c2c4ba5af0"
"gitHead": "31850f243128d9ca7bb602e1b157e00cc4a1c1a1"
}

@@ -18,8 +18,12 @@ <img src="https://static.mparticle.com/sdk/mp_logo_black.svg" width="280"><br>

```typescript
import { CustomEvent } from '@mparticle/event-models';
import {
CustomEvent,
CustomEventDataCustomEventTypeEnum,
EventTypeEnum,
} from '@mparticle/event-models';
const sampleCustomEvent: CustomEvent = {
event_type: 'custom_event',
event_type: EventTypeEnum.customEvent,
data: {
custom_event_type: 'other',
custom_event_type: CustomEventDataCustomEventTypeEnum.other,
event_name: 'My custom event',

@@ -26,0 +30,0 @@ custom_flags: {

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