@salla.sa/twilight-components 2.12.58 → 2.12.59
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/salla-add-product-button_41.cjs.entry.js +3 -3
- package/dist/cjs/salla-add-product-button_41.cjs.entry.js.map +1 -1
- package/dist/collection/components/salla-quick-buy/salla-quick-buy.js +2 -2
- package/dist/collection/components/salla-quick-buy/salla-quick-buy.js.map +1 -1
- package/dist/components/salla-quick-buy2.js +3 -3
- package/dist/components/salla-quick-buy2.js.map +1 -1
- package/dist/esm/salla-add-product-button_41.entry.js +3 -3
- package/dist/esm/salla-add-product-button_41.entry.js.map +1 -1
- package/dist/esm-es5/salla-add-product-button_41.entry.js +1 -1
- package/dist/esm-es5/salla-add-product-button_41.entry.js.map +1 -1
- package/dist/twilight/{p-a53430c0.system.entry.js → p-9e2778f3.system.entry.js} +2 -2
- package/dist/twilight/{p-a53430c0.system.entry.js.map → p-9e2778f3.system.entry.js.map} +1 -1
- package/dist/twilight/p-9f2e0944.system.js +1 -1
- package/dist/twilight/{p-d8efa205.entry.js → p-f30381e7.entry.js} +2 -2
- package/dist/twilight/{p-d8efa205.entry.js.map → p-f30381e7.entry.js.map} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +3 -3
|
@@ -24678,7 +24678,7 @@ window.SallaApplePay = {
|
|
|
24678
24678
|
|
|
24679
24679
|
}, (error) => {
|
|
24680
24680
|
console.error(error);
|
|
24681
|
-
SallaApplePay.abortValidateMerchant(error
|
|
24681
|
+
SallaApplePay.abortValidateMerchant(error?.response);
|
|
24682
24682
|
});
|
|
24683
24683
|
},
|
|
24684
24684
|
|
|
@@ -25008,11 +25008,11 @@ const SallaQuickBuy = class {
|
|
|
25008
25008
|
if (this.applePayOnly && !this.productId) { // the cart is not passes
|
|
25009
25009
|
if (!this.cartId) {
|
|
25010
25010
|
salla.logger.warn('🍏 Pay: trying to create applePay transaction without cartId/ProductId !');
|
|
25011
|
-
return response;
|
|
25011
|
+
return Promise.resolve(response);
|
|
25012
25012
|
}
|
|
25013
25013
|
window.SallaApplePay.id = this.cartId;
|
|
25014
25014
|
salla.log('🍏 Pay: create checkout success: with id #' + this.cartId);
|
|
25015
|
-
return response;
|
|
25015
|
+
return Promise.resolve(response);
|
|
25016
25016
|
}
|
|
25017
25017
|
return salla.api.request('checkout/quick-purchase/' + this.productId, typeof data == 'object' ? data : undefined, 'post', {}).then(response => {
|
|
25018
25018
|
var _a, _b;
|