@sjcrh/proteinpaint-rust 2.182.0 → 2.182.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -26,6 +26,7 @@ const binaryDir = path.join(__dirname, '/target/release/')
26
26
  if (!fs.existsSync(binaryDir)) throw `missing rust binary directory='${binaryDir}'`
27
27
  if (!fs.readdirSync(binaryDir).length) throw `empty rust binary directory='${binaryDir}'`
28
28
 
29
+ // use this for non-streamed input/output
29
30
  export function run_rust(binfile, input_data, args = [], { signal } = {}) {
30
31
  return new Promise((resolve, reject) => {
31
32
  const binpath = path.join(__dirname, '/target/release/', binfile)
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.182.0",
2
+ "version": "2.182.2",
3
3
  "name": "@sjcrh/proteinpaint-rust",
4
4
  "type": "module",
5
5
  "description": "Rust-based utilities for proteinpaint",