@types/k6 0.34.3 → 0.35.0
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.
- k6/README.md +1 -1
- k6/execution.d.ts +5 -0
- k6/index.d.ts +1 -1
- k6/net/grpc.d.ts +2 -0
- k6/package.json +3 -3
- k6/ws.d.ts +14 -0
k6/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for k6 (https://k6.io/docs/).
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/k6.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Fri, 19 Nov 2021 11:31:03 GMT
|
|
12
12
|
* Dependencies: none
|
|
13
13
|
* Global values: none
|
|
14
14
|
|
k6/execution.d.ts
CHANGED
k6/index.d.ts
CHANGED
k6/net/grpc.d.ts
CHANGED
k6/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/k6",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.0",
|
|
4
4
|
"description": "TypeScript definitions for k6",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/k6",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,6 +50,6 @@
|
|
|
50
50
|
},
|
|
51
51
|
"scripts": {},
|
|
52
52
|
"dependencies": {},
|
|
53
|
-
"typesPublisherContentHash": "
|
|
54
|
-
"typeScriptVersion": "3.
|
|
53
|
+
"typesPublisherContentHash": "6e94c52e747382ab482c003ea305081f26e684ea00348c7a0ee4b3083774f3d3",
|
|
54
|
+
"typeScriptVersion": "3.8"
|
|
55
55
|
}
|
k6/ws.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { CookieJar } from './http';
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Open WebSocket connection.
|
|
3
5
|
* https://k6.io/docs/javascript-api/k6-ws/connect-url-params-callback/
|
|
@@ -41,8 +43,20 @@ export interface Params {
|
|
|
41
43
|
/** Request headers. */
|
|
42
44
|
headers?: { [name: string]: string };
|
|
43
45
|
|
|
46
|
+
/**
|
|
47
|
+
* Compression algorithm. The only supported algorithm is `deflate`.
|
|
48
|
+
* If the option is left unset or empty, it defaults to no compression.
|
|
49
|
+
*/
|
|
50
|
+
compression?: string;
|
|
51
|
+
|
|
44
52
|
/** Response time metric tags. */
|
|
45
53
|
tags?: { [name: string]: string };
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The cookie jar that will be used when making the initial HTTP request to establish the WebSocket connection.
|
|
57
|
+
* If empty, the default VU cookie jar will be used.
|
|
58
|
+
*/
|
|
59
|
+
jar?: CookieJar;
|
|
46
60
|
}
|
|
47
61
|
|
|
48
62
|
/**
|