mongodb
Advanced tools
Comparing version 6.7.0-dev.20240530.sha.f56938f to 6.7.0-dev.20240607.sha.aa429f8c
{ | ||
"name": "mongodb", | ||
"version": "6.7.0-dev.20240530.sha.f56938f", | ||
"version": "6.7.0-dev.20240607.sha.aa429f8c", | ||
"description": "The official MongoDB driver for Node.js", | ||
@@ -101,3 +101,3 @@ "main": "lib/index.js", | ||
"mocha-sinon": "^2.1.2", | ||
"mongodb-client-encryption": "^6.0.0", | ||
"mongodb-client-encryption": "^6.0.1", | ||
"mongodb-legacy": "^6.0.1", | ||
@@ -104,0 +104,0 @@ "nyc": "^15.1.0", |
@@ -23,2 +23,21 @@ # MongoDB Node.js Driver | ||
### Release Integrity | ||
The GitHub release contains a detached signature file for the NPM package (named | ||
`mongodb-X.Y.Z.tgz.sig`). | ||
The following command returns the link npm package. | ||
```shell | ||
npm view mongodb@vX.Y.Z dist.tarball | ||
``` | ||
Using the result of the above command, a `curl` command can return the official npm package for the release. | ||
To verify the integrity of the downloaded package, run the following command: | ||
```shell | ||
gpg --verify mongodb-X.Y.Z.tgz.sig mongodb-X.Y.Z.tgz | ||
``` | ||
### Bugs / Feature Requests | ||
@@ -25,0 +44,0 @@ |
@@ -776,2 +776,3 @@ import type { | ||
| GCPEncryptionKeyOptions | ||
| KMIPEncryptionKeyOptions | ||
| undefined; | ||
@@ -891,2 +892,27 @@ } | ||
* @public | ||
* Configuration options for making a KMIP encryption key | ||
*/ | ||
export interface KMIPEncryptionKeyOptions { | ||
/** | ||
* keyId is the KMIP Unique Identifier to a 96 byte KMIP Secret Data managed object. | ||
* | ||
* If keyId is omitted, a random 96 byte KMIP Secret Data managed object will be created. | ||
*/ | ||
keyId?: string; | ||
/** | ||
* Host with optional port. | ||
*/ | ||
endpoint?: string; | ||
/** | ||
* If true, this key should be decrypted by the KMIP server. | ||
* | ||
* Requires `mongodb-client-encryption>=6.0.1`. | ||
*/ | ||
delegated?: boolean; | ||
} | ||
/** | ||
* @public | ||
* Options to provide when creating a new data key. | ||
@@ -902,2 +928,3 @@ */ | ||
| GCPEncryptionKeyOptions | ||
| KMIPEncryptionKeyOptions | ||
| undefined; | ||
@@ -919,15 +946,2 @@ | ||
*/ | ||
export interface ClientEncryptionRewrapManyDataKeyProviderOptions { | ||
provider: ClientEncryptionDataKeyProvider; | ||
masterKey?: | ||
| AWSEncryptionKeyOptions | ||
| AzureEncryptionKeyOptions | ||
| GCPEncryptionKeyOptions | ||
| undefined; | ||
} | ||
/** | ||
* @public | ||
* @experimental | ||
*/ | ||
export interface ClientEncryptionRewrapManyDataKeyResult { | ||
@@ -934,0 +948,0 @@ /** The result of rewrapping data keys. If unset, no keys matched the filter. */ |
@@ -228,2 +228,3 @@ import { Admin } from './admin'; | ||
GCPEncryptionKeyOptions, | ||
KMIPEncryptionKeyOptions, | ||
RangeOptions | ||
@@ -230,0 +231,0 @@ } from './client-side-encryption/client_encryption'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
3041833
62655
343