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 {
151
151
throw this . errorWrapper ( error ) ;
152
152
}
153
153
}
154
- makeExplicitDecryptionContext ( buffer : Uint8Array ) : IMongoCryptContext {
154
+ makeExplicitDecryptionContext ( buffer : Uint8Array ) : MongoCryptContext {
155
155
try {
156
156
return new MongoCryptContext (
157
157
this . mc . makeExplicitDecryptionContext ( buffer ) ,
@@ -177,7 +177,7 @@ export class MongoCrypt implements IMongoCrypt {
177
177
throw this . errorWrapper ( error ) ;
178
178
}
179
179
}
180
- makeRewrapManyDataKeyContext ( filter : Uint8Array , encryptionKey ?: Uint8Array ) : IMongoCryptContext {
180
+ makeRewrapManyDataKeyContext ( filter : Uint8Array , encryptionKey ?: Uint8Array ) : MongoCryptContext {
181
181
try {
182
182
return new MongoCryptContext (
183
183
this . mc . makeRewrapManyDataKeyContext ( filter , encryptionKey ) ,
@@ -195,3 +195,9 @@ export class MongoCrypt implements IMongoCrypt {
195
195
}
196
196
}
197
197
}
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 = [
25
25
'package/lib/crypto_callbacks.d.ts' ,
26
26
'package/lib/crypto_callbacks.d.ts.map' ,
27
27
'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'
29
35
] ;
30
36
31
37
describe ( `Release ${ packFile } ` , function ( ) {
You can’t perform that action at this time.
0 commit comments