@tender-cash/agent-sdk-react 0.1.0 → 0.1.1

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.
@@ -6,7 +6,7 @@ import xe, { useEffect as ae, useCallback as Ne, useState as J, useRef as se, fo
6
6
  /**
7
7
  * agent-sdk-react.js
8
8
  * @summary
9
- * @version v0.1.0
9
+ * @version v0.1.1
10
10
  * @author Tender
11
11
  * @license Released under the MIT license.
12
12
  * @copyright Tender Cash
@@ -10453,7 +10453,7 @@ const Dt = new Bx(), wx = ({ nextScreen: e, setPageLoading: t }) => {
10453
10453
  balance: h.data.data.balanceRequired,
10454
10454
  coin: (g = h.data.data.chainId) == null ? void 0 : g.coin
10455
10455
  };
10456
- i((E) => ({ ...E, ...y })), o && o({ status: h.data.data.status, message: "user cancelled transaction", data: l }), [Ze.OVER, Ze.COMPLETE].includes(h.data.data.status) && r && (Dt.clearQueue(), clearInterval(r));
10456
+ i((E) => ({ ...E, ...y })), o && o({ status: h.data.data.status, message: h.data.message, data: l }), [Ze.OVER, Ze.COMPLETE].includes(h.data.data.status) && r && (Dt.clearQueue(), clearInterval(r));
10457
10457
  }
10458
10458
  }, f = async (C, h) => {
10459
10459
  ne.debug("confirming...");