@akinon/next 1.37.0-rc.8 → 1.38.0-rc.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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @akinon/next
2
2
 
3
- ## 1.37.0-rc.8
3
+ ## 1.38.0-rc.0
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -9,7 +9,6 @@
9
9
  - c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
10
10
  - c53ef7b: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
11
11
  - 1448a96: ZERO-2612: add errors type in CheckoutState
12
- - 6247aae: ZERO-2698: rename eslint config files
13
12
  - b5d5c5c: ZERO-2683: Add conditional initialization for Sentry based on type
14
13
  - 75080fd: ZERO-2630: Add max limit to postcode area
15
14
  - 91265bb: ZERO-2551: Improve pretty url and caching performance
@@ -17,54 +16,14 @@
17
16
  - 05b1fe1: ZERO-2674: Update getMenu query to accept depth and parent parameters
18
17
  - dff0d59: ZERO-2659: add formData support to proxy api requests
19
18
  - beb499e: ZERO-2551: Add new tsconfig paths
19
+ - 431735d: ZERO-2702: Add redirect checkout-with-token url
20
20
  - f046f8e: ZERO-2575: update version for react-number-format
21
21
 
22
- ## 1.37.0-rc.7
23
-
24
- ## 1.37.0-rc.6
25
-
26
- ### Minor Changes
27
-
28
- - 1bc5e92: ZERO-2701: Fix image loader regex to handle null src values
29
-
30
- ## 1.37.0-rc.5
22
+ ## 1.37.0
31
23
 
32
24
  ### Minor Changes
33
25
 
34
- - c53ea3e: ZERO-2609: Reset additional form fields when selectedFormType is not company
35
-
36
- ## 1.37.0-rc.4
37
-
38
- ### Minor Changes
39
-
40
- - b5d5c5c: ZERO-2683: Add conditional initialization for Sentry based on type
41
- - 05b1fe1: ZERO-2674: Update getMenu query to accept depth and parent parameters
42
-
43
- ## 1.37.0-rc.3
44
-
45
- ### Minor Changes
46
-
47
- - 75080fd: ZERO-2630: Add max limit to postcode area
48
-
49
- ## 1.37.0-rc.2
50
-
51
- ### Minor Changes
52
-
53
- - 1448a96: ZERO-2612: add errors type in CheckoutState
54
-
55
- ## 1.37.0-rc.1
56
-
57
- ## 1.37.0-rc.0
58
-
59
- ### Minor Changes
60
-
61
- - a4c8d6a: ZERO-2663: Fix the image url for gif and svgs and return them without options
62
- - c53ef7b: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
63
- - 91265bb: ZERO-2551: Improve pretty url and caching performance
64
- - bbe18b9: ZERO-2575: Fix build error
65
- - dff0d59: ZERO-2659: add formData support to proxy api requests
66
- - beb499e: ZERO-2551: Add new tsconfig paths
67
- - f046f8e: ZERO-2575: update version for react-number-format
26
+ - 6247aae: ZERO-2698: rename eslint config files
68
27
 
69
28
  ## 1.36.0
70
29
 
@@ -80,7 +80,10 @@ const withPzDefault =
80
80
  }
81
81
  }
82
82
 
83
- if (req.nextUrl.pathname.includes('/orders/hooks/')) {
83
+ if (
84
+ req.nextUrl.pathname.includes('/orders/hooks/') ||
85
+ req.nextUrl.pathname.includes('/orders/checkout-with-token/')
86
+ ) {
84
87
  return NextResponse.rewrite(
85
88
  new URL(
86
89
  `${Settings.commerceUrl}${req.nextUrl.pathname.replace(
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@akinon/next",
3
3
  "description": "Core package for Project Zero Next",
4
- "version": "1.37.0-rc.8",
4
+ "version": "1.38.0-rc.0",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "bin": {
@@ -35,7 +35,7 @@
35
35
  "@typescript-eslint/eslint-plugin": "6.7.4",
36
36
  "@typescript-eslint/parser": "6.7.4",
37
37
  "eslint": "^8.14.0",
38
- "@akinon/eslint-plugin-projectzero": "1.37.0-rc.8",
38
+ "@akinon/eslint-plugin-projectzero": "1.38.0-rc.0",
39
39
  "eslint-config-prettier": "8.5.0"
40
40
  }
41
41
  }