Skip to content

Commit 8698034

Browse files
spencersablanSpencer Sablanwsbrunson
authored
Add shopperInsightsUsed xprop 👾 (#2401)
* Add shopperInsightsUsed to xprops * Return wasShopperInsightsUsed * change name of prop * Update sdk-client version * Update src/zoid/buttons/component.jsx Co-authored-by: Shane Brunson <[email protected]> --------- Co-authored-by: Spencer Sablan <[email protected]> Co-authored-by: Shane Brunson <[email protected]>
1 parent 99a8580 commit 8698034

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
"@paypal/common-components": "^1.0.35",
115115
"@paypal/connect-loader-component": "1.1.1",
116116
"@paypal/funding-components": "^1.0.31",
117-
"@paypal/sdk-client": "^4.0.191",
117+
"@paypal/sdk-client": "^4.0.194",
118118
"@paypal/sdk-constants": "^1.0.146",
119119
"@paypal/sdk-logos": "^2.2.6"
120120
},

Diff for: src/zoid/buttons/component.jsx

+6
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ import {
4242
getFirstRenderExperiments,
4343
getSDKAttribute,
4444
getJsSdkLibrary,
45+
wasShopperInsightsUsed,
4546
} from "@paypal/sdk-client/src";
4647
import {
4748
rememberFunding,
@@ -948,6 +949,11 @@ export const getButtonsComponent: () => ButtonsComponent = memoize(() => {
948949
value: () => sessionState,
949950
},
950951

952+
getShopperInsightsUsed: {
953+
type: "function",
954+
value: () => wasShopperInsightsUsed,
955+
},
956+
951957
stageHost: {
952958
type: "string",
953959
value: getStageHost,

0 commit comments

Comments
 (0)