@exodus/activity-txs 3.0.0 → 3.1.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,18 @@
|
|
|
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
|
+
## [3.1.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/activity-txs@3.1.0...@exodus/activity-txs@3.1.1) (2023-10-18)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- remaining hasOwnProperty call ([#4472](https://github.com/ExodusMovement/exodus-hydra/issues/4472)) ([f8cdf1f](https://github.com/ExodusMovement/exodus-hydra/commit/f8cdf1f0fd6308749f15b4290edb5dd4763a785a))
|
|
11
|
+
|
|
12
|
+
## [3.1.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/activity-txs@3.0.0...@exodus/activity-txs@3.1.0) (2023-10-18)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- call hasOwnProperty on prototype for security ([#4461](https://github.com/ExodusMovement/exodus-hydra/issues/4461)) ([f257407](https://github.com/ExodusMovement/exodus-hydra/commit/f2574075dbf2855301b9fc14d7fc7eaeb35f2455))
|
|
17
|
+
|
|
6
18
|
## [3.0.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/activity-txs@2.0.0...@exodus/activity-txs@3.0.0) (2023-10-06)
|
|
7
19
|
|
|
8
20
|
### ⚠ BREAKING CHANGES
|
package/atoms/activity-txs.js
CHANGED
|
@@ -44,7 +44,7 @@ const areActivitiesEqual = (obj1 = {}, obj2 = {}) => {
|
|
|
44
44
|
// Iterate over each wallet account in obj1
|
|
45
45
|
for (const walletAccount of obj1WalletAccounts) {
|
|
46
46
|
// Check if obj2 has the same wallet account
|
|
47
|
-
if (!
|
|
47
|
+
if (!Object.prototype.hasOwnProperty.call(obj2, walletAccount)) {
|
|
48
48
|
return false
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -62,7 +62,7 @@ const areActivitiesEqual = (obj1 = {}, obj2 = {}) => {
|
|
|
62
62
|
for (const assetName of obj1AssetNames) {
|
|
63
63
|
// Check if obj2Assets has the same asset name and the data matches
|
|
64
64
|
if (
|
|
65
|
-
!
|
|
65
|
+
!Object.prototype.hasOwnProperty.call(obj2Assets, assetName) ||
|
|
66
66
|
obj1Assets[assetName] !== obj2Assets[assetName]
|
|
67
67
|
) {
|
|
68
68
|
return false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/activity-txs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.1",
|
|
4
4
|
"description": "The activity-txs feature",
|
|
5
5
|
"author": "Exodus Movement Inc.",
|
|
6
6
|
"repository": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"test": "jest"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@exodus/atoms": "^5.7.
|
|
33
|
+
"@exodus/atoms": "^5.7.2",
|
|
34
34
|
"@exodus/basic-utils": "^2.1.0",
|
|
35
35
|
"@exodus/core-selectors": "^1.5.0",
|
|
36
36
|
"@exodus/module": "^1.2.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@exodus/assets": "^8.0.95",
|
|
43
43
|
"@exodus/assets-base": "^8.1.10",
|
|
44
|
-
"@exodus/assets-feature": "^3.
|
|
44
|
+
"@exodus/assets-feature": "^3.5.0",
|
|
45
45
|
"@exodus/bitcoin-plugin": "^1.4.2",
|
|
46
46
|
"@exodus/blockchain-metadata": "^14.1.0",
|
|
47
47
|
"@exodus/dependency-injection": "^2.0.1",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"jest": "^29.1.2",
|
|
56
56
|
"redux": "^4.2.1"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "257bc2e14fe6f5083fd8832f4c607aed5ad6eb54"
|
|
59
59
|
}
|