@lydianpay/sdk-web 3.18.0 → 3.18.1
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-CpRXBrlm.js → browser-BUlIfLHb.js} +1 -1
- package/dist/chunks/{connect-multichain-CJf52rh9.js → connect-multichain-DVWN1OPV.js} +9 -9
- package/dist/chunks/{index-Df3XemZg.js → dist-DXXffMpA.js} +3 -3
- package/dist/chunks/{index-97Gtx-8y.js → dist-GH_eP8Tg.js} +3 -4
- package/dist/chunks/{index-CC6lwg0u.js → index-BMzgW9kD.js} +48 -48
- package/dist/chunks/{index-BkSKEmfK.js → index-CwXeUlav.js} +1 -1
- package/dist/chunks/{index-BBjqv--5.js → index-Cxvsb1M_.js} +2 -2
- package/dist/chunks/{index-CfbOkWrq.js → index-aLCprMse.js} +1 -1
- package/dist/chunks/{mountEngine-Bm7mzS_d.js → mountEngine-C_tda95f.js} +11790 -11133
- package/dist/lydian.js +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/ui/kycValidation.d.ts +3 -3
- package/package.json +11 -6
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { CreateTransactionResponse } from '../types';
|
|
2
2
|
export declare const KYC_FIELD_PARTS: {
|
|
3
|
+
readonly email: readonly ["email"];
|
|
3
4
|
readonly firstName: readonly ["firstName"];
|
|
4
5
|
readonly lastName: readonly ["lastName"];
|
|
5
|
-
readonly email: readonly ["email"];
|
|
6
6
|
readonly walletAddress: readonly ["walletAddress"];
|
|
7
|
-
readonly
|
|
7
|
+
readonly country: readonly ["country"];
|
|
8
|
+
readonly dateAndPlaceOfBirth: readonly ["cityOfBirth", "regionOfBirth", "countryOfBirth", "dateOfBirth"];
|
|
8
9
|
readonly dateOfBirth: readonly ["dateOfBirth"];
|
|
9
10
|
readonly nationalIDNumber: readonly ["nationalIDNumber"];
|
|
10
11
|
readonly customerIDNumber: readonly ["customerIDNumber"];
|
|
11
12
|
readonly physicalAddress: readonly ["street", "city", "region", "postalCode", "country"];
|
|
12
|
-
readonly country: readonly ["country"];
|
|
13
13
|
};
|
|
14
14
|
export type KycField = keyof typeof KYC_FIELD_PARTS;
|
|
15
15
|
export type KycFieldPart = (typeof KYC_FIELD_PARTS)[KycField][number];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lydianpay/sdk-web",
|
|
3
|
-
"version": "3.18.
|
|
3
|
+
"version": "3.18.1",
|
|
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": {
|
|
@@ -69,31 +69,36 @@
|
|
|
69
69
|
"@types/qrcode": "^1.5.5",
|
|
70
70
|
"@types/react": "^19.2.18",
|
|
71
71
|
"@types/react-dom": "^19.2.4",
|
|
72
|
-
"@vitest/coverage-v8": "^
|
|
72
|
+
"@vitest/coverage-v8": "^4.1.12",
|
|
73
73
|
"autoprefixer": "^10.4.0",
|
|
74
74
|
"eslint": "^9.0.0",
|
|
75
75
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
76
76
|
"globals": "^16.0.0",
|
|
77
77
|
"jsdom": "^29.1.1",
|
|
78
78
|
"npm-run-all2": "^7.0.2",
|
|
79
|
-
"postcss": "^8.
|
|
79
|
+
"postcss": "^8.5.32",
|
|
80
80
|
"prettier": "3.9.5",
|
|
81
81
|
"qrcode": "^1.5.4",
|
|
82
82
|
"qrcode-terminal": "^0.12.0",
|
|
83
83
|
"tailwindcss": "^3.0.0",
|
|
84
84
|
"typescript": "^5.0.0",
|
|
85
85
|
"typescript-eslint": "^8.0.0",
|
|
86
|
-
"vite": "^6.
|
|
87
|
-
"vitest": "^
|
|
86
|
+
"vite": "^6.4.5",
|
|
87
|
+
"vitest": "^4.1.12"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
90
|
"@lydianpay/frontend-shared-helpers": "1.2.0",
|
|
91
91
|
"@lydianpay/lydianconnect": "^1.10.3",
|
|
92
92
|
"@lydianpay/lydianconnect-catalog": "^1.4.1",
|
|
93
93
|
"@solana/qr-code-styling": "^1.6.0",
|
|
94
|
-
"dompurify": "^3.4.
|
|
94
|
+
"dompurify": "^3.4.17",
|
|
95
95
|
"react": "^19.2.8",
|
|
96
96
|
"react-dom": "^19.2.8",
|
|
97
97
|
"viem": "^2.30.6"
|
|
98
|
+
},
|
|
99
|
+
"overrides": {
|
|
100
|
+
"@metamask/utils": {
|
|
101
|
+
"uuid": "^11.1.1"
|
|
102
|
+
}
|
|
98
103
|
}
|
|
99
104
|
}
|