@zeniai/client-epic-state 4.12.29 → 4.12.30

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.
@@ -632,7 +632,7 @@ const getDefaultWithdrawFromAccount = (state, depositAccounts, companyId, lastSe
632
632
  else {
633
633
  // User paid with Zeni account previously
634
634
  if (depositAccounts.length === 1) {
635
- defaultAccount = primaryAccount;
635
+ defaultAccount = lastSelectedFromAccount;
636
636
  }
637
637
  else {
638
638
  if ((primaryAccount === null || primaryAccount === void 0 ? void 0 : primaryAccount.accountType) === 'depositAccount') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.12.29",
3
+ "version": "4.12.30",
4
4
  "description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",