@akinon/next 1.108.0-rc.9 → 1.108.0-snapshot-ZERO-3875-occasion-20251229071759

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,14 +1,18 @@
1
1
  # @akinon/next
2
2
 
3
- ## 1.108.0-rc.9
3
+ ## 1.108.0-snapshot-ZERO-3875-occasion-20251229071759
4
4
 
5
5
  ### Minor Changes
6
6
 
7
+ - d8883ce6: ZERO-3640: Refactor wallet completion handling to accept additional parameters; update related API calls
8
+ - d2c0e759: ZERO-3684: Handle cross-origin iframe access in iframeURLChange function
7
9
  - b55acb76: ZERO-2577: Fix pagination bug and update usePagination hook and ensure pagination controls rendering correctly
8
10
  - 143be2b9: ZERO-3457: Crop styles are customizable and logic improved for rendering similar products modal
9
11
  - 9f8cd3bc: ZERO-3449: AI Search Active Filters & Crop Style changes have been implemented
10
12
  - d99a6a7d: ZERO-3457_1: Fixed the settings prop and made sure everything is customizable.
11
13
  - 4de5303c: ZERO-2504: add cookie filter to api client request
14
+ - fcbbea79: ZERO-3648: Add virtual try-on feature with localization support
15
+ - 31a2d35a: ZERO-3640: Refactor checkout API call to include useFormData option; update FlowPayment component for improved error handling and code readability
12
16
 
13
17
  ## 1.108.0-rc.8
14
18
 
@@ -463,6 +463,14 @@ CacheHandler.onCreation(async () => {
463
463
  set: async (key, value, context) => {
464
464
  const vKey = versionKey(key);
465
465
 
466
+ const stripTags = (val) => {
467
+ if (val && typeof val === 'object') {
468
+ const { tags, ...rest } = val;
469
+ return { ...rest, tags: [] };
470
+ }
471
+ return val;
472
+ };
473
+
466
474
  let compressedValue;
467
475
  let shouldUseCompressed = false;
468
476
 
@@ -482,12 +490,12 @@ CacheHandler.onCreation(async () => {
482
490
 
483
491
  if (shouldUseCompressed) {
484
492
  try {
485
- await redisHandler.set(vKey, compressedValue, context);
493
+ await redisHandler.set(vKey, stripTags(compressedValue), context);
486
494
 
487
495
  redisSetResult = { status: 'fulfilled' };
488
496
  } catch (compressionError) {
489
497
  try {
490
- await redisHandler.set(vKey, value, context);
498
+ await redisHandler.set(vKey, stripTags(value), context);
491
499
 
492
500
  redisSetResult = { status: 'fulfilled' };
493
501
  } catch (fallbackError) {
@@ -496,7 +504,7 @@ CacheHandler.onCreation(async () => {
496
504
  }
497
505
  } else {
498
506
  try {
499
- await redisHandler.set(vKey, value, context);
507
+ await redisHandler.set(vKey, stripTags(value), context);
500
508
  redisSetResult = { status: 'fulfilled' };
501
509
  } catch (error) {
502
510
  redisSetResult = { status: 'rejected', reason: 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.108.0-rc.9",
4
+ "version": "1.108.0-snapshot-ZERO-3875-occasion-20251229071759",
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.108.0-rc.9",
38
+ "@akinon/eslint-plugin-projectzero": "1.108.0-snapshot-ZERO-3875-occasion-20251229071759",
39
39
  "@babel/core": "7.26.10",
40
40
  "@babel/preset-env": "7.26.9",
41
41
  "@babel/preset-typescript": "7.27.0",