Varun Srinivasan
038a647bd7
chore: release new versions ( #839 )
@farcaster/hubble@1.0.22
@farcaster/core@0.6.1
@farcaster/hub-nodejs@0.6.3
@farcaster/hub-web@0.2.3
2023-04-06 17:47:33 -07:00
Sanjay
edea195dba
feat: ensure hub networks match when syncing with peers ( #837 )
...
* feat: ensure hub networks match when syncing with peers
* send the network when gossiping
2023-04-06 17:29:20 -07:00
Sanjay
d12ed86add
fix: handle invalid version strings ( #833 )
...
* fix: handle invalid version string
* simplify version check
2023-04-06 11:53:27 -07:00
Paul Fletcher-Hill
833c4cc0b4
fix: map grpc error codes to hub error codes ( #832 )
...
* map grpc codes to hub error codes
* add changeset
2023-04-06 13:42:35 -04:00
Paul Fletcher-Hill
52035aa031
run changeset version ( #826 )
2023-04-05 20:22:47 -04:00
PangZhi
b6508b9aca
update readme ( #829 )
2023-04-05 17:19:56 -07:00
PangZhi
74ec2526e5
fix: add grpc error code as fallback ( #828 )
...
* add grpc error code as fallback
* add changeset
2023-04-05 17:12:59 -07:00
PangZhi
7d58347545
fiix error code for no connection ( #827 )
2023-04-05 16:49:49 -07:00
adityapk00
d0fa584e7a
fix: Log cases where the subscribe stream is not being consumed ( #825 )
2023-04-05 14:15:05 -07:00
PangZhi
7194054d24
chore: export getAuthMetadata & getHubRpcClient ( #822 )
...
* export getAuthMetadata
* add changeset
* expose getHubRpcClient
* update error logging and readme
* update changeset
* fix errorcode
* fix typo
2023-04-05 13:38:13 -07:00
Sanjay
7aad7542ca
Fix build due to merge conflict with main ( #824 )
2023-04-05 12:49:42 -07:00
Sanjay
8bf29bc209
feat: prune unreachable peers and periodically gossip contact info ( #817 )
2023-04-05 10:00:09 -07:00
PangZhi
9f0dc6a0bb
chore: enable getSSLHubRpcClient ( #821 )
...
* enable getSSLHubRpcClient
* add changeset
2023-04-05 08:08:00 -07:00
Paul Fletcher-Hill
64418e9495
changeset version ( #820 )
2023-04-04 23:28:23 -04:00
Paul Fletcher-Hill
1e4e5ba522
chore: update tsup configs ( #819 )
...
* update tsup configs
* add more browser options
* add changeset
* update browser versions
2023-04-04 23:21:01 -04:00
PangZhi
c4529a7ef2
feat: merge protobufs and utils into core package ( #818 )
...
* remove protobufs as a package, merge into utils
* update yarn.lock
* rename utils package to core
* update docker
* add changeset
* tsup config
* change schema path in workflow file
* update protobufs readme link
2023-04-04 19:21:30 -07:00
Paul Fletcher-Hill
58af42fdda
chore: run changeset version ( #816 )
...
* update hub-web changeset from major to minor
* run changeset version
2023-04-04 18:52:33 -04:00
PangZhi
ce7929e2aa
feat: wrap hub-web client to provide consistent APIs with hub-nodejs ( #811 )
...
* wrap client for hub-web so that the APIs are consistent with hub-nodejs
* update readme for new APIs
* fix type export
* add changeset
* rename client to be consistent with hub-nodejs
* update README
* remove envoy folder from root
2023-04-04 15:28:42 -07:00
Shane da Silva
b81ed8c5e2
chore: Remove unnecessary flag for smoke test ( #815 )
...
The `-e ""` workaround is no longer necessary as of 8e46cac1 .
2023-04-04 14:37:20 -07:00
Shane da Silva
5f5a5fd171
chore: Test gRPC port of Docker image is running ( #520 )
...
Add a simple test to our build step that ensures the gRPC service is
running.
2023-04-04 14:28:20 -07:00
Paul Fletcher-Hill
088da4722e
allow client to subscribe from 0 fromId ( #814 )
2023-04-04 17:03:26 -04:00
Sanjay
759e1cfbc0
feat: ignore hubs below minimum version for sync ( #808 )
...
* feat: ignore hubs below minimum version for sync
* fix tests and add changeset
2023-04-04 13:09:31 -07:00
adityapk00
766309052e
fix: Copy hub-nodejs dir into docker ( #813 )
2023-04-04 12:42:17 -07:00
adityapk00
8e46cac194
fix: Start the rpc Server before the ethEventsProvider for smoke test ( #812 )
...
* fix: Start the rpc Server before the ethEventsProvider for smoke test
* changeset
2023-04-04 12:19:03 -07:00
adityapk00
13415ead71
fix: Prevent slow subscribers from crashing the hub ( #799 )
...
* fix: Prevent slow subscribers from crashing the hub
* changeset
* Add bufferedStreamWriter
* register listeners first
* Check if iterator has ended before ending it
* fix compile
2023-04-04 11:52:50 -07:00
PangZhi
1f47906693
feat: refactor protobufs and utils to remove grpc-js dependency ( #798 )
...
* remove grpc-js dependency from protobufs, refactor hubble to use hub-nodejs
* hub-web to use @farcaster/protobufs and utils
* add yarn.lock
* refactor hubble app to only use hub-nodejs
* update readme
* update export order
* update export order
* fix protobufs namespace build issue
* update codecov
* fix protobufCommand naming
---------
Co-authored-by: Paul Fletcher-Hill <pfletcherhill@gmail.com >
2023-04-04 09:27:53 -07:00
adityapk00
71d6494c04
fix: Better error when id protobuf is not found ( #807 )
...
* fix: More information when peerId proto is not found
* changeset
2023-04-04 07:10:34 -07:00
adityapk00
9e39bb8156
docs: update docs to close() grpc connection ( #790 )
...
* docs: Update docs to close grpc connections
* changeset
2023-04-04 07:07:10 -07:00
adityapk00
54dbf42fb5
fix: End iterator if returning early from forEachMessage ( #800 )
2023-04-04 07:06:12 -07:00
PangZhi
da9cf2939a
fix codecov.yml ( #806 )
2023-04-03 21:29:33 -07:00
PangZhi
d6d22e9011
chore: set codecov to ignore generated files ( #805 )
2023-04-03 21:12:09 -07:00
Paul Fletcher-Hill
a55fb80c34
feat: add validate or revoke messages cleanup job ( #801 )
...
* add validate or revoke messages cleanup job
* make validateMessage private again
2023-04-03 19:30:20 -04:00
Paul Fletcher-Hill
7c9ca5aac0
add farcaster version and check version job ( #795 )
2023-04-03 17:56:21 -04:00
PangZhi
3ac5315fd5
feat: add hub-web package to only depend on grpc-web ( #797 )
...
* add new hub-web package and generate code from grpc-web
* expose RpcWebClient
* add envoy support
* update readme and changelog
* add changeset
* move envoy to apps/hubble and fix service name
* reduce the code generation from protoc to only rpc.proto
2023-04-03 11:35:08 -07:00
adityapk00
d0239f8e53
fix: Retry bootstrap nodes if they fail to connect at startup ( #794 )
...
* fix: Retry bootstrap nodes if they fail to connect at startup
* changeset
2023-03-31 11:35:21 -07:00
adityapk00
564f61e2f0
fix: Fetch missing IdRegistry from the contract instead of the peer ( #792 )
...
* fix: Fetch missing IdRegistry from the contract instead of the peer
* changeset
2023-03-31 09:19:24 -07:00
Paul Fletcher-Hill
142f3f52c2
add getIdRegistryEventByAddress method ( #791 )
2023-03-31 12:10:34 -04:00
adityapk00
b9643b210e
fix: Sync was sometimes off by 1 ( #780 )
...
* fix: Sync was sometimes off by 1
* changeset
2023-03-30 15:35:35 -07:00
adityapk00
e900d010ee
Release v1.0.19 of hubble ( #789 )
@farcaster/hubble@1.0.19
2023-03-30 13:06:00 -07:00
adityapk00
9ee10769c2
fix: Improve RPC error messages ( #788 )
2023-03-30 11:23:36 -07:00
adityapk00
1f3286538d
fix: Missed a check if previous PR ( #786 )
2023-03-29 19:47:16 -07:00
adityapk00
fe74a1e5f4
handle errors ( #785 )
...
* handle errors
* changeset
2023-03-29 19:38:39 -07:00
adityapk00
4a77060597
fix: allow multiple passwords for a rpc user ( #784 )
2023-03-29 19:14:47 -07:00
adityapk00
64df474646
fix: Make sure there are no duplicate rpc usernames ( #783 )
2023-03-29 14:26:58 -07:00
adityapk00
1025d3b38b
fix: Support multiple RPC usernames ( #782 )
2023-03-29 14:14:24 -07:00
adityapk00
28f197624b
chore: shift timing of sync job ( #781 )
2023-03-29 10:18:03 -07:00
Varun Srinivasan
dbc230c173
docs: update to reflect hub-monorepo name change ( #779 )
2023-03-28 19:30:06 -07:00
Paul Fletcher-Hill
ce8c58520d
feat: revoke UserDataAdd for fname when fid transfers ( #778 )
...
* revoke UserDataAdd for fname when fid transfers
* update comment to clarify both signeradd and signerremove messages
2023-03-28 13:14:40 -04:00
adityapk00
de25020560
fix: Refuse to startup if DB is mismatched ( #774 )
...
* fix: Refuse to startup if DB is mismatched
Fixed #771
* forgot file
2023-03-28 06:59:48 -07:00
adityapk00
58cfbb9b33
fix: Have gossip node listen on 0.0.0.0 by default ( #770 )
...
* fix: Have gossip node listen on 0.0.0.0 by default
* changeset
2023-03-28 06:48:56 -07:00