-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: order account transactions by time #332
Conversation
const edges = data.transactions.edges.sort((a, b) => { | ||
const aTime = dayjs(a.node.time?.rawUnix); | ||
const bTime = dayjs(b.node.time?.rawUnix); | ||
return bTime.diff(aTime); | ||
}); | ||
data.transactions.edges = edges; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add a TODO comment to remove this after the indexer is inserted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅
package.json
Outdated
"semver@<7.5.2": ">=7.5.2", | ||
"got@<11.8.5": ">=11.8.5", | ||
"http-cache-semantics@<4.1.1": ">=4.1.1", | ||
"lodash@<4.17.21": ">=4.17.21", | ||
"lodash@>=3.7.0 <4.17.19": ">=4.17.19", | ||
"axios@>=1.0.0 <1.6.0": ">=1.6.0", | ||
"tough-cookie@<4.1.3": ">=4.1.3", | ||
"@cypress/request@<=2.88.12": ">=3.0.0", | ||
"express@>=5.0.0-alpha.1 <5.0.0-beta.3": ">=5.0.0-beta.3", | ||
"express@<4.19.2": ">=4.19.2", | ||
"follow-redirects@<=1.15.5": ">=1.15.6", | ||
"vite@>=5.0.0 <=5.0.12": ">=5.0.13", | ||
"tar@<6.2.1": ">=6.2.1", | ||
"undici@>=6.0.0 <6.11.1": ">=6.11.1", | ||
"undici@<5.28.4": ">=5.28.4", | ||
"lodash@<4.17.12": ">=4.17.12", | ||
"gh-pages@<5.0.0": ">=5.0.0", | ||
"ejs@<3.1.10": ">=3.1.10", | ||
"next@>=13.4.0 <14.1.1": ">=14.1.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need all this overrides here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Audit fixes
7f9eb75
to
ce8b488
Compare
c22eaa7
to
c61d9ed
Compare
⭐ ref #331