@miden-npm/vue 2.1.4 → 2.1.5

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/index.es.js CHANGED
@@ -10861,10 +10861,10 @@ const rs = {
10861
10861
  const D = await lr(
10862
10862
  A,
10863
10863
  e.caller ?? "buzapay"
10864
- );
10865
- D != null && D.isSuccessful && (u.value = (D.data ?? []).map((Z) => ({
10866
- label: Z.name,
10867
- value: Z.name
10864
+ ), Z = e.caller === "buzapay" ? D.data : D.stableCoins;
10865
+ D != null && D.isSuccessful && (u.value = (Z ?? []).map((q) => ({
10866
+ label: q.name,
10867
+ value: q.name
10868
10868
  })) ?? []);
10869
10869
  } catch (D) {
10870
10870
  a.value = (D == null ? void 0 : D.message) || "Failed to get stable coins", (F = e.onError) == null || F.call(e, { errorMessage: a.value });