@akinon/next 1.105.0-rc.84 → 1.106.0-rc.85
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 +9 -4
- package/components/plugin-module.tsx +4 -27
- package/package.json +2 -2
- package/plugins.js +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @akinon/next
|
|
2
2
|
|
|
3
|
-
## 1.
|
|
3
|
+
## 1.106.0-rc.85
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -35,7 +35,6 @@
|
|
|
35
35
|
- d552629f: ZERO-3182: Refactor basketApi to use invalidatesTags and comment out onQueryStarted logic
|
|
36
36
|
- 17f87524e: ZERO-2816: Make the incoming currency lowercase
|
|
37
37
|
- 65d3b862: ZERO-3054: Update headers in appFetch
|
|
38
|
-
- c39c7000: ZERO-3420: Refactor Modal component
|
|
39
38
|
- bbe18b9ff: ZERO-2575: Fix build error
|
|
40
39
|
- 4920742c2: Disable getCachedTranslations
|
|
41
40
|
- b6e5b624: ZERO-3257: Enhance locale middleware to redirect using existing or default locale and support 303 status for POST requests
|
|
@@ -44,10 +43,8 @@
|
|
|
44
43
|
- 9dc7298a: ZERO-3416: Refactor Accordion component to enhance props and improve styling flexibility
|
|
45
44
|
- 33377cfd: ZERO-3267: Refactor import statement for ROUTES in error-page component
|
|
46
45
|
- 43c182ee: ZERO-3054: Update Redis variable checks to conditionally include CACHE_SECRET
|
|
47
|
-
- d512ea2: ZERO-3656: update setLoyaltyData mutation to accept string type
|
|
48
46
|
- c480272c: ZERO-3531: Refactor checkoutApi: Remove unnecessary invalidatesTags property from POST request from sample products
|
|
49
47
|
- facf1ada: ZERO-3445: Add SameSite and Secure attributes
|
|
50
|
-
- 3b255fe: ZERO-3629 :edit warnings in build
|
|
51
48
|
- eeb20bea: Revert "ZERO-3054: Refactor cache handler to use custom Redis handler and implement key hashing"
|
|
52
49
|
- 5b500797: ZERO-3634: iyzico saved card
|
|
53
50
|
- 3bf63c8a: ZERO-3286: Add notFound handling for chunk URLs starting with \_next
|
|
@@ -65,6 +62,14 @@
|
|
|
65
62
|
- 33d4d0c: ZERO-3615: remove custom not found
|
|
66
63
|
- 0e823010: ZERO-3531: Add saveSampleProducts endpoint
|
|
67
64
|
|
|
65
|
+
## 1.105.0
|
|
66
|
+
|
|
67
|
+
### Minor Changes
|
|
68
|
+
|
|
69
|
+
- c39c700: ZERO-3420: Refactor Modal component
|
|
70
|
+
- d512ea2: ZERO-3656: update setLoyaltyData mutation to accept string type
|
|
71
|
+
- 3b255fe: ZERO-3629 :edit warnings in build
|
|
72
|
+
|
|
68
73
|
## 1.104.0
|
|
69
74
|
|
|
70
75
|
### Minor Changes
|
|
@@ -22,8 +22,7 @@ enum Plugin {
|
|
|
22
22
|
MultiBasket = 'pz-multi-basket',
|
|
23
23
|
SavedCard = 'pz-saved-card',
|
|
24
24
|
Hepsipay = 'pz-hepsipay',
|
|
25
|
-
FlowPayment = 'pz-flow-payment'
|
|
26
|
-
SimilarProducts = 'pz-similar-products'
|
|
25
|
+
FlowPayment = 'pz-flow-payment'
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
export enum Component {
|
|
@@ -50,15 +49,7 @@ export enum Component {
|
|
|
50
49
|
MultiBasket = 'MultiBasket',
|
|
51
50
|
SavedCard = 'SavedCardOption',
|
|
52
51
|
Hepsipay = 'Hepsipay',
|
|
53
|
-
FlowPayment = 'FlowPayment'
|
|
54
|
-
SimilarProductsModal = 'SimilarProductsModal',
|
|
55
|
-
SimilarProductsFilterSidebar = 'SimilarProductsFilterSidebar',
|
|
56
|
-
SimilarProductsResultsGrid = 'SimilarProductsResultsGrid',
|
|
57
|
-
SimilarProductsPlugin = 'SimilarProductsPlugin',
|
|
58
|
-
ProductImageSearchFeature = 'ProductImageSearchFeature',
|
|
59
|
-
ImageSearchButton = 'ImageSearchButton',
|
|
60
|
-
HeaderImageSearchFeature = 'HeaderImageSearchFeature',
|
|
61
|
-
IyzicoSavedCard = 'IyzicoSavedCardOption'
|
|
52
|
+
FlowPayment = 'FlowPayment'
|
|
62
53
|
}
|
|
63
54
|
|
|
64
55
|
const PluginComponents = new Map([
|
|
@@ -91,21 +82,9 @@ const PluginComponents = new Map([
|
|
|
91
82
|
[Component.AkifastQuickLoginButton, Component.AkifastCheckoutButton]
|
|
92
83
|
],
|
|
93
84
|
[Plugin.MultiBasket, [Component.MultiBasket]],
|
|
94
|
-
[Plugin.SavedCard, [Component.SavedCard
|
|
85
|
+
[Plugin.SavedCard, [Component.SavedCard]],
|
|
95
86
|
[Plugin.Hepsipay, [Component.Hepsipay]],
|
|
96
|
-
[Plugin.FlowPayment, [Component.FlowPayment]]
|
|
97
|
-
[
|
|
98
|
-
Plugin.SimilarProducts,
|
|
99
|
-
[
|
|
100
|
-
Component.SimilarProductsModal,
|
|
101
|
-
Component.SimilarProductsFilterSidebar,
|
|
102
|
-
Component.SimilarProductsResultsGrid,
|
|
103
|
-
Component.SimilarProductsPlugin,
|
|
104
|
-
Component.ProductImageSearchFeature,
|
|
105
|
-
Component.ImageSearchButton,
|
|
106
|
-
Component.HeaderImageSearchFeature
|
|
107
|
-
]
|
|
108
|
-
]
|
|
87
|
+
[Plugin.FlowPayment, [Component.FlowPayment]]
|
|
109
88
|
]);
|
|
110
89
|
|
|
111
90
|
const getPlugin = (component: Component) => {
|
|
@@ -174,8 +153,6 @@ export default function PluginModule({
|
|
|
174
153
|
promise = import(`${'@akinon/pz-hepsipay'}`);
|
|
175
154
|
} else if (plugin === Plugin.FlowPayment) {
|
|
176
155
|
promise = import(`${'@akinon/pz-flow-payment'}`);
|
|
177
|
-
} else if (plugin === Plugin.SimilarProducts) {
|
|
178
|
-
promise = import(`${'@akinon/pz-similar-products'}`);
|
|
179
156
|
}
|
|
180
157
|
} catch (error) {
|
|
181
158
|
logger.error(error);
|
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.
|
|
4
|
+
"version": "1.106.0-rc.85",
|
|
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.
|
|
38
|
+
"@akinon/eslint-plugin-projectzero": "1.106.0-rc.85",
|
|
39
39
|
"@babel/core": "7.26.10",
|
|
40
40
|
"@babel/preset-env": "7.26.9",
|
|
41
41
|
"@babel/preset-typescript": "7.27.0",
|