Releases: polarsource/polar
Releases Β· polarsource/polar
@polar-sh/checkout@0.3.0
Minor Changes
- b9975a9: Adds an embedded payment method to @polar-sh/checkout. With a modal SDK (PolarEmbedPaymentMethod.create()) and React component () for attaching a card to a customer/member. The CDN embed.global.js now bundles both checkout and payment-method auto-init in a single script.
- 9b59a1d: Add payment method flow to the SDK
Patch Changes
@polar-sh/checkout@0.3.0-beta.3
Minor Changes
- 9b59a1d: Add payment method flow to the SDK
@polar-sh/checkout@0.3.0-beta.2
Patch Changes
- 858523d: Add inline/modal options, and fix redirect URL's
@polar-sh/checkout@0.3.0-beta.1
Patch Changes
- 9b18ea2: Simplify the payment method embed API with a single sessionToken prop/parameter
@polar-sh/checkout@0.3.0-beta.0
Minor Changes
- b9975a9: Adds an embedded payment method to @polar-sh/checkout. With a modal SDK (PolarEmbedPaymentMethod.create()) and React component () for attaching a card to a customer/member. The CDN embed.global.js now bundles both checkout and payment-method auto-init in a single script.
@polar-sh/checkout@0.2.1
Patch Changes
- 08dd235:
event.preventDefault()stopped working on the checkout events (likesuccess). This is now fixed.
@polar-sh/checkout@0.2.0
Minor Changes
-
f8bc897: Add onLoaded option on
PolarEmbedCheckout.createto wire a loaded event listener, ensuring it's always executed, even if the checkout loads very quickly.Breaking change
The theme should now be passed in an object when calling
PolarEmbedCheckout.create:PolarEmbedCheckout.create('__CHECKOUT_LINK__', { theme: 'dark' })
@polar-sh/checkout@0.1.15
Patch Changes
- d283219: Fix event handler accumulation when creating multiple EmbedCheckout instances by properly removing window message listeners on close
@polar-sh/ui@0.1.2
Patch Changes
- 258bdb1: Dependency upgrades, including React 19 peer dependency support