@adyen/adyen-web 5.71.5 → 5.72.0

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.
@@ -0,0 +1,17 @@
1
+ export interface SdkDataObject {
2
+ schemaVersion: number;
3
+ createdAt: number;
4
+ analytics: {
5
+ checkoutAttemptId: string;
6
+ };
7
+ riskData: {
8
+ clientData: string;
9
+ };
10
+ }
11
+ /**
12
+ * Creates the sdkData object with analytics and risk information
13
+ * @param checkoutAttemptId - The checkout attempt ID from analytics
14
+ * @param clientData - The client data from risk module
15
+ * @returns Base64 encoded JSON string of the SDK data object
16
+ */
17
+ export declare function createSdkData(checkoutAttemptId: string, clientData: string | null): string;
package/package.json CHANGED
@@ -25,7 +25,7 @@
25
25
  "./dist/es/adyen.css": "./dist/es/adyen.css",
26
26
  "./package.json": "./package.json"
27
27
  },
28
- "version": "5.71.5",
28
+ "version": "5.72.0",
29
29
  "license": "MIT",
30
30
  "homepage": "https://docs.adyen.com/checkout",
31
31
  "repository": "github:Adyen/adyen-web",