Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update deps #112

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 31 additions & 31 deletions custom-elements.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"kind": "field",
"name": "iconStyle",
"type": {
"text": "Stripe.StripeCardElementOptions['iconStyle']"
"text": "IconStyle"
},
"default": "'default'",
"description": "Stripe icon style.",
Expand All @@ -268,7 +268,7 @@
"kind": "field",
"name": "value",
"type": {
"text": "Stripe.StripeCardElementOptions['value']"
"text": "StripeFormValues"
},
"default": "{}",
"description": "Prefilled values for form.",
Expand All @@ -278,7 +278,7 @@
"kind": "field",
"name": "brand",
"type": {
"text": "Stripe.StripeCardElementChangeEvent['brand']"
"text": "CardBrand | null"
},
"default": "null",
"description": "The card brand detected by Stripe",
Expand Down Expand Up @@ -349,7 +349,7 @@
"parameters": [
{
"name": "sourceData",
"default": "this.sourceData",
"default": "this.sourceData!",
"type": {
"text": "Stripe.CreateSourceData"
}
Expand Down Expand Up @@ -516,7 +516,7 @@
{
"name": "icon-style",
"type": {
"text": "Stripe.StripeCardElementOptions['iconStyle']"
"text": "IconStyle"
},
"default": "'default'",
"description": "Stripe icon style.",
Expand All @@ -525,7 +525,7 @@
{
"name": "value",
"type": {
"text": "Stripe.StripeCardElementOptions['value']"
"text": "StripeFormValues"
},
"default": "{}",
"description": "Prefilled values for form.",
Expand All @@ -534,7 +534,7 @@
{
"name": "brand",
"type": {
"text": "Stripe.StripeCardElementChangeEvent['brand']"
"text": "CardBrand | null"
},
"default": "null",
"description": "The card brand detected by Stripe",
Expand Down Expand Up @@ -668,7 +668,7 @@
"kind": "field",
"name": "amount",
"type": {
"text": "number"
"text": "number | undefined"
},
"description": "The amount in the currency's subunit (e.g. cents, yen, etc.)",
"attribute": "amount",
Expand All @@ -678,7 +678,7 @@
"kind": "field",
"name": "canMakePayment",
"type": {
"text": "Stripe.CanMakePaymentResult"
"text": "Stripe.CanMakePaymentResult | null"
},
"default": "null",
"description": "Whether or not the device can make the payment request.",
Expand All @@ -689,7 +689,7 @@
"kind": "field",
"name": "country",
"type": {
"text": "CountryCode"
"text": "CountryCode | undefined"
},
"description": "The two-letter country code of your Stripe account",
"attribute": "country"
Expand All @@ -698,7 +698,7 @@
"kind": "field",
"name": "currency",
"type": {
"text": "Stripe.PaymentRequestOptions['currency']"
"text": "StripeCurrency | undefined"
},
"description": "Three character currency code",
"attribute": "currency"
Expand All @@ -708,7 +708,7 @@
"name": "#displayItems",
"privacy": "private",
"type": {
"text": "Stripe.PaymentRequestItem[]"
"text": "Stripe.PaymentRequestItem[] | undefined"
}
},
{
Expand All @@ -724,7 +724,7 @@
"kind": "field",
"name": "label",
"type": {
"text": "string"
"text": "string | undefined"
},
"description": "A name that the browser shows the customer in the payment interface.",
"attribute": "label",
Expand All @@ -734,7 +734,7 @@
"kind": "field",
"name": "paymentIntent",
"type": {
"text": "Stripe.PaymentIntent"
"text": "Stripe.PaymentIntent | null"
},
"default": "null",
"description": "Stripe PaymentIntent",
Expand All @@ -744,7 +744,7 @@
"kind": "field",
"name": "paymentRequest",
"type": {
"text": "Stripe.PaymentRequest"
"text": "Stripe.PaymentRequest | null"
},
"default": "null",
"description": "Stripe PaymentRequest",
Expand All @@ -765,7 +765,7 @@
"kind": "field",
"name": "requestPayerEmail",
"type": {
"text": "boolean"
"text": "boolean | undefined"
},
"description": "See the requestPayerName option.",
"attribute": "request-payer-email"
Expand All @@ -774,7 +774,7 @@
"kind": "field",
"name": "requestPayerName",
"type": {
"text": "boolean"
"text": "boolean | undefined"
},
"description": "By default, the browser‘s payment interface only asks the customer for actual payment information. A customer name can be collected by setting this option to true. This collected name will appears in the PaymentResponse object.\n\nWe highly recommend you collect at least one of name, email, or phone as this also results in collection of billing address for Apple Pay. The billing address can be used to perform address verification and block fraudulent payments. For all other payment methods, the billing address is automatically collected when available.",
"attribute": "request-payer-name"
Expand All @@ -783,7 +783,7 @@
"kind": "field",
"name": "requestPayerPhone",
"type": {
"text": "boolean"
"text": "boolean | undefined"
},
"description": "See the requestPayerName option.",
"attribute": "request-payer-phone"
Expand All @@ -792,7 +792,7 @@
"kind": "field",
"name": "requestShipping",
"type": {
"text": "boolean"
"text": "boolean | undefined"
},
"description": "Collect shipping address by setting this option to true. The address appears in the PaymentResponse.\nYou must also supply a valid [ShippingOptions] to the shippingOptions property. This can be up front at the time stripe.paymentRequest is called, or in response to a shippingaddresschange event using the updateWith callback.",
"attribute": "request-shipping"
Expand All @@ -802,7 +802,7 @@
"name": "#shippingOptions",
"privacy": "private",
"type": {
"text": "Stripe.PaymentRequestShippingOption[]"
"text": "Stripe.PaymentRequestShippingOption[] | undefined"
}
},
{
Expand Down Expand Up @@ -1103,15 +1103,15 @@
{
"name": "amount",
"type": {
"text": "number"
"text": "number | undefined"
},
"description": "The amount in the currency's subunit (e.g. cents, yen, etc.)",
"fieldName": "amount"
},
{
"name": "can-make-payment",
"type": {
"text": "Stripe.CanMakePaymentResult"
"text": "Stripe.CanMakePaymentResult | null"
},
"default": "null",
"description": "Whether or not the device can make the payment request.",
Expand All @@ -1120,15 +1120,15 @@
{
"name": "country",
"type": {
"text": "CountryCode"
"text": "CountryCode | undefined"
},
"description": "The two-letter country code of your Stripe account",
"fieldName": "country"
},
{
"name": "currency",
"type": {
"text": "Stripe.PaymentRequestOptions['currency']"
"text": "StripeCurrency | undefined"
},
"description": "Three character currency code",
"fieldName": "currency"
Expand All @@ -1144,15 +1144,15 @@
{
"name": "label",
"type": {
"text": "string"
"text": "string | undefined"
},
"description": "A name that the browser shows the customer in the payment interface.",
"fieldName": "label"
},
{
"name": "payment-intent",
"type": {
"text": "Stripe.PaymentIntent"
"text": "Stripe.PaymentIntent | null"
},
"default": "null",
"description": "Stripe PaymentIntent",
Expand All @@ -1161,7 +1161,7 @@
{
"name": "payment-request",
"type": {
"text": "Stripe.PaymentRequest"
"text": "Stripe.PaymentRequest | null"
},
"default": "null",
"description": "Stripe PaymentRequest",
Expand All @@ -1179,31 +1179,31 @@
{
"name": "request-payer-email",
"type": {
"text": "boolean"
"text": "boolean | undefined"
},
"description": "See the requestPayerName option.",
"fieldName": "requestPayerEmail"
},
{
"name": "request-payer-name",
"type": {
"text": "boolean"
"text": "boolean | undefined"
},
"description": "By default, the browser‘s payment interface only asks the customer for actual payment information. A customer name can be collected by setting this option to true. This collected name will appears in the PaymentResponse object.\n\nWe highly recommend you collect at least one of name, email, or phone as this also results in collection of billing address for Apple Pay. The billing address can be used to perform address verification and block fraudulent payments. For all other payment methods, the billing address is automatically collected when available.",
"fieldName": "requestPayerName"
},
{
"name": "request-payer-phone",
"type": {
"text": "boolean"
"text": "boolean | undefined"
},
"description": "See the requestPayerName option.",
"fieldName": "requestPayerPhone"
},
{
"name": "request-shipping",
"type": {
"text": "boolean"
"text": "boolean | undefined"
},
"description": "Collect shipping address by setting this option to true. The address appears in the PaymentResponse.\nYou must also supply a valid [ShippingOptions] to the shippingOptions property. This can be up front at the time stripe.paymentRequest is called, or in response to a shippingaddresschange event using the updateWith callback.",
"fieldName": "requestShipping"
Expand Down
4 changes: 1 addition & 3 deletions docs/_data/importMap.cjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
/* eslint-disable quotes */
/* eslint-env node */

const isDP = process.env.CONTEXT === 'deploy-preview';

module.exports = {
"imports": {
"@stripe/stripe-js": "https://ga.jspm.io/npm:@stripe/[email protected]/",
"@power-elements/stripe-elements": `${isDP ? '' : '/stripe-elements'}/stripe-elements/index.js`,
"@power-elements/stripe-elements": '/stripe-elements/index.js',
"@lavadrop/camel-case": "https://ga.jspm.io/npm:@lavadrop/[email protected]/camelCase.js",
"@lavadrop/kebab-case": "https://ga.jspm.io/npm:@lavadrop/[email protected]/kebabCase.js",
"@material/mwc-button": "https://ga.jspm.io/npm:@material/[email protected]/mwc-button.js",
Expand Down
Loading