Add support for gossipsub (#410)

* Replace floodsub with gossipsub

* Add a pubsub flag to support both floodsub and gossipsub

* Fix deps

* Handle empty string values

* Upgrade @cerc-io/libp2p dependency

* Upgrade package versions
This commit is contained in:
prathamesh0
2023-09-05 17:54:52 +05:30
committed by GitHub
parent f89eea0d2f
commit c80e4d0ab7
24 changed files with 266 additions and 51 deletions
@@ -41,12 +41,12 @@
"homepage": "https://github.com/cerc-io/watcher-ts#readme",
"dependencies": {
"@apollo/client": "^3.3.19",
"@cerc-io/cli": "^0.2.55",
"@cerc-io/ipld-eth-client": "^0.2.55",
"@cerc-io/solidity-mapper": "^0.2.55",
"@cerc-io/util": "^0.2.55",
"@cerc-io/cli": "^0.2.56",
"@cerc-io/ipld-eth-client": "^0.2.56",
"@cerc-io/solidity-mapper": "^0.2.56",
"@cerc-io/util": "^0.2.56",
{{#if (subgraphPath)}}
"@cerc-io/graph-node": "^0.2.55",
"@cerc-io/graph-node": "^0.2.56",
{{/if}}
"@ethersproject/providers": "^5.4.4",
"apollo-type-bigint": "^0.1.3",