Socket
Socket
Sign inDemoInstall

mist-api

Package Overview
Dependencies
Maintainers
3
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mist-api - npm Package Compare versions

Comparing version 0.13.1 to 0.13.2

BUILD.md

4

index.js

@@ -48,2 +48,4 @@ var Addon = require('./addon.js').Addon;

}
} else {
console.log('addon.on(\'sandboxed\' cb: Request not found for response:', msg, self, self.requests);
}

@@ -64,3 +66,3 @@ });

} else {
console.log('Request not found for response:', id, self, self.requests);
console.log('addon.on(\'mist\' cb: Request not found for response:', msg, self, self.requests);
}

@@ -67,0 +69,0 @@ });

{
"name": "mist-api",
"version": "0.13.1",
"version": "0.13.2",
"description": "Mist API wrapper for node. Used for accessing all Mist APIs.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -63,27 +63,6 @@ # Mist API

## Compiling the Mist API native library
The tools directory contains scripts (release- and debug-) which can be
used to compile for different platforms.
```
cd tools;
./release-x64-linux.sh
```
As the current node.js mist-api port uses an interface which depends on
node.js version, a separate library build is needed for each version of
node.js which is to be supported. There is a script for performing a
batch build for all platforms, tools/build-for-nodejs-versions.sh, which
takes individual release build scripts as argument:
```
cd tools;
build-for-nodejs-versions.sh release-x64-linux.sh
build-for-nodejs-versions.sh release-raspberry.sh
```
### Problems

@@ -90,0 +69,0 @@

@@ -44,3 +44,3 @@ # Release instructions for mist-api

```sh
./release.sh
./release-to-npmjs-org.sh
```

@@ -47,0 +47,0 @@

@@ -21,5 +21,19 @@ # The Mist test suite

This runs the `mist-model-from-json.js` test with release code:
```sh
cd tools
rm -rf env/; WISH=~/controlthings/mist/wish-c99/build/wish-core node test-suite.js test/mist-model-from-json.js
```
When developing, you might want to first build a debug build, and then run the test suite using the debug libs:
```sh
cd tools
./debug-build.sh
rm -rf env/; WISH=~/controlthings/mist/wish-c99/build/wish-core DEBUG=1 node test-suite.js test/mist-model-from-json.js
```
## Running gdb and valgrind with the test framework
See the script `test-suite.js`, it has options for starting wish-core and the node process under gdb or Valgrind.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc