Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mongodb-client-encryption

Package Overview
Dependencies
Maintainers
6
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-client-encryption - npm Package Compare versions

Comparing version 2.2.0-alpha.6 to 2.2.0

2

CHANGELOG.md

@@ -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 @@

14

index.d.ts

@@ -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.&lt;DataKey&gt;</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.&lt;DataKey&gt;</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.&lt;(DataKey\|null)&gt;</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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc