@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 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
- - [ES6](https://developer.mozilla.org/en-US/docs/Web/JavaScript) + [Babel](https://babeljs.io/)
23
- - [Webpack](https://webpack.js.org/)
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
- - Internet Explorer 10 or later
38
- - Latest versions of the following:
39
- - Chrome
40
- - Firefox
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 "@trustpayments/ts-iin-lookup/dist/types";
2
- import { Utils } from "../../services/utils/Utils.service";
3
- import { IConfig } from "../card-wrapper/CardWrapper.interface";
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;
@@ -1,5 +1,4 @@
1
- import "../card/Card.scss";
2
- import { IConfig } from "./CardWrapper.interface";
1
+ import { IConfig } from './CardWrapper.interface';
3
2
  export declare class CardWrapper {
4
3
  private static fourDigitsCard;
5
4
  private static matchExactlyFourDigits;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { CardWrapper } from "./components/card-wrapper/CardWrapper";
2
- import { IConfig } from "./components/card-wrapper/CardWrapper.interface";
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;