mswjs / http-middleware

Spawn an HTTP server from your request handlers or apply them to an existing server using a middleware.
https://npm.im/@mswjs/http-middleware
107 stars 13 forks source link

update msw to 0.40.2 and use onPassthroughResponse #10

Closed yshrsmz closed 2 years ago

yshrsmz commented 2 years ago

https://github.com/mswjs/msw/pull/1204 renamed onBypassResponse to onPassthroughResponse, and this freezes in my app.

This PR updates msw to 0.40.2 and renamed the method.

yshrsmz commented 2 years ago

@kettanaito hi, can you publish a new release?

kettanaito commented 2 years ago

@yshrsmz, do you mind helping me set up release automation for this repo?

You can use this pull request as a reference. The setup should be pretty much copy-pastable.

yshrsmz commented 2 years ago

@kettanaito Sure, will send a PR!