Star on GitHubGet started
Changelog

Release history

Version history for the PayKit npm packages. Each release links directly to npm.

v0.10.0Latest
  • FeaturePayPal client adapter — dual-mode Buttons + Advanced Card Fields
  • FeaturePayPal provider bridge for frontend SDK (paykit-js)
  • FeaturepaymentMethodTypes prop on CheckoutForm and CardInput (paykit-react)
  • FeaturePayPal webhook verification via postback API
  • FeaturePayPal partial capture support
  • FeaturePayPal subscription auto-create catalog product
  • FixImproved mount safety — mounting guard, assertMounted, proper cleanup
  • FixPayPal refund currency extraction
  • FixPayPal charges.cancel error type
v0.9.0
  • FeaturePayPal adapter — OAuth 2.0, Order → Capture flow
  • FeaturePayPal mappers: charge, refund, customer, subscription, webhook, error
  • FeaturePayPal added to SupportedProvider type
  • Infrastructure47 mapper tests + 75 adapter tests for PayPal
v0.7.0
  • FeatureValidation module — charges.create param validation with ValidationError
  • FeatureCurrency utilities and WEBHOOK_EVENTS constants
  • FeatureProviderName type export
  • Feature19 unified error codes with human-readable suggestions and retryable flag
  • FeatureDebug logging support
  • FeatureMock adapter for testing
v0.5.0
  • InfrastructurePackage consolidation — all adapters as subpath exports of @squaredr/paykit
  • FeatureConstructor sugar — new StripeAdapter({ secretKey })
  • FeaturePayKit class alias for UnifiedPayments
  • FeatureAdapterConfig — new PayKit({ adapter }) pattern
  • Featurewebhooks.construct({ payload, signature, secret }) API
  • FeaturePaymentRouter class for multi-provider routing
v0.4.0SDK API v1
  • FeatureFinalized public API surface
  • FeatureStripe adapter — charges, refunds, customers, subscriptions, webhooks
  • FeatureRazorpay adapter — charges, refunds, customers, subscriptions, webhooks
  • FeatureReact components: PayKitProvider, CheckoutForm, CardInput
  • FeatureReact hooks: usePayKit, useCheckout
  • FeatureVanilla JS SDK: PayKitClient, mountCardInput, confirmPayment
  • Infrastructure252 unit tests passing
v0.2.0Initial release
  • FeatureCore types: UnifiedCharge, UnifiedRefund, UnifiedCustomer
  • FeaturePaymentAdapter interface
  • FeatureStripe adapter — basic charges + webhooks
  • FeatureRazorpay adapter — basic charges + webhooks
  • InfrastructureTree-shakeable packages with separate server/client entry points
terminal
npm install @squaredr/paykit