@mongosh/types 1.4.1 → 1.5.1

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/AUTHORS CHANGED
@@ -4,3 +4,4 @@ github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4
4
  Michael Rose <michael_rose@gmx.de>
5
5
  Alena Khineika <alena.khineika@gmail.com>
6
6
  Sergey Petushkov <petushkov.sergey@gmail.com>
7
+ Le Roux Bodenstein <lerouxb@gmail.com>
package/lib/index.d.ts CHANGED
@@ -64,13 +64,13 @@ export interface GlobalConfigFileLoadEvent {
64
64
  filename: string;
65
65
  found: boolean;
66
66
  }
67
- export interface CSFLELibrarySkipEvent {
68
- csflePath: string;
67
+ export interface CryptLibrarySkipEvent {
68
+ cryptSharedLibPath: string;
69
69
  reason: string;
70
70
  details?: any;
71
71
  }
72
- export interface CSFLELibraryFoundEvent {
73
- csflePath: string;
72
+ export interface CryptLibraryFoundEvent {
73
+ cryptSharedLibPath: string;
74
74
  expectedVersion: {
75
75
  versionStr: string;
76
76
  };
@@ -166,8 +166,8 @@ export interface MongoshBusEventsMap extends ConnectEventMap {
166
166
  'mongosh:mongoshrc-mongorc-warn': () => void;
167
167
  'mongosh:eval-cli-script': () => void;
168
168
  'mongosh:eval-interrupted': () => void;
169
- 'mongosh:csfle-load-skip': (ev: CSFLELibrarySkipEvent) => void;
170
- 'mongosh:csfle-load-found': (ev: CSFLELibraryFoundEvent) => void;
169
+ 'mongosh:crypt-library-load-skip': (ev: CryptLibrarySkipEvent) => void;
170
+ 'mongosh:crypt-library-load-found': (ev: CryptLibraryFoundEvent) => void;
171
171
  'mongosh:closed': () => void;
172
172
  'mongosh:eval-complete': () => void;
173
173
  'mongosh:autocompletion-complete': () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mongosh/types",
3
- "version": "1.4.1",
3
+ "version": "1.5.1",
4
4
  "description": "Types for mongosh internals",
5
5
  "author": "Anna Henningsen <anna.henningsen@mongodb.com>",
6
6
  "homepage": "https://github.com/mongodb-js/mongosh/tree/main/packages/types#readme",
@@ -11,7 +11,7 @@
11
11
  "access": "public"
12
12
  },
13
13
  "engines": {
14
- "node": ">=12.4.0"
14
+ "node": ">=14.15.1"
15
15
  },
16
16
  "repository": {
17
17
  "type": "git",
@@ -32,7 +32,7 @@
32
32
  "unitTestsOnly": true
33
33
  },
34
34
  "dependencies": {
35
- "@mongodb-js/devtools-connect": "^1.4.2"
35
+ "@mongodb-js/devtools-connect": "^1.4.3"
36
36
  },
37
- "gitHead": "4e88ce238c93af5f2eb5ad9f9e3a2ac5ef1eb2e0"
37
+ "gitHead": "0395e15ca5ffcad0aa22e337c014441e8da7909d"
38
38
  }
package/src/index.ts CHANGED
@@ -77,14 +77,14 @@ export interface GlobalConfigFileLoadEvent {
77
77
  found: boolean;
78
78
  }
79
79
 
80
- export interface CSFLELibrarySkipEvent {
81
- csflePath: string;
80
+ export interface CryptLibrarySkipEvent {
81
+ cryptSharedLibPath: string;
82
82
  reason: string;
83
83
  details?: any;
84
84
  }
85
85
 
86
- export interface CSFLELibraryFoundEvent {
87
- csflePath: string;
86
+ export interface CryptLibraryFoundEvent {
87
+ cryptSharedLibPath: string;
88
88
  expectedVersion: { versionStr: string };
89
89
  }
90
90
 
@@ -261,13 +261,13 @@ export interface MongoshBusEventsMap extends ConnectEventMap {
261
261
  */
262
262
  'mongosh:eval-interrupted': () => void;
263
263
  /**
264
- * Signals that a potential CSFLE library search path was skipped.
264
+ * Signals that a potential crypt library search path was skipped.
265
265
  */
266
- 'mongosh:csfle-load-skip': (ev: CSFLELibrarySkipEvent) => void;
266
+ 'mongosh:crypt-library-load-skip': (ev: CryptLibrarySkipEvent) => void;
267
267
  /**
268
- * Signals that a potential CSFLE library search path was accepted.
268
+ * Signals that a potential crypt library search path was accepted.
269
269
  */
270
- 'mongosh:csfle-load-found': (ev: CSFLELibraryFoundEvent) => void;
270
+ 'mongosh:crypt-library-load-found': (ev: CryptLibraryFoundEvent) => void;
271
271
  /**
272
272
  * Signals that the CLI REPL's `close` method has completed.
273
273
  * _ONLY AVAILABLE FOR TESTING._