* 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>
* chore: update all devDependencies to the latest versions
* chore: update @noble/hashes to 1.3.0
* chore: update @swc/core to 1.3.41
* chore: update @noble/ed25519 by a patch version
* chore: update ts-proto and eslint/parser dev deps
* chore: upgrade pino minor version
* chore: upgrade tsx minor version
* chore: add changeset
* fix: relative path on hubble docs not resolving to contributing.md
* add: initial table structure of the docs
* remove: link on first column
* add: docs/Ed25519Signer.md
* fix: wrong links in Ed25519Signer.md
* fix: wrong link again
* add: constructor to ed25519signer.md
* add docs/Eip712Signer.md
* update: replace ambiguous description with TODO
* update: code example on readme
* add: a comment about neverthrow
* add: js docs to interact with hub
* update: wrong import on docs
* remove: make Data and Amp functions
* update: clarify the eddsa private key part
* update: move signer docs to readme
* update: readme table
* fix: wrong path
* add: docs for eip signer but in js
* remove: ambiguous descriptions
* add: doc generation with TypeDoc
* add: docs for ed25519 signer
* update: build first before running docs
* update: only use packages/js for typedoc entrypoint
* remove: function name in tsdoc comments
* update: move examples up for clarity
* add: typedoc.json
* add: description for properties of signers
* update: link to classes in readme
* update: move make message explanation above
* remove: ambiguous description in readme
* add: a line in contributing.md about generating docs for packages/*
* remove: old docs
* update: recompiled docs and add plugin on typedoc.json
* add: description to sign verification
Co-authored-by: Anthony D'Addeo <tony@tavour.com>
* update: use yarn instead of npm
Co-authored-by: Anthony D'Addeo <tony@tavour.com>
* update: disable typedoc source
* update: contributing.md packages/* to packages/js
* update: TODO to TODO DOCS
* fix: eip712 signer not rendering properly
* add: docs to message builders
* add: docs to client
---------
Co-authored-by: Anthony D'Addeo <tony@tavour.com>
Our previous attempts to fix the build in 50cfacd5 and 1c932091 didn't
work because we had a locally cached layer which lead to an older
version of Turbo being used, which didn't suffer from this bug.
The workaround (for now) is to pin to 1.7.0 explicitly when installing
`turbo` in the Docker build step (which previously wasn't using the
version listed in `package.json`).
We need this update to fix an issue with our builds that occurs on
GitHub Actions only (cannot repro locally).
Based on [this
issue](https://github.com/vercel/turbo/issues/3570#issuecomment-1413350084),
this should be fixed in 1.7.3, but since that release is not available,
we'll use the canary for now.
* consolidate packages into utils
* refactor to use @hub/utils
* add more tsHash constraints and tests
* fix package dependencies
* set signerKeyHex with fixed sizes
* move grpc definitions and client to packages
* split syncService in two based on dependencies
* refactor sync client methods to use makeUnaryRequest
* Remove @hub/grpc test script
* support sizing hex string in bytesToHexString
* feat: configure turborepo to run tasks
* refactor: set up app/ workspace
* fix: move tsconfig up and inherit
* fix: update turborepo
* refactor: extract flatbuffers to package
* fix: ci by using symlink instead of yalc
* refactor: extract eslint config
* ci: add manypkg to catch package issues
* security: remove manypkg due to yarn audit fail
* fix: misc changes
* refactor: move config into hub
* fix: export as module
* remove: manypkg postinstall
* feat: add RevokeSignerJob class and queue signer revocation from hub
* remove commented out line in test
* split job queue and scheduler into separate classes
* revert ethEventsProvider little endian change
* cleanup revokeSignerJob test
* ignore generated flatbuffer files with jest
* upgrade: typescript to 4.9
* upgrade: minor versions for tsx, prettier, jest, lint-staged, eslint, pino
* upgrade: minor versions for flatbuffers, undici
* upgrade: patch versions for husky, node and jest types
* upgrade: major version of neverthrow
* upgrade: grpc minor version
* feat: initial grpc commit
* refactor RPC cast service into own file
* add failure test to rpc castservice
* remove out-of-date test suite
* resolve merge conflicts
* refactor rpc, engine, validation to results and hubErrors
* fix: lint warnings
* fix server.ts for new hub error codes
* use HubError now that stores throw them
* improve engine test coverage
* feat: trie snapshots
* feat: implement differential sync for messages
* Handle reaction race condition and syncing id registry events
* cleanup and add more tests
* fix: add more tests around syncing and fix uncovered bugs
* Address review comments. Minor cleanup.
* move TrieNode to own file and additional cleanup/review comments