@paypal/checkout-components
Advanced tools
Comparing version 5.0.309-alpha-4438cc0.0 to 5.0.309-alpha-72bf89e.0
{ | ||
"name": "@paypal/checkout-components", | ||
"version": "5.0.309-alpha-4438cc0.0", | ||
"version": "5.0.309-alpha-72bf89e.0", | ||
"description": "PayPal Checkout components, for integrating checkout products.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -18,3 +18,2 @@ /* @flow */ | ||
} from "@krakenjs/belter/src"; | ||
import { FUNDING } from "@paypal/sdk-constants/src"; | ||
import { | ||
@@ -30,2 +29,3 @@ getEnableFunding, | ||
} from "@paypal/sdk-client/src"; | ||
import { FUNDING, FPTI_KEY } from "@paypal/sdk-constants/src"; | ||
import { getRefinedFundingEligibility } from "@paypal/funding-components/src"; | ||
@@ -379,4 +379,4 @@ | ||
merchantID: $ReadOnlyArray<string> | void, | ||
buttonSessionId: string | ||
) => Object = memoize(async (clientID, merchantID) => { | ||
buttonSessionID: string | ||
) => Object = memoize(async (clientID, merchantID, buttonSessionID) => { | ||
try { | ||
@@ -402,2 +402,3 @@ const namespace = getNamespace(); | ||
return window[namespace].MessagesModal({ | ||
buttonSessionId: buttonSessionID, | ||
onReady: () => | ||
@@ -413,3 +414,4 @@ getLogger() | ||
[FPTI_KEY.EVENT_NAME]: "modal_render", | ||
}), | ||
}) | ||
.flush(), | ||
onClick: () => | ||
@@ -425,3 +427,4 @@ getLogger() | ||
[FPTI_KEY.EVENT_NAME]: "modal_click", | ||
}), | ||
}) | ||
.flush(), | ||
onApply: () => | ||
@@ -437,4 +440,4 @@ getLogger() | ||
[FPTI_KEY.EVENT_NAME]: "modal_apply", | ||
}), | ||
buttonSessionId, | ||
}) | ||
.flush(), | ||
account: `client-id:${clientID}`, | ||
@@ -441,0 +444,0 @@ merchantId: merchantID?.join(",") || undefined, |
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
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
1159964
15167