@paynext/sdk 0.0.61 → 0.0.62

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.
Files changed (2) hide show
  1. package/README.md +1 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -21,7 +21,6 @@ await checkout.mount({
21
21
  clientToken: '<you-client-token>',
22
22
  environment: 'sandbox',
23
23
  apiVersion: '1.0.0'
24
- locale: 'en',
25
24
  onCheckoutComplete: (result: PaymentResult) => {
26
25
  // Handle successful payment
27
26
  console.log('Payment successful!', result)
@@ -59,7 +58,6 @@ export const CheckoutComponent: FC<Readonly<IProps> = (props) => {
59
58
  clientToken,
60
59
  environment: 'sandbox',
61
60
  apiVersion: '1.0.0'
62
- locale: 'en',
63
61
  onCheckoutComplete: (result: PaymentResult) => {
64
62
  // Handle successful payment
65
63
  console.log('Payment completed:', result)
@@ -85,7 +83,6 @@ export const CheckoutComponent: FC<Readonly<IProps> = (props) => {
85
83
  ```typescript
86
84
  interface PayNextConfig {
87
85
  clientToken: string
88
- supportedCardTypes?: CardType[]
89
86
  apiVersion: string
90
87
  environment: 'sandbox' | 'production',
91
88
  variant?: 'default' | 'compact'
@@ -101,7 +98,7 @@ interface PayNextConfig {
101
98
 
102
99
  - **Cards**: Visa, Mastercard, American Express, Discover, JCB, Diners Club, UnionPay, Maestro
103
100
  - **Digital Wallets**: Apple Pay, Google Pay
104
- - **Alternative**: PayPal
101
+ - **Alternative**: PayPal, Venmo
105
102
 
106
103
  ## Supported Languages
107
104
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paynext/sdk",
3
- "version": "0.0.61",
3
+ "version": "0.0.62",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",