mockaton 8.12.3 → 8.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -361,7 +361,7 @@ Defaults to `0`, which means auto-assigned
361
361
 
362
362
  ### `delay?: number`
363
363
  Defaults to `1200` milliseconds. Although routes can individually be delayed
364
- with the 🕓 checkbox, the delay amount is globally configurable with option.
364
+ with the 🕓 Checkbox, the amount is globally configurable with this option.
365
365
 
366
366
  <br/>
367
367
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "mockaton",
3
- "description": "A deterministic server-side for developing and testing APIs",
3
+ "description": "HTTP Mock Server",
4
4
  "type": "module",
5
- "version": "8.12.3",
5
+ "version": "8.12.4",
6
6
  "main": "index.js",
7
7
  "types": "index.d.ts",
8
8
  "license": "MIT",
package/TODO.md DELETED
@@ -1,11 +0,0 @@
1
- # TODO
2
-
3
- - Refactor tests
4
- - Group By Route/Method localstorage
5
- - openapi
6
- - parsing it for examples?
7
- - displaying documentation (.openapi)
8
- - perhaps instead using .js functions `export const doc`
9
- - Preserve focus when refreshing dashboard `init()`
10
- - More real-time updates. Currently, it's only for add/remove mock but not for
11
- static files and changes from another client (Browser, or Commander).
package/dev-mockaton.js DELETED
@@ -1,17 +0,0 @@
1
- import { join } from 'node:path'
2
- import { Mockaton, jwtCookie } from './index.js'
3
-
4
-
5
- Mockaton({
6
- port: 2345,
7
- mocksDir: join(import.meta.dirname, 'fixtures-mocks'),
8
- staticDir: join(import.meta.dirname, 'fixtures-static-mocks'),
9
- cookies: {
10
- 'My Admin User': 'my-cookie=1;Path=/;SameSite=strict',
11
- 'My Normal User': 'my-cookie=0;Path=/;SameSite=strict',
12
- 'My JWT': jwtCookie('my-cookie', {
13
- email: 'john.doe@example.com',
14
- picture: 'https://cdn.auth0.com/avatars/jd.png'
15
- })
16
- }
17
- })