@types/k6 0.45.2 → 0.45.3

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/experimental/grpc.d.ts +4 -5
  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: Wed, 09 Aug 2023 21:02:51 GMT
11
+ * Last updated: Fri, 11 Aug 2023 14:02:47 GMT
12
12
  * Dependencies: none
13
13
  * Global values: none
14
14
 
k6/experimental/grpc.d.ts CHANGED
@@ -81,22 +81,21 @@ declare namespace grpc {
81
81
  * StreamEvent describes the possible events that can be emitted
82
82
  * by a gRPC stream.
83
83
  */
84
- enum StreamEvent {
84
+ type StreamEvent =
85
85
  /**
86
86
  * Event fired when data has been received from the server.
87
87
  */
88
- Data = 'data',
88
+ | 'data'
89
89
 
90
90
  /**
91
91
  * Event fired when a stream has been closed due to an error.
92
92
  */
93
- Error = 'error',
93
+ | 'error'
94
94
 
95
95
  /**
96
96
  * Event fired when the stream closes.
97
97
  */
98
- End = 'end',
99
- }
98
+ | 'end';
100
99
 
101
100
  /**
102
101
  * Stream allows you to use streaming RPCs.
k6/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/k6",
3
- "version": "0.45.2",
3
+ "version": "0.45.3",
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": "92c632f3fe1de47b5cec0048fe136df4d6f4f41ced7636f993826d78fac18d0d",
63
+ "typesPublisherContentHash": "b3b59581a7308fe9704f1cce58b5d7860ca71b2ba3f39fb1d4c9c1b04a69ae73",
64
64
  "typeScriptVersion": "4.3"
65
65
  }