@akinon/next 1.56.0-rc.7 → 1.56.0-rc.9

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,55 @@
1
1
  # @akinon/next
2
2
 
3
+ ## 1.56.0-rc.9
4
+
5
+ ### Minor Changes
6
+
7
+ - c416d18c: ZERO-2915: Add delivery option null check for setAddress
8
+ - 572d2e84: ZERO-2667: Add iframe support for redirection payment methods
9
+ - 5dfeea04: ZERO-2801: Revert ZERO-2801
10
+ - a4c8d6a9: ZERO-2663: Fix the image url for gif and svgs and return them without options
11
+ - fda5b927: ZERO-2725: fix invalid import
12
+ - 2d9b2b2c: ZERO-2816: Add segment to headers
13
+ - c53ea3e6: ZERO-2609: Reset additional form fields when selectedFormType is not company
14
+ - 6c25f666: ZERO-2551: Check CACHE_HOST variable
15
+ - bc2b4117: ZERO-2825: Add attribute-based shipping options to checkout page
16
+ - 3bf2dd94: ZERO-2551: Fix search page
17
+ - e9541a13: ZERO-2816: Add headers to url
18
+ - c53ef7b9: ZERO-2668: The Link component has been updated to improve the logic for handling href values. Previously, if the href was not a string or started with 'http', it would return the href as is. Now, if the href is not provided, it will default to '#' to prevent any potential errors. Additionally, if the href is a string and does not start with 'http', it will be formatted with the locale and pathname, based on the localeUrlStrategy and defaultLocaleValue. This ensures that the correct href is generated based on the localization settings.
19
+ - 2e6104d0: ZERO-2888:Edit the numbering in the pagination and the visibility of the prev and next buttons
20
+ - 64699d3f: ZERO-2761: Fix invalid import for plugin module
21
+ - 0d3a913e: ZERO-2725: Update decimal scale in Price component
22
+ - 7b05522b: ZERO-2905: Fix resend and close button in otp package
23
+ - d6edb1d0: ZERO-2551: Fix searchparams handling for list and other routes
24
+ - d3474c64: ZERO-2655: Add data source shipping option
25
+ - 17f87524: ZERO-2816: Make the incoming currency lowercase
26
+ - 29ead870: ZERO-2905: Fix resend and close button in otp package
27
+ - c45b62c9: ZERO-2818: Add upload and download support for b2b package
28
+ - 91265bba: ZERO-2551: Improve pretty url and caching performance
29
+ - bbe18b9f: ZERO-2575: Fix build error
30
+ - d4099960: ZERO-2781: Refactor buildClientRequestUrl function to support caching and options
31
+ - 4920742c: Disable getCachedTranslations
32
+ - 12a873e7: ZERO-2846:Edit the siteKey regex in the response from GetCaptcha
33
+ - 7e56d6b6: ZERO-2841: Update api tagTypes
34
+ - 94b69285: ZERO-2551: Add cache handler check in url-redirection middleware
35
+ - 98bb8dcd: ZERO-2706: Cache getTranlations method
36
+ - dcc8a150: ZERO-2694: added build step to RC branch pipeline
37
+ - 8f47ccae: ZERO-2829: fix and add nested JSON support for useFormData in api/client route
38
+ - fad27689: ZERO-2739: add gpay to payment plugin map
39
+ - dff0d595: ZERO-2659: add formData support to proxy api requests
40
+ - fdd0b418: ZERO-2706: Add optimized translation support
41
+ - f2c325c1: ZERO-2838: Move file input component into @akinon/next
42
+ - 9e25a64b: ZERO-2835: Update category page layout with breadcrumb
43
+ - beb499e6: ZERO-2551: Add new tsconfig paths
44
+ - 58e8546b: ZERO-0000: SHOP-78125: Change unpaid_amount with total_amount_with_interest
45
+ - f2c92d5c: ZERO-2816: Update cookie name
46
+ - 7bd3d992: ZERO-2801: Refactor locale middleware to handle single locale configuration
47
+ - f3d076bd: ZERO-2864: create tabby extension plugin
48
+ - f046f8e0: ZERO-2575: update version for react-number-format
49
+ - 49eeebfa: ZERO-2909: Add deleteCollectionItem query to wishlistApi
50
+ - 86d25315: ZERO-2693: resolve dependency collision warning for eslint-config-next
51
+ - 3f9b8d7e: ZERO-2761: Update plugins.js for akinon-next
52
+
3
53
  ## 1.56.0-rc.7
4
54
 
5
55
  ## 1.56.0-rc.6
File without changes
File without changes
File without changes
package/bin/pz-postdev.js CHANGED
File without changes
File without changes
File without changes
File without changes
package/bin/pz-predev.js CHANGED
File without changes
File without changes
@@ -44,7 +44,8 @@ export default function SelectedPaymentOptionView() {
44
44
  });
45
45
  }
46
46
 
47
- const view = paymentTypeToView[payment_option?.payment_type];
47
+ const view = paymentTypeToView[payment_option?.payment_type] || null;
48
+
48
49
  if (view) {
49
50
  try {
50
51
  const mod = await import(
@@ -105,7 +105,7 @@ const completeMasterpassPayment = async (
105
105
  referenceNo,
106
106
  merchantId: credentials?.merchant_id ?? null,
107
107
  msisdn,
108
- amount: preOrder?.unpaid_amount?.replace('.', '') ?? '',
108
+ amount: preOrder?.total_amount_with_interest?.replace('.', '') ?? '',
109
109
  additionalParams: additionalParams ?? extras?.additionalParams,
110
110
  language,
111
111
  installmentCount: preOrder?.installment?.installment_count ?? 1
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.56.0-rc.7",
4
+ "version": "1.56.0-rc.9",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "bin": {
@@ -30,7 +30,7 @@
30
30
  "set-cookie-parser": "2.6.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@akinon/eslint-plugin-projectzero": "1.56.0-rc.7",
33
+ "@akinon/eslint-plugin-projectzero": "1.56.0-rc.9",
34
34
  "@types/react-redux": "7.1.30",
35
35
  "@types/set-cookie-parser": "2.4.7",
36
36
  "@typescript-eslint/eslint-plugin": "6.7.4",