mongodb-client-encryption
Advanced tools
Comparing version 2.2.0-alpha.6 to 2.2.0
@@ -5,2 +5,4 @@ # Changelog | ||
## [2.2.0](https://github.com/mongodb/libmongocrypt/compare/node-v2.2.0-alpha.6...node-v2.2.0) (2022-08-10) | ||
## [2.2.0-alpha.6](https://github.com/mongodb/libmongocrypt/compare/node-v2.2.0-alpha.5...node-v2.2.0-alpha.6) (2022-07-29) | ||
@@ -7,0 +9,0 @@ |
@@ -407,3 +407,7 @@ import type { Document, Binary } from 'bson'; | ||
/** @experimental */ | ||
/** | ||
* Searches the keyvault for any data keys matching the provided filter. If there are matches, rewrapManyDataKey then attempts to re-wrap the data keys using the provided options. | ||
* | ||
* If no matches are found, then no bulk write is performed. | ||
*/ | ||
rewrapManyDataKey( | ||
@@ -415,3 +419,2 @@ filter: Document, | ||
/** | ||
* @experimental | ||
* Deletes the key with the provided id from the keyvault, if it exists. | ||
@@ -424,3 +427,2 @@ * | ||
/** | ||
* @experimental | ||
* Finds all the keys currently stored in the keyvault. | ||
@@ -430,6 +432,5 @@ * | ||
*/ | ||
getKeys(): FindCursor<DataKey>; | ||
getKeys(): FindCursor<DataKey>; | ||
/** | ||
* @experimental | ||
* Finds a key in the keyvault with the specified key. | ||
@@ -442,3 +443,2 @@ * | ||
/** | ||
* @experimental | ||
* Finds a key in the keyvault which has the specified keyAltNames as a keyAltName. | ||
@@ -451,3 +451,2 @@ * | ||
/** | ||
* @experimental | ||
* Adds a keyAltName to a key identified by the provided `id`. | ||
@@ -463,3 +462,2 @@ * | ||
/** | ||
* @experimental | ||
* Adds a keyAltName to a key identified by the provided `id`. | ||
@@ -466,0 +464,0 @@ * |
@@ -283,3 +283,3 @@ 'use strict'; | ||
/** | ||
* Searches the keyvault for any data keys matching the provided filter. If there are matches, the attempts to re-wrap the data keys using the provided options. | ||
* Searches the keyvault for any data keys matching the provided filter. If there are matches, rewrapManyDataKey then attempts to re-wrap the data keys using the provided options. | ||
* | ||
@@ -286,0 +286,0 @@ * If no matches are found, then no bulk write is performed. |
{ | ||
"name": "mongodb-client-encryption", | ||
"version": "2.2.0-alpha.6", | ||
"version": "2.2.0", | ||
"description": "Official client encryption module for the MongoDB Node.js driver", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -377,3 +377,3 @@ MongoDB Client Encryption | ||
Searches the keyvault for any data keys matching the provided filter. If there are matches, the attempts to re-wrap the data keys using the provided options. | ||
Searches the keyvault for any data keys matching the provided filter. If there are matches, rewrapManyDataKey then attempts to re-wrap the data keys using the provided options. | ||
@@ -446,3 +446,3 @@ If no matches are found, then no bulk write is performed. | ||
**Returns**: [<code>Promise.<DataKey></code>](#DataKey) - IReturns a promise that either resolves to a [DataKey](#DataKey) if a document matches the key or null if no documents | ||
**Returns**: [<code>Promise.<DataKey></code>](#DataKey) - Returns a promise that either resolves to a [DataKey](#DataKey) if a document matches the key or null if no documents | ||
match the id. The promise rejects with an error if an error is thrown. | ||
@@ -469,3 +469,3 @@ **Example** | ||
**Returns**: <code>Promise.<(DataKey\|null)></code> - Returns a promise that either resolves to a [DataKey](#DataKey) if a document matches the key or null if no documents | ||
match the id. The promise rejects with an error if an error is thrown. | ||
match the keyAltName. The promise rejects with an error if an error is thrown. | ||
**Example** | ||
@@ -546,3 +546,3 @@ ```js | ||
Explicitly encrypt a provided value. Noe that either `options.keyId` or `options.keyAltName` must | ||
Explicitly encrypt a provided value. Note that either `options.keyId` or `options.keyAltName` must | ||
be specified. Specifying both `options.keyId` and `options.keyAltName` is considered an error. | ||
@@ -549,0 +549,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
176731
1
2206