@trustpayments/js-payments-card 2.2.1059 → 2.2.1062
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 +6 -9
- package/dist/components/card/Card.component.d.ts +3 -3
- package/dist/components/card-wrapper/CardWrapper.d.ts +1 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2788 -1
- package/dist/index.umd.js +45 -0
- package/dist/js-payments-card.css +1 -0
- package/dist/services/formatter/Formatter.service.d.ts +1 -1
- package/dist/services/utils/Utils.service.d.ts +1 -1
- package/dist/services/validator/Validator.service.d.ts +1 -1
- package/dist/shared/translations/cy_GB.json.d.ts +9 -0
- package/dist/shared/translations/da_DK.json.d.ts +9 -0
- package/dist/shared/translations/de_DE.json.d.ts +9 -0
- package/dist/shared/translations/en_GB.json.d.ts +9 -0
- package/dist/shared/translations/en_US.json.d.ts +9 -0
- package/dist/shared/translations/es_ES.json.d.ts +9 -0
- package/dist/shared/translations/fr_FR.json.d.ts +9 -0
- package/dist/shared/translations/it_IT.json.d.ts +9 -0
- package/dist/shared/translations/nl_NL.json.d.ts +9 -0
- package/dist/shared/translations/no_NO.json.d.ts +9 -0
- package/dist/shared/translations/sv_SE.json.d.ts +9 -0
- package/package.json +26 -46
- package/dist/example.js +0 -1
- package/dist/favicon.webp +0 -0
- package/dist/index.html +0 -22
- package/dist/manifest.json +0 -7
- package/dist/shared/imports/polyfills.d.ts +0 -2
- package/dist/trustpayments.png +0 -0
package/README.md
CHANGED
|
@@ -19,13 +19,12 @@ Then open address `https://localhost:8443` in your web browser.
|
|
|
19
19
|
##### Tools and languages:
|
|
20
20
|
|
|
21
21
|
- [TypeScript](https://www.typescriptlang.org/)
|
|
22
|
-
- [
|
|
23
|
-
- [
|
|
22
|
+
- [ES2020](https://developer.mozilla.org/en-US/docs/Web/JavaScript)
|
|
23
|
+
- [Vite](https://vitejs.dev/)
|
|
24
24
|
- [npm](https://www.npmjs.com/)
|
|
25
25
|
- [Sass (SCSS + BEM)](https://sass-lang.com/)
|
|
26
26
|
- [Prettier](https://prettier.io/)
|
|
27
27
|
- [Stylelint](https://stylelint.io/)
|
|
28
|
-
- [TSLint](https://palantir.github.io/tslint/)
|
|
29
28
|
- [ESLint](https://eslint.org/)
|
|
30
29
|
|
|
31
30
|
##### QA:
|
|
@@ -34,12 +33,10 @@ Then open address `https://localhost:8443` in your web browser.
|
|
|
34
33
|
|
|
35
34
|
## Browser compatibility:
|
|
36
35
|
|
|
37
|
-
-
|
|
38
|
-
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
- Edge
|
|
42
|
-
- Safari
|
|
36
|
+
- Chrome 90+ (May 2021)
|
|
37
|
+
- Firefox 88+ (April 2021)
|
|
38
|
+
- Safari 14+ (September 2020)
|
|
39
|
+
- Edge 90+ (May 2021)
|
|
43
40
|
|
|
44
41
|
## Testing how-to
|
|
45
42
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BrandDetailsType } from
|
|
2
|
-
import { Utils } from
|
|
3
|
-
import { IConfig } from
|
|
1
|
+
import { BrandDetailsType } from '@trustpayments/ts-iin-lookup/dist/types';
|
|
2
|
+
import { Utils } from '../../services/utils/Utils.service';
|
|
3
|
+
import { IConfig } from '../card-wrapper/CardWrapper.interface';
|
|
4
4
|
export declare class Card extends Utils {
|
|
5
5
|
private static defaultLanguage;
|
|
6
6
|
private static disabledAttribute;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CardWrapper } from
|
|
2
|
-
import { IConfig } from
|
|
1
|
+
import { CardWrapper } from './components/card-wrapper/CardWrapper';
|
|
2
|
+
import { IConfig } from './components/card-wrapper/CardWrapper.interface';
|
|
3
3
|
declare const _default: (config: IConfig) => CardWrapper;
|
|
4
4
|
export default _default;
|