@moonpay/platform-sdk-react-native 1.28.1 → 1.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -175,6 +175,9 @@ var buyButtonSpec = {
|
|
|
175
175
|
signature: props.quote,
|
|
176
176
|
...props.externalTransactionId && { externalTransactionId: props.externalTransactionId },
|
|
177
177
|
...props.applePayButtonSettings && { applePayButtonSettings: props.applePayButtonSettings },
|
|
178
|
+
...props.googlePayButtonSettings && {
|
|
179
|
+
googlePayButtonSettings: props.googlePayButtonSettings
|
|
180
|
+
},
|
|
178
181
|
...(0, import_platform_sdk_core.presentationParams)(props.presentation)
|
|
179
182
|
}),
|
|
180
183
|
createCommands: createQuoteCommands,
|
|
@@ -855,6 +858,7 @@ async function setupBuyButton(deps, opts) {
|
|
|
855
858
|
quote: opts.quote,
|
|
856
859
|
externalTransactionId: opts.externalTransactionId,
|
|
857
860
|
applePayButtonSettings: opts.applePayButtonSettings,
|
|
861
|
+
googlePayButtonSettings: opts.googlePayButtonSettings,
|
|
858
862
|
presentation: opts.presentation
|
|
859
863
|
}
|
|
860
864
|
);
|
|
@@ -1593,6 +1597,7 @@ function MoonPayBuyButton({
|
|
|
1593
1597
|
quote,
|
|
1594
1598
|
externalTransactionId,
|
|
1595
1599
|
applePayButtonSettings,
|
|
1600
|
+
googlePayButtonSettings,
|
|
1596
1601
|
headless,
|
|
1597
1602
|
onEvent,
|
|
1598
1603
|
style,
|
|
@@ -1602,7 +1607,7 @@ function MoonPayBuyButton({
|
|
|
1602
1607
|
MoonPayFrameView,
|
|
1603
1608
|
{
|
|
1604
1609
|
spec: headless ? headlessBuyButtonSpec : buyButtonSpec,
|
|
1605
|
-
props: { quote, externalTransactionId, applePayButtonSettings },
|
|
1610
|
+
props: { quote, externalTransactionId, applePayButtonSettings, googlePayButtonSettings },
|
|
1606
1611
|
style,
|
|
1607
1612
|
defaultStyle: { height: 48 },
|
|
1608
1613
|
onEvent,
|