@rpg-engine/long-bow 0.6.72 → 0.6.73
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/dist/components/QuestList.d.ts +1 -1
- package/dist/long-bow.cjs.development.js +2 -1
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +2 -1
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/QuestList.tsx +4 -5
package/dist/long-bow.esm.js
CHANGED
|
@@ -32122,8 +32122,9 @@ var formatObjectives = function formatObjectives(objectives) {
|
|
|
32122
32122
|
}
|
|
32123
32123
|
}).join('; ');
|
|
32124
32124
|
};
|
|
32125
|
-
//
|
|
32125
|
+
// Updated helper function to format rewards
|
|
32126
32126
|
var formatRewards = function formatRewards(rewards) {
|
|
32127
|
+
if (!rewards) return 'No rewards';
|
|
32127
32128
|
return rewards.map(function (reward) {
|
|
32128
32129
|
return "" + formatText(reward.itemKeys.map(function (itemKey) {
|
|
32129
32130
|
return itemKey + ' x' + reward.qty;
|