@netceterapx/click-to-pay-sdk 2.6.1 → 2.7.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/README.md +1 -1
- package/build/click-to-pay-sdk.es.js +14967 -17314
- package/build/click-to-pay-sdk.js +1 -1
- package/index.d.ts +18 -0
- package/package.json +42 -42
package/index.d.ts
CHANGED
|
@@ -327,6 +327,19 @@ export declare interface ConfigIframe {
|
|
|
327
327
|
};
|
|
328
328
|
}
|
|
329
329
|
|
|
330
|
+
declare interface ConsumerIdentity {
|
|
331
|
+
/**
|
|
332
|
+
* Informs about the email address of the consumer.
|
|
333
|
+
* Full email is provided.
|
|
334
|
+
*/
|
|
335
|
+
emailAddress: string;
|
|
336
|
+
/**
|
|
337
|
+
* Informs about the masked email address of the consumer.
|
|
338
|
+
* Masked email is provided.
|
|
339
|
+
*/
|
|
340
|
+
maskedEmailAddress: string;
|
|
341
|
+
}
|
|
342
|
+
|
|
330
343
|
export declare interface ConsumerStatusEvent {
|
|
331
344
|
/**
|
|
332
345
|
* Informs whether consumer was recognized by detecting a cookie in the browser set by the SRC System.
|
|
@@ -353,6 +366,11 @@ export declare interface ConsumerStatusEvent {
|
|
|
353
366
|
* Is true when the consumer doesn't have a profile or has a profile but no cards.
|
|
354
367
|
*/
|
|
355
368
|
manualCardEntryMandatory: boolean;
|
|
369
|
+
/**
|
|
370
|
+
* Informs about the email address of the consumer.
|
|
371
|
+
* Contains masked and full email when available.
|
|
372
|
+
*/
|
|
373
|
+
consumerIdentity: ConsumerIdentity;
|
|
356
374
|
}
|
|
357
375
|
|
|
358
376
|
export declare enum CreditCardBrand {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@netceterapx/click-to-pay-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.1",
|
|
4
4
|
"description": "Click-to-pay web-SDK for supporting SecureRemoteCommerce on web platforms",
|
|
5
5
|
"main": "build/click-to-pay-sdk.es.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,67 +29,67 @@
|
|
|
29
29
|
"registry": "https://registry.npmjs.org"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@babel/core": "^7.
|
|
33
|
-
"@eslint/eslintrc": "^3.
|
|
34
|
-
"@eslint/js": "^9.
|
|
35
|
-
"@rollup/plugin-alias": "^5.1.
|
|
36
|
-
"@rollup/plugin-commonjs": "^
|
|
37
|
-
"@rollup/plugin-node-resolve": "^
|
|
38
|
-
"@rollup/plugin-replace": "^
|
|
39
|
-
"@rollup/plugin-typescript": "^
|
|
32
|
+
"@babel/core": "^7.26.7",
|
|
33
|
+
"@eslint/eslintrc": "^3.2.0",
|
|
34
|
+
"@eslint/js": "^9.19.0",
|
|
35
|
+
"@rollup/plugin-alias": "^5.1.1",
|
|
36
|
+
"@rollup/plugin-commonjs": "^28.0.2",
|
|
37
|
+
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
38
|
+
"@rollup/plugin-replace": "^6.0.2",
|
|
39
|
+
"@rollup/plugin-typescript": "^12.1.2",
|
|
40
40
|
"@rollup/plugin-url": "^8.0.2",
|
|
41
|
-
"@sveltejs/vite-plugin-svelte": "^
|
|
42
|
-
"@testing-library/jest-dom": "^6.
|
|
43
|
-
"@testing-library/svelte": "^5.2.
|
|
41
|
+
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
42
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
43
|
+
"@testing-library/svelte": "^5.2.6",
|
|
44
44
|
"@tsconfig/svelte": "^5.0.4",
|
|
45
45
|
"@types/eslint__js": "^8.42.3",
|
|
46
|
-
"@types/node": "^22.
|
|
46
|
+
"@types/node": "^22.12.0",
|
|
47
47
|
"@types/postcss-url": "^10.0.4",
|
|
48
48
|
"@types/uuid": "^10.0.0",
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
50
|
-
"@typescript-eslint/parser": "^8.
|
|
51
|
-
"@vitest/coverage-v8": "^
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^8.22.0",
|
|
50
|
+
"@typescript-eslint/parser": "^8.22.0",
|
|
51
|
+
"@vitest/coverage-v8": "^3.0.4",
|
|
52
52
|
"babel-loader": "^9.2.1",
|
|
53
|
-
"eslint": "^9.
|
|
54
|
-
"eslint-config-prettier": "^
|
|
55
|
-
"eslint-plugin-prettier": "^5.2.
|
|
56
|
-
"eslint-plugin-svelte": "^2.
|
|
57
|
-
"globals": "^15.
|
|
58
|
-
"jsdom": "^
|
|
53
|
+
"eslint": "^9.19.0",
|
|
54
|
+
"eslint-config-prettier": "^10.0.1",
|
|
55
|
+
"eslint-plugin-prettier": "^5.2.3",
|
|
56
|
+
"eslint-plugin-svelte": "^2.46.1",
|
|
57
|
+
"globals": "^15.14.0",
|
|
58
|
+
"jsdom": "^26.0.0",
|
|
59
59
|
"path-browserify": "^1.0.1",
|
|
60
|
-
"postcss": "^8.
|
|
60
|
+
"postcss": "^8.5.1",
|
|
61
61
|
"postcss-url": "^10.1.3",
|
|
62
|
-
"prettier": "^3.
|
|
63
|
-
"prettier-plugin-svelte": "^3.
|
|
64
|
-
"rollup": "^4.
|
|
62
|
+
"prettier": "^3.4.2",
|
|
63
|
+
"prettier-plugin-svelte": "^3.3.3",
|
|
64
|
+
"rollup": "^4.32.1",
|
|
65
65
|
"rollup-plugin-copy": "^3.5.0",
|
|
66
66
|
"rollup-plugin-css-only": "^4.5.2",
|
|
67
67
|
"rollup-plugin-svelte": "^7.2.2",
|
|
68
68
|
"rollup-plugin-terser": "^7.0.2",
|
|
69
69
|
"shadow-dom-testing-library": "^1.11.3",
|
|
70
70
|
"shelljs": "^0.8.5",
|
|
71
|
-
"sirv-cli": "^
|
|
71
|
+
"sirv-cli": "^3.0.0",
|
|
72
72
|
"stream-browserify": "^3.0.0",
|
|
73
|
-
"stylelint": "^16.
|
|
74
|
-
"stylelint-config-standard": "^
|
|
75
|
-
"svelte": "^
|
|
76
|
-
"svelte-check": "^4.
|
|
77
|
-
"svelte-eslint-parser": "^0.
|
|
78
|
-
"svelte-loader": "^3.2.
|
|
79
|
-
"svelte-preprocess": "^6.0.
|
|
73
|
+
"stylelint": "^16.14.1",
|
|
74
|
+
"stylelint-config-standard": "^37.0.0",
|
|
75
|
+
"svelte": "^5.19.5",
|
|
76
|
+
"svelte-check": "^4.1.4",
|
|
77
|
+
"svelte-eslint-parser": "^0.43.0",
|
|
78
|
+
"svelte-loader": "^3.2.4",
|
|
79
|
+
"svelte-preprocess": "^6.0.3",
|
|
80
80
|
"ts-node": "^10.9.2",
|
|
81
|
-
"tslib": "^2.
|
|
82
|
-
"typescript": "5.
|
|
83
|
-
"typescript-eslint": "^8.
|
|
84
|
-
"vite": "^
|
|
85
|
-
"vite-plugin-dts": "^4.
|
|
81
|
+
"tslib": "^2.8.1",
|
|
82
|
+
"typescript": "5.7.3",
|
|
83
|
+
"typescript-eslint": "^8.22.0",
|
|
84
|
+
"vite": "^6.0.11",
|
|
85
|
+
"vite-plugin-dts": "^4.5.0",
|
|
86
86
|
"vite-plugin-eslint": "^1.8.1",
|
|
87
|
-
"vitest": "^
|
|
87
|
+
"vitest": "^3.0.4"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
90
|
"final-form": "^4.20.10",
|
|
91
|
-
"jose": "^5.9.
|
|
91
|
+
"jose": "^5.9.6",
|
|
92
92
|
"svelte-final-form": "^1.2.3",
|
|
93
|
-
"uuid": "^
|
|
93
|
+
"uuid": "^11.0.5"
|
|
94
94
|
}
|
|
95
95
|
}
|