Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: timeout option for http and webSocket #79

Merged
merged 5 commits into from
Feb 20, 2023
Merged

Conversation

jxom
Copy link
Member

@jxom jxom commented Feb 19, 2023

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Feb 19, 2023

🦋 Changeset detected

Latest commit: 29068ce

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jxom jxom requested a review from tmm February 19, 2023 23:43
@vercel
Copy link

vercel bot commented Feb 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
viem-playground ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 20, 2023 at 8:05PM (UTC)
viem-site ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 20, 2023 at 8:05PM (UTC)

@github-actions
Copy link
Contributor

github-actions bot commented Feb 19, 2023

Size Change: +2.69 kB (+7%) 🔍

Total Size: 40.1 kB

Filename Size Change
dist/chains.js 1.3 kB -1 B (0%)
dist/chunk-B62T3JVI.js 0 B -5.56 kB (removed) 🏆
dist/chunk-H72MYFBM.js 0 B -21 kB (removed) 🏆
dist/chunk-RMZRFWG5.js 0 B -1.63 kB (removed) 🏆
dist/contract.js 476 B +16 B (+3%)
dist/ens.js 354 B -1.44 kB (-80%) 🏆
dist/index.js 4.33 kB +1.64 kB (+61%) 🆘
dist/public.js 470 B +4 B (+1%)
dist/test.js 519 B -855 B (-62%) 🏆
dist/utils/index.js 869 B +1 B (0%)
dist/chunk-DY3XJJJ5.js 5.75 kB +5.75 kB (new file) 🆕
dist/chunk-GLOE6UMB.js 1.38 kB +1.38 kB (new file) 🆕
dist/chunk-JICEZHR4.js 1.63 kB +1.63 kB (new file) 🆕
dist/chunk-NP4DYLWE.js 1.72 kB +1.72 kB (new file) 🆕
dist/chunk-OVLULUFY.js 21 kB +21 kB (new file) 🆕
ℹ️ View Unchanged
Filename Size
dist/wallet.js 295 B
dist/window.js 67 B

compressed-size-action

@@ -12,6 +12,8 @@ export type HttpTransportConfig = {
retryCount?: TransportConfig['retryCount']
/** The base delay (in ms) between retries. */
retryDelay?: TransportConfig['retryDelay']
/** The timeout (in ms) for the HTTP request. Default: 10_000 */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we toss a @default in here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh true

jxom and others added 3 commits February 21, 2023 07:02
* feat: decode event log topics & data

* docs: createContractEventFilter

* pr review
* feat: fall back to getLogs if filters are not supported

* Update src/actions/public/watchContractEvent.test.ts

Co-authored-by: awkweb <[email protected]>

* pr review

---------

Co-authored-by: awkweb <[email protected]>
* feat: fall back to getLogs if filters are not supported

* Update src/actions/public/watchContractEvent.test.ts

Co-authored-by: awkweb <[email protected]>

* pr review

* feat: decode event log topics & data

* wip: public

* wip: add ens

* docs: public actions

* wip: wallet actions

* docs: wallet actions

* wip: test actions

* wip: add utils to main entrypoint

* tests: add tests

* playgrounds: update

* chore: changeset

* test

* refactor: wire up decorator generics

* fix conflicts

* format

---------

Co-authored-by: awkweb <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants