kinecosystem / kin-node

DEPRECATED! Please use Kinetic: https://developer.kin.org/docs/kinetic
https://developer.kin.org/docs/kinetic
MIT License
16 stars 14 forks source link

Please improve the readme on webhooks #9

Open doc-l opened 3 years ago

doc-l commented 3 years ago

It contains syntax errors:

app.use("/events", EventsHandler(events: []Event) => {

should be

app.use("/events", EventsHandler(events: Event[]) => {

and

app.use("/sign_transaction", SignTransactionHandler(req: SignTransactionRequest, resp: SignTransactionResponse) => {
    // decide whether or not to sign() or reject() the request.
}, secret),

has a missing ( right after SignTransactionHandler

chaseeb commented 3 years ago

was this resolved?

doc-l commented 3 years ago

no, the readme still contains those syntax errors