@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 CHANGED
@@ -1,6 +1,11 @@
1
1
  # @akinon/next
2
2
 
3
- ## 1.116.0-snapshot-ZERO-3913-20251219101059
3
+ ## 1.116.0
4
+
5
+ ### Minor Changes
6
+
7
+ - d7ec6b08: ZERO-3988: Add Google Pay option to plugin selection
8
+ - 726491df: ZERO-3988: Add google pay integration
4
9
 
5
10
  ## 1.115.0
6
11
 
@@ -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-snapshot-ZERO-3913-20251219101059",
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-snapshot-ZERO-3913-20251219101059",
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",
package/plugins.js CHANGED
@@ -22,5 +22,6 @@ module.exports = [
22
22
  'pz-virtual-try-on',
23
23
  'pz-masterpass-rest',
24
24
  'pz-similar-products',
25
- 'pz-haso'
25
+ 'pz-haso',
26
+ 'pz-google-pay'
26
27
  ];