File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ export class MongoCrypt implements IMongoCrypt {
151151 throw this . errorWrapper ( error ) ;
152152 }
153153 }
154- makeExplicitDecryptionContext ( buffer : Uint8Array ) : IMongoCryptContext {
154+ makeExplicitDecryptionContext ( buffer : Uint8Array ) : MongoCryptContext {
155155 try {
156156 return new MongoCryptContext (
157157 this . mc . makeExplicitDecryptionContext ( buffer ) ,
@@ -177,7 +177,7 @@ export class MongoCrypt implements IMongoCrypt {
177177 throw this . errorWrapper ( error ) ;
178178 }
179179 }
180- makeRewrapManyDataKeyContext ( filter : Uint8Array , encryptionKey ?: Uint8Array ) : IMongoCryptContext {
180+ makeRewrapManyDataKeyContext ( filter : Uint8Array , encryptionKey ?: Uint8Array ) : MongoCryptContext {
181181 try {
182182 return new MongoCryptContext (
183183 this . mc . makeRewrapManyDataKeyContext ( filter , encryptionKey ) ,
@@ -195,3 +195,9 @@ export class MongoCrypt implements IMongoCrypt {
195195 }
196196 }
197197}
198+
199+ export type {
200+ MongoCryptOptions ,
201+ ExplicitEncryptionContextOptions ,
202+ MongoCryptKMSRequest
203+ } from './bindings' ;
Original file line number Diff line number Diff line change @@ -25,7 +25,13 @@ const REQUIRED_FILES = [
2525 'package/lib/crypto_callbacks.d.ts' ,
2626 'package/lib/crypto_callbacks.d.ts.map' ,
2727 'package/lib/crypto_callbacks.js' ,
28- 'package/lib/crypto_callbacks.js.map'
28+ 'package/lib/crypto_callbacks.js.map' ,
29+
30+ 'package/src/bindings.ts' ,
31+ 'package/lib/bindings.d.ts' ,
32+ 'package/lib/bindings.d.ts.map' ,
33+ 'package/lib/bindings.js' ,
34+ 'package/lib/bindings.js.map'
2935] ;
3036
3137describe ( `Release ${ packFile } ` , function ( ) {
You can’t perform that action at this time.
0 commit comments