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

@algoan/connect

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algoan/connect

Library for Algoan Connect

  • 6.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

@algoan/connect

Library for Algoan Connect

Installation

  • Using the script:
<script type="text/javascript" src="https://js.algoan.com/connect/algoan-connect.js"></script>
  • Using the package:
npm install @algoan/connect

Basic usage

Place a div with the id algoan-connect where you want the button to appear:

<div id="algoan-connect"></div>

Then, you can invoke the Algoan Connect library:

  • If you are using the script:
<script>
  AlgoanConnect.addWidget({ apiKey: '<Your API key>', customIdentifier: '<Your unique user identifier>' });
</script>
  • If you are using the package:
import { addWidget } from '@algoan/connect';

addWidget({ apiKey: '<Your API key>', customIdentifier: '<Your unique user identifier>' });

Configuration

It is possible to configure some aspect of the Algoan Connect button. You can refer to the connect customization file for the list of every configuration possible.

Personal details

Once the widget is added to your user interface, it is possible to pass extra information to each aggregation request. For this use case, you can use setCustomerPersonalDetails.

Contributing

Install

npm install

Build

npm run build

Compile

npm run compile

Development server

npm run dev

This command will start a webserver listening at http://localhost:3002/. It will serve the dev/dev-server-template.html file with the library already injected.

FAQs

Package last updated on 14 Nov 2023

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

  • 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