Skip to content

Commit a83dd90

Browse files
remove bindings
1 parent 5f86bab commit a83dd90

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@ export { cryptoCallbacks };
44

55
function loadBindings(): MongoCryptBindings {
66
return require(resolve(__dirname, '../build/Release/mongocrypt.node'));
7-
87
}
9-
import bindings = require('bindings');
10-
const mc: MongoCryptBindings = bindings('mongocrypt');
8+
const mc: MongoCryptBindings = loadBindings();
119

1210
/**
1311
* The value returned by the native bindings

0 commit comments

Comments
 (0)