@stripe/stripe-js
Advanced tools
Comparing version 1.42.1 to 1.43.0
@@ -57,3 +57,3 @@ function _typeof(obj) { | ||
name: 'stripe-js', | ||
version: "1.42.1", | ||
version: "1.43.0", | ||
startTime: startTime | ||
@@ -60,0 +60,0 @@ }); |
@@ -61,3 +61,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "1.42.1", | ||
version: "1.43.0", | ||
startTime: startTime | ||
@@ -64,0 +64,0 @@ }); |
@@ -41,3 +41,3 @@ var V3_URL = 'https://js.stripe.com/v3'; | ||
name: 'stripe-js', | ||
version: "1.42.1", | ||
version: "1.43.0", | ||
startTime: startTime | ||
@@ -44,0 +44,0 @@ }); |
@@ -45,3 +45,3 @@ 'use strict'; | ||
name: 'stripe-js', | ||
version: "1.42.1", | ||
version: "1.43.0", | ||
startTime: startTime | ||
@@ -48,0 +48,0 @@ }); |
{ | ||
"name": "@stripe/stripe-js", | ||
"version": "1.42.1", | ||
"version": "1.43.0", | ||
"description": "Stripe.js loading utility", | ||
@@ -5,0 +5,0 @@ "main": "dist/stripe.js", |
@@ -114,7 +114,15 @@ import {StripeElementBase} from './base'; | ||
price?: null; | ||
item_details?: null; | ||
quantity?: number | null; | ||
} | ||
| { | ||
product?: null; | ||
price: string; | ||
item_details?: null; | ||
quantity?: number | null; | ||
} | ||
| { | ||
price?: null; | ||
product?: null; | ||
item_details: CartItemDetails; | ||
quantity?: number | null; | ||
@@ -125,2 +133,10 @@ } | ||
export type CartItemDetails = { | ||
external_id: string; | ||
name: string; | ||
description?: string; | ||
image?: string; | ||
unit_amount: number; | ||
}; | ||
export type CartDescriptor = 'cart' | 'bag' | 'basket'; | ||
@@ -127,0 +143,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
390235
10528