Skip to content

Commit

Permalink
remove bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Nov 26, 2024
1 parent 0936bf0 commit 42b2b6e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 31 deletions.
27 changes: 0 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"gypfile": true,
"mongodb:libmongocrypt": "1.11.0",
"dependencies": {
"bindings": "^1.5.0",
"node-addon-api": "^4.3.0",
"prebuild-install": "^7.1.2"
},
Expand Down Expand Up @@ -97,4 +96,4 @@
"moduleResolution": "node"
}
}
}
}
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { cryptoCallbacks } from './crypto_callbacks';
export { cryptoCallbacks };

import bindings = require('bindings');
const mc: MongoCryptBindings = bindings('mongocrypt');
const mc: MongoCryptBindings = require('../build/Release/mongocrypt.node');

/**
* The value returned by the native bindings
Expand Down

0 comments on commit 42b2b6e

Please sign in to comment.