@rebilly/instruments 9.75.3 → 9.76.1
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 +2 -2
- package/dist/index.js +5 -1
- package/dist/index.min.js +8 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [9.
|
|
1
|
+
## [9.76.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v9.76.0...instruments/core-v9.76.1) (2024-08-28)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* **instruments:**
|
|
6
|
+
* **instruments:** Bump offer title showing `undefined` when lanaguge is not present ([#7321](https://github.com/Rebilly/rebilly/issues/7321)) ([97559a5](https://github.com/Rebilly/rebilly/commit/97559a59cc6a613594cec7337240f73c45f113bd))
|
package/dist/index.js
CHANGED
|
@@ -1810,7 +1810,7 @@ class Translate {
|
|
|
1810
1810
|
this.languages[locale]
|
|
1811
1811
|
);
|
|
1812
1812
|
}
|
|
1813
|
-
getTranslation(prop, lan = this.languages[this.locale]) {
|
|
1813
|
+
getTranslation(prop, lan = this.languages[this.locale in this.languages ? this.locale : "en"]) {
|
|
1814
1814
|
return prop.split(".").reduce(
|
|
1815
1815
|
(acc, val) => acc == null ? void 0 : acc[val],
|
|
1816
1816
|
lan
|
|
@@ -25080,6 +25080,10 @@ const featuresSchema = {
|
|
|
25080
25080
|
hideContinue: optional({
|
|
25081
25081
|
type: "boolean",
|
|
25082
25082
|
default: false
|
|
25083
|
+
}),
|
|
25084
|
+
hideZeroAmountSummaryItems: optional({
|
|
25085
|
+
type: "boolean",
|
|
25086
|
+
default: false
|
|
25083
25087
|
})
|
|
25084
25088
|
},
|
|
25085
25089
|
default: {}
|