Merging this PR will release new versions of the following packages based on your change files.
@simulacrum/foundation-simulator
[0.2.0]
New Features
ab1c616 All routes now add a log to the simulation state on every visit. This assists in tracking hits on each simulation route.
ad2dbc9 To improve transparency and flexibility, we now include a page at the root that lists all of the routes, and the ability to signal which response to return.
f20a3a6 (#283) We now support serving a directly of JSON files through file path routing. Use serveJsonFiles to specify the folder which contains the files to serve.
Enhancements
209ffa5 Add API to configure a delay of all responses with a set interval. Using this in a simulator would enable a feel closer to a real external endpoint.
e9c7fed Add option the proxy to real API and save JSON responses in ./src/serve directory.
Version Updates
Merging this PR will release new versions of the following packages based on your change files.
@simulacrum/foundation-simulator
[0.2.0]
New Features
ab1c616 All routes now add a log to the simulation state on every visit. This assists in tracking hits on each simulation route.
ad2dbc9 To improve transparency and flexibility, we now include a page at the root that lists all of the routes, and the ability to signal which response to return.
f20a3a6 (#283) We now support serving a directly of JSON files through file path routing. Use
serveJsonFiles
to specify the folder which contains the files to serve.Enhancements
209ffa5 Add API to configure a delay of all responses with a set interval. Using this in a simulator would enable a feel closer to a real external endpoint.
e9c7fed Add option the proxy to real API and save JSON responses in
./src/serve
directory.