@miden-npm/angular 2.1.7 → 2.1.9

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.
@@ -2742,9 +2742,10 @@ class PayByStableCoinComponent {
2742
2742
  this.loadingStableCoins = true;
2743
2743
  await this.resource.getStableCoins(this.environment, this.caller).subscribe({
2744
2744
  next: async (response) => {
2745
+ const newResponse = this.caller === 'buzapay' ? response.data : response.stableCoins;
2745
2746
  if (response?.isSuccessful) {
2746
2747
  this.stableCoins =
2747
- response.data?.map((c) => ({
2748
+ newResponse?.map((c) => ({
2748
2749
  label: c.name,
2749
2750
  value: c.name,
2750
2751
  })) ?? [];