@vtex/faststore-plugin-buyer-portal 1.1.112 → 1.1.113

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtex/faststore-plugin-buyer-portal",
3
- "version": "1.1.112",
3
+ "version": "1.1.113",
4
4
  "description": "A plugin for faststore with buyer portal",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -13,11 +13,12 @@ export const orderFieldsCriteriaOptions = [
13
13
  {
14
14
  label: "If the order contains an exceeded budget",
15
15
  criteria:
16
- "$exists(budgetData.unitAllocations.**.budgetBalance[remaining < 0])",
16
+ "$exists(budgetData.budgets.**.allocations[balance.remaining < 0])",
17
17
  },
18
18
  {
19
19
  label: "If the order contains an expired budget Pending confirmation",
20
- criteria: "$exists(budgetData.unitAllocations.*[budgetEndDate < $now()])",
20
+ criteria:
21
+ "$exists(budgetData.budgets.**.cycleConfiguration[$toMillis(endDate) < $millis()])",
21
22
  },
22
23
  {
23
24
  label: "If the order contains a PO number",