Skip to content
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

Add tx history endpoints #67

Merged
merged 11 commits into from
Jan 16, 2024
Merged

Add tx history endpoints #67

merged 11 commits into from
Jan 16, 2024

Conversation

samchuk-vlad
Copy link
Member

No description provided.


// export const ONFINALITY_API_KEY = '28209e0e-fc76-481e-a80f-745ffdf477d7' // test api key for localhost
export const ONFINALITY_API_KEY = '28209e0e-fc76-481e-a80f-745ffdf477d7' // test api key for localhost

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change this back, or if you got time, maybe put this in env instead?

src/server.ts Outdated
// app.use(
// cors((req, callback) => {
// const origin = req.method === 'GET' ? '*' : '*'
// callback(null, { origin })
// const corsOptions = { origin: true }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change this back too, or use
NODE_ENV to change which to use depending on if it is prod or dev

src/services/txHistory/queue.ts Show resolved Hide resolved
src/services/txHistory/index.ts Show resolved Hide resolved
@samchuk-vlad samchuk-vlad merged commit c4efad0 into main Jan 16, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants