@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 CHANGED
@@ -1,63 +1,109 @@
1
1
  # @akinon/pz-apple-pay
2
2
 
3
- ## 2.0.0-beta.12
3
+ ## 2.0.0-beta.13
4
4
 
5
- ### Minor Changes
5
+ ## 1.118.0
6
6
 
7
- - 1d79e32: ZERO-3540: Next.js Upgrade to 15.4.5
7
+ ## 1.117.0
8
8
 
9
- ## 2.0.0-beta.11
9
+ ## 1.116.0
10
10
 
11
- ### Minor Changes
11
+ ## 1.115.0
12
12
 
13
- - ac783d6: ZERO-3482: Update tailwindcss to version 4.1.11 and enhance button cursor styles
13
+ ## 1.114.0
14
14
 
15
- ## 2.0.0-beta.10
15
+ ## 1.113.0
16
16
 
17
- ### Minor Changes
17
+ ## 1.112.0
18
+
19
+ ## 1.111.0
18
20
 
19
- - 2806320: ZERO-3390: Update version tailwindcss, autoprefixer, tailwind-merge, postcss
21
+ ## 1.110.0
20
22
 
21
- ## 2.0.0-beta.9
23
+ ## 1.109.0
24
+
25
+ ## 1.108.0
22
26
 
23
27
  ### Minor Changes
24
28
 
25
- - 0fe7711: ZERO-3387: Upgrade nextjs, eslint-config-next
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
- ## 2.0.0-beta.8
36
+ ## 1.105.0
28
37
 
29
- ## 2.0.0-beta.7
38
+ ## 1.104.0
30
39
 
31
- ## 2.0.0-beta.6
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
- - 8f05f9b: ZERO-3250: Beta branch synchronized with Main branch
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
- ## 2.0.0-beta.5
58
+ ## 1.96.0
38
59
 
39
- ## 2.0.0-beta.4
60
+ ## 1.95.0
40
61
 
41
- ## 2.0.0-beta.3
62
+ ## 1.94.0
42
63
 
43
- ## 2.0.0-beta.2
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
- - a006015: ZERO-3116: Add not-found page and update default middleware.
48
- - 1eeb3d8: ZERO-3116: Add not found page
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
- ## 2.0.0-beta.1
84
+ ## 1.85.0
85
+
86
+ ## 1.84.0
51
87
 
52
88
  ### Minor Changes
53
89
 
54
- - ZERO-3091: Upgrade Next.js to v15 and React to v19
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
- ## 2.0.0-beta.0
102
+ ## 1.78.0
57
103
 
58
- ### Major Changes
104
+ ## 1.77.0
59
105
 
60
- - be6c09d: ZERO-3114: Create beta version.
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.12",
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": "^22.10.2",
12
- "@types/react": "^19.0.2",
13
- "@types/react-dom": "^19.0.2",
14
- "prettier": "^3.4.2",
15
- "react": "^19.0.0",
16
- "react-dom": "^19.0.0",
17
- "typescript": "^5.7.2"
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(true)
106
+ checkoutApi.endpoints.setWalletCompletePage.initiate({
107
+ success: true
108
+ })
107
109
  ).unwrap();
108
110
 
109
111
  if (paymentCompleteResponse.errors) {
@@ -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: {