@akinon/next 1.92.0-rc.37 → 1.92.0-rc.39

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,13 @@
1
1
  # @akinon/next
2
2
 
3
+ ## 1.92.0-rc.39
4
+
5
+ ## 1.92.0-rc.38
6
+
7
+ ### Minor Changes
8
+
9
+ - c480272: ZERO-3531: Refactor checkoutApi: Remove unnecessary invalidatesTags property from POST request from sample products
10
+
3
11
  ## 1.92.0-rc.37
4
12
 
5
13
  ### Minor Changes
@@ -35,8 +35,10 @@ import {
35
35
 
36
36
  interface CheckoutResponse {
37
37
  pre_order?: PreOrder;
38
- errors: {
39
- non_field_errors: string;
38
+ errors?: {
39
+ non_field_errors?: string;
40
+ sample_products?: string[];
41
+ [key: string]: string | string[] | undefined;
40
42
  };
41
43
  context_list?: CheckoutContext[];
42
44
  template_name?: string;
@@ -881,8 +883,7 @@ export const checkoutApi = api.injectEndpoints({
881
883
  method: 'POST',
882
884
  body: formData
883
885
  };
884
- },
885
- invalidatesTags: ['Checkout']
886
+ }
886
887
  })
887
888
  }),
888
889
  overrideExisting: false
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.92.0-rc.37",
4
+ "version": "1.92.0-rc.39",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "bin": {
@@ -34,7 +34,7 @@
34
34
  "set-cookie-parser": "2.6.0"
35
35
  },
36
36
  "devDependencies": {
37
- "@akinon/eslint-plugin-projectzero": "1.92.0-rc.37",
37
+ "@akinon/eslint-plugin-projectzero": "1.92.0-rc.39",
38
38
  "@babel/core": "7.26.10",
39
39
  "@babel/preset-env": "7.26.9",
40
40
  "@babel/preset-typescript": "7.27.0",