@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.cjs CHANGED
@@ -4180,9 +4180,10 @@ var PayByStableCoin = ({
4180
4180
  environment,
4181
4181
  caller
4182
4182
  );
4183
+ const newResponse = caller === "buzapay" ? response.data : response.stableCoins;
4183
4184
  if (response?.isSuccessful) {
4184
4185
  setStableCoins(
4185
- response.data?.map((c) => ({
4186
+ newResponse?.map((c) => ({
4186
4187
  label: c.name,
4187
4188
  value: c.name
4188
4189
  })) ?? []