mongodb
Advanced tools
Comparing version 6.7.0-dev.20240614.sha.3ed6a2ad to 6.7.0-dev.20240615.sha.465ffd97
{ | ||
"name": "mongodb", | ||
"version": "6.7.0-dev.20240614.sha.3ed6a2ad", | ||
"version": "6.7.0-dev.20240615.sha.465ffd97", | ||
"description": "The official MongoDB driver for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -30,5 +30,5 @@ # MongoDB Node.js Driver | ||
The following command returns the link npm package. | ||
The following command returns the link npm package. | ||
```shell | ||
npm view mongodb@vX.Y.Z dist.tarball | ||
npm view mongodb@vX.Y.Z dist.tarball | ||
``` | ||
@@ -85,3 +85,3 @@ | ||
We recommend using the latest version of typescript, however we currently ensure the driver's public types compile against `typescript@4.1.6`. | ||
We recommend using the latest version of typescript, however we currently ensure the driver's public types compile against `typescript@4.4.0`. | ||
This is the lowest typescript version guaranteed to work with our driver: older versions may or may not work - use at your own risk. | ||
@@ -88,0 +88,0 @@ Since typescript [does not restrict breaking changes to major versions](https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes), we consider this support best effort. |
@@ -15,3 +15,3 @@ import { loadAWSCredentials } from './aws'; | ||
*/ | ||
export type ClientEncryptionDataKeyProvider = string; | ||
export type ClientEncryptionDataKeyProvider = keyof KMSProviders; | ||
@@ -126,2 +126,3 @@ /** @public */ | ||
aws?: AWSKMSProviderConfiguration | Record<string, never>; | ||
[key: `aws:${string}`]: AWSKMSProviderConfiguration; | ||
@@ -132,2 +133,3 @@ /** | ||
local?: LocalKMSProviderConfiguration; | ||
[key: `local:${string}`]: LocalKMSProviderConfiguration; | ||
@@ -138,2 +140,3 @@ /** | ||
kmip?: KMIPKMSProviderConfiguration; | ||
[key: `kmip:${string}`]: KMIPKMSProviderConfiguration; | ||
@@ -144,2 +147,3 @@ /** | ||
azure?: AzureKMSProviderConfiguration | Record<string, never>; | ||
[key: `azure:${string}`]: AzureKMSProviderConfiguration; | ||
@@ -150,10 +154,3 @@ /** | ||
gcp?: GCPKMSProviderConfiguration | Record<string, never>; | ||
[key: string]: | ||
| AWSKMSProviderConfiguration | ||
| LocalKMSProviderConfiguration | ||
| KMIPKMSProviderConfiguration | ||
| AzureKMSProviderConfiguration | ||
| GCPKMSProviderConfiguration | ||
| undefined; | ||
[key: `gcp:${string}`]: GCPKMSProviderConfiguration; | ||
} | ||
@@ -160,0 +157,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
3039172
62672