@paypal/checkout-components
Advanced tools
Comparing version 5.0.51 to 5.0.52
@@ -25,2 +25,3 @@ /* eslint import/no-commonjs: off, flowtype/require-valid-file-annotation: off, flowtype/require-return-type: off */ | ||
__BUTTONS__: '/smart/buttons', | ||
__MENU__: '/smart/menu', | ||
__CARD_FIELDS__: '/smart/card-fields' | ||
@@ -27,0 +28,0 @@ } |
{ | ||
"name": "@paypal/checkout-components", | ||
"version": "5.0.51", | ||
"version": "5.0.52", | ||
"description": "PayPal Checkout components, for integrating checkout products.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,2 +17,6 @@ /* @flow */ | ||
export function getMenuUrl() : string { | ||
return `${ getPayPalDomain() }${ __PAYPAL_CHECKOUT__.__URI__.__MENU__ }`; | ||
} | ||
export const DEFAULT_POPUP_SIZE = { | ||
@@ -19,0 +23,0 @@ WIDTH: 450, |
@@ -13,3 +13,4 @@ /* @flow */ | ||
__CHECKOUT__ : string, | ||
__CARD_FIELDS__ : string | ||
__CARD_FIELDS__ : string, | ||
__MENU__ : string | ||
} | ||
@@ -16,0 +17,0 @@ }; |
@@ -9,3 +9,3 @@ /* @flow */ | ||
import { Text } from '../ui'; | ||
import { Text } from '../ui/text'; | ||
@@ -12,0 +12,0 @@ export type ContentMap = { |
@@ -8,3 +8,3 @@ /* @flow */ | ||
import type { FundingEligibilityType } from '../types'; | ||
import type { OnShippingChange } from '../buttons/props'; | ||
import type { OnShippingChange } from '../zoid/buttons/props'; | ||
@@ -11,0 +11,0 @@ import { FUNDING_PRIORITY, getFundingConfig } from './config'; |
@@ -7,6 +7,7 @@ /* @flow */ | ||
import { allowIframe as _allowIframe } from '../lib'; | ||
import { getCheckoutComponent } from '../checkout'; | ||
import { getButtonsComponent } from '../buttons'; | ||
import { Buttons as _ButtonsTemplate } from '../buttons/template'; | ||
import { getCardFieldsComponent } from '../card-fields'; | ||
import { getCheckoutComponent } from '../zoid/checkout'; | ||
import { getButtonsComponent } from '../zoid/buttons'; | ||
import { getCardFieldsComponent } from '../zoid/card-fields'; | ||
import { getMenuComponent } from '../zoid/menu'; | ||
import { Buttons as _ButtonsTemplate } from '../ui/buttons'; | ||
@@ -31,2 +32,6 @@ function protectedExport<T>(xport : T) : ?T { | ||
export const Menu = { | ||
__get__: () => protectedExport(getMenuComponent()) | ||
}; | ||
export const ButtonsTemplate = { | ||
@@ -33,0 +38,0 @@ __get__: () => protectedExport(_ButtonsTemplate) |
@@ -5,1 +5,2 @@ /* @flow */ | ||
export * from './loading'; | ||
export * from './buttons'; |
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
638110
113
3941
4