@akinon/next 1.116.0-snapshot-ZERO-3913-20251219101059 → 1.116.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 +6 -1
- package/components/plugin-module.tsx +8 -4
- package/package.json +2 -2
- package/plugins.js +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -26,7 +26,8 @@ enum Plugin {
|
|
|
26
26
|
Hepsipay = 'pz-hepsipay',
|
|
27
27
|
MasterpassRest = 'pz-masterpass-rest',
|
|
28
28
|
SimilarProducts = 'pz-similar-products',
|
|
29
|
-
Haso = 'pz-haso'
|
|
29
|
+
Haso = 'pz-haso',
|
|
30
|
+
GooglePay = 'pz-google-pay'
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
export enum Component {
|
|
@@ -65,7 +66,8 @@ export enum Component {
|
|
|
65
66
|
ProductImageSearchFeature = 'ProductImageSearchFeature',
|
|
66
67
|
ImageSearchButton = 'ImageSearchButton',
|
|
67
68
|
HeaderImageSearchFeature = 'HeaderImageSearchFeature',
|
|
68
|
-
HasoPaymentGateway = 'HasoPaymentGateway'
|
|
69
|
+
HasoPaymentGateway = 'HasoPaymentGateway',
|
|
70
|
+
GooglePay = 'GooglePay'
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
const PluginComponents = new Map([
|
|
@@ -118,9 +120,9 @@ const PluginComponents = new Map([
|
|
|
118
120
|
[Component.VirtualTryOnPlugin, Component.BasketVirtualTryOn]
|
|
119
121
|
],
|
|
120
122
|
[Plugin.Hepsipay, [Component.Hepsipay]],
|
|
121
|
-
[Plugin.Hepsipay, [Component.Hepsipay]],
|
|
122
123
|
[Plugin.MasterpassRest, [Component.MasterpassRest]],
|
|
123
|
-
[Plugin.Haso, [Component.HasoPaymentGateway]]
|
|
124
|
+
[Plugin.Haso, [Component.HasoPaymentGateway]],
|
|
125
|
+
[Plugin.GooglePay, [Component.GooglePay]]
|
|
124
126
|
]);
|
|
125
127
|
|
|
126
128
|
const getPlugin = (component: Component) => {
|
|
@@ -197,6 +199,8 @@ export default function PluginModule({
|
|
|
197
199
|
promise = import(`${'@akinon/pz-similar-products'}`);
|
|
198
200
|
} else if (plugin === Plugin.Haso) {
|
|
199
201
|
promise = import(`${'@akinon/pz-haso'}`);
|
|
202
|
+
} else if (plugin === Plugin.GooglePay) {
|
|
203
|
+
promise = import(`${'@akinon/pz-google-pay'}`);
|
|
200
204
|
}
|
|
201
205
|
} catch (error) {
|
|
202
206
|
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.116.0
|
|
4
|
+
"version": "1.116.0",
|
|
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.116.0
|
|
38
|
+
"@akinon/eslint-plugin-projectzero": "1.116.0",
|
|
39
39
|
"@babel/core": "7.26.10",
|
|
40
40
|
"@babel/preset-env": "7.26.9",
|
|
41
41
|
"@babel/preset-typescript": "7.27.0",
|