@akinon/pz-gpay 2.0.0-beta.0 → 2.0.0-beta.10

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,5 +1,46 @@
1
1
  # @akinon/pz-gpay
2
2
 
3
+ ## 2.0.0-beta.10
4
+
5
+ ### Minor Changes
6
+
7
+ - 2806320: ZERO-3390: Update version tailwindcss, autoprefixer, tailwind-merge, postcss
8
+
9
+ ## 2.0.0-beta.9
10
+
11
+ ### Minor Changes
12
+
13
+ - 0fe7711: ZERO-3387: Upgrade nextjs, eslint-config-next
14
+
15
+ ## 2.0.0-beta.8
16
+
17
+ ## 2.0.0-beta.7
18
+
19
+ ## 2.0.0-beta.6
20
+
21
+ ### Minor Changes
22
+
23
+ - 8f05f9b: ZERO-3250: Beta branch synchronized with Main branch
24
+
25
+ ## 2.0.0-beta.5
26
+
27
+ ## 2.0.0-beta.4
28
+
29
+ ## 2.0.0-beta.3
30
+
31
+ ## 2.0.0-beta.2
32
+
33
+ ### Minor Changes
34
+
35
+ - a006015: ZERO-3116: Add not-found page and update default middleware.
36
+ - 1eeb3d8: ZERO-3116: Add not found page
37
+
38
+ ## 2.0.0-beta.1
39
+
40
+ ### Minor Changes
41
+
42
+ - ZERO-3091: Upgrade Next.js to v15 and React to v19
43
+
3
44
  ## 2.0.0-beta.0
4
45
 
5
46
  ### Major Changes
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@akinon/pz-gpay",
3
- "version": "2.0.0-beta.0",
3
+ "version": "2.0.0-beta.10",
4
4
  "license": "MIT",
5
5
  "main": "src/index.tsx",
6
6
  "peerDependencies": {
7
- "react": "^18.0.0",
8
- "react-dom": "^18.0.0"
7
+ "react": "^19.0.0",
8
+ "react-dom": "^19.0.0"
9
9
  },
10
10
  "devDependencies": {
11
- "@types/node": "^18.7.8",
12
- "@types/react": "^18.0.17",
13
- "@types/react-dom": "^18.0.6",
14
- "react": "^18.2.0",
15
- "react-dom": "^18.2.0",
16
- "typescript": "^4.7.4",
11
+ "@types/node": "^22.10.2",
12
+ "@types/react": "^19.0.2",
13
+ "@types/react-dom": "^19.0.2",
14
+ "react": "^19.0.0",
15
+ "react-dom": "^19.0.0",
16
+ "typescript": "^5.7.2",
17
17
  "react-hook-form": "7.31.3",
18
18
  "@hookform/resolvers": "2.9.0"
19
19
  }
package/readme.md CHANGED
@@ -1,16 +1,17 @@
1
1
  # @akinon/pz-gpay
2
2
 
3
- ### Install the npm package
3
+ ## Installation method
4
+
5
+ You can use the following command to install the extension with the latest plugins:
4
6
 
5
7
  ```bash
6
- # For latest version
7
- yarn add @akinon/pz-gpay
8
8
 
9
- # Preferred installation method
10
9
  npx @akinon/projectzero@latest --plugins
10
+
11
11
  ```
12
12
 
13
13
  ### Example Usage
14
+
14
15
  ##### File Path: src/views/checkout/steps/payment/options/gpay.tsx
15
16
 
16
17
  ```javascript
@@ -45,8 +46,9 @@ export default GarantiPayRedirect;
45
46
  ```
46
47
 
47
48
  ### Props
49
+
48
50
  | Properties | Type | Description |
49
- |----------------------|--------|--------------------------------------------|
51
+ | -------------------- | ------ | ------------------------------------------ |
50
52
  | translations | object | The translations of the component. |
51
53
  | containerClassName | string | The CSS class to apply to the container. |
52
54
  | titleClassName | string | The CSS class to apply to the title. |
@@ -4,7 +4,7 @@ import { redirect } from 'next/navigation';
4
4
  import { ROUTES } from 'routes';
5
5
 
6
6
  export const GarantiPayRedirect = async () => {
7
- const nextCookies = cookies();
7
+ const nextCookies = await cookies();
8
8
  const sessionId = nextCookies.get('osessionid')?.value;
9
9
 
10
10
  if (!sessionId) {