@types/k6 0.45.1 → 0.45.2

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 (3) hide show
  1. k6/README.md +1 -1
  2. k6/index.d.ts +9 -0
  3. 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, 03 Aug 2023 10:32:49 GMT
11
+ * Last updated: Wed, 09 Aug 2023 21:02:51 GMT
12
12
  * Dependencies: none
13
13
  * Global values: none
14
14
 
k6/index.d.ts CHANGED
@@ -94,6 +94,15 @@ export function fail(err?: string): never;
94
94
  */
95
95
  export function group<RT>(name: string, fn: () => RT): RT;
96
96
 
97
+ /**
98
+ * Set seed to get a reproducible pseudo-random number using Math.random.
99
+ * https://k6.io/docs/javascript-api/k6/randomseed/
100
+ * @param int - The seed value.
101
+ * @example
102
+ * randomSeed(123456789);
103
+ */
104
+ export function randomseed(int: number): void;
105
+
97
106
  /**
98
107
  * Suspend VU execution for the specified duration.
99
108
  * https://k6.io/docs/javascript-api/k6/sleep-t/
k6/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/k6",
3
- "version": "0.45.1",
3
+ "version": "0.45.2",
4
4
  "description": "TypeScript definitions for k6",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/k6",
6
6
  "license": "MIT",
@@ -60,6 +60,6 @@
60
60
  },
61
61
  "scripts": {},
62
62
  "dependencies": {},
63
- "typesPublisherContentHash": "8c673ad1e0d421c8e8a0e61e19b53e64f4a57f91fc024601b5db8bc5742e7d73",
63
+ "typesPublisherContentHash": "92c632f3fe1de47b5cec0048fe136df4d6f4f41ced7636f993826d78fac18d0d",
64
64
  "typeScriptVersion": "4.3"
65
65
  }