@salla.sa/twilight-components 1.1.6 → 1.1.8
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-branches_22.cjs.entry.js +1 -2
- package/dist/collection/components/salla-loyalty/salla-loyalty.js +1 -2
- package/dist/components/salla-loyalty.js +1 -2
- package/dist/esm/salla-branches_22.entry.js +1 -2
- package/dist/twilight-components/p-dc525215.entry.js +4 -0
- package/dist/twilight-components/twilight-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/twilight-components/p-c0f2fee1.entry.js +0 -4
|
@@ -778,8 +778,7 @@ const SallaLoyalty = class {
|
|
|
778
778
|
*/
|
|
779
779
|
async exchangeLoyaltyPoint() {
|
|
780
780
|
this.buttonLoading = true;
|
|
781
|
-
|
|
782
|
-
return await salla.loyalty.exchangePoint(this.selectedItem.id, cartId)
|
|
781
|
+
return await salla.loyalty.exchangePoint(this.selectedItem.id)
|
|
783
782
|
.then((response) => {
|
|
784
783
|
this.loyaltyProgram = response.data;
|
|
785
784
|
})
|
|
@@ -107,8 +107,7 @@ export class SallaLoyalty {
|
|
|
107
107
|
*/
|
|
108
108
|
async exchangeLoyaltyPoint() {
|
|
109
109
|
this.buttonLoading = true;
|
|
110
|
-
|
|
111
|
-
return await salla.loyalty.exchangePoint(this.selectedItem.id, cartId)
|
|
110
|
+
return await salla.loyalty.exchangePoint(this.selectedItem.id)
|
|
112
111
|
.then((response) => {
|
|
113
112
|
this.loyaltyProgram = response.data;
|
|
114
113
|
})
|
|
@@ -153,8 +153,7 @@ const SallaLoyalty$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
153
153
|
*/
|
|
154
154
|
async exchangeLoyaltyPoint() {
|
|
155
155
|
this.buttonLoading = true;
|
|
156
|
-
|
|
157
|
-
return await salla.loyalty.exchangePoint(this.selectedItem.id, cartId)
|
|
156
|
+
return await salla.loyalty.exchangePoint(this.selectedItem.id)
|
|
158
157
|
.then((response) => {
|
|
159
158
|
this.loyaltyProgram = response.data;
|
|
160
159
|
})
|
|
@@ -774,8 +774,7 @@ const SallaLoyalty = class {
|
|
|
774
774
|
*/
|
|
775
775
|
async exchangeLoyaltyPoint() {
|
|
776
776
|
this.buttonLoading = true;
|
|
777
|
-
|
|
778
|
-
return await salla.loyalty.exchangePoint(this.selectedItem.id, cartId)
|
|
777
|
+
return await salla.loyalty.exchangePoint(this.selectedItem.id)
|
|
779
778
|
.then((response) => {
|
|
780
779
|
this.loyaltyProgram = response.data;
|
|
781
780
|
})
|