@ikas/storefront 0.0.103 → 0.0.104
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/build/index.es.js +2 -1
- package/build/index.js +2 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -16086,7 +16086,7 @@ var CheckoutViewModel = /** @class */ (function () {
|
|
|
16086
16086
|
_this.checkout.billingAddress || new IkasOrderAddress();
|
|
16087
16087
|
}
|
|
16088
16088
|
else {
|
|
16089
|
-
_this.checkout.billingAddress = _this.checkout.shippingAddress;
|
|
16089
|
+
_this.checkout.billingAddress = new IkasOrderAddress(cloneDeep_1(_this.checkout.shippingAddress) || {});
|
|
16090
16090
|
}
|
|
16091
16091
|
}
|
|
16092
16092
|
};
|
|
@@ -16313,6 +16313,7 @@ var CheckoutViewModel = /** @class */ (function () {
|
|
|
16313
16313
|
IkasTransactionStatusEnum.SUCCESS,
|
|
16314
16314
|
IkasTransactionStatusEnum.AUTHORIZED,
|
|
16315
16315
|
].includes(transactionStatus)) {
|
|
16316
|
+
localStorage.removeItem(USE_DIFFERENT_ADDRESS_KEY);
|
|
16316
16317
|
this.changeStep(CheckoutStep.SUCCESS);
|
|
16317
16318
|
}
|
|
16318
16319
|
else if (transactionStatus === IkasTransactionStatusEnum.PENDING &&
|
package/build/index.js
CHANGED
|
@@ -16092,7 +16092,7 @@ var CheckoutViewModel = /** @class */ (function () {
|
|
|
16092
16092
|
_this.checkout.billingAddress || new IkasOrderAddress();
|
|
16093
16093
|
}
|
|
16094
16094
|
else {
|
|
16095
|
-
_this.checkout.billingAddress = _this.checkout.shippingAddress;
|
|
16095
|
+
_this.checkout.billingAddress = new IkasOrderAddress(cloneDeep_1(_this.checkout.shippingAddress) || {});
|
|
16096
16096
|
}
|
|
16097
16097
|
}
|
|
16098
16098
|
};
|
|
@@ -16319,6 +16319,7 @@ var CheckoutViewModel = /** @class */ (function () {
|
|
|
16319
16319
|
exports.IkasTransactionStatusEnum.SUCCESS,
|
|
16320
16320
|
exports.IkasTransactionStatusEnum.AUTHORIZED,
|
|
16321
16321
|
].includes(transactionStatus)) {
|
|
16322
|
+
localStorage.removeItem(USE_DIFFERENT_ADDRESS_KEY);
|
|
16322
16323
|
this.changeStep(CheckoutStep.SUCCESS);
|
|
16323
16324
|
}
|
|
16324
16325
|
else if (transactionStatus === exports.IkasTransactionStatusEnum.PENDING &&
|