Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
this is a generic feed, not necessarily invoices
Browse files Browse the repository at this point in the history
  • Loading branch information
ildella committed Jul 26, 2023
1 parent e43381e commit 88b5fab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lnd/lnd-streams.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = client => {
const source = __(websocketSource(client))
.map(JSON.parse)

const invoices = source
const feed = source
// .fork()
.filter(json => !hasError(json))
// .tap(item => debug(item))
Expand All @@ -18,7 +18,7 @@ module.exports = client => {
.filter(hasError)

return {
invoices,
feed,
errors,
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moar-js",
"version": "0.2.1",
"version": "0.2.2",
"description": "Simple JavaScript files I use across projects",
"license": "MIT",
"author": {
Expand Down

0 comments on commit 88b5fab

Please sign in to comment.