Wait for receiving voucher on GQL query (#392)

* Wait for receiving voucher on GQL query

* Add timeout while authenticating voucher and remove listener channel

* Clear timeout after payment received

* Rename variable to paymentListener

* Upgrade package versions

* Add rpcSupportsBlockHashParam flag in config
This commit is contained in:
2023-07-24 13:36:13 +05:30
committed by GitHub
parent eec1965980
commit 10fa9d6b4b
14 changed files with 91 additions and 32 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@cerc-io/cli",
"version": "0.2.47",
"version": "0.2.48",
"main": "dist/index.js",
"license": "AGPL-3.0",
"scripts": {
@@ -11,8 +11,8 @@
"chat": "DEBUG='vulcanize:*, laconic:*' node dist/chat.js"
},
"dependencies": {
"@cerc-io/peer": "^0.2.47",
"@cerc-io/util": "^0.2.47",
"@cerc-io/peer": "^0.2.48",
"@cerc-io/util": "^0.2.48",
"@ethersproject/providers": "^5.4.4",
"@graphql-tools/utils": "^9.1.1",
"@ipld/dag-cbor": "^8.0.0",