@paypal/checkout-components
Advanced tools
Comparing version 4.1.40 to 4.1.41
{ | ||
"name": "@paypal/checkout-components", | ||
"version": "4.1.40", | ||
"version": "4.1.41", | ||
"description": "PayPal Checkout components, for integrating checkout products.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,3 +6,3 @@ /* @flow */ | ||
import { createOrder, type OrderCreateRequest, | ||
type OrderGetResponse, type OrderCaptureResponse } from '@paypal/sdk-client'; | ||
type OrderGetResponse, type OrderCaptureResponse } from '@paypal/sdk-client/src'; | ||
import { FUNDING, PLATFORM, INTENT, COMMIT, VAULT, | ||
@@ -9,0 +9,0 @@ ENV, COUNTRY, LANG, COUNTRY_LANGS, type LocaleType, CARD } from '@paypal/sdk-constants/src'; |
@@ -8,3 +8,3 @@ /* @flow */ | ||
import { create, CONTEXT, type ZoidComponent } from 'zoid/src'; | ||
import { isDevice, memoize, isIEIntranet, noop, once } from 'belter/src'; | ||
import { isDevice, memoize, isIEIntranet, noop, once, supportsPopups } from 'belter/src'; | ||
@@ -27,3 +27,3 @@ import { getSessionID, getButtonSessionID } from '../lib'; | ||
defaultContext: CONTEXT.POPUP, | ||
defaultContext: supportsPopups() ? CONTEXT.POPUP : CONTEXT.IFRAME, | ||
@@ -30,0 +30,0 @@ url({ props }) : string { |
Sorry, the diff of this file is too big to display
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
428077