New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@adobe-mcid/visitor-js-server

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adobe-mcid/visitor-js-server

Server compatible Visitor ID service

0.0.4
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Visitor JS - Server Side

A trimmed down version of the VisitorAPI JS library, that is meant to run on the server, either in a NodeJS or Rhino environment.

Provided Interfaces (Subject to naming changes!)

  • generatePayload(consumerID: string, amcvCookie: string) : VisitorPayload
  • getState() : State { SIDI, consumerID, customerIDs }
  • AuthState : Enum

For developers

To run sample server locally

  • npm install
  • npm run dev
  • open browser and go to localhost:3000

Build Instructions

  • npm install
  • npm run build:dev for an unminified & transpiled dev build The built files can be found in the lib directory.

To lint

npm run lint

To test

npm run test

FAQs

Package last updated on 29 Sep 2016

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