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