# @airwallex/components-sdk

> We're excited to introduce our new, comprehensive documentation site for Airwallex.js. Airwallex.js consolidates all Airwallex Elements into a single, unified SDK for greater efficiency and ease of integration. The SDK includes:

Latest version **1.35.2** (published 2026-09-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @airwallex/components-sdk
pnpm add @airwallex/components-sdk
yarn add @airwallex/components-sdk
bun add @airwallex/components-sdk
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.35.2 |
| Published | 2026-09-15 |
| First published | 2023-05-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 463.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | airwallex |

## Links

- npm: https://www.npmjs.com/package/@airwallex/components-sdk
- npm.io page: https://npm.io/package/@airwallex/components-sdk

## Dependencies (1)

- [@airwallex/airtracker](https://npm.io/package/@airwallex/airtracker.md) ^3.0.0

## Recent versions

- 1.35.2 (latest) — 2026-09-15
- 1.36.0-alpha.3 (experimental) — 2026-07-31
- 1.35.1 — 2026-08-04
- 1.36.0-alpha.2 — 2026-07-13
- 1.32.0-alpha.balance.1 — 2026-06-18
- 1.32.0 — 2026-05-14
- 1.30.2 — 2026-04-21
- 1.28.4 — 2026-04-09
- 1.28.3 — 2026-02-13
- 1.28.2 — 2026-01-23
- 1.27.2 — 2025-11-10
- 1.27.1 — 2025-11-04
- 1.27.0 — 2025-10-21
- 1.26.0 — 2025-09-26
- 1.25.0 — 2025-09-09
- … 62 more at https://npm.io/package/@airwallex/components-sdk/versions

## README

# [Airwallex.js](https://www.airwallex.com/docs/js)

We're excited to introduce our new, comprehensive documentation site for Airwallex.js. Airwallex.js consolidates all Airwallex Elements into a single, unified SDK for greater efficiency and ease of integration. The SDK includes:

- Payment Elements (Card, Apple Pay, Google Pay, etc.)
- Payout Elements (Beneficiary, Transfer, Tax Form)
- Onboarding Elements (KYC, KYB)
- Risk Elements (RFI)
- Compliance Support Elements (SCA)

If you're using any of the legacy SDKs listed below, we recommend [upgrading to the new Airwallex.js SDK](https://www.airwallex.com/docs/developer-tools__sdks__airwallex.js__upgrade-to-airwallex.js) to access the latest features and enhancements.

- [Airwallex Payment Elements](https://github.com/airwallex/airwallex-payment-demo/blob/master/docs%40deprecated/README.md)
- [Airwallex Payouts SDK](https://github.com/airwallex/payouts-web-sdk/blob/master/README.md)

---

- [Airwallex.js](https://www.airwallex.com/docs/js)
  - [Installation](#installation)
  - [Initialization](#initialization)
    - [Create an Element](#create-an-element)
      - [Method parameters](#method-parameters)
      - [`options` object properties:](#options-object-properties)
      - [Example](#example)
  - [`element` object](#element-object)
    - [Mount the element](#mount-the-element)
    - [Unmount the element](#unmount-the-element)
    - [Destroy the element](#destroy-the-element)
    - [Listen to element events](#listen-to-element-events)
  - [KYC Element Events](#kyc-element-events)
    - [`ready`](#ready)
    - [`success`](#success)
    - [`cancel`](#cancel)
    - [`error`](#error)
  - [Payments KYB Element Events](#payments-kyb-element-events)
    - [`ready`](#ready-1)
    - [`success`](#success-1)
    - [`reserveOptionsOffered`](#reserveoptionsoffered)
    - [`selectReserve`](#selectreserve)
    - [`cancel`](#cancel-1)
    - [`error`](#error-1)
  - [RFI Elements Events](#rfi-elements-events)
    - [`ready`](#ready-2)
    - [`success`](#success-2)
    - [`cancel`](#cancel-2)
    - [`error`](#error-2)
  - [SCA Elements Events](#sca-elements-events)
    - [`ready`](#ready-3)
    - [`scaSetupSucceed`](#scasetupsucceed)
    - [`verificationSucceed`](#verificationsucceed)
    - [`verificationFailed`](#verificationfailed)
    - [`resetPasscodeSucceed`](#resetpasscodesucceed)
    - [`cancel`](#cancel-3)
    - [`error`](#error-3)
  - [Theming](#theming)
- [CHANGELOG](#changelog)

## Installation

Use @airwallex/components-sdk

Install with Yarn

```bash
yarn add @airwallex/components-sdk
```

Or, with NPM

```bash
npm install @airwallex/components-sdk
```

## Initialization

```ts
import { init } from '@airwallex/components-sdk';

const options = {
  locale: 'en',
  env: 'prod',
  authCode: 'x4D7A7wOSQvoygpwqweZpG0GFHTcQfVPBTZoKV7EibgH',
  clientId: 'BIjjMYsYTPuRqnkEloSvvf',
  codeVerifier:
    '~wh344Lea1FsCMVH39Fn9R2~nqq2uyD4wbvG9XCzWRxd0sZh9MFiF9gSVkM0C-ZvrdtjBFA6Cw1EvCpJcIjaeXg1-BXCfZd25ZmvuYZAqZtjJQA3NAa~7X1sgEfbMZJwQ',
};

await init(options);
```

| Option         | Type     | Required? | Default value | Description                                                                                                                                                                                                   |
| :------------- | :------- | :-------- | :------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `env`          | `string` | **NO**    | `prod`        | The Airwallex environment. Options include: `staging`, `demo` and `prod`.                                                                                                                                     |
| `locale`       | `string` | **NO**    | `en`          | Language. Options include: `de`, `en`, `es`, `fr`, `it`, `ja`, `ko` and `zh`.                                                                                                                                 |
| `clientId`     | `string` | **YES**   | -             | Unique Client ID issued by Airwallex. More on [`Airwallex WebApp - Developer - API Keys`](https://www.airwallex.com/app/account/apiKeys).                                                                     |
| `authCode`     | `string` | **YES**   | -             | Auth code to authenticate the connected account retrieved from `/api/v1/accounts/{id}/authorize` [Embedded Component Authorization API](https://www.airwallex.com/docs/api#/Scale/Embedded_Components/Intro). |
| `codeVerifier` | `string` | **YES**   | -             | Serves as proof key for code exchange (see RFC 7636 Section 4). A random string used for generating a codeChallenge.                                                                                          |

### Create an Element

Call `createElement(elementName, options)` to create an element object.

#### Method parameters

| Parameter | Type                      | Required? | Description                                                                                                                                                                                                       |
| :-------- | :------------------------ | :-------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `type`    | `string`                  | **YES**   | The elements name of element. Supported values are `payoutForm`, `beneficiaryForm`, `kyc`, `paymentsKyb`, `kycRfi`, `paymentEnablementRfi`, `transactionRfi`, `mrmRfi`, `scaManagement`, `scaVerify`, `scaSetup`. |
| `options` | `Record<string, unknown>` | **NO**    | Options for creating an Element, which differ for each element type.                                                                                                                                              |

#### `options` object properties:

| Element type                                                                       | Property         | Required? | Default value | Type                  | Description                                                                                                                                                                                                                                                                                             |
| :--------------------------------------------------------------------------------- | :--------------- | :-------- | :------------ | :-------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `payoutForm`, `beneficiaryForm`                                                    | `defaultValues`  | **NO**    | -             | Form Value Object     | Used to set the default values for the form.                                                                                                                                                                                                                                                            |
|                                                                                    | `customizations` | **NO**    | -             | Customizations Object | Contact your Account Manager for details.                                                                                                                                                                                                                                                               |
|                                                                                    | `theme`          | **NO**    | -             | Theme Object          | Contact your Account Manager for details.                                                                                                                                                                                                                                                               |
| `kyc`, `paymentsKyb`, `kycRfi`, `paymentEnablementRfi`, `transactionRfi`, `mrmRfi` | `hideHeader`     | **NO**    | `false`       | `boolean`             | Used to hide the page's header.                                                                                                                                                                                                                                                                         |
|                                                                                    | `hideNav`        | **NO**    | `false`       | `boolean`             | Used to hide the page's navigation, which is heavily tied to the progression of the onboarding exercise. It is important to note that the user can review completed items, and edit if they need to adjust content. In addition, the user has another option to edit the form on the final review page. |
|                                                                                    | `theme`          | **NO**    | -             | Theme Object          | Contact your Account Manager for details.                                                                                                                                                                                                                                                               |
| `scaSetup`,`scaVerify`                                                             | `userEmail`      | **Yes**   | -             | `string`              | Used to recovery 2fa method                                                                                                                                                                                                                                                                             |
|                                                                                    | `scaSessionCode` | **No**    | -             | `string`              | It must be provided when initialising the embedded scaVerify component for a one-time SCA token                                                                                                                                                                                                         |
|                                                                                    | `contactEmail`   | **No**    | -             | `string`              | Platfrom customer service email address                                                                                                                                                                                                                                                                 |
|                                                                                    | `theme`          | **No**    | -             | Theme Object          | Contact your Account Manager for details.                                                                                                                                                                                                                                                               |
|                                                                                    |                  |           |               |                       | ##############################                                                                                                                                                                                                                                                                          |

#### Example

```ts
import { createElement } from '@airwallex/components-sdk';

const options = {
  hideHeader: true,
  hideNav: true,
};

const element = await createElement('kyc', options);
```

## `element` object

```ts
export type EVENT_TYPE = 'ready' | 'success' | 'error' | 'cancel';

interface Element {
  /**
   * Mount element to your HTML DOM element
   */
  mount(domElement: string | HTMLElement): void;
  /**
   * Using this function to unmount the element, opposite to mount function
   * The element instance is still kept
   */
  unmount(): void;
  /**
   * Using this function to destroy the element instance
   */
  destroy(): void;
  /**
   * Listen to event
   */
  on(
    eventCode: EVENT_TYPE,
    handler: (eventData: Record<string, unknown>) => void,
  ): void;
}
```

### Mount the element

Mount the element to your page.

```ts
// type
element.mount: (domElement: string | HTMLElement) => void

// There are two ways to mount element:
// 1. call with container dom id
element.mount('container-dom-id');

// 2.find the created DOM in existing HTML and call with container DOM element
const containerElement = document.getElementById("container-dom-id");
element.mount(containerElement);

```

### Unmount the element

Using this function to unmount the element, opposite to mount function. **The element instance is still kept.**

```ts
element.unmount();
```

### Destroy the element

Using this function to destroy the element instance.

```ts
element.destroy();
```

### Listen to element events

Using this function to listen to element events.

```ts
element.on('success', () => {
  // Handle success event
});
```

## KYC Element Events

The `Onboarding component` might emit the following events during its lifecycle.

#### `ready`

This event will be fired when:

- Consent page is ready, if it is enabled. The event data will be `{ type: 'consent'}`. Use this event to decide when to remove loading status from your page.
- Kyc page is ready. The event data will be `{type: 'kyc', kycStatus: 'INIT'}`, which represents the account's onboarding status. Use `kycStatus` to render your own status pages and handle re-entry scenarios.

Type

```ts
type kycEventData = {
  type: 'kyc',
  kycStatus: 'INIT' | 'SUBMITTED' | 'SUCCESS' | 'FAILURE'
};

type consentEventData = {
  type: 'consent'
};

element.on('ready', (data: kycEventData | consentEventData) => void);
```

Example

```ts
element.on('ready', (data: kycEventData | consentEventData) => {
  // Handle ready event
});
```

#### `success`

This event fires when the onboarding flow is completed successfully.

Type

```ts
element.on('success', () => void);
```

Example

```ts
element.on('success', () => {
  // Handle success event
});
```

#### `cancel`

This event fires when the element is exited by cancellation.

Type

```ts
element.on('cancel', () => void);
```

Example

```ts
element.on('cancel', () => {
  // Handle cancel event
});
```

#### `error`

This event fires when an error occurs within the element.

Type

```ts
type errorCode = 'API_ERROR' | 'SUBMIT_FAILED' | 'UNKNOWN';
type ErrorData = { code: errorCode, message?: string }

element.on('error', (data: ErrorData) => void);
```

Example

```ts
element.on('error', (data: ErrorData) => {
  // Handle error event
});
```

## Payments KYB Element Events

#### `ready`

This event will be fired when the Payments Kyb element is ready for starting the Kyb application. If PERMISSION_DENIED error takes place, this event will not be triggered.

`data` Type

```ts
{
  kybStatus: 'PENDING_REVIEW' | 'IN_REVIEW' | 'REJECTED' | 'ACCEPTED' | 'APPROVED',
  kycStatus: 'INIT' | 'SUBMITTED' | 'SUCCESS' | 'FAILED'
}
```

#### `success`

This event fires when the initial KYB case is submitted successfully.

`data` Type

```ts
{
  storeList: Array<StoreObject>;
}
```

#### `reserveOptionsOffered`

This is only for when the reserve selection is available for the accounts. Contact Account Manager for more detail.

`data` Type

```ts
{
  reserveOptions: UserReserveSelection;
}
```

#### `selectReserve`

This is what the user selects for the reserve option. Only for when the reserve selection is available for the accounts. Contact Account Manager for more detail.

`data` Type

```ts
{
  selected: UserReserveSelection;
}
```

#### `cancel`

This event fires when the element is exited by cancellation.

Type

```ts
element.on('cancel', () => void);
```

Example

```ts
element.on('cancel', () => {
  // Handle cancel event
});
```

#### `error`

See Errors section below

`data` Type

```ts
{ code: string, message?: string }
```

## RFI Elements Events

#### `ready`

This event will be fired when:

- RFI page is ready. The event data will be:
  - `{type: 'kycRfi' | 'paymentEnablementRfi' | 'transactionRfi' | 'mrmRfi'}`

Type

```ts
type RfiEventData = {
  type: 'kycRfi' | 'paymentEnablementRfi' | 'transactionRfi' | 'mrmRfi',
};

element.on('ready', (data: RfiEventData) => void);
```

Example

```ts
element.on('ready', (data: RfiEventData) => {
  // Handle ready event
});
```

#### `success`

This event fires when the rfi flow is completed successfully.

Type

```ts
type RfiSuccessEventData = {
  rfiId: string;
};

element.on('success', (data: RfiSuccessEventData) => void);
```

Example

```ts
element.on('success', (data: RfiSuccessEventData) => {
  // Handle success event
});
```

#### `cancel`

This event fires when the element is exited by cancellation.

Type

```ts
element.on('cancel', () => void);
```

Example

```ts
element.on('cancel', () => {
  // Handle cancel event
});
```

#### `error`

This event fires when an error occurs within the element.

Type

```ts
type errorCode = 'API_ERROR' | 'SUBMIT_FAILED' | 'INVALID_KYC_STATUS' | 'INVALID_RFI_STATUS' | 'UNKNOWN';
type ErrorData = { code: errorCode, message?: string }

element.on('error', (data: ErrorData) => void);
```

Example

```ts
element.on('error', (data: ErrorData) => {
  // Handle error event
});
```

## SCA Elements Events

#### `ready`

This event will be fired when: sca page is ready.

Type

```ts
element.on('ready', () => void);
```

Example

```ts
element.on('ready', () => {
  // Handle ready event
});
```

#### `scaSetupSucceed`

This event will be fired when SCA has been successfully configured by users:

Type

```ts
element.on('scaSetupSucceed', (
  data: {
    mobileInfo?: {
      /** countryCode is represented as pure number codes string, such as '44'. */
      countryCode: string;
      nationalNumber: string;
    }
  }) => void);
```

Example

```ts
element.on('scaSetupSucceed', () => {
  // Handle event
});
```

#### `verificationSucceed`

This event triggers when the SCA flow is authenticated successfully

Type

```ts
element.on('verificationSucceed', ({token}: {token:string}) => void);
```

Example

```ts
element.on('verificationSucceed', ({ token }: { token: string }) => {
  // Handle success event
});
```

#### `verificationFailed`

This event triggers when the SCA flow authentication fails.

Type

```ts
element.on('verificationFailed', ({reason}:{reason:string}) => void);
```

Example

```ts
element.on('verificationFailed', () => {
  // Handle event
});
```

#### `resetPasscodeSucceed`

This event triggers when the user successfully resets their passcode

Type

```ts
element.on('resetPasscodeSucceed', () => void);
```

Example

```ts
element.on('resetPasscodeSucceed', () => {
  // Handle event
});
```

#### `cancel`

This event fires when the element is exited by cancellation.

Type

```ts
element.on('cancel', () => void);
```

Example

```ts
element.on('cancel', () => {
  // Handle cancel event
});
```

#### `error`

This event fires when an error occurs within the element.

Type

```ts

element.on('error', (data: { code: string, message?: string }) => void);
```

Example

```ts
element.on('error', (data: { code: string; message?: string }) => {
  // Handle error event
});
```

## Theming

We can configure the Elements to reflect your brand's color palette and logo. Contact your Airwallex Account Manager to enable customization in line with your business requirements.

# CHANGELOG

## [1.35.2](https://gitlab.awx.im/airwallex-web/components-sdk/compare/v1.35.1...v1.35.2) (2026-09-15)


### Bug Fixes

* [OSAI-13450] add balance elements ([32d9f65](https://gitlab.awx.im/airwallex-web/components-sdk/commit/32d9f659a3609be915640a06f17783185734cd6e))

## [1.35.1](https://gitlab.awx.im/airwallex-web/components-sdk/compare/v1.35.0...v1.35.1) (2026-08-04)


### Bug Fixes

* [GTA-4230] make publish-npm version bump idempotent ([ac4a221](https://gitlab.awx.im/airwallex-web/components-sdk/commit/ac4a221a180b750c07b6fe86eda31b840af3f083))
* [OSAI-13217] rename NPM_TOKEN ([07a61b7](https://gitlab.awx.im/airwallex-web/components-sdk/commit/07a61b72a11d101382347589aae814ee6cddb8e0))

# [1.35.0](https://gitlab.awx.im/airwallex-web/components-sdk/compare/v1.34.0...v1.35.0) (2026-07-08)


### Features

* [OSAI-13212] Support deploy to SG preview ([f399bab](https://gitlab.awx.im/airwallex-web/components-sdk/commit/f399babf500098f143ed2a6fca08032178f370ff))

# [1.34.0](https://gitlab.awx.im/airwallex-web/components-sdk/compare/v1.33.0...v1.34.0) (2026-06-29)


### Features

* ADV-7443 reload billing types from remote source ([57cfc8a](https://gitlab.awx.im/airwallex-web/components-sdk/commit/57cfc8ae68a311055a2420124eb5390cc5d2c3e2))

## [1.27.2](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.27.1...v1.27.2) (2025-11-07)


### Bug Fixes

* [AJS-184] Add init log ([30b4b87](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/30b4b8714e9e2b4084c2d8f24ce10b6d27534c23))

## [1.27.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.27.0...v1.27.1) (2025-11-04)


### Bug Fixes

* [AJS-184] Prefetch PA script ([63155d7](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/63155d7e3f82c1ea768003b849a3d127b25e977c))
* [AJS-184] Support to prefetch payments script ([a7b8a1c](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/a7b8a1c2138ac2aa18a355d9c37daa2e56c81bfd))

# [1.27.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.26.0...v1.27.0) (2025-10-21)


### Features

* [PACST-6601] Change kr card element naming, 2 to two ([d58abac](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/d58abace088f6a1412b11b55d86dc158bdd4ca0e))

# [1.26.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.25.0...v1.26.0) (2025-09-26)


### Features

* [PACST-6601] Add kr card split element ([13c1f27](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/13c1f27be4799f6bfb6c672cd02197c5459e1be4))

# [1.25.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.24.2...v1.25.0) (2025-09-08)


### Features

* update airtracker ([cebbe20](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/cebbe201de08dfcbcbeb40f355f311ebe9ed754c))
* update type ([963343b](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/963343be1076f7a0169b8c524e16375e24a463cb))

## [1.24.2](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.24.1...v1.24.2) (2025-07-22)


### Bug Fixes

* [AJS-179] Optimize error logs ([80a6e6d](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/80a6e6d01f50ff7530b57fa3685a2cae9d0e942a))

## [1.24.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.24.0...v1.24.1) (2025-07-18)


### Bug Fixes

* @airwallex/components running in Next.js ([f63c268](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/f63c2681416a46751d9e95af7edb1623fa1ed5c8))
* hidden unused type ([37f8bd7](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/37f8bd768f83548c0818dbcdcc1e59cd0546507d))

# [1.24.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.23.0...v1.24.0) (2025-07-16)


### Features

* [OBD-5984] Update README.md to include 'mrmRfi' ([98e8894](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/98e8894845a92423b5e88ad7ddf04ae411d873e7))

# [1.23.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.22.3...v1.23.0) (2025-07-15)


### Features

* [OBD-5739] add mrmRfi support with event handling in KycRfi ([a167f85](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/a167f850db69004c5815df43ac1426419696eb58))
* [OBD-5739] enhance KycRfi event handling with generic EventCode type parameter for improved type inference ([b772056](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/b7720568e229b1907d6c4a0f56a2c978bb8f8c55))
* [OBD-5739] implement mrmRfi support in EcosystemApp ([bcddaae](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/bcddaae2289edb95b91562620054bb7dbcca1745))

## [1.22.3](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.22.2...v1.22.3) (2025-07-04)


### Bug Fixes

* [AJS-178] Update error message ([0a87f17](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/0a87f176c9ffeb6b1adefda72b7cf4747c80a7f2))

## [1.22.2](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.22.1...v1.22.2) (2025-07-04)


### Bug Fixes

* [AJS-178] Add invalid element type error ([b70a0c7](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/b70a0c73ff64bea0ecb4b3cace6123cfba32ffc4))

## [1.22.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.22.0...v1.22.1) (2025-07-03)


### Bug Fixes

* [AJS-178] Update error message ([9f528ef](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/9f528ef3ec3bd3ca5356939d466d4145fdc63a1e))

# [1.22.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.21.0...v1.22.0) (2025-07-03)


### Bug Fixes

* pipeline ([12bda3a](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/12bda3a6bc0aa9a36dacda58d0c389af30e8e67c))


### Features

* update cache policy ([fa5f3ca](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/fa5f3ca951f7c59689546aa67852038133092c93))

# [1.21.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.20.1...v1.21.0) (2025-06-11)


### Features

* [OBD-5580] update types ([8cccff4](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/8cccff458502fbf40878ff0ec804b648375a1943))

## [1.20.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.20.0...v1.20.1) (2025-05-30)


### Bug Fixes

* [OBD-5489] support lending RFI ([87b53f3](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/87b53f3bdf7b637b3a8b9873079e8680e949018a))

# [1.20.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.19.1...v1.20.0) (2025-05-15)


### Features

* [DEVX-1874] update pa types: add apperance option ([0daa844](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/0daa844b66c28f0fcc2893313263c02a283aebeb))

## [1.19.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.19.0...v1.19.1) (2025-04-22)


### Bug Fixes

* [OBD-5222] theme type in options ([0d05e2a](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/0d05e2aaa170e46c33a760a756cabe785a5a91f8))
* add sca regression test ([08d5f83](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/08d5f83caa3cb2e66994faae9134cdb4d2b77c77))

# [1.19.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.18.0...v1.19.0) (2025-04-08)


### Features

* update types ([2407fd8](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/2407fd8f1ee46b9a3fda73e0d6c83fc166ecae29))
* update types ([221283b](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/221283b3aace8f82541ba5365c5a3ddac396a652))

# [1.18.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.17.2...v1.18.0) (2025-02-24)


### Features

* address to comment ([5824889](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/58248898a5c512df066172f5848d7a10987cdb25))
* update ([71f0e56](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/71f0e5691268e2538cca33a20209514ba3a2d453))
* update readme. ([01e85be](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/01e85beb57e49f1f140dc845af5f4a41f086e278))

## [1.17.2](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.17.1...v1.17.2) (2025-01-14)


### Bug Fixes

* [osai-11299] update payment type source and sca type ([221e19d](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/221e19d317e3866e39ebfc1d38f2e0999e779a79))

## [1.17.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.17.0...v1.17.1) (2025-01-13)


### Bug Fixes

* update sdk name ([638190c](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/638190cb7a1b3286b576035033c3174519c8205c))

# [1.17.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.16.0...v1.17.0) (2024-12-27)


### Features

* add missing langKey ([6d81f49](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/6d81f491744347b578c719d8d830b8e2eb140ccf))
* add ro & pt locale ([02a9add](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/02a9addc8db161561d8496abecab71c1751b0e5a))
* format ([df90de4](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/df90de4d9047b9c33a3fe1a0c9f2c100b7b2723f))

# [1.16.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.15.0...v1.16.0) (2024-12-19)


### Features

* add init enabledElement option ([239af6a](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/239af6a1df44a3118176458595931f7b7fdbdc2c))
* address comment ([e98562e](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/e98562e71d290fcfa860f59efb5393814baff687))

# [1.15.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.14.2...v1.15.0) (2024-12-16)


### Features

* change pa static url ([0ed7b86](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/0ed7b8624fdd48ba63a8d92cd0f08e1ab75ca60f))

## [1.14.2](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.14.1...v1.14.2) (2024-10-21)


### Bug Fixes

* [AJS-161] update payout component types ([5e22d39](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/5e22d39f55876644b41bf966c35d2333b17d6a7b))

## [1.14.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.14.0...v1.14.1) (2024-10-18)


### Bug Fixes

* [PFF-3463] README column issue ([902c9c9](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/902c9c9e2118c2a69b03633bc932a62cabb5a0c5))

# [1.14.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.13.0...v1.14.0) (2024-10-16)


### Features

* [osai-10331] add tax form into sdk ([9763153](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/97631535e846b893dcf22f6e4b2d08d14cac4930))

# [1.13.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.12.2...v1.13.0) (2024-09-12)


### Features

* update types ([30633a1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/30633a153cad2969d3c74ea812e06503a0d99a00))

## [1.12.2](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.12.1...v1.12.2) (2024-09-12)


### Bug Fixes

* [AJS-150] Update README ([aa44137](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/aa441378b90d746910c53a9f5fb3e8138e3098ad))

## [1.12.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.12.0...v1.12.1) (2024-09-11)


### Bug Fixes

* [osai-10516] rename some properties of sca ([a2dea75](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/a2dea752da347fba424495c60af853955ef23e72))

## [1.12.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.12.0...v1.12.1) (2024-09-11)


### Bug Fixes

* [osai-10516] rename some properties of sca ([a2dea75](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/a2dea752da347fba424495c60af853955ef23e72))

# [1.12.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.11.0...v1.12.0) (2024-09-10)


### Features

* [osai-10516] add mobile info in sca setup succeed event ([a47522a](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/a47522a80d559e98dbabef53de7517588a206ab0))

# [1.11.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.10.2...v1.11.0) (2024-09-06)


### Features

* [AJS-150] Support locale and deprecate langKey ([b933de2](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/b933de2bd9d6c99b980619d36b5f40fe1b56cd4e))

## [1.10.2](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.10.1...v1.10.2) (2024-08-27)


### Bug Fixes

* [OBD-2931] clean up paymentsKyb typing ([4055117](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/4055117783a24584145bb61b31f8ee73defa8f44))

## [1.10.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.10.0...v1.10.1) (2024-08-26)


### Bug Fixes

* update sca docs and types ([031f3fe](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/031f3fe3e912f5ab1ce68b6b6f6b76b95b5bbb2a))

## [1.10.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.10.0...v1.10.1) (2024-08-16)


### Bug Fixes

* update sca docs and types ([031f3fe](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/031f3fe3e912f5ab1ce68b6b6f6b76b95b5bbb2a))

# [1.10.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.9.2...v1.10.0) (2024-08-07)


### Features

* change PA static url ([e640c5a](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/e640c5abb3ec5dc71e2d4e5f3335275ec47c2a7b))

## [1.9.2](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.9.1...v1.9.2) (2024-08-06)


### Bug Fixes

* [AJS-141] update paymentsKyb typing ([f7b8fdc](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/f7b8fdc656a1aaf764ee949e0dac284dcf9cdd10))

## [1.9.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.9.0...v1.9.1) (2024-08-05)


### Bug Fixes

* [AJS-139] add cancel event explaination on the js doc ([1d3d08c](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/1d3d08ca17645528f42c18d067fa8f82863fbfc5))

# [1.9.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.8.2...v1.9.0) (2024-07-30)


### Features

* [AJS-67] prefetch scripts ([e82e86d](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/e82e86d09ad72b72d627427e4c073d513215fb15))

## [1.8.2](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.8.1...v1.8.2) (2024-07-29)


### Bug Fixes

* update README ([f2b4ed5](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/f2b4ed57fcac6f786411db7004334b47ba57f71c))

## [1.8.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.8.0...v1.8.1) (2024-07-18)


### Bug Fixes

* namespace missing export after bundle ([c93d2bc](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/c93d2bca6afdb7f3a1c579ebeb1f64490471a88a))

# [1.8.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.7.1...v1.8.0) (2024-07-18)


### Features

* [osai-10139] update interface and docs and add sca functions ([00f2cda](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/00f2cda0f36a9f742b4a054b0cb8b95a5687e367))
* wrap all domain types with namespace ([6f496c6](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/6f496c63794d37f3e5afa8d3ed196dd943036e03))

## [1.7.1](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.7.0...v1.7.1) (2024-06-28)


### Bug Fixes

* [OBD-2389] fix pipeline ([6f8d2c9](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/6f8d2c98b880d4a3f08085fc6e4213e5a2037c54))

# [1.7.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.6.0...v1.7.0) (2024-06-28)


### Features

* [OBD-2389] update types ([caf702c](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/caf702c1a10e6e5c01eb7822080def8f3763af98))

# [1.6.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.5.0...v1.6.0) (2024-06-28)


### Bug Fixes

* [OBD-2083] Add paymentEnablement component ([f913354](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/f9133545d26b7ec92a9b0a98220b0206814f9c1b))


### Features

* add sca ([bfb2b28](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/bfb2b286c34393098144d579c4bbb2d5ddc47120))

# [1.5.0](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.16...v1.5.0) (2024-05-13)


### Features

* add perf log ([ad526ef](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/ad526ef819cc651d1b2924a3c94e675e5658b401))

## [1.4.16](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.15...v1.4.16) (2024-04-17)


### Bug Fixes

* [OSAI-9559] log script loading time ([1590e47](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/1590e4701cc8d6f6a33a613405b3a2e0f8e014ad))

## [1.4.15](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.14...v1.4.15) (2024-04-07)


### Bug Fixes

* [OSAI-9436] upload to multiple gcs ([5c4a7d4](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/5c4a7d469494d7d27268a0e610a42a9228742774))

## [1.4.14](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.13...v1.4.14) (2024-04-03)


### Bug Fixes

* [OSAI-9436] bucket version ([9170595](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/9170595d7fdf1c407893f346a83df8b286a9c370))

## [1.4.13](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.12...v1.4.13) (2024-04-03)


### Bug Fixes

* [OSAI-9436] bucket version ([2cb6a3b](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/2cb6a3bb12dcce034487808e3fbbd30f917670ed))

## [1.4.12](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.11...v1.4.12) (2024-04-03)


### Bug Fixes

* [OSAI-9436] upload multi buckets ([b44a27f](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/b44a27f7634869d12a463851b1e2afaf5b738a09))

## [1.4.11](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/compare/v1.4.10...v1.4.11) (2024-03-08)


### Bug Fixes

* Enhanced the implementation of CI for changelog updates ([37094cb](https://gitlab.awx.im/airwallex-dev-scale/components-sdk/commit/37094cb8bb2149a20c29a663f240bfe5f2e0ec0a))

---
_Source: https://npm.io/package/@airwallex/components-sdk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
