@tap-payments/apple-pay-button 0.0.55-development → 0.0.56-development
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/build/@types/ApplePayButtonProps.d.ts +127 -0
- package/build/@types/ApplePayButtonProps.js +1 -0
- package/build/@types/charge.d.ts +57 -0
- package/build/@types/charge.js +1 -0
- package/build/@types/checkoutProfile.d.ts +194 -0
- package/build/@types/checkoutProfile.js +1 -0
- package/build/@types/enums.d.ts +71 -0
- package/build/@types/enums.js +83 -0
- package/build/@types/index.d.ts +6 -233
- package/build/@types/index.js +6 -1
- package/build/@types/tapLocalisation.d.ts +193 -0
- package/build/@types/tapLocalisation.js +1 -0
- package/build/@types/tapTheme.d.ts +842 -0
- package/build/@types/tapTheme.js +1 -0
- package/build/api/app.service.d.ts +1 -1
- package/build/api/app.service.js +2 -1
- package/build/api/httpClient.d.ts +1 -1
- package/build/assets/lottie/Dark_Mode_Loader.json +255 -0
- package/build/assets/lottie/Light_Mode_Loader.json +255 -0
- package/build/components/ActionButton/ActionButton.d.ts +31 -0
- package/build/components/ActionButton/ActionButton.js +61 -0
- package/build/components/ActionButton/index.d.ts +2 -0
- package/build/components/ActionButton/index.js +2 -0
- package/build/components/InitialLoader/InitialLoader.d.ts +9 -0
- package/build/components/InitialLoader/InitialLoader.js +29 -0
- package/build/components/InitialLoader/index.d.ts +2 -0
- package/build/components/InitialLoader/index.js +2 -0
- package/build/components/Loader/Loader.d.ts +24 -0
- package/build/components/Loader/Loader.js +48 -0
- package/build/components/Loader/index.d.ts +2 -0
- package/build/components/Loader/index.js +2 -0
- package/build/components/PayButton/PayButton.d.ts +22 -0
- package/build/components/PayButton/PayButton.js +40 -0
- package/build/components/PayButton/index.d.ts +2 -0
- package/build/components/PayButton/index.js +2 -0
- package/build/components/PayButton/style.d.ts +11 -0
- package/build/components/PayButton/style.js +41 -0
- package/build/constants/index.d.ts +2 -66
- package/build/constants/index.js +2 -66
- package/build/features/ApplePayButton/ApplePayButton.js +19 -15
- package/build/features/ApplePayButton/style.d.ts +2 -0
- package/build/features/ApplePayButton/style.js +12 -0
- package/build/hooks/useApplePay.js +2 -1
- package/build/hooks/useMerchantApplePay.d.ts +1 -2
- package/build/hooks/useMerchantApplePay.js +1 -1
- package/build/hooks/useScript.d.ts +3 -1
- package/build/hooks/useScript.js +3 -2
- package/build/index.d.ts +1 -1
- package/build/index.js +1 -1
- package/build/utils/defaultValues.d.ts +8 -7
- package/build/utils/defaultValues.js +1 -1
- package/build/utils/index.d.ts +3 -0
- package/build/utils/index.js +3 -0
- package/build/utils/theme.d.ts +2 -0
- package/build/utils/theme.js +8 -0
- package/package.json +16 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tap-payments/apple-pay-button",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.56-development",
|
|
4
4
|
"description": "Apple Pay Button React Component",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"module": "build/index.js",
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"README.md"
|
|
11
11
|
],
|
|
12
12
|
"scripts": {
|
|
13
|
+
"start": "cross-env NODE_ENV=development webpack serve",
|
|
13
14
|
"prepare": "npx husky install",
|
|
14
15
|
"prettier": "prettier --list-different \"src/**/*.{md,mdx,ts,js,tsx,jsx,json}\" *.json *.js",
|
|
15
16
|
"prettier:fix": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json,md,css,json}\" *.json *.js",
|
|
16
17
|
"lint": "eslint src --color --ext .js,.jsx,.ts,.tsx,.json",
|
|
17
18
|
"lint:fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix",
|
|
18
|
-
"start": "cross-env NODE_ENV=development webpack serve",
|
|
19
|
-
"build": "cross-env NODE_ENV=production webpack",
|
|
20
19
|
"copy:files": "copyfiles -u 1 src/**/*.css build/",
|
|
21
20
|
"tsc:alias": "tsc-alias -p tsconfig.json",
|
|
21
|
+
"build": "cross-env NODE_ENV=production webpack",
|
|
22
22
|
"ts:build": "rm -rf build && tsc && yarn tsc:alias && yarn copy:files",
|
|
23
23
|
"push": "npm publish --access public --tag development"
|
|
24
24
|
},
|
|
@@ -28,11 +28,24 @@
|
|
|
28
28
|
"email": "a.elsharkawy@tap.company"
|
|
29
29
|
},
|
|
30
30
|
"license": "ISC",
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@emotion/react": "^11.11.1",
|
|
33
|
+
"@emotion/styled": "^11.11.0",
|
|
34
|
+
"@mui/material": "^5.14.12",
|
|
35
|
+
"@tap-payments/browser-info": "^1.0.2",
|
|
36
|
+
"axios": "^1.2.2",
|
|
37
|
+
"framer-motion": "^10.16.5",
|
|
38
|
+
"jsencrypt": "^3.3.2",
|
|
39
|
+
"lottie-react": "^2.4.0",
|
|
40
|
+
"react": "^18.2.0",
|
|
41
|
+
"react-dom": "^18.2.0"
|
|
42
|
+
},
|
|
31
43
|
"devDependencies": {
|
|
32
44
|
"@babel/core": "^7.18.6",
|
|
33
45
|
"@babel/preset-env": "^7.18.6",
|
|
34
46
|
"@babel/preset-react": "^7.18.6",
|
|
35
47
|
"@babel/preset-typescript": "^7.18.6",
|
|
48
|
+
"@types/applepayjs": "^14.0.3",
|
|
36
49
|
"@types/crypto-js": "^4.1.1",
|
|
37
50
|
"@types/react": "^18.0.15",
|
|
38
51
|
"@types/react-dom": "^18.0.6",
|
|
@@ -71,13 +84,6 @@
|
|
|
71
84
|
"webpack-dev-server": "^4.9.3",
|
|
72
85
|
"webpack-merge": "^5.8.0"
|
|
73
86
|
},
|
|
74
|
-
"dependencies": {
|
|
75
|
-
"@tap-payments/browser-info": "^1.0.2",
|
|
76
|
-
"axios": "^1.2.2",
|
|
77
|
-
"jsencrypt": "^3.3.2",
|
|
78
|
-
"react": ">=17.0.2",
|
|
79
|
-
"react-dom": ">=17.0.2"
|
|
80
|
-
},
|
|
81
87
|
"peerDependencies": {
|
|
82
88
|
"react": ">=17.0.2",
|
|
83
89
|
"react-dom": ">=17.0.2"
|