@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.
@@ -778,7 +778,7 @@ const SallaLoyalty = class {
778
778
  */
779
779
  async exchangeLoyaltyPoint() {
780
780
  this.buttonLoading = true;
781
- return await salla.loyalty.exchangePoint(this.selectedItem.id)
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.exchangePoint(this.selectedItem.id)
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.exchangePoint(this.selectedItem.id)
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.exchangePoint(this.selectedItem.id)
777
+ return await salla.loyalty.exchange(this.selectedItem.id)
778
778
  .then((response) => {
779
779
  this.loyaltyProgram = response.data;
780
780
  })