@artisan-commerce/builders 0.7.0-canary.94 → 0.7.0-canary.97
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/bundle.cjs +8 -4
- package/dist/bundle.cjs.map +1 -1
- package/dist/bundle.mjs +8 -4
- package/dist/bundle.mjs.map +1 -1
- package/dist/bundle.umd.js +8 -4
- package/dist/bundle.umd.js.map +1 -1
- package/package.json +3 -3
package/dist/bundle.cjs
CHANGED
|
@@ -534,7 +534,8 @@ const buildBaseProduct = (overrides = {}) => {
|
|
|
534
534
|
prices: {
|
|
535
535
|
NORMAL: buildPriceCategory({ category: "NORMAL" }),
|
|
536
536
|
POINTS: buildPriceCategory({ category: "POINTS" }),
|
|
537
|
-
SUGGESTED: buildPriceCategory({ category: "SUGGESTED" })
|
|
537
|
+
SUGGESTED: buildPriceCategory({ category: "SUGGESTED" }),
|
|
538
|
+
REFERENCE: buildPriceCategory({ category: "REFERENCE" })
|
|
538
539
|
},
|
|
539
540
|
productId: genNumber(999).toString(),
|
|
540
541
|
sponsored: false,
|
|
@@ -565,7 +566,8 @@ const buildProductAnswer = (overrides = {}, loop = 1) => {
|
|
|
565
566
|
prices: {
|
|
566
567
|
NORMAL: buildPriceCategory({ category: "NORMAL" }),
|
|
567
568
|
POINTS: buildPriceCategory({ category: "POINTS" }),
|
|
568
|
-
SUGGESTED: buildPriceCategory({ category: "SUGGESTED" })
|
|
569
|
+
SUGGESTED: buildPriceCategory({ category: "SUGGESTED" }),
|
|
570
|
+
REFERENCE: buildPriceCategory({ category: "REFERENCE" })
|
|
569
571
|
},
|
|
570
572
|
productId: genNumber(999).toString(),
|
|
571
573
|
type: chooseRandom(["PRODUCT", "MODIFIER"]),
|
|
@@ -1446,7 +1448,8 @@ const buildWalletReward = (overrides) => {
|
|
|
1446
1448
|
brand_id: null,
|
|
1447
1449
|
attributes: buildWalletAttribute({
|
|
1448
1450
|
conversion_factor: 0.025
|
|
1449
|
-
})
|
|
1451
|
+
}),
|
|
1452
|
+
platforms: []
|
|
1450
1453
|
}, overrides);
|
|
1451
1454
|
};
|
|
1452
1455
|
const buildWalletTotal = (overrides) => {
|
|
@@ -2426,7 +2429,8 @@ const genOrderProductImages = (quantity) => {
|
|
|
2426
2429
|
const buildOrderBillProductAdditionalInfo = (overrides = {}) => {
|
|
2427
2430
|
return __spreadValues$2({
|
|
2428
2431
|
normal: buildOrderProductPriceCategory(),
|
|
2429
|
-
points: buildOrderProductPriceCategory()
|
|
2432
|
+
points: buildOrderProductPriceCategory(),
|
|
2433
|
+
suggested: buildOrderProductPriceCategory()
|
|
2430
2434
|
}, overrides);
|
|
2431
2435
|
};
|
|
2432
2436
|
const buildTaxCalculation = (overrides = {}) => {
|