go-mokapi 0.9.6 → 0.9.10

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
@@ -20,7 +20,7 @@ Its core feature are:
20
20
  - **Everything as Code**: Reusing, version control, consistency and integrate mocks with your CI/CD.
21
21
  - **An embedded JavaScript engine** to control everything - status, headers, delays, errors or other edge cases.
22
22
  - **Patch Configuration** changes for mocking needs, rather than changing the original contract
23
- - **Multiple Provider support**: File, HTTP, GIT to gather configurations and scripts.
23
+ - **Multiple Provider support**: File, HTTP, GIT, NPM to gather configurations and scripts.
24
24
  - **Dashboard** to see what's going on.
25
25
 
26
26
  ## Example
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "go-mokapi",
3
- "version": "0.9.6",
3
+ "version": "0.9.10",
4
4
  "description": "Easy and flexible API mocking",
5
5
  "homepage": "https://mokapi.io",
6
6
  "repository": {
package/types/http.d.ts CHANGED
@@ -9,7 +9,7 @@ declare module 'mokapi/http' {
9
9
  }
10
10
 
11
11
  declare interface Args {
12
- header?: { [name: string]: any };
12
+ headers?: { [name: string]: any };
13
13
  }
14
14
 
15
15
  declare interface Response {
package/types/kafka.d.ts CHANGED
@@ -27,7 +27,7 @@ declare interface KafkaRecord {
27
27
  time: number
28
28
  key: number[]
29
29
  value: number[]
30
- headers: KafkaHeader[]
30
+ headers: { [name: string]: string }
31
31
  }
32
32
 
33
33
  declare interface KafkaHeader {