@exodus/activity-txs 4.3.5 → 4.4.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,13 @@
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.4.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/activity-txs@4.3.5...@exodus/activity-txs@4.4.0) (2024-10-04)
7
+
8
+ ### Features
9
+
10
+ - support pending orders ([#9742](https://github.com/ExodusMovement/exodus-hydra/issues/9742)) ([3e78668](https://github.com/ExodusMovement/exodus-hydra/commit/3e786689bb3522432e389ca737d46f132953f34c))
11
+ - use atoms v9 ([#9651](https://github.com/ExodusMovement/exodus-hydra/issues/9651)) ([524aa61](https://github.com/ExodusMovement/exodus-hydra/commit/524aa61f69c81e6ac00b2f94ea830688a105b3e4))
12
+
6
13
  ## [4.3.5](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/activity-txs@4.3.4...@exodus/activity-txs@4.3.5) (2024-09-25)
7
14
 
8
15
  ### Bug Fixes
package/README.md CHANGED
@@ -16,7 +16,7 @@ Additionally, it offers extra Redux selectors to retrieve activity, limited by s
16
16
 
17
17
  ## Usage
18
18
 
19
- This feature is designed to be used together with `@exodus/headless`. See [Using the SDK](../../docs/using-the-sdk.md) for more details.
19
+ This feature is designed to be used together with `@exodus/headless`. See [Using the SDK](../../docs/docs-website/docs/development/using-the-sdk.md) for more details.
20
20
 
21
21
  ### API Side
22
22
 
@@ -49,7 +49,7 @@ selectors.activityTxs.createMultiActivity({
49
49
 
50
50
  ### UI Side
51
51
 
52
- See [using the sdk](../../docs/using-the-sdk.md#events) for more details on basic UI-side setup.
52
+ See [using the sdk](../../docs/docs-website/docs/development/using-the-sdk.md#events) for more details on basic UI-side setup.
53
53
 
54
54
  ```js
55
55
  import selectors from '~/ui/flux/selectors'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/activity-txs",
3
- "version": "4.3.5",
3
+ "version": "4.4.0",
4
4
  "description": "The activity-txs feature",
5
5
  "author": "Exodus Movement, Inc.",
6
6
  "repository": {
@@ -30,7 +30,7 @@
30
30
  "test": "run -T exodus-test --jest --esbuild"
31
31
  },
32
32
  "dependencies": {
33
- "@exodus/atoms": "^8.1.1",
33
+ "@exodus/atoms": "^9.0.0",
34
34
  "@exodus/basic-utils": "^3.0.1",
35
35
  "@exodus/core-selectors": "^1.5.0",
36
36
  "@exodus/models": "^12.0.1",
@@ -43,22 +43,22 @@
43
43
  "devDependencies": {
44
44
  "@exodus/assets": "^8.0.95",
45
45
  "@exodus/assets-base": "^8.1.10",
46
- "@exodus/assets-feature": "^5.12.0",
47
- "@exodus/available-assets": "^8.5.0",
46
+ "@exodus/assets-feature": "^5.13.1",
47
+ "@exodus/available-assets": "^8.6.0",
48
48
  "@exodus/bitcoin-plugin": "^1.4.2",
49
49
  "@exodus/blockchain-metadata": "^15.5.0",
50
50
  "@exodus/connected-origins": "^4.0.0",
51
- "@exodus/dependency-injection": "^3.0.0",
52
- "@exodus/dependency-preprocessors": "^6.1.0",
53
- "@exodus/fiat-ramp": "^10.13.1",
54
- "@exodus/nfts": "^9.3.8",
51
+ "@exodus/dependency-injection": "^3.1.0",
52
+ "@exodus/dependency-preprocessors": "^6.3.0",
53
+ "@exodus/fiat-ramp": "^10.14.2",
54
+ "@exodus/nfts": "^9.4.0",
55
55
  "@exodus/orders": "^4.12.0",
56
56
  "@exodus/personal-notes": "^3.6.3",
57
57
  "@exodus/redux-dependency-injection": "^4.0.3",
58
- "@exodus/storage-memory": "^2.2.0",
59
- "@exodus/wallet-accounts": "^16.12.0",
58
+ "@exodus/storage-memory": "^2.2.1",
59
+ "@exodus/wallet-accounts": "^17.0.0",
60
60
  "@types/minimalistic-assert": "^1.0.1",
61
61
  "redux": "^4.2.1"
62
62
  },
63
- "gitHead": "fde57424fce28e926e644b9c6134707a1c454a2f"
63
+ "gitHead": "e156047047673e249a00450b9ac704d6c6abc4ac"
64
64
  }
@@ -51,7 +51,7 @@ const createAssetSourceBaseActivitySelectorDefinition = {
51
51
  getPersonalNoteByTxIdSelector
52
52
  ) =>
53
53
  memoize(
54
- ({ assetName, walletAccount, ...rest }) => {
54
+ ({ assetName, walletAccount, displayOrderWithoutTx = false, ...rest }) => {
55
55
  const batchedTxsSelector = createBatchedAssetSourceSelector({
56
56
  assetName,
57
57
  walletAccount,
@@ -87,7 +87,7 @@ const createAssetSourceBaseActivitySelectorDefinition = {
87
87
  }
88
88
  }
89
89
 
90
- if (orderSet && isIndexless) {
90
+ if (orderSet && (isIndexless || displayOrderWithoutTx)) {
91
91
  const orderIdsFromActivity = new Set(activityResult.map((tx) => tx.orderId))
92
92
  const ordersForIndexlessAssets = [...orderSet].filter(
93
93
  (order) =>
@@ -43,7 +43,7 @@ const getSwapSharedProps = ({
43
43
  ...getSharedProps({
44
44
  txId,
45
45
  date,
46
- id: `swap.${assetName}.${order?.id || txId}`,
46
+ id: `swap.${assetName}.${order?.orderId || txId}`,
47
47
  assetName,
48
48
  type: getOrderType({ tx, order }),
49
49
  pending,