Commit Graph

592 Commits

Author SHA1 Message Date
github-actions[bot]
3be3a3842e version packages (#875)
Co-authored-by: Paul Fletcher-Hill <pfletcherhill@gmail.com>
@farcaster/hub-web@0.2.5
2023-04-14 11:58:16 -04:00
Paul Fletcher-Hill
ee953ec4ad fix: examples and patch hub-web to use grpc-web default export (#867)
* fix chron-feed example

* update chron-feed example

* intermediate commit

* add chron-feed hub-web example

* add changeset

* remove commented out imports from example
2023-04-14 11:16:21 -04:00
Paul Fletcher-Hill
59ea2f9d42 add release-all script (#871) 2023-04-13 00:10:07 -04:00
Paul Fletcher-Hill
31fcb95f12 chore: add release.yml github action (#870)
* add release-hubble workflow

* rename release
2023-04-12 23:44:41 -04:00
Paul Fletcher-Hill
8a7e781fae changeset version hubble v1.1.0 (#869) @farcaster/hubble@1.1.0 2023-04-12 21:31:11 -04:00
Sanjay
34fe54f3cc feat: Include network id in gossip topics to keep networks isolated (#861)
* chore: cleaner logging when ignoring peers

* feat: Include network id in gossip topics to keep peers homogeneous

* Add changeset
2023-04-12 16:27:14 -07:00
Sanjay
c5c0d98247 chore: Add mainnet peer for sanjay (#868) 2023-04-12 15:04:01 -07:00
Sanjay
8758ef2e1a chore: log sync status for better visibility (#865)
* fix: log sync status for better visibility

* Add peer version and network to sync status logs
2023-04-12 14:05:15 -07:00
Varun Srinivasan
eba6c749de fix: label new issues with triage (#866) 2023-04-12 08:25:39 -07:00
Satyajeet Pal
f89fe7f982 docs: update examples for making casts and writing data (#834) 2023-04-12 06:25:01 -07:00
Vincent Liao
3be37fe8c0 docs: add error code in Utils.md (#773) 2023-04-12 06:20:56 -07:00
Greg Skriloff
9cdb60a8fb docs: Correct steps to reset db in hubble readme (#848) 2023-04-12 06:18:30 -07:00
Paul Fletcher-Hill
ccc6c54261 add on to release-packages workflow (#864) 2023-04-11 22:48:04 -04:00
Paul Fletcher-Hill
39387aa702 add release-packages workflow (#862) 2023-04-11 22:28:54 -04:00
Varun Srinivasan
503740d25a chore: add peer ids for trusted mainnet hubs from users (#858) 2023-04-11 15:29:42 -07:00
Paul Fletcher-Hill
d25b7038b6 changeset version @farcaster/hub-web (#859) 2023-04-11 17:58:18 -04:00
Paul Fletcher-Hill
932f0ef392 chore: add hub-web docs (#857) 2023-04-11 14:09:39 -04:00
Paul Fletcher-Hill
6e5449acb2 fix: do not change observable stream in grpc-web client (#856)
* do not change observable stream in grpc-web client

* add changeset
2023-04-11 13:31:18 -04:00
adityapk00
0a3b09c960 Killstream (#843)
* fix: Kill streams if client is not responding

* end iterator

* log error and return error with destroy

---------

Co-authored-by: Paul Fletcher-Hill <pfletcherhill@gmail.com>
2023-04-10 19:46:24 -04:00
Paul Fletcher-Hill
1c6838ac7b upgrade turbo and add protoc command (#853) 2023-04-10 18:56:04 -04:00
Varun Srinivasan
8f01e2312a ci: auto-label all new issues with s-triage (#854) 2023-04-10 13:59:07 -07:00
Sanjay
31d8917f66 feat: make commit lock queue size and timeout configurable (#830)
* feat: make commit lock queue size and timeout configurable

* Add changeset

* make StorageCache a child of StoreEventHandler

---------

Co-authored-by: Paul Fletcher-Hill <pfletcherhill@gmail.com>
2023-04-10 15:17:22 -04:00
Sanjay
562b9639b1 chore: Add test to ensure verification and claim must have same network (#836)
* chore: Add test to ensure verification and claim must have same network

* cleanup
2023-04-10 09:58:14 -07:00
adityapk00
a3b0d098ec chore: Check in mainnet allowed peers (#844)
* chore: Check in mainnet allowed peers

* changeset
2023-04-07 12:42:42 -07:00
Paul Fletcher-Hill
9e3ca99b19 minor fix to root readme (#842) 2023-04-07 15:05:00 -04:00
adityapk00
25c768d943 fix: Hangup on peers when removing from address book (#841)
* fix: Hangup on peers while removing from address book.

* changeset

* test disconnect both ways

* sleep
2023-04-07 10:38:21 -07:00
adityapk00
0fbbbccf24 fix: Make dbreset its own command (#838) 2023-04-07 07:59:01 -07:00
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