Commit Graph

29 Commits

Author SHA1 Message Date
Sanjay
4fa7a56153 Rename UserDataType.FNAME to USERNAME (#1108) 2023-07-11 17:16:53 -07:00
Tony D'Addeo
bfdbfea6b0 chore: use viem in @farcaster/core (#1037)
* chore: use viem instead of ethers

* add changeset

* remove more ethers usages

* move ethers to dev dependecy

* add signUserNameProof to Eip712Signer

* expand test coverage

* update changeset

* add makeUserNameProofClaim

* prefer @noble/hashes/utils in examples
2023-06-26 11:27:13 -05:00
omahs
0a7e040f41 chore: fix typos in documentation (#1016) 2023-06-14 07:41:04 +01:00
Meyanis95
181e676a3e Update Messages.md (#992)
Fixed a typo.
2023-05-24 14:25:11 -07:00
Vincent Liao
77b5873b43 docs: update client to use waitForReady pattern (#922)
* docs: update client to use waitForReady pattern

* update: revert waitForReady for hub-web
2023-05-09 08:22:13 -05:00
Vincent Liao
3be37fe8c0 docs: add error code in Utils.md (#773) 2023-04-12 06:20:56 -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
Varun Srinivasan
2f51472cca docs(hub-nodejs): point urls to testnet hubs (#764) 2023-03-27 12:28:42 -07:00
adityapk00
e5cb3276c5 docs: Use SSL or Insecure clients in examples (#754)
* docs: Use SSL or Insecure clients in examples

* remove unnecessary awaits

* Remove getHubRpcClient

* changeset

* Fix changeset

* improve error message
2023-03-25 13:20:07 -07:00
Vincent Liao
f42e8a262b docs(hub-nodejs): add docs for utils.md (#736)
* docs: add bytes-hex docs

* add: timestamp docs

* docs: verification table, params and return

* docs: add hubresult wrapper type

* docs: clarify some examples, address nit

* update: s/hexString/byteArray

* docs: add import to toFarcasterTime
2023-03-23 22:13:52 -07:00
Varun Srinivasan
627416746b docs(hub-nodejs): fix parentCastId of CastAdd incorrectly labelled (#745) 2023-03-23 19:32:17 -07:00
Varun Srinivasan
fd9314afea docs(hub-nodejs): more cleanups and fixes (#734)
* docs: clearly document unsafeUnwrap usage in docs

* docs: replace all instances of Buffer.from with hexStringToBytes

* docs: fix DataOptions links
2023-03-23 14:39:17 -07:00
Varun Srinivasan
1b5f6b2c1f docs(hub-nodejs): more cleanup based on user testing (#743)
* docs(hub-nodejs): fix incorrect submitMessage signature

* docs: fix broken links in examples

* docs: fix relative links not working on npm

* docs: fix stackblitz link for chron-feed

* chore: add changeset
2023-03-23 14:37:58 -07:00
Varun Srinivasan
24519c5217 docs(hub-nodejs): small cleanups and improvements (#732)
* docs: update RPC port to 2283

* docs: add note about submitMessage rate limits

* docs: converting Message to specific types
2023-03-22 22:17:14 -07:00
Varun Srinivasan
1df9cd6bac docs(hub-nodejs): add examples for constructing casts (#731)
* docs: make configurable parameters in examples clearer

* docs: add example for constructing casts
2023-03-22 21:50:53 -07:00
Anthony D'Addeo
91b788d78f feat: add EthersV5Eip712Signer (#720) 2023-03-22 16:17:24 -05:00
Varun Srinivasan
9138b5226a docs(hub-nodejs): add docs for reverse param (#711)
* docs(hub-nodejs): fix chron-feed example to return in reverse chron

* docs(hub-nodejs): add docs for reverse param
2023-03-21 09:18:43 -07:00
Varun Srinivasan
5dfbd1c572 docs: configuration for use with ethersv5 (#709) 2023-03-20 20:57:47 -07:00
Anthony D'Addeo
245096f1ca docs: minor adjustments to signer related docs (#702)
* docs: minor adjustments to signer related docs

* fix typo

* fix: use bytes
2023-03-20 18:25:59 -05:00
Varun Srinivasan
b8eaa9a857 docs(hub-nodejs): update invocations to match 0.5.0 release, fix minor typos (#701)
* docs: fix all instances of types imports

* docs: fix issues with EthersEip712Signers

* docs: fix issues with NobleEd25519Signer

* docs: fix issues with Builders and Utils

* docs: cleanup primary README example
2023-03-20 15:34:27 -07:00
David Furlong
c459855337 docs: fix broken signer doc links in builders (#694)
* Update Builders.md

* add changeset and links to Eip712Signer as well

---------

Co-authored-by: Tony D'Addeo <tony@merklemanufactory.com>
2023-03-20 14:14:15 -05:00
Varun Srinivasan
c503d19eb2 docs: add documentation for userdata, verifications and streaming services (#687)
* docs: add getUserData usage

* docs: add docs for verifications

* docs: add docs for streaming
2023-03-19 16:53:40 -07:00
Anthony D'Addeo
99518efe30 refactor: introduce generic and dependency specific signers (#677)
* refactor: update ethers to v6.1 from v5.7

* refactor: generic signer classes

* remove neverthrow from crypto and signers

* update docs

* rm signer util fns

* add comment to getSignerKey

* rm not present methods from signers

* fix doc

* fix docs

* simplify Eip712Factory

* add changeset

---------

Co-authored-by: Varun Srinivasan <varunsrin@gmail.com>
2023-03-19 12:44:32 -05:00
Varun Srinivasan
1f202ed555 docs(hub-nodejs): add documentation for pagination, responses (#680)
* docs: fix makeVerificationRemove and dataOptions in builders

* docs: simplify main example, fix typo

* docs: add pagination documentation
2023-03-19 10:05:12 -07:00
Anthony D'Addeo
614720c246 docs: minor doc fixes (#662) 2023-03-18 21:27:15 -07:00
Varun Srinivasan
59920f9716 refactor: update ethers to v6.1 from v5.7 (#670) 2023-03-18 17:38:17 -07:00
Anthony D'Addeo
86c00f5326 refactor: simplify Eip712Signer interface (#673)
* refactor: simplify Eip712Signer interface

* add changeset
2023-03-18 14:55:09 -05:00
Varun Srinivasan
046cb77681 docs(hub-nodejs): improve docs based on feedback (#664)
* fix: typo in VerificationAddEthAddress

* fix: address and hash types should be Uint8Array not string

* docs: SignerBody is now SignerAddBody or SignerRemoveBody

* docs: clarify MessageData structure

* docs: placeholders for utils

* docs: replace stub data with better defaults

* docs: making verification messages
2023-03-16 21:25:25 -07:00
Varun Srinivasan
a74ecb2097 refactor(farcaster/hub-nodejs): rename farcaster/js to farcaster/hub-nodejs (#658)
* refactor: rename farcaster/js to farcaster/hub-nodejs

* chore: add changeset
2023-03-16 13:08:05 -07:00