@akinon/next 1.116.0-rc.10 → 1.116.0-rc.12
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 +8 -0
- 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([
|
|
@@ -117,9 +119,9 @@ const PluginComponents = new Map([
|
|
|
117
119
|
[Component.VirtualTryOnPlugin, Component.BasketVirtualTryOn]
|
|
118
120
|
],
|
|
119
121
|
[Plugin.Hepsipay, [Component.Hepsipay]],
|
|
120
|
-
[Plugin.Hepsipay, [Component.Hepsipay]],
|
|
121
122
|
[Plugin.MasterpassRest, [Component.MasterpassRest]],
|
|
122
|
-
[Plugin.Haso, [Component.HasoPaymentGateway]]
|
|
123
|
+
[Plugin.Haso, [Component.HasoPaymentGateway]],
|
|
124
|
+
[Plugin.GooglePay, [Component.GooglePay]]
|
|
123
125
|
]);
|
|
124
126
|
|
|
125
127
|
const getPlugin = (component: Component) => {
|
|
@@ -196,6 +198,8 @@ export default function PluginModule({
|
|
|
196
198
|
promise = import(`${'@akinon/pz-similar-products'}`);
|
|
197
199
|
} else if (plugin === Plugin.Haso) {
|
|
198
200
|
promise = import(`${'@akinon/pz-haso'}`);
|
|
201
|
+
} else if (plugin === Plugin.GooglePay) {
|
|
202
|
+
promise = import(`${'@akinon/pz-google-pay'}`);
|
|
199
203
|
}
|
|
200
204
|
} catch (error) {
|
|
201
205
|
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-rc.
|
|
4
|
+
"version": "1.116.0-rc.12",
|
|
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-rc.
|
|
38
|
+
"@akinon/eslint-plugin-projectzero": "1.116.0-rc.12",
|
|
39
39
|
"@babel/core": "7.26.10",
|
|
40
40
|
"@babel/preset-env": "7.26.9",
|
|
41
41
|
"@babel/preset-typescript": "7.27.0",
|