@akinon/next 1.97.0-snapshot-ZERO-3634-20250918135053 → 1.97.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,11 +1,10 @@
1
1
  # @akinon/next
2
2
 
3
- ## 1.97.0-snapshot-ZERO-3634-20250918135053
3
+ ## 1.97.0
4
4
 
5
5
  ### Minor Changes
6
6
 
7
- - 4ca44c7: ZERO-3634: add register_consumer_card
8
- - 5b50079: ZERO-3634: iyzico saved card
7
+ - 0014305: ZERO-3629 :edit warnings in build
9
8
 
10
9
  ## 1.96.0
11
10
 
@@ -47,7 +47,6 @@ export enum Component {
47
47
  AkifastCheckoutButton = 'CheckoutButton',
48
48
  MultiBasket = 'MultiBasket',
49
49
  SavedCard = 'SavedCardOption',
50
- IyzicoSavedCard = 'IyzicoSavedCardOption',
51
50
  FlowPayment = 'FlowPayment'
52
51
  }
53
52
 
@@ -81,7 +80,7 @@ const PluginComponents = new Map([
81
80
  [Component.AkifastQuickLoginButton, Component.AkifastCheckoutButton]
82
81
  ],
83
82
  [Plugin.MultiBasket, [Component.MultiBasket]],
84
- [Plugin.SavedCard, [Component.SavedCard, Component.IyzicoSavedCard]],
83
+ [Plugin.SavedCard, [Component.SavedCard]],
85
84
  [Plugin.FlowPayment, [Component.FlowPayment]]
86
85
  ]);
87
86
 
@@ -181,7 +181,10 @@ export const checkoutApi = api.injectEndpoints({
181
181
  endpoints: (build) => ({
182
182
  fetchCheckout: build.query<CheckoutResponse, void>({
183
183
  query: () => ({
184
- url: buildClientRequestUrl(checkout.fetchCheckout, {})
184
+ url: buildClientRequestUrl(
185
+ `${checkout.fetchCheckout}?page=IndexPage`,
186
+ {}
187
+ )
185
188
  }),
186
189
  providesTags: ['Checkout']
187
190
  }),
@@ -881,7 +884,8 @@ export const checkoutApi = api.injectEndpoints({
881
884
  method: 'POST',
882
885
  body: formData
883
886
  };
884
- }
887
+ },
888
+ invalidatesTags: ['Checkout']
885
889
  })
886
890
  }),
887
891
  overrideExisting: false
@@ -4,7 +4,6 @@ import { Buffer } from 'buffer';
4
4
  import logger from '../utils/log';
5
5
  import { getUrlPathWithLocale } from '../utils/localization';
6
6
  import { PzNextRequest } from '.';
7
- import { ServerVariables } from '../utils/server-variables';
8
7
 
9
8
  const streamToString = async (stream: ReadableStream<Uint8Array> | null) => {
10
9
  if (stream) {
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.97.0-snapshot-ZERO-3634-20250918135053",
4
+ "version": "1.97.0",
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.97.0-snapshot-ZERO-3634-20250918135053",
37
+ "@akinon/eslint-plugin-projectzero": "1.97.0",
38
38
  "@babel/core": "7.26.10",
39
39
  "@babel/preset-env": "7.26.9",
40
40
  "@babel/preset-typescript": "7.27.0",
package/plugins.d.ts CHANGED
@@ -30,6 +30,11 @@ declare module '@akinon/pz-saved-card' {
30
30
  export const SavedCardOption: any;
31
31
  }
32
32
 
33
+ declare module '@akinon/pz-iyzico-saved-card' {
34
+ export const iyzicoSavedCardReducer: any;
35
+ export const iyzicoSavedCardMiddleware: any;
36
+ }
37
+
33
38
  declare module '@akinon/pz-apple-pay' {}
34
39
 
35
40
  declare module '@akinon/pz-flow-payment' {}