@wix/bex-utils 2.50.0 → 2.52.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.
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [2.21.0](https://github.com/wix-private/cairo/compare/@wix/bex-bundled-mini-essentials@2.20.0...@wix/bex-bundled-mini-essentials@2.21.0) (2025-06-15)
7
+
8
+ **Note:** Version bump only for package @wix/bex-bundled-mini-essentials
9
+
10
+ # [2.20.0](https://github.com/wix-private/cairo/compare/@wix/bex-bundled-mini-essentials@2.19.0...@wix/bex-bundled-mini-essentials@2.20.0) (2025-06-11)
11
+
12
+ **Note:** Version bump only for package @wix/bex-bundled-mini-essentials
13
+
6
14
  # [2.19.0](https://github.com/wix-private/cairo/compare/@wix/bex-bundled-mini-essentials@2.18.0...@wix/bex-bundled-mini-essentials@2.19.0) (2025-04-23)
7
15
 
8
16
  **Note:** Version bump only for package @wix/bex-bundled-mini-essentials
@@ -9541,6 +9541,15 @@ var ErrorHandlerV2 = class {
9541
9541
  }
9542
9542
  };
9543
9543
 
9544
+ // ../../node_modules/@wix/error-handler/dist/esm/util/dedupeRequestId.js
9545
+ function dedupeRequestId(requestId) {
9546
+ var _requestId$split$;
9547
+ if (requestId == null) {
9548
+ return requestId;
9549
+ }
9550
+ return (_requestId$split$ = requestId.split(",")[0]) == null ? void 0 : _requestId$split$.trim();
9551
+ }
9552
+
9544
9553
  // ../../node_modules/@wix/error-handler/dist/esm/error-handler/ErrorHandler.js
9545
9554
  var ErrorHandler = class {
9546
9555
  constructor(params) {
@@ -9621,7 +9630,7 @@ var ErrorHandler = class {
9621
9630
  validationError,
9622
9631
  applicationError,
9623
9632
  httpError,
9624
- requestId: httpError == null ? void 0 : httpError.requestId
9633
+ requestId: dedupeRequestId(httpError == null ? void 0 : httpError.requestId)
9625
9634
  };
9626
9635
  } catch (e) {
9627
9636
  console.error(e);
@@ -9676,7 +9685,7 @@ var ErrorHandler = class {
9676
9685
  });
9677
9686
  platformShowError({
9678
9687
  ...showErrorProps,
9679
- requestId: (_errorAccessor$httpEr = errorAccessor.httpError) == null ? void 0 : _errorAccessor$httpEr.requestId,
9688
+ requestId: dedupeRequestId((_errorAccessor$httpEr = errorAccessor.httpError) == null ? void 0 : _errorAccessor$httpEr.requestId),
9680
9689
  message,
9681
9690
  action: action != null && action.onClick ? {
9682
9691
  text: action.text,