-
Notifications
You must be signed in to change notification settings - Fork 142
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
feat: compliance checks #5122
feat: compliance checks #5122
Conversation
kyranjamie
commented
Mar 26, 2024
•
edited by leather-bot
Loading
edited by leather-bot
9499696
to
a10755c
Compare
22804b8
to
41242a9
Compare
src/app/query/common/compliance-checker/compliance-checker.query.ts
Outdated
Show resolved
Hide resolved
return { ...entityReport, isOnSanctionsList: entityReport.risk === 'Severe' }; | ||
} | ||
|
||
const oneWeekInMs = 604_800_000; |
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.
maybe put this to some share/time.ts
file?
we already have const weekInMs
in src/app/query/bitcoin/ordinals/inscriptions-by-param.query.ts
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.
Honestly, I'd like to use this library, it's 1kB and way nicer for readability https://github.com/vercel/ms
c63aee5
to
208a386
Compare
208a386
to
3664cd8
Compare