Socket
Book a DemoInstallSign in
Socket

@evolv-delivery/active_variants

Package Overview
Dependencies
Maintainers
6
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evolv-delivery/active_variants

Provides access to variant names for active projects

0.4.2
latest
Source
npmnpm
Version published
Weekly downloads
5
Maintainers
6
Weekly downloads
 
Created
Source

active_variants

This integration provides access to variant names in the Evolv runtime.

Setup in the Evolv Manager

Adding an integration to the Evolv Manager

API enhancements

The API adds two functions to the Evolv.client object (getActiveExperimentDate and addDisplayName)

getActiveExperimentData(eid)

This function takes and eid and will an object that can be subscribed to for two events (project.initialized and project.updated).

Here is an example call for thisfunction

> evolv.client.getActiveExperimentData('655e2ccfb3').on('project.initialized', p=> console.info(p))

{
    "uid": "54509095_1747073709990",
    "eid": "655e2ccfb3",
    "cid": "594b647f7132:655e2ccfb3",
    "ordinal": 211,
    "group_id": "9e19e75f-c131-47e3-a7ad-f76e32856a00",
    "excluded": false,
    "id": "655e2ccfb3",
    "displayName": "PR08 | Search",
    "activeVariants": [
        {
            "id": "web.yurro11fv.h78lg5y31",
            "name": "1.2 - Placeholder: Looking for"
        },
        {
            "id": "web.yurro11fv.p8d74fwg1",
            "name": "3.1 - Search input, lights out"
        }
    ]
}

addDisplayName

This is called to add display names to the evolv.client. An example of this call:

evolv.client.addDisplayName?.('variants', 'web.snsgm5ha8.2g5f6zqv6', '16.2 | change copy');

Setting up the config json

There is no configuration currently needed for this integration.

Usage

This integration is used to enable the variant-name-injector

FAQs

Package last updated on 11 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.