@ikas/storefront 0.0.101 → 0.0.102
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
|
@@ -16072,7 +16072,7 @@ var CheckoutViewModel = /** @class */ (function () {
|
|
|
16072
16072
|
_this.checkout.billingAddress || new IkasOrderAddress();
|
|
16073
16073
|
}
|
|
16074
16074
|
else {
|
|
16075
|
-
_this.checkout.billingAddress = cloneDeep_1(_this.checkout.shippingAddress);
|
|
16075
|
+
_this.checkout.billingAddress = new IkasOrderAddress(cloneDeep_1(_this.checkout.shippingAddress) || {});
|
|
16076
16076
|
}
|
|
16077
16077
|
}
|
|
16078
16078
|
};
|
|
@@ -16299,6 +16299,7 @@ var CheckoutViewModel = /** @class */ (function () {
|
|
|
16299
16299
|
IkasTransactionStatusEnum.SUCCESS,
|
|
16300
16300
|
IkasTransactionStatusEnum.AUTHORIZED,
|
|
16301
16301
|
].includes(transactionStatus)) {
|
|
16302
|
+
localStorage.removeItem(USE_DIFFERENT_ADDRESS_KEY);
|
|
16302
16303
|
this.changeStep(CheckoutStep.SUCCESS);
|
|
16303
16304
|
}
|
|
16304
16305
|
else if (transactionStatus === IkasTransactionStatusEnum.PENDING &&
|
package/build/index.js
CHANGED
|
@@ -16077,7 +16077,7 @@ var CheckoutViewModel = /** @class */ (function () {
|
|
|
16077
16077
|
_this.checkout.billingAddress || new IkasOrderAddress();
|
|
16078
16078
|
}
|
|
16079
16079
|
else {
|
|
16080
|
-
_this.checkout.billingAddress = cloneDeep_1(_this.checkout.shippingAddress);
|
|
16080
|
+
_this.checkout.billingAddress = new IkasOrderAddress(cloneDeep_1(_this.checkout.shippingAddress) || {});
|
|
16081
16081
|
}
|
|
16082
16082
|
}
|
|
16083
16083
|
};
|
|
@@ -16304,6 +16304,7 @@ var CheckoutViewModel = /** @class */ (function () {
|
|
|
16304
16304
|
exports.IkasTransactionStatusEnum.SUCCESS,
|
|
16305
16305
|
exports.IkasTransactionStatusEnum.AUTHORIZED,
|
|
16306
16306
|
].includes(transactionStatus)) {
|
|
16307
|
+
localStorage.removeItem(USE_DIFFERENT_ADDRESS_KEY);
|
|
16307
16308
|
this.changeStep(CheckoutStep.SUCCESS);
|
|
16308
16309
|
}
|
|
16309
16310
|
else if (transactionStatus === exports.IkasTransactionStatusEnum.PENDING &&
|