@solidgate/client-sdk-loader
Version:
Solidgate client sdk loader
260 lines (154 loc) • 6.6 kB
Markdown
**1.34.0**
Added **Click to Pay** support:
- Added **ClickToPay** to the **PayableEntity** enum
- Added **clicktopay** to the **entity** field of **MountedMessage** event
- Added **clicktopay** to the **name** field of **InteractionMessage** event
- Added **clickToPayButtonParams** (enabled, height, saveRecognitionToken, supportedCardNetworks) to the **InitConfig** interface
**1.33.0**
Added **UPI** payment method support:
- Added **Upi** to the **PayableEntity** enum
- Added **upi** to the **entity** field of **MountedMessage** event
- Added **upi** to the **name** field of **InteractionMessage** event
- Added **upiButtonParams** (containerId, enabled, height, resetEnabled, type) to the **InitConfig** interface
**1.32.0**
Added **reset mode** support for APM buttons' modals:
- Added **ResetRequested** to the **InteractionType** enum (emitted via the existing **InteractionMessage** event)
- Added **resetEnabled** flag to **pixButtonParams**, **pixQrButtonParams**, **pixAutomaticoButtonParams**, and **blikButtonParams** in the **InitConfig** interface
**1.31.0**
Added **Pix Automático** support:
- Added **PixAutomatico** to the **PayableEntity** enum
- Added **pix-automatico** to the **entity** field of **MountedMessage** event
- Added **pix-automatico** to the **name** field of **InteractionMessage** event
- Added **pixAutomaticoButtonParams** to the **InitConfig** interface
**1.30.0**
Added **CashApp** support:
- Added **CashApp** to the **PayableEntity** enum
- Added **cashapp** to the **entity** field of **MountedMessage** event
- Added **cashapp** to the **name** field of **InteractionMessage** event
- Added **cashAppButtonParams** to the **InitConfig** interface
**1.29.0**
Added **cardHolderPlaceholder** and **cardHolderLabel** to the **formParams** of **InitConfig** interface
**1.28.0**
Fixed buttons visibility `enabled` type for **applePayButtonParams**, **paypalButtonParams** and **card** form
**1.27.0**
Added **Pix QR** support:
- Added **PixQr** to the **PayableEntity** enum
- Added **pix-qr** to the **entity** field of **MountedMessage** event
- Added **pix-qr** to the **name** field of **InteractionMessage** event
- Added **pixQrButtonParams** to the **InitConfig** interface
**1.26.0**
Added **mbway** support:
- Added **Mbway** to the **PayableEntity** enum
- Added **mbway** to the **entity** field of **MountedMessage** event
- Added **mbway** to the **name** field of **InteractionMessage** event
- Added **mbwayButtonParams** to the **InitConfig** interface
**1.25.0**
Added **blikButtonParams** to the **InitConfig** interface
**1.24.0**
Added **pageClose** type to the **InteractionType** enum
**1.23.0**
Added **bizumButtonParams** to the **InitConfig** interface
**1.22.0**
Added **pixButtonParams** to the **InitConfig** interface
**1.21.0**
Added **cardCategory** to the **card** field of **Card** event
**1.20.0**
Added **pix** to the **name** field of **MountedMessage** event and to the **PayableEntity** enum
**1.19.0**
Added **pix** to the **name** field of **InteractionMessage** event
**1.18.0**
Added **binCountry** to the **card** field of **Card** event
**1.17.1**
Added **applyCoupon** type declaration to **ClientSdkInstance** interface
**1.17.0**
Added the ability to override the **SDK** script `src`.
**1.16.0**
Added **descriptor** to the **order** field of **Success** and **Fail** events
**1.15.1**
Updated README.md
**1.15.0**
Added new fields to the **Card** event: **bin**, **cardType**, **bank**
**1.14.0**
Added **Paypal** to **formParams.cardBrands** to enable the PayPal icon to be displayed among the supported card brands on the Payment Form
**1.13.0**
Added **CardBrandIconStyle** to **ResignFormAppearance** to allow card brand icon customization on the Resign form
**1.12.0**
Added **priceBreakdown.taxRate** float to **PaymentDetails** event
**1.11.1**
Fix incorrect build
**1.11.0**
**ApplePay** js integration (see [ApplePay](https://docs.solidgate.com/payments/integrate/payment-form/apple-pay/))
**PaymentDetails** event (see [PaymentDetails](https://docs.solidgate.com/payments/integrate/payment-form/form-events/#payment-details))
**1.10.1**
Added `paypalButtonParams` to the `InitConfig` interface to allow the PayPal button to be enabled and configured. See more: https://docs.solidgate.com/payments/integrate/payment-form/paypal-button/
***
**1.10.0**
Added PayPal support to the Payment Form
- Extend an existing SDK events with the `paypal` entity: `mounted`, `success`, `fail`, `submit`, `interaction`;
- Extended `orderStatus` with `entity: PayableEntity` and added the `APMOrderStatus` interface to the order status event's `response` property.
- Added the `APMOrderStatus` interface corresponding to APM payments. For more information, see: https://api-docs.solidgate.com/#tag/Alternative-payment-methods/operation/webhook-apm-order-status
***
**1.9.0**
SSR compatability
***
**1.8.1**
Update Order Status error interface:
- `error.message: string` -> `error.messages: string[]`
***
**1.8.0**
Add new card brands to `InitConfig.formParams.cardBrands`:
- Rupay
- BC Card
- UnionPay
- Dankort
- GPN Card
- Troy
- Thai Payment Network
- MADA
- Bancontact
- Interac
- Bajaj
***
**1.7.0**
- Added **resign** form initialization method and corresponding types
- Updated ```UpdateConfig``` type to enable support for the partial form update
***
**1.6.2**
Added labels, placeholders types, fixed error type
***
**1.6.1**
Moved mirror repository to github, fix README.MD link to new documentation
***
**1.6.0**
Added **Cartes Bancaires** card brand support
***
**1.5.1**
Removed **mir** card brand support
***
**1.5.0**
Added **formParams.buttonType** config param
You may use it to set **continue** button type
```typescript
import { FormButtonType } from '@solidgate/client-sdk-loader'
initConfig.formParams.buttonType = FormButtonType.Continue
```
***
**1.4.0**
Added **formParams.autoFocus** config param
***
**1.3.3**
Added license
***
**1.3.0**
- Added **AdditionalFields** enum
- Fixed types which controlling labels visibility (like **initConfig.formParams.cardNumberLabel**)
- Deprecated **initConfig.allowedAdditionalFields** usage
- Added **CardMessage** event
***
**1.2.0**
Added **CardHolder** as additional field
You may use it in order to restrict additional field visibility with only specified in config
```typescript
import { AddtitionalField } from '@solidgate/client-sdk-loader'
initConfig.allowedAdditionalFields = [AdditionalField.CardHolder, AddtitionalField.Pin]
```