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

@devcycle/types

Package Overview
Dependencies
Maintainers
6
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devcycle/types - npm Package Compare versions

Comparing version 1.10.3 to 1.10.4

35

index.cjs.js

@@ -715,2 +715,32 @@ 'use strict';

})(exports.AudienceOperator || (exports.AudienceOperator = {}));
class AudienceFilter {
/**
* Filter type of this audience filter (user, audienceTemplate etc.)
*/
type;
/**
* Sub type of this filter (appVersion, mixpanel etc.)
*/
subType;
/**
* Comparator to use if this is a filter
*/
comparator;
/**
* Data Key used for custom data and other filter sub-type that require a key-value mapping.
*/
dataKey;
/**
* Data Key used for custom data and other filter sub-type that require a key-value mapping.
*/
dataKeyType;
/**
* Filter values to segment against, must be set for all filter types other than 'all'
*/
values;
/**
* Array of audience id's for filters of type audienceMatch
*/
_audiences;
}
/**

@@ -860,2 +890,5 @@ * Audience filter used to describe a segmentation for a user audience.

}
class TargetAudience {
filters;
}
/**

@@ -1218,2 +1251,3 @@ * Defines an Audience Target including the Audience model, rollout, and variation distribution

exports.Audience = Audience;
exports.AudienceFilter = AudienceFilter;
exports.AudienceFilterOrOperator = AudienceFilterOrOperator;

@@ -1250,2 +1284,3 @@ exports.ConfigBody = ConfigBody;

exports.Target = Target;
exports.TargetAudience = TargetAudience;
exports.TargetDistribution = TargetDistribution;

@@ -1252,0 +1287,0 @@ exports.TopLevelOperator = TopLevelOperator;

35

index.esm.js

@@ -701,2 +701,32 @@ import isString from 'lodash/isString';

})(AudienceOperator || (AudienceOperator = {}));
class AudienceFilter {
/**
* Filter type of this audience filter (user, audienceTemplate etc.)
*/
type;
/**
* Sub type of this filter (appVersion, mixpanel etc.)
*/
subType;
/**
* Comparator to use if this is a filter
*/
comparator;
/**
* Data Key used for custom data and other filter sub-type that require a key-value mapping.
*/
dataKey;
/**
* Data Key used for custom data and other filter sub-type that require a key-value mapping.
*/
dataKeyType;
/**
* Filter values to segment against, must be set for all filter types other than 'all'
*/
values;
/**
* Array of audience id's for filters of type audienceMatch
*/
_audiences;
}
/**

@@ -846,2 +876,5 @@ * Audience filter used to describe a segmentation for a user audience.

}
class TargetAudience {
filters;
}
/**

@@ -1203,2 +1236,2 @@ * Defines an Audience Target including the Audience model, rollout, and variation distribution

export { Audience, AudienceFilterOrOperator, AudienceOperator, BooleanFilterComparator, ConfigBody, DVCAPIUser, DVCBucketingUser, DVCClientAPIUser, DVCEvent, DVCOptInUser, DVCPopulatedRequestEventDto, DataKeyType, Environment, Feature, FeatureConfiguration, FeaturePrerequisites, FeatureSource, FeatureType, FeatureWinningVariation, FilterComparator, FilterType, IsDVCCustomDataJSONObject, ListAudience, ListAudienceSubType, NumberFilterComparator, Project, Audience as PublicAudience, Environment as PublicEnvironment, Feature as PublicFeature, FeatureConfiguration as PublicFeatureConfiguration, Project as PublicProject, Rollout as PublicRollout, RolloutStage as PublicRolloutStage, Target as PublicTarget, Variable as PublicVariable, Variation as PublicVariation, Rollout, RolloutStage, SDKEventRequestBody, SDKTypeValues, SemverFilterComparator, StringFilterComparator, Target, TargetDistribution, TargetingRuleTypes, TopLevelOperator, UserSubType, Variable, VariableSource, VariableType, Variation, getVariableTypeFromValue, validate$1 as validate };
export { Audience, AudienceFilter, AudienceFilterOrOperator, AudienceOperator, BooleanFilterComparator, ConfigBody, DVCAPIUser, DVCBucketingUser, DVCClientAPIUser, DVCEvent, DVCOptInUser, DVCPopulatedRequestEventDto, DataKeyType, Environment, Feature, FeatureConfiguration, FeaturePrerequisites, FeatureSource, FeatureType, FeatureWinningVariation, FilterComparator, FilterType, IsDVCCustomDataJSONObject, ListAudience, ListAudienceSubType, NumberFilterComparator, Project, Audience as PublicAudience, Environment as PublicEnvironment, Feature as PublicFeature, FeatureConfiguration as PublicFeatureConfiguration, Project as PublicProject, Rollout as PublicRollout, RolloutStage as PublicRolloutStage, Target as PublicTarget, Variable as PublicVariable, Variation as PublicVariation, Rollout, RolloutStage, SDKEventRequestBody, SDKTypeValues, SemverFilterComparator, StringFilterComparator, Target, TargetAudience, TargetDistribution, TargetingRuleTypes, TopLevelOperator, UserSubType, Variable, VariableSource, VariableType, Variation, getVariableTypeFromValue, validate$1 as validate };

2

package.json
{
"name": "@devcycle/types",
"version": "1.10.3",
"version": "1.10.4",
"license": "MIT",

@@ -5,0 +5,0 @@ "main": "./index.cjs.js",

@@ -93,2 +93,32 @@ /**

}
export declare class AudienceFilter<IdType = string> {
/**
* Filter type of this audience filter (user, audienceTemplate etc.)
*/
type: FilterType;
/**
* Sub type of this filter (appVersion, mixpanel etc.)
*/
subType?: UserSubType;
/**
* Comparator to use if this is a filter
*/
comparator: FilterComparator;
/**
* Data Key used for custom data and other filter sub-type that require a key-value mapping.
*/
dataKey?: string;
/**
* Data Key used for custom data and other filter sub-type that require a key-value mapping.
*/
dataKeyType?: DataKeyType;
/**
* Filter values to segment against, must be set for all filter types other than 'all'
*/
values?: string[] | boolean[] | number[];
/**
* Array of audience id's for filters of type audienceMatch
*/
_audiences?: IdType[];
}
/**

@@ -95,0 +125,0 @@ * Audience filter used to describe a segmentation for a user audience.

@@ -1,2 +0,2 @@

import { Audience } from './audience';
import { TopLevelOperator } from './audience';
export declare enum TargetingRuleTypes {

@@ -50,2 +50,5 @@ override = "override"

}
export declare class TargetAudience<IdType = string> {
filters: TopLevelOperator<IdType>;
}
/**

@@ -61,3 +64,3 @@ * Defines an Audience Target including the Audience model, rollout, and variation distribution

*/
_audience: Audience<IdType>;
_audience: TargetAudience<IdType>;
/**

@@ -64,0 +67,0 @@ * Rollout sub-document describing how a Target's audience is rolled out

@@ -93,2 +93,32 @@ /**

}
export declare class AudienceFilter<IdType = string> {
/**
* Filter type of this audience filter (user, audienceTemplate etc.)
*/
type: FilterType;
/**
* Sub type of this filter (appVersion, mixpanel etc.)
*/
subType?: UserSubType;
/**
* Comparator to use if this is a filter
*/
comparator: FilterComparator;
/**
* Data Key used for custom data and other filter sub-type that require a key-value mapping.
*/
dataKey?: string;
/**
* Data Key used for custom data and other filter sub-type that require a key-value mapping.
*/
dataKeyType?: DataKeyType;
/**
* Filter values to segment against, must be set for all filter types other than 'all'
*/
values?: string[] | boolean[] | number[];
/**
* Array of audience id's for filters of type audienceMatch
*/
_audiences?: IdType[];
}
/**

@@ -95,0 +125,0 @@ * Audience filter used to describe a segmentation for a user audience.

@@ -1,2 +0,2 @@

import { Audience } from './audience';
import { TopLevelOperator } from './audience';
export declare enum TargetingRuleTypes {

@@ -50,2 +50,5 @@ override = "override"

}
export declare class TargetAudience<IdType = string> {
filters: TopLevelOperator<IdType>;
}
/**

@@ -61,3 +64,3 @@ * Defines an Audience Target including the Audience model, rollout, and variation distribution

*/
_audience: Audience<IdType>;
_audience: TargetAudience<IdType>;
/**

@@ -64,0 +67,0 @@ * Rollout sub-document describing how a Target's audience is rolled out

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