@akinon/pz-apple-pay 2.0.0-beta.12 → 2.0.0-beta.13
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/CHANGELOG.md +72 -26
- package/package.json +10 -10
- package/src/hooks/use-apple-pay.tsx +3 -1
- package/src/views/index.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,63 +1,109 @@
|
|
|
1
1
|
# @akinon/pz-apple-pay
|
|
2
2
|
|
|
3
|
-
## 2.0.0-beta.
|
|
3
|
+
## 2.0.0-beta.13
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## 1.118.0
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## 1.117.0
|
|
8
8
|
|
|
9
|
-
##
|
|
9
|
+
## 1.116.0
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
## 1.115.0
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
## 1.114.0
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## 1.113.0
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
## 1.112.0
|
|
18
|
+
|
|
19
|
+
## 1.111.0
|
|
18
20
|
|
|
19
|
-
|
|
21
|
+
## 1.110.0
|
|
20
22
|
|
|
21
|
-
##
|
|
23
|
+
## 1.109.0
|
|
24
|
+
|
|
25
|
+
## 1.108.0
|
|
22
26
|
|
|
23
27
|
### Minor Changes
|
|
24
28
|
|
|
25
|
-
-
|
|
29
|
+
- d8883ce6: ZERO-3640: Refactor wallet completion handling to accept additional parameters; update related API calls
|
|
30
|
+
- 31a2d35a: ZERO-3640: Refactor checkout API call to include useFormData option; update FlowPayment component for improved error handling and code readability
|
|
31
|
+
|
|
32
|
+
## 1.107.0
|
|
33
|
+
|
|
34
|
+
## 1.106.0
|
|
26
35
|
|
|
27
|
-
##
|
|
36
|
+
## 1.105.0
|
|
28
37
|
|
|
29
|
-
##
|
|
38
|
+
## 1.104.0
|
|
30
39
|
|
|
31
|
-
##
|
|
40
|
+
## 1.103.0
|
|
41
|
+
|
|
42
|
+
## 1.102.0
|
|
43
|
+
|
|
44
|
+
## 1.101.0
|
|
45
|
+
|
|
46
|
+
## 1.100.0
|
|
47
|
+
|
|
48
|
+
## 1.99.0
|
|
32
49
|
|
|
33
50
|
### Minor Changes
|
|
34
51
|
|
|
35
|
-
-
|
|
52
|
+
- d58538b: ZERO-3638: Enhance RC pipeline: add fetch, merge, and pre-release setup with conditional commit
|
|
53
|
+
|
|
54
|
+
## 1.98.0
|
|
55
|
+
|
|
56
|
+
## 1.97.0
|
|
36
57
|
|
|
37
|
-
##
|
|
58
|
+
## 1.96.0
|
|
38
59
|
|
|
39
|
-
##
|
|
60
|
+
## 1.95.0
|
|
40
61
|
|
|
41
|
-
##
|
|
62
|
+
## 1.94.0
|
|
42
63
|
|
|
43
|
-
##
|
|
64
|
+
## 1.93.0
|
|
65
|
+
|
|
66
|
+
## 1.92.0
|
|
67
|
+
|
|
68
|
+
## 1.91.0
|
|
69
|
+
|
|
70
|
+
## 1.90.0
|
|
44
71
|
|
|
45
72
|
### Minor Changes
|
|
46
73
|
|
|
47
|
-
-
|
|
48
|
-
|
|
74
|
+
- f2e9d1d: ZERO-3383: Add custom UI rendering option for apple pay
|
|
75
|
+
|
|
76
|
+
## 1.89.0
|
|
77
|
+
|
|
78
|
+
## 1.88.0
|
|
79
|
+
|
|
80
|
+
## 1.87.0
|
|
81
|
+
|
|
82
|
+
## 1.86.0
|
|
49
83
|
|
|
50
|
-
##
|
|
84
|
+
## 1.85.0
|
|
85
|
+
|
|
86
|
+
## 1.84.0
|
|
51
87
|
|
|
52
88
|
### Minor Changes
|
|
53
89
|
|
|
54
|
-
- ZERO-
|
|
90
|
+
- 624a4eb: ZERO-3276: Update installation instructions across multiple README files to standardize format and improve clarity
|
|
91
|
+
|
|
92
|
+
## 1.83.0
|
|
93
|
+
|
|
94
|
+
## 1.82.0
|
|
95
|
+
|
|
96
|
+
## 1.81.0
|
|
97
|
+
|
|
98
|
+
## 1.80.0
|
|
99
|
+
|
|
100
|
+
## 1.79.0
|
|
55
101
|
|
|
56
|
-
##
|
|
102
|
+
## 1.78.0
|
|
57
103
|
|
|
58
|
-
|
|
104
|
+
## 1.77.0
|
|
59
105
|
|
|
60
|
-
|
|
106
|
+
## 1.76.0
|
|
61
107
|
|
|
62
108
|
## 1.75.0
|
|
63
109
|
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/pz-apple-pay",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.13",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "src/index.tsx",
|
|
6
6
|
"peerDependencies": {
|
|
7
|
-
"react": "^19.0.0",
|
|
8
|
-
"react-dom": "^19.0.0"
|
|
7
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
8
|
+
"react-dom": "^18.0.0 || ^19.0.0"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@types/node": "^
|
|
12
|
-
"@types/react": "^
|
|
13
|
-
"@types/react-dom": "^
|
|
14
|
-
"prettier": "^3.
|
|
15
|
-
"react": "^19.
|
|
16
|
-
"react-dom": "^19.
|
|
17
|
-
"typescript": "^5.
|
|
11
|
+
"@types/node": "^18.7.8",
|
|
12
|
+
"@types/react": "^18.0.17",
|
|
13
|
+
"@types/react-dom": "^18.0.6",
|
|
14
|
+
"prettier": "^3.0.3",
|
|
15
|
+
"react": "^19.2.4",
|
|
16
|
+
"react-dom": "^19.2.4",
|
|
17
|
+
"typescript": "^5.2.2"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -103,7 +103,9 @@ export default function useApplePay() {
|
|
|
103
103
|
)
|
|
104
104
|
) {
|
|
105
105
|
const paymentCompleteResponse = await dispatch(
|
|
106
|
-
checkoutApi.endpoints.setWalletCompletePage.initiate(
|
|
106
|
+
checkoutApi.endpoints.setWalletCompletePage.initiate({
|
|
107
|
+
success: true
|
|
108
|
+
})
|
|
107
109
|
).unwrap();
|
|
108
110
|
|
|
109
111
|
if (paymentCompleteResponse.errors) {
|
package/src/views/index.tsx
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
+
import { JSX } from 'react';
|
|
3
4
|
import { useAppSelector } from '@akinon/next/redux/hooks';
|
|
4
5
|
import { RootState } from '@theme/redux/store';
|
|
5
6
|
import useApplePay from '../hooks/use-apple-pay';
|
|
6
|
-
import { JSX } from 'react';
|
|
7
7
|
|
|
8
8
|
export interface ApplePayProps {
|
|
9
9
|
customUIRender?: (props: {
|