🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@evolv-delivery/progressive-plans-audience

Package Overview
Dependencies
Maintainers
6
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@evolv-delivery/progressive-plans-audience

Binds remote context property if the account is eligible for the banner

latest
Source
npmnpm
Version
0.0.20
Version published
Maintainers
6
Created
Source

Progressive Plans Audience

Created for experiment Wireless Customer Sales concept 11

Reads plan prices on https://www.verizon.com/sales/nextgen/plans/progressiveplans.html and determines if they are eligible for the banner.

Sets a boolean remoteContext entry for vz.AAL-banner.

Setup

To create new-integration from this template in your /evolv/env-integrations folder:

rsync -av templates/ new-integration

And then customize your package.json, src/index.js, and README.md to fit your project

NPM scripts

npm run buildBuilds dist/../index.js files
npm run watchAutomatically builds on save of src/index.js
npm run serveHosts dist folder on port 8080
npm run devWatch and serve
npm startSame as npm run dev
npm run publishBuild and publish to npm

Local Hosting

Run npm start to host locally. To run in your browser inject the following into your <head> tag using Resource Override

(() => {
  if (window.self !== window.top) return;

  console.log('[evolv-local] example-integration: inject');

  const script = document.createElement('script');
  script.type = 'module';
  script.text =
    'import integration from "http://localhost:8080/dist/es/index.js"; console.log("[evolv-local] example-integration: load"); integration()';
  document.head.appendChild(script);
})();

FAQs

Package last updated on 18 Apr 2024

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