Skip to content

Commit 42b2b6e

Browse files
remove bindings
1 parent 0936bf0 commit 42b2b6e

File tree

3 files changed

+2
-31
lines changed

3 files changed

+2
-31
lines changed

package-lock.json

Lines changed: 0 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"gypfile": true,
3838
"mongodb:libmongocrypt": "1.11.0",
3939
"dependencies": {
40-
"bindings": "^1.5.0",
4140
"node-addon-api": "^4.3.0",
4241
"prebuild-install": "^7.1.2"
4342
},
@@ -97,4 +96,4 @@
9796
"moduleResolution": "node"
9897
}
9998
}
100-
}
99+
}

src/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import { cryptoCallbacks } from './crypto_callbacks';
22
export { cryptoCallbacks };
33

4-
import bindings = require('bindings');
5-
const mc: MongoCryptBindings = bindings('mongocrypt');
4+
const mc: MongoCryptBindings = require('../build/Release/mongocrypt.node');
65

76
/**
87
* The value returned by the native bindings

0 commit comments

Comments
 (0)