Socket
Socket
Sign inDemoInstall

@mparticle/data-planning-models

Package Overview
Dependencies
Maintainers
8
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mparticle/data-planning-models - npm Package Compare versions

Comparing version 0.0.2-alpha.3 to 0.0.3

4

package.json
{
"name": "@mparticle/data-planning-models",
"version": "0.0.2-alpha.3",
"version": "0.0.3",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/mparticle/js-models/tree/master/packages/data-planning",
"repository": "https://github.com/mparticle/js-models/tree/master/packages/data_planning",
"files": [

@@ -9,0 +9,0 @@ "dist/"

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

```typescript
import { DataPlan } from '@mparticle/data-plan-models';
import { DataPlan, DataPlanMatchType, DataPlanValidatorType } from '@mparticle/data-planning-models';

@@ -32,3 +32,3 @@ const samplePlan: DataPlan = {

match: {
type: 'custom_event',
type: DataPlanMatchType.CustomEvent,
criteria: {

@@ -40,3 +40,3 @@ event_name: 'My Custom Event',

validator: {
type: 'json_schema',
type: DataPlanValidatorType.JSONSchema,
definition: {

@@ -43,0 +43,0 @@ properties: {},

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