@exodus/activity-txs 4.0.0 → 4.0.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.0.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/activity-txs@4.0.0...@exodus/activity-txs@4.0.1) (2023-12-20)
7
+
8
+ ### Bug Fixes
9
+
10
+ - empty activity txs for indexless assets ([#5144](https://github.com/ExodusMovement/exodus-hydra/issues/5144)) ([6c4eca7](https://github.com/ExodusMovement/exodus-hydra/commit/6c4eca7c14103242accb52dc746706d875feefb3))
11
+
6
12
  ## [4.0.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/activity-txs@3.2.1...@exodus/activity-txs@4.0.0) (2023-12-18)
7
13
 
8
14
  ### ⚠ BREAKING CHANGES
@@ -86,8 +86,6 @@ const areActivitiesEqual = (obj1 = {}, obj2 = {}) => {
86
86
  return true
87
87
  }
88
88
 
89
- const EMPTY = []
90
-
91
89
  const createActivityTxsAtom = ({ txLogsAtom, accountStatesAtom, assetsModule }) => {
92
90
  const inputAtom = combine({
93
91
  txLogs: txLogsAtom,
@@ -103,9 +101,6 @@ const createActivityTxsAtom = ({ txLogsAtom, accountStatesAtom, assetsModule })
103
101
  mapValues(accountTxLogs, (assetTxSet, assetName) => {
104
102
  const asset = assetsModule.getAsset(assetName)
105
103
  const baseAssetName = asset.baseAsset.name
106
- if (asset?.baseAsset?.api?.features?.noHistory) {
107
- return EMPTY
108
- }
109
104
 
110
105
  if (asset?.api?.getActivityTxs) {
111
106
  let activityOptions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/activity-txs",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "The activity-txs feature",
5
5
  "author": "Exodus Movement Inc.",
6
6
  "repository": {
@@ -55,5 +55,5 @@
55
55
  "jest": "^29.1.2",
56
56
  "redux": "^4.2.1"
57
57
  },
58
- "gitHead": "182ee0ccc51c52b6dcbc0da97523ee9d0740aa0a"
58
+ "gitHead": "f9da7e1a0be705cb2faace4af6ea2b4a69b4fd0f"
59
59
  }