svelte-stripe
Advanced tools
Comparing version 1.1.7 to 1.2.0
{ | ||
"name": "svelte-stripe", | ||
"version": "1.1.7", | ||
"version": "1.2.0", | ||
"homepage": "https://sveltestripe.com", | ||
@@ -16,5 +16,2 @@ "license": "MIT", | ||
}, | ||
"dependencies": { | ||
"@stripe/stripe-js": "^2.4.0" | ||
}, | ||
"devDependencies": { | ||
@@ -44,2 +41,3 @@ "@sveltejs/adapter-vercel": "^4.0.5", | ||
"peerDependencies": { | ||
"@stripe/stripe-js": "^3", | ||
"svelte": "^3 || ^4" | ||
@@ -46,0 +44,0 @@ }, |
@@ -23,7 +23,7 @@ /** @typedef {typeof __propDef.props} AddressProps */ | ||
fields?: { | ||
phone?: "auto" | "never" | "always"; | ||
phone?: "auto" | "always" | "never"; | ||
}; | ||
validation?: { | ||
phone?: { | ||
required: "auto" | "never" | "always"; | ||
required: "auto" | "always" | "never"; | ||
}; | ||
@@ -79,7 +79,7 @@ }; | ||
fields?: { | ||
phone?: "auto" | "never" | "always"; | ||
phone?: "auto" | "always" | "never"; | ||
}; | ||
validation?: { | ||
phone?: { | ||
required: "auto" | "never" | "always"; | ||
required: "auto" | "always" | "never"; | ||
}; | ||
@@ -86,0 +86,0 @@ }; |
@@ -6,5 +6,5 @@ /** @typedef {typeof __propDef.props} ContainerProps */ | ||
stripe: import("@stripe/stripe-js").Stripe; | ||
elements?: import("@stripe/stripe-js").StripeElements; | ||
clientSecret?: string; | ||
elements?: import("@stripe/stripe-js").StripeElements; | ||
loader?: "auto" | "never" | "always"; | ||
loader?: "auto" | "always" | "never"; | ||
theme?: "stripe" | "night" | "flat"; | ||
@@ -122,5 +122,5 @@ variables?: { | ||
stripe: import('@stripe/stripe-js').Stripe | null; | ||
elements?: import('@stripe/stripe-js').StripeElements | null; | ||
clientSecret?: string | null; | ||
elements?: import('@stripe/stripe-js').StripeElements | null; | ||
loader?: "auto" | "never" | "always"; | ||
loader?: "auto" | "always" | "never"; | ||
theme?: "stripe" | "night" | "flat"; | ||
@@ -127,0 +127,0 @@ variables?: { |
@@ -6,3 +6,2 @@ /** @typedef {typeof __propDef.props} ElementsProps */ | ||
stripe: import("@stripe/stripe-js").Stripe; | ||
clientSecret?: string; | ||
amount?: any; | ||
@@ -12,5 +11,6 @@ currency?: any; | ||
elements?: import("@stripe/stripe-js").StripeElements; | ||
clientSecret?: string; | ||
fonts?: (import("@stripe/stripe-js").CssFontSource | import("@stripe/stripe-js").CustomFontSource)[]; | ||
locale?: import("@stripe/stripe-js").StripeElementLocale; | ||
loader?: "auto" | "never" | "always"; | ||
loader?: "auto" | "always" | "never"; | ||
theme?: "stripe" | "night" | "flat"; | ||
@@ -128,3 +128,2 @@ variables?: { | ||
stripe: import('@stripe/stripe-js').Stripe | null; | ||
clientSecret?: string | null; | ||
amount?: any; | ||
@@ -134,5 +133,6 @@ currency?: any; | ||
elements?: import('@stripe/stripe-js').StripeElements | null; | ||
clientSecret?: string | null; | ||
fonts?: (import("@stripe/stripe-js").CssFontSource | import("@stripe/stripe-js").CustomFontSource)[]; | ||
locale?: import("@stripe/stripe-js").StripeElementLocale; | ||
loader?: "auto" | "never" | "always"; | ||
loader?: "auto" | "always" | "never"; | ||
theme?: "stripe" | "night" | "flat"; | ||
@@ -139,0 +139,0 @@ variables?: { |
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
72985
+ Added@stripe/stripe-js@3.5.0(transitive)
- Removed@stripe/stripe-js@^2.4.0
- Removed@stripe/stripe-js@2.4.0(transitive)