Skip to content

Commit d2897ab

Browse files
authored
feat(NODE-4085): add typings for csfle shared library option support (#3179)
1 parent d266158 commit d2897ab

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/deps.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,16 @@ export interface AutoEncryptionOptions {
295295
mongocryptdSpawnPath?: string;
296296
/** Command line arguments to use when auto-spawning a mongocryptd */
297297
mongocryptdSpawnArgs?: string[];
298+
/**
299+
* Full path to a CSFLE shared library to be used (instead of mongocryptd)
300+
* @experimental
301+
*/
302+
csflePath?: string;
303+
/**
304+
* Search paths for a CSFLE shared library to be used (instead of mongocryptd)
305+
* @experimental
306+
*/
307+
csfleSearchPaths?: string[];
298308
};
299309
proxyOptions?: ProxyOptions;
300310
/** The TLS options to use connecting to the KMS provider */
@@ -315,4 +325,5 @@ export interface AutoEncrypter {
315325
teardown(force: boolean, callback: Callback): void;
316326
encrypt(ns: string, cmd: Document, options: any, callback: Callback<Document>): void;
317327
decrypt(cmd: Document, options: any, callback: Callback<Document>): void;
328+
readonly csfleVersionInfo: { version: bigint; versionStr: string } | null;
318329
}

0 commit comments

Comments
 (0)