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

@stripe/stripe-js

Package Overview
Dependencies
Maintainers
7
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stripe/stripe-js - npm Package Compare versions

Comparing version 1.0.0-beta.5 to 1.0.0-beta.6

2

package.json
{
"name": "@stripe/stripe-js",
"version": "1.0.0-beta.5",
"version": "1.0.0-beta.6",
"description": "Stripe.js loading utility",

@@ -5,0 +5,0 @@ "main": "dist/stripe.js",

declare module '@stripe/stripe-js' {
interface RedirectToCheckoutOptions {
interface RedirectToCheckoutServerOptions {
/**
* The ID of the [Checkout Session](https://stripe.com/docs/api/checkout/sessions) that is used in [Checkout's server integration](https://stripe.com/docs/payments/checkout/one-time).
*/
sessionId: string;
}
interface RedirectToCheckoutClientOptions {
/**
* The URL to which Stripe should send customers when payment is complete.

@@ -15,7 +22,2 @@ * If you’d like access to the Checkout Session for the successful payment, read more about it in our guide on [fulfilling your payments with webhooks](https://stripe.com/docs/payments/checkout/fulfillment#webhooks).

/**
* The ID of the [Checkout Session](https://stripe.com/docs/api/checkout/sessions) that is used in [Checkout's server integration](https://stripe.com/docs/payments/checkout/one-time).
*/
sessionId?: string;
/**
* An array of objects representing the items that your customer would like to purchase.

@@ -89,2 +91,6 @@ * These items are shown as line items in the Checkout interface and make up the total amount to be collected by Checkout.

}
type RedirectToCheckoutOptions =
| RedirectToCheckoutServerOptions
| RedirectToCheckoutClientOptions;
}
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