@medipass/checkout-sdk 3.0.0-alpha.7 → 3.0.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.
- package/README.md +10 -16
- package/dist/cjs/index.js +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/umd/index.min.js +2 -2
- package/package.json +3 -10
- package/rollup.config.mjs +0 -9
- package/src/overlay.ts +1 -1
- package/src/style.css +1 -1
- package/src/updatePaymentOverlay.ts +1 -1
package/package.json
CHANGED
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medipass/checkout-sdk",
|
|
3
|
-
"version": "3.0.0
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
|
+
"description": "Medipass Checkout SDK",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "yarn rollup -c",
|
|
9
|
-
"build:types": "tsc --project tsconfig.build.json --module esnext --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
|
|
10
9
|
"check-types": "tsc --noEmit",
|
|
11
10
|
"clean": "rm -rf dist",
|
|
12
11
|
"develop": "nodemon -w src -x 'yarn build'",
|
|
13
12
|
"lint": "eslint \"**/*.{ts,tsx}\"",
|
|
14
13
|
"lint:fix": "eslint \"**/*.{ts,tsx}\" --fix",
|
|
15
|
-
"prepublishOnly": "
|
|
16
|
-
"test": "nwb test",
|
|
17
|
-
"test:coverage": "nwb test --coverage",
|
|
18
|
-
"test:watch": "nwb test --server"
|
|
14
|
+
"prepublishOnly": "yarn build"
|
|
19
15
|
},
|
|
20
16
|
"dependencies": {
|
|
21
17
|
"@medipass/utils": "11.80.7",
|
|
@@ -30,7 +26,6 @@
|
|
|
30
26
|
"@types/file-saver": "2.0.5",
|
|
31
27
|
"@typescript-eslint/eslint-plugin": "5.57.1",
|
|
32
28
|
"@typescript-eslint/parser": "5.57.1",
|
|
33
|
-
"autoprefixer": "10.4.14",
|
|
34
29
|
"eslint": "8.39.0",
|
|
35
30
|
"eslint-config-prettier": "8.8.0",
|
|
36
31
|
"eslint-plugin-prettier": "4.2.1",
|
|
@@ -39,9 +34,7 @@
|
|
|
39
34
|
"postcss": "8.4.27",
|
|
40
35
|
"prettier": "2.8.1",
|
|
41
36
|
"rollup": "3.27.0",
|
|
42
|
-
"rollup-plugin-import-css": "3.3.1",
|
|
43
37
|
"rollup-plugin-polyfill-node": "0.12.0",
|
|
44
|
-
"rollup-plugin-postcss": "4.0.2",
|
|
45
38
|
"rollup-plugin-styles": "4.0.0",
|
|
46
39
|
"typescript": "5.1.6"
|
|
47
40
|
},
|
package/rollup.config.mjs
CHANGED
|
@@ -4,10 +4,6 @@ import typescript from '@rollup/plugin-typescript';
|
|
|
4
4
|
import commonjs from '@rollup/plugin-commonjs';
|
|
5
5
|
import { nodeResolve } from '@rollup/plugin-node-resolve';
|
|
6
6
|
import nodePolyfills from 'rollup-plugin-polyfill-node';
|
|
7
|
-
// import css from 'rollup-plugin-import-css';
|
|
8
|
-
import postcss from 'rollup-plugin-postcss';
|
|
9
|
-
import autoprefixer from 'autoprefixer';
|
|
10
|
-
|
|
11
7
|
import styles from 'rollup-plugin-styles';
|
|
12
8
|
|
|
13
9
|
export default {
|
|
@@ -16,18 +12,15 @@ export default {
|
|
|
16
12
|
{
|
|
17
13
|
file: 'dist/cjs/index.js',
|
|
18
14
|
format: 'cjs',
|
|
19
|
-
// assetFileNames: '[name]-[hash][extname]',
|
|
20
15
|
},
|
|
21
16
|
{
|
|
22
17
|
file: 'dist/esm/index.js',
|
|
23
18
|
format: 'es',
|
|
24
|
-
// assetFileNames: '[name]-[hash][extname]',
|
|
25
19
|
},
|
|
26
20
|
{
|
|
27
21
|
file: 'dist/umd/index.min.js',
|
|
28
22
|
format: 'umd',
|
|
29
23
|
name: 'MedipassCheckoutSDK',
|
|
30
|
-
// assetFileNames: '[name]-[hash][extname]',
|
|
31
24
|
},
|
|
32
25
|
],
|
|
33
26
|
plugins: [
|
|
@@ -36,9 +29,7 @@ export default {
|
|
|
36
29
|
terser(),
|
|
37
30
|
typescript(),
|
|
38
31
|
commonjs({ include: /node_modules/ }),
|
|
39
|
-
// postcss({ plugins: [autoprefixer()], extract: true }),
|
|
40
32
|
nodeResolve(),
|
|
41
33
|
nodePolyfills(),
|
|
42
|
-
// css(),
|
|
43
34
|
],
|
|
44
35
|
};
|
package/src/overlay.ts
CHANGED
package/src/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import url(
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
|