@akinon/next 1.116.0-rc.10 → 1.116.0-rc.11

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,11 @@
1
1
  # @akinon/next
2
2
 
3
+ ## 1.116.0-rc.11
4
+
5
+ ### Minor Changes
6
+
7
+ - 726491df: ZERO-3988: Add google pay integration
8
+
3
9
  ## 1.116.0-rc.10
4
10
 
5
11
  ### Minor Changes
@@ -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.10",
4
+ "version": "1.116.0-rc.11",
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.10",
38
+ "@akinon/eslint-plugin-projectzero": "1.116.0-rc.11",
39
39
  "@babel/core": "7.26.10",
40
40
  "@babel/preset-env": "7.26.9",
41
41
  "@babel/preset-typescript": "7.27.0",
package/plugins.js CHANGED
@@ -23,5 +23,6 @@ module.exports = [
23
23
  'pz-virtual-try-on',
24
24
  'pz-masterpass-rest',
25
25
  'pz-similar-products',
26
- 'pz-haso'
26
+ 'pz-haso',
27
+ 'pz-google-pay'
27
28
  ];