Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@exodus/activity-txs

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exodus/activity-txs - npm Package Compare versions

Comparing version 4.3.4 to 4.3.5

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [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)
### Bug Fixes
- activity txs orders dependency should be optional ([#9430](https://github.com/ExodusMovement/exodus-hydra/issues/9430)) ([706c081](https://github.com/ExodusMovement/exodus-hydra/commit/706c0819fa47b4683b3b0a5e7d4ce29ff0d7f9a9))
## [4.3.4](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/activity-txs@4.3.3...@exodus/activity-txs@4.3.4) (2024-09-16)

@@ -8,0 +14,0 @@

19

package.json
{
"name": "@exodus/activity-txs",
"version": "4.3.4",
"version": "4.3.5",
"description": "The activity-txs feature",

@@ -37,3 +37,2 @@ "author": "Exodus Movement, Inc.",

"@exodus/models": "^12.0.1",
"@exodus/module": "^1.2.2",
"@exodus/multi-account-redux": "^2.0.1",

@@ -48,20 +47,20 @@ "@exodus/typeforce": "^1.19.0",

"@exodus/assets-base": "^8.1.10",
"@exodus/assets-feature": "^5.11.3",
"@exodus/assets-feature": "^5.12.0",
"@exodus/available-assets": "^8.5.0",
"@exodus/bitcoin-plugin": "^1.4.2",
"@exodus/blockchain-metadata": "^15.5.0",
"@exodus/connected-origins": "^3.4.0",
"@exodus/connected-origins": "^4.0.0",
"@exodus/dependency-injection": "^3.0.0",
"@exodus/dependency-preprocessors": "^6.0.5",
"@exodus/fiat-ramp": "^10.12.1",
"@exodus/nfts": "^9.3.7",
"@exodus/orders": "^4.11.3",
"@exodus/dependency-preprocessors": "^6.1.0",
"@exodus/fiat-ramp": "^10.13.1",
"@exodus/nfts": "^9.3.8",
"@exodus/orders": "^4.12.0",
"@exodus/personal-notes": "^3.6.3",
"@exodus/redux-dependency-injection": "^4.0.3",
"@exodus/storage-memory": "^2.2.0",
"@exodus/wallet-accounts": "^16.10.2",
"@exodus/wallet-accounts": "^16.12.0",
"@types/minimalistic-assert": "^1.0.1",
"redux": "^4.2.1"
},
"gitHead": "258c9637436b53f8bb3e77836e2e3505c81a6969"
"gitHead": "fde57424fce28e926e644b9c6134707a1c454a2f"
}

@@ -9,2 +9,4 @@ import { createSelector } from 'reselect'

const groupTxsWithSameOrder = ({ txs, orderSet, isIndexless }) => {
if (!orderSet) return txs.map((tx) => ({ tx, type: 'tx' }))
const getOrder = (tx) => orderSet.getByTxId(tx.txId)

@@ -42,2 +44,4 @@ const exchangeByOrderId = new Map()

const noop = () => null
const createAssetSourceBaseActivitySelectorDefinition = {

@@ -58,3 +62,5 @@ id: 'createAssetSourceBaseActivity',

})
const orderSelector = createOrdersInAccountSelector(walletAccount)
const orderSelector = createOrdersInAccountSelector.isFallback
? noop
: createOrdersInAccountSelector(walletAccount)
return createSelector(

@@ -70,18 +76,20 @@ assetsSelector,

for (const group of groupedTxs) {
const { tx, order, type: formatterType } = group
const personalNote = getPersonalNoteByTxId
? getPersonalNoteByTxId(tx.txId)
: undefined
const formattedTx = formattersByType.get(formatterType)({
asset: assets[tx.coinName],
order,
tx,
personalNote,
})
if (groupedTxs) {
for (const group of groupedTxs) {
const { tx, order, type: formatterType } = group
const personalNote = getPersonalNoteByTxId
? getPersonalNoteByTxId(tx.txId)
: undefined
const formattedTx = formattersByType.get(formatterType)({
asset: assets[tx.coinName],
order,
tx,
personalNote,
})
activityResult.push(formattedTx)
activityResult.push(formattedTx)
}
}
if (isIndexless) {
if (orderSet && isIndexless) {
const orderIdsFromActivity = new Set(activityResult.map((tx) => tx.orderId))

@@ -116,3 +124,3 @@ const ordersForIndexlessAssets = [...orderSet].filter(

{ selector: 'createBatchedAssetSourceSelector' },
{ module: 'orders', selector: 'createOrdersInAccount' },
{ module: 'orders', selector: 'createOrdersInAccount', optional: true },
{ module: 'personalNotes', selector: 'get', optional: true },

@@ -119,0 +127,0 @@ ],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc