@rebilly/revel 8.7.14 → 8.7.15

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,6 @@
1
- ## [8.7.14](https://github.com/Rebilly/rebilly/compare/revel-v8.7.13...revel-v8.7.14) (2025-04-01)
1
+ ## [8.7.15](https://github.com/Rebilly/rebilly/compare/revel-v8.7.14...revel-v8.7.15) (2025-04-07)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * **recomm,revel:** Incorrect case in coupon-related pages ([#11034](https://github.com/Rebilly/rebilly/issues/11034)) ([78d0705](https://github.com/Rebilly/rebilly/commit/78d0705d17b9509184154d7a94a455ebe9a547ae))
6
+ * **revel, recomm:** Failed coupon redemptions does not show error ([#11163](https://github.com/Rebilly/rebilly/issues/11163)) ([f0add56](https://github.com/Rebilly/rebilly/commit/f0add569132c0327f3eb1e3b97ef2e59c84ac1e8))
package/dist/revel.mjs CHANGED
@@ -12745,12 +12745,15 @@ class Cw {
12745
12745
  break;
12746
12746
  case 422:
12747
12747
  b && Array.isArray(b.invalidFields) && b.invalidFields.length && b.invalidFields.forEach(({ field: o, message: O }) => {
12748
- const c = o.split(".").map(
12749
- (a) => ZB(QB(a))
12750
- );
12751
- p.push(
12752
- `${c.join(" > ")}: ${O}`
12753
- );
12748
+ if (o) {
12749
+ const c = o.split(".").map(
12750
+ (a) => ZB(QB(a))
12751
+ );
12752
+ p.push(
12753
+ `${c.join(" > ")}: ${O}`
12754
+ );
12755
+ } else
12756
+ p.push(O);
12754
12757
  });
12755
12758
  break;
12756
12759
  case 500: