aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-03-04 09:47:26 -0800
committerAdam Soltys <[email protected]>2020-03-04 09:47:26 -0800
commit6411dcd13897ba69cc252dd26b5cb5b9b2560aca (patch)
tree5ff48f27bb62851e5f8704bc853143e4ea704baa
parent816d3c6e8e054c649b6d5dc48bc900fa7b6b842e (diff)
downloadcoinos-server-6411dcd13897ba69cc252dd26b5cb5b9b2560aca.tar.gz
coinos-server-6411dcd13897ba69cc252dd26b5cb5b9b2560aca.zip
add long dependency
-rw-r--r--lightningPayments.js1
-rw-r--r--package.json19
-rw-r--r--queryRoutes.js1
-rw-r--r--yarn.lock13
4 files changed, 33 insertions, 1 deletions
diff --git a/lightningPayments.js b/lightningPayments.js
index 278d7f02..9b3eef78 100644
--- a/lightningPayments.js
+++ b/lightningPayments.js
@@ -23,7 +23,6 @@ module.exports = (app, db, lna, lnb, emit, payments) => {
await user.save();
payments.push(msg.payment_request);
- emit(user.username, "invoice", msg);
emit(user.username, "payment", payment);
emit(user.username, "user", user);
};
diff --git a/package.json b/package.json
index 7d4f4ef6..58cbe8a2 100644
--- a/package.json
+++ b/package.json
@@ -35,6 +35,7 @@
"jsonwebtoken": "^8.5.1",
"lnrpc": "^0.6.2",
"lodash": "^4.17.13",
+ "long": "^4.0.0",
"mailgun-js": "^0.22.0",
"moment": "^2.24.0",
"morgan": "^1.9.1",
@@ -65,8 +66,26 @@
"sequelize-automate": "^1.1.1"
},
"dependenciesMeta": {
+ "@grpc/proto-loader": {
+ "unplugged": true
+ },
+ "unplugged": true
+ },
"lnrpc": {
"unplugged": true
+ },
+ "unplugged": true
+ },
+ "protobufjs-npm-5.0.3": {
+ "unplugged": true
+ },
+ "protobufjs-npm-5.0.3-7417c706d9-1": {
+ "unplugged": true
+ },
+ "protobufjs-npm-5.0.3-7417c706d9-1.zip": {
+ "unplugged": true
}
}
}
diff --git a/queryRoutes.js b/queryRoutes.js
index 34abd4bb..18772a89 100644
--- a/queryRoutes.js
+++ b/queryRoutes.js
@@ -8,5 +8,6 @@ module.exports = lna => async (req, res) => {
lna.queryRoutes(
{ pub_key: payreq.payeeNodeKey, amt: payreq.satoshis },
(err, response) => res.send(response)
+
);
};
diff --git a/yarn.lock b/yarn.lock
index d21cd5db..1a1adaca 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -1938,6 +1938,7 @@ __metadata:
jsonwebtoken: ^8.5.1
lnrpc: ^0.6.2
lodash: ^4.17.13
+ long: ^4.0.0
mailgun-js: ^0.22.0
moment: ^2.24.0
morgan: ^1.9.1
@@ -1965,8 +1966,20 @@ __metadata:
ws: ^7.1.2
zeromq: ^5.1.0
dependenciesMeta:
+ "@grpc/proto-loader":
+ unplugged: true
+ unplugged: true
lnrpc:
unplugged: true
+ protobufjs-npm-5.0.3:
+ unplugged: true
+ protobufjs-npm-5.0.3-7417c706d9-1:
+ unplugged: true
+ protobufjs-npm-5.0.3-7417c706d9-1.zip:
+ unplugged: true
+ unplugged: true
languageName: unknown
linkType: soft