hemfixarna-web-components 1.8.25 → 1.8.26
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/cjs/hemfixarna-address_15.cjs.entry.js +2 -0
- package/dist/cjs/hemfixarna-address_15.cjs.entry.js.map +1 -1
- package/dist/collection/components/hemfixarna-checkout/hemfixarna-checkout.js +2 -0
- package/dist/collection/components/hemfixarna-checkout/hemfixarna-checkout.js.map +1 -1
- package/dist/collection/utils/felixApi.js.map +1 -1
- package/dist/esm/hemfixarna-address_15.entry.js +2 -0
- package/dist/esm/hemfixarna-address_15.entry.js.map +1 -1
- package/dist/hemfixarna-components/hemfixarna-components.esm.js +1 -1
- package/dist/hemfixarna-components/p-8a51ce20.entry.js +2 -0
- package/dist/hemfixarna-components/p-8a51ce20.entry.js.map +1 -0
- package/dist/types/utils/felixApi.d.ts +2 -0
- package/package.json +1 -1
- package/dist/hemfixarna-components/p-194c73fc.entry.js +0 -2
- package/dist/hemfixarna-components/p-194c73fc.entry.js.map +0 -1
|
@@ -597,6 +597,8 @@ const HemfixarnaCheckout = class {
|
|
|
597
597
|
else {
|
|
598
598
|
order = Object.assign(Object.assign({}, order), { felixStatus: 'success' });
|
|
599
599
|
}
|
|
600
|
+
// Lets /weborder anonymize the order right away when felixStatus is 'success'
|
|
601
|
+
order = Object.assign(Object.assign({}, order), { felix_record_id: felixOrder ? felixOrder.recordId : undefined });
|
|
600
602
|
try {
|
|
601
603
|
const { data: orderConfirm, status } = await postOrder(order);
|
|
602
604
|
if (orderConfirm && status && status === 200) {
|