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

@debtcollective/union-component

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@debtcollective/union-component

This component has both the `Membership` and the `Donation` widgets. This are used by the membership app to signup people and accept donations.

  • 1.6.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

Union Component

This component has both the Membership and the Donation widgets. This are used by the membership app to signup people and accept donations.

Variables

We are using window to configure the widget. These are the variables that need to be present for the widget work correctly.

  • window.DC_DONATE_API_URL
  • window.DC_MEMBERSHIP_API_URL
  • window.DC_RECAPTCHA_V3_SITE_KEY
  • window.DC_STRIPE_PUBLIC_TOKEN

Developer notes

Install dependencies by:

yarn install

Once they are install, you want to check your changes using storybook. First cp env.sample .env in order to inject some variables to your storybook so it behaves closer to the real world usage

Take a look to the Stripe website to get your API key

yarn storybook

Keywords

FAQs

Package last updated on 10 Mar 2022

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