@akinon/next 1.102.0-rc.77 → 1.102.0-rc.79

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,17 @@
1
1
  # @akinon/next
2
2
 
3
+ ## 1.102.0-rc.79
4
+
5
+ ### Minor Changes
6
+
7
+ - 9a3885b: ZERO-3660: skip catch-all not_found route in generate route script
8
+
9
+ ## 1.102.0-rc.78
10
+
11
+ ### Minor Changes
12
+
13
+ - d512ea2: ZERO-3656: update setLoyaltyData mutation to accept string type
14
+
3
15
  ## 1.102.0-rc.77
4
16
 
5
17
  ### Minor Changes
@@ -26,7 +26,7 @@ const generateRoutes = () => {
26
26
  const excludedDirs = ['api', 'pz-not-found'];
27
27
 
28
28
  const skipSegments = ['[commerce]', '[locale]', '[currency]'];
29
- const skipCatchAllRoutes = ['[...prettyurl]'];
29
+ const skipCatchAllRoutes = ['[...prettyurl]', '[...not_found]'];
30
30
 
31
31
  const walkDirectory = (dir, basePath = '') => {
32
32
  const files = fs.readdirSync(dir);
@@ -841,7 +841,7 @@ export const checkoutApi = api.injectEndpoints({
841
841
  method: 'GET'
842
842
  })
843
843
  }),
844
- setLoyaltyData: build.mutation<CheckoutResponse, number>({
844
+ setLoyaltyData: build.mutation<CheckoutResponse, number | string>({
845
845
  query: (amount) => ({
846
846
  url: buildClientRequestUrl(checkout.loyaltyCardPage, {
847
847
  useFormData: true
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.102.0-rc.77",
4
+ "version": "1.102.0-rc.79",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "bin": {
@@ -35,7 +35,7 @@
35
35
  "set-cookie-parser": "2.6.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@akinon/eslint-plugin-projectzero": "1.102.0-rc.77",
38
+ "@akinon/eslint-plugin-projectzero": "1.102.0-rc.79",
39
39
  "@babel/core": "7.26.10",
40
40
  "@babel/preset-env": "7.26.9",
41
41
  "@babel/preset-typescript": "7.27.0",