@pelcro/react-pelcro-js 3.2.0-beta.35 → 3.2.0-beta.36

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.js CHANGED
@@ -17025,7 +17025,7 @@ const SubscriptionCancelLaterButton = ({
17025
17025
  const handleCancelNowClick = () => {
17026
17026
  const payload = {
17027
17027
  subscription_id: subscription.id,
17028
- mode: "now",
17028
+ mode: "period_end",
17029
17029
  ...(cancelationReason && {
17030
17030
  reason: cancelationReason
17031
17031
  })
package/dist/index.esm.js CHANGED
@@ -16995,7 +16995,7 @@ const SubscriptionCancelLaterButton = ({
16995
16995
  const handleCancelNowClick = () => {
16996
16996
  const payload = {
16997
16997
  subscription_id: subscription.id,
16998
- mode: "now",
16998
+ mode: "period_end",
16999
16999
  ...(cancelationReason && {
17000
17000
  reason: cancelationReason
17001
17001
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pelcro/react-pelcro-js",
3
3
  "description": "Pelcro's React UI Elements",
4
- "version": "3.2.0-beta.35",
4
+ "version": "3.2.0-beta.36",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.cjs.js",