@lydianpay/sdk-web 3.18.7 → 3.18.8
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.
- package/dist/chunks/{browser-B7Rxf-Bu.js → browser-Cv7DBBbB.js} +1 -1
- package/dist/chunks/{connect-multichain-DmSOZ6si.js → connect-multichain-BdeuvYdb.js} +9 -9
- package/dist/chunks/{dist-BgxCOd2O.js → dist-406JwPI2.js} +3 -3
- package/dist/chunks/{dist-CXSFu8-J.js → dist-BbgIlGZw.js} +2 -2
- package/dist/chunks/{index-BhTaLNkR.js → index-B30eQbcz.js} +2 -2
- package/dist/chunks/{index-BmB5ME03.js → index-DALnpVfN.js} +1 -1
- package/dist/chunks/{index-CpjSM5Xu.js → index-Fw-eeN-M.js} +1 -1
- package/dist/chunks/{index-CqjYiCV9.js → index-HYQ1xICD.js} +1 -1
- package/dist/chunks/{mountEngine-CG_6rKvA.js → mountEngine-CPjfwc2K.js} +2535 -2520
- package/dist/lydian.js +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/types.d.ts +6 -1
- package/dist/types/ui/restoredCustomer.d.ts +3 -2
- package/package.json +1 -1
package/dist/types/types.d.ts
CHANGED
|
@@ -136,6 +136,11 @@ export type CustomerKYCValidationStatusResponse = {
|
|
|
136
136
|
customerUUID: string;
|
|
137
137
|
kycValidated: boolean;
|
|
138
138
|
};
|
|
139
|
+
export type CustomerDateOfBirth = {
|
|
140
|
+
year: number;
|
|
141
|
+
month: number;
|
|
142
|
+
day: number;
|
|
143
|
+
};
|
|
139
144
|
export type RedactedCustomerPIIResponse = {
|
|
140
145
|
customerUUID: string;
|
|
141
146
|
firstName: string;
|
|
@@ -146,10 +151,10 @@ export type RedactedCustomerPIIResponse = {
|
|
|
146
151
|
address2: string;
|
|
147
152
|
stateProvince: string;
|
|
148
153
|
city: string;
|
|
149
|
-
subdivision: string;
|
|
150
154
|
country: string;
|
|
151
155
|
postalCode: string;
|
|
152
156
|
cityOfBirth: string;
|
|
157
|
+
dateOfBirth: CustomerDateOfBirth;
|
|
153
158
|
};
|
|
154
159
|
export type PlaceCountry = {
|
|
155
160
|
name: string;
|
|
@@ -4,9 +4,10 @@ import type { RedactedCustomerPIIResponse } from '../types';
|
|
|
4
4
|
export type KycPartsOnFile = Partial<Record<KycFieldPart, string>>;
|
|
5
5
|
export declare const NO_KYC_PARTS_ON_FILE: KycPartsOnFile;
|
|
6
6
|
export declare function getKycPartsOnFile(onFile: RedactedCustomerPIIResponse): KycPartsOnFile;
|
|
7
|
-
export declare function
|
|
7
|
+
export declare function getStoredDateOfBirth({ dateOfBirth }: RedactedCustomerPIIResponse): string;
|
|
8
|
+
export declare function getRestoredKycDraft({ draft, onFile, email, country, }: {
|
|
8
9
|
draft: KycDraft | null;
|
|
9
|
-
|
|
10
|
+
onFile: RedactedCustomerPIIResponse;
|
|
10
11
|
email: string;
|
|
11
12
|
country: string;
|
|
12
13
|
}): KycDraft;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lydianpay/sdk-web",
|
|
3
|
-
"version": "3.18.
|
|
3
|
+
"version": "3.18.8",
|
|
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": {
|