-
Notifications
You must be signed in to change notification settings - Fork 0
Cleaning code and type fixes for some lib/*.ts files #15
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
base: feature/bws-ts
Are you sure you want to change the base?
Cleaning code and type fixes for some lib/*.ts files #15
Conversation
| self.publicTxUrlTemplate = opts.emailOpts.publicTxUrlTemplate || {}; | ||
| self.subjectPrefix = opts.emailOpts.subjectPrefix || '[Wallet service]'; | ||
| self.from = opts.emailOpts.from; | ||
| console.log(this.templatePath); |
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.
let remove this line
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.
which I committed accidentally
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.
Done
| var rejectors = _.map(data.rejectedBy, function(copayerId) { | ||
| return _.find(wallet.copayers, { | ||
| const rejectors = _.map(data.rejectedBy, (copayerId) => { | ||
| const copayer: any = _.find(wallet.copayers, { |
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 any?
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.
Removed to use 'Copayer' properly
| async.map( | ||
| recipientsList, | ||
| function(recipient, next) { | ||
| (recipient: any, next) => { |
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 any?
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.
Removed to use a new 'Recipient' interface
| } | ||
| }; | ||
|
|
||
| function getCredentials(req) { |
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.
I don't know that this function should be converted to an arrow function if it's not using this
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.
It is the same, in this case I used arrow functions to declare all the functions with the same notation
… settings in readme docs
Fix (BWS Docs) - removed testnet in bitcore config requirement in README
[insight-previous] FIX: UI fixes for invalid txs
…Messages Fix: add Deprecated server messages
fix push notification server start
…itcore-node-http-port
…ode-http-port Adding ENV for http port
Relative readme file links
111562f to
bbb764f
Compare
Cleaning code for:
bchaddresstranslator.ts
blockchainexplorer.ts
blockchainmonitor.ts
emailservice.ts
fiatrateservice.ts
lock.ts
messagebroker.ts
notificationbroadcaster.ts
pushnotificationsservice.ts
server.ts
stats.ts