@appfunnel-dev/sdk 2.0.1 → 2.1.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.
@@ -7664,6 +7664,7 @@ function Checkout(props) {
7664
7664
  payment,
7665
7665
  className,
7666
7666
  appearance,
7667
+ options: displayOptions,
7667
7668
  methods,
7668
7669
  classNames,
7669
7670
  ...options
@@ -7674,7 +7675,8 @@ function Checkout(props) {
7674
7675
  offering,
7675
7676
  className,
7676
7677
  appearance,
7677
- methods,
7678
+ // `options` is the prop; `methods` is its old name, still accepted.
7679
+ methods: displayOptions ?? methods,
7678
7680
  classNames,
7679
7681
  as: "Checkout",
7680
7682
  // The axes resolve, and the result is always an INLINE rendering: `<Checkout>` is the payment
@@ -7692,6 +7694,7 @@ function CheckoutButton(props) {
7692
7694
  children,
7693
7695
  className,
7694
7696
  appearance,
7697
+ options: displayOptions,
7695
7698
  methods,
7696
7699
  classNames,
7697
7700
  ...options
@@ -7702,7 +7705,7 @@ function CheckoutButton(props) {
7702
7705
  offering,
7703
7706
  className,
7704
7707
  appearance,
7705
- methods,
7708
+ methods: displayOptions ?? methods,
7706
7709
  classNames,
7707
7710
  asChild,
7708
7711
  children,
@@ -9611,5 +9614,5 @@ exports.useTranslation = useTranslation;
9611
9614
  exports.useUserAttribute = useUserAttribute;
9612
9615
  exports.useUtm = useUtm;
9613
9616
  exports.withBus = withBus;
9614
- //# sourceMappingURL=chunk-E7JXWUNV.cjs.map
9615
- //# sourceMappingURL=chunk-E7JXWUNV.cjs.map
9617
+ //# sourceMappingURL=chunk-MBSXEIXT.cjs.map
9618
+ //# sourceMappingURL=chunk-MBSXEIXT.cjs.map