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

@power-elements/stripe-elements

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@power-elements/stripe-elements - npm Package Versions

124

2.2.2

Diff

Changelog

Source

2.2.2 (2020-01-27)

Bug Fixes

  • fix typescript typings (f3cb81e)
bennyp
published 2.2.1 •

Changelog

Source

2.2.1 (2020-01-25)

Bug Fixes

bennyp
published 2.2.0 •

Changelog

Source

2.2.0 (2020-01-25)

Bug Fixes

  • clear the element when calling reset (3b8bc61)
  • improve error message for empty card (fa17b60)

Features

  • add stripe and error css shadow parts. (46013a2)
  • add stripe-payment-request element (32cdd0d)
  • adds ready and focused propertie; blur and focus methods (26f6e2a)
  • reflect error message to attr (bf3df77)
  • stripe-elements: add ready readOnly notifying prop (279d603)
  • stripe-elements: adds complete, empty, & invalid properties (b7c3f12)
bennyp
published 2.1.1 •

Changelog

Source

2.1.1 (2020-01-21)

Bug Fixes

  • events bubble (e68f25c)
  • when action property is set auto-POSTs payment info to URL (35f0502)
bennyp
published 2.1.0 •

Changelog

Source

2.1.0 (2020-01-20)

Features

  • add createPaymentMethod method (9639e10)
  • add submit method and generate attribute (b866405)
bennyp
published 2.0.2 •

Changelog

Source

2.0.2 (2020-01-19)

Bug Fixes

  • fix DOM rebuilding for broken light slot template (56b6a69)
bennyp
published 2.0.1 •

Changelog

Source

2.0.1 (2020-01-06)

Bug Fixes

  • instantiating with a key no longer breaks tree walking (0ab1a56)
bennyp
published 2.0.0 •

Changelog

Source

2.0.0 (2019-12-22)

⚠ BREAKING CHANGES

  • removes submit method

Before:

submitButton.addEventListener('click', () => stripeElements.submit())

After:

getTokenButton.addEventListener('click', () => stripeElements.createToken())
getSourceButton.addEventListener('click', () =>
stripeElements.createSource())
  • removes error display unless show-error is set.

Previously, stripe elements would display the error message within it's shadow DOM. To continue to use that feature, set

<stripe-elements show-error></stripe-elements>

Also adds a error CSS Shadow Part

stripe-elements::part(error) {
  font-color: red;
}

Features

  • add createSource method (5cc03ab)
  • add data param to createToken & createSouce (5a1b043)
  • add show-error boolean attribute (6fedf77)

Bug Fixes

  • set validation state initially (b4b2b0b)
bennyp
published 1.1.2 •

Changelog

Source

2.0.0 (2019-12-22)

⚠ BREAKING CHANGES

  • removes submit method

Before:

submitButton.addEventListener('click', () => stripeElements.submit())

After:

getTokenButton.addEventListener('click', () => stripeElements.createToken())
getSourceButton.addEventListener('click', () =>
stripeElements.createSource())
  • removes error display unless show-error is set.

Previously, stripe elements would display the error message within it's shadow DOM. To continue to use that feature, set

<stripe-elements show-error></stripe-elements>

Also adds a error CSS Shadow Part

stripe-elements::part(error) {
  font-color: red;
}

Features

  • add createSource method (5cc03ab)
  • add data param to createToken & createSouce (5a1b043)
  • add show-error boolean attribute (6fedf77)

Bug Fixes

  • set validation state initially (b4b2b0b)
bennyp
published 1.0.1 •

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