@types/k6 0.39.1 → 0.41.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.
Files changed (4) hide show
  1. k6/README.md +1 -1
  2. k6/index.d.ts +2 -2
  3. k6/net/grpc.d.ts +7 -0
  4. k6/package.json +2 -2
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: Thu, 08 Sep 2022 10:02:37 GMT
11
+ * Last updated: Thu, 03 Nov 2022 14:32:55 GMT
12
12
  * Dependencies: none
13
13
  * Global values: none
14
14
 
k6/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for k6 0.39
1
+ // Type definitions for k6 0.41
2
2
  // Project: https://k6.io/docs/
3
3
  // Definitions by: na-- <https://github.com/na-->
4
4
  // Mihail Stoykov <https://github.com/MStoykov>
@@ -8,7 +8,7 @@
8
8
  // Pepe Cano <https://github.com/ppcano>
9
9
  // Nicole van der Hoeven <https://github.com/nicolevanderhoeven>
10
10
  // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
11
- // TypeScript Version: 3.4
11
+ // TypeScript Version: 3.9
12
12
 
13
13
  /**
14
14
  * k6 JavaScript API.
k6/net/grpc.d.ts CHANGED
@@ -22,6 +22,10 @@ export interface ConnectParams {
22
22
  reflect?: boolean;
23
23
 
24
24
  timeout?: string | number;
25
+
26
+ maxReceiveSize?: number;
27
+
28
+ maxSendSize?: number;
25
29
  }
26
30
 
27
31
  export interface Params {
@@ -57,6 +61,9 @@ declare namespace grpc {
57
61
  /** Loads and parses the protocol buffer descriptors. */
58
62
  load(importPaths: string[], ...protoFiles: string[]): void;
59
63
 
64
+ /** Loads a protoset and parses the protocol buffer descriptors */
65
+ loadProtoset(protosetPath: string): void;
66
+
60
67
  /** Invokes an unary RPC request. */
61
68
  invoke(url: string, request: object, params?: Params): Response;
62
69
 
k6/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/k6",
3
- "version": "0.39.1",
3
+ "version": "0.41.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": "a50052e283279ba370df2b7199491d32ef165fc6be88428aabf4df78fb04e768",
53
+ "typesPublisherContentHash": "623e25848b2cb5c033b811abcdec10262a661310553614b82b48c1e57e36a736",
54
54
  "typeScriptVersion": "4.1"
55
55
  }