@miden-npm/react 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.
package/dist/index.js CHANGED
@@ -4140,9 +4140,10 @@ var PayByStableCoin = ({
4140
4140
  environment,
4141
4141
  caller
4142
4142
  );
4143
+ const newResponse = caller === "buzapay" ? response.data : response.stableCoins;
4143
4144
  if (response?.isSuccessful) {
4144
4145
  setStableCoins(
4145
- response.data?.map((c) => ({
4146
+ newResponse?.map((c) => ({
4146
4147
  label: c.name,
4147
4148
  value: c.name
4148
4149
  })) ?? []