@lydianpay/sdk-web 3.19.2 → 3.19.3
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-DCxGA3mE.js → browser-BZZwoMeg.js} +1 -1
- package/dist/chunks/{connect-multichain-CnxV2mL-.js → connect-multichain-BX6y692K.js} +9 -9
- package/dist/chunks/{dist-DEg4yPGg.js → dist-HyoqRKLh.js} +2 -2
- package/dist/chunks/{dist-CEYumuMG.js → dist-LOUNdWsS.js} +3 -3
- package/dist/chunks/{index-DNZJZZug.js → index-ChVUIuMS.js} +2 -2
- package/dist/chunks/{index-DT_xZLwf.js → index-DThdDCxn.js} +1 -1
- package/dist/chunks/{index-2aSnC3v4.js → index-D_6aT2Bw.js} +2 -1
- package/dist/chunks/{index-Bw-rhy5J.js → index-OiCybnPL.js} +1 -1
- package/dist/chunks/{mountEngine-D2BUJ6XE.js → mountEngine-DSq2OWCh.js} +4194 -4141
- package/dist/lydian.js +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/ui/countries.d.ts +1 -0
- package/dist/types/ui/kycValidation.d.ts +4 -0
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import type { PlaceCountry } from '../types';
|
|
|
3
3
|
export declare function isSupportedCountryCode(countryCode: string): boolean;
|
|
4
4
|
export declare function countryOptions(locale?: string): SelectOption[];
|
|
5
5
|
export declare function getCountryName(code: string, locale?: string): string;
|
|
6
|
+
export declare function getCountryNameInSentence(code: string, locale?: string): string;
|
|
6
7
|
export declare function getCountryOptions({ countries, locale, }: {
|
|
7
8
|
countries: PlaceCountry[];
|
|
8
9
|
locale?: string;
|
|
@@ -27,6 +27,10 @@ export declare const EMPTY_KYC_TEXT: Record<KycFieldPart, string>;
|
|
|
27
27
|
export declare function getBlankKycText({ merchantCountry, }: {
|
|
28
28
|
merchantCountry: string | null;
|
|
29
29
|
}): Record<KycFieldPart, string>;
|
|
30
|
+
export declare function getBasicDetailsParts({ requiredParts, isCountryAskedAsCitizenship, }: {
|
|
31
|
+
requiredParts: KycFieldPart[];
|
|
32
|
+
isCountryAskedAsCitizenship: boolean;
|
|
33
|
+
}): KycFieldPart[];
|
|
30
34
|
export type KycFieldGroup = {
|
|
31
35
|
fields: KycField[];
|
|
32
36
|
count: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lydianpay/sdk-web",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.3",
|
|
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": {
|