@exodus/activity-txs 4.1.5 → 4.2.0

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.2.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/activity-txs@4.1.5...@exodus/activity-txs@4.2.0) (2024-05-29)
7
+
8
+ ### Features
9
+
10
+ - order in activity ([#7220](https://github.com/ExodusMovement/exodus-hydra/issues/7220)) ([b32e3e0](https://github.com/ExodusMovement/exodus-hydra/commit/b32e3e0dd8d16e937c91017665f85c7ff1291120))
11
+
6
12
  ## [4.1.5](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/activity-txs@4.1.4...@exodus/activity-txs@4.1.5) (2024-05-29)
7
13
 
8
14
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/activity-txs",
3
- "version": "4.1.5",
3
+ "version": "4.2.0",
4
4
  "description": "The activity-txs feature",
5
5
  "author": "Exodus Movement, Inc.",
6
6
  "repository": {
@@ -51,7 +51,7 @@
51
51
  "@exodus/connected-origins": "^3.3.1",
52
52
  "@exodus/dependency-injection": "^2.2.0",
53
53
  "@exodus/dependency-preprocessors": "^5.2.0",
54
- "@exodus/fiat-ramp": "^10.6.0",
54
+ "@exodus/fiat-ramp": "^10.7.0",
55
55
  "@exodus/nfts": "^9.3.0",
56
56
  "@exodus/orders": "^4.9.0",
57
57
  "@exodus/personal-notes": "^3.6.0",
@@ -61,5 +61,5 @@
61
61
  "@types/minimalistic-assert": "^1.0.1",
62
62
  "redux": "^4.2.1"
63
63
  },
64
- "gitHead": "8f22879093e8b3fb64fd273ae4d60d3f02f911eb"
64
+ "gitHead": "4d39581f3d08d36a51b846982c016b2c4cd2e59d"
65
65
  }
@@ -31,7 +31,8 @@ const selectorFactory =
31
31
  let result = activities.flat()
32
32
  if (dedupExchange) {
33
33
  result = result.filter((activityItem) => {
34
- const { orderId } = activityItem
34
+ const { order } = activityItem
35
+ const orderId = order?.orderId
35
36
  if (orderId) {
36
37
  if (!ordersIncluded.has(orderId)) {
37
38
  ordersIncluded.add(orderId)
@@ -52,9 +52,7 @@ const getSwapSharedProps = ({
52
52
  received: order.toAsset === assetName,
53
53
  }),
54
54
  tx,
55
- fromAsset: order.fromAsset,
56
- toAsset: order.toAsset,
57
- orderId: order.orderId,
55
+ order,
58
56
  displayAmount,
59
57
  personalNote,
60
58
  }