@lydianpay/sdk-web 3.18.4 → 3.18.5

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.
@@ -1,4 +1,8 @@
1
1
  import type { CreateTransactionResponse } from '../types';
2
+ export declare const KYC_PART_ORDER: readonly ["email", "firstName", "lastName", "walletAddress", "country", "cityOfBirth", "dateOfBirth", "nationalIDNumber", "customerIDNumber", "street", "street2", "region", "city", "postalCode"];
3
+ export type KycFieldPart = (typeof KYC_PART_ORDER)[number];
4
+ export declare const KYC_FIELD_ORDER: readonly ["email", "firstName", "lastName", "walletAddress", "country", "dateAndPlaceOfBirth", "cityOfBirth", "dateOfBirth", "physicalAddress", "nationalIDNumber", "customerIDNumber"];
5
+ export type KycField = (typeof KYC_FIELD_ORDER)[number];
2
6
  export declare const KYC_FIELD_PARTS: {
3
7
  readonly email: readonly ["email"];
4
8
  readonly firstName: readonly ["firstName"];
@@ -12,8 +16,6 @@ export declare const KYC_FIELD_PARTS: {
12
16
  readonly customerIDNumber: readonly ["customerIDNumber"];
13
17
  readonly physicalAddress: readonly ["country", "street", "street2", "region", "city", "postalCode"];
14
18
  };
15
- export type KycField = keyof typeof KYC_FIELD_PARTS;
16
- export type KycFieldPart = (typeof KYC_FIELD_PARTS)[KycField][number];
17
19
  declare const KYC_DOCUMENT_TYPES: readonly ["ID_CARD", "PASSPORT", "RESIDENCE_PERMIT", "DRIVERS"];
18
20
  export type KycDocumentType = (typeof KYC_DOCUMENT_TYPES)[number];
19
21
  export type KycFormValues = Record<KycFieldPart, string> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lydianpay/sdk-web",
3
- "version": "3.18.4",
3
+ "version": "3.18.5",
4
4
  "description": "Drop-in crypto payment checkout for the web — a <lydian-checkout> web component and window.Lydian API across 20+ chains and major stablecoins.",
5
5
  "license": "MIT",
6
6
  "repository": {