Skip to content

Commit 3fa871d

Browse files
committed
version bump to v0.4.0
1 parent 18e39b2 commit 3fa871d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ A simple HTTP server that can be used to mock HTTP responses for testing purpose
1111

1212
# Features
1313
* All the features of [httpbin](https://httpbin.org/)
14-
* CORS and Helmet support
15-
* Built with `nodejs` and `fastify`
14+
* `@fastify/helmet` built in by default
15+
* Built with `nodejs`, `typescript`, and `fastify`
1616
* Deploy via `docker` or `nodejs`
1717
* Global deployment via [mockhttp.org](https://mockhttp.org) (free service)
1818
* Better API documentation and examples
@@ -33,7 +33,7 @@ then run `mockhttp` in your code.
3333
```javascript
3434
import { mockhttp } from '@jaredwray/mockhttp';
3535
await mockhttp.start(); // start the server
36-
const response = await fetch('http://localhost:8080/ip');
36+
const response = await fetch('http://localhost:3000/get');
3737
await mockhttp.stop(); // stop the server
3838
```
3939

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jaredwray/mockhttp",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"description": "Mock Http - Easy way to mock http with httpbin replacement",
55
"type": "module",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)