I'm trying to call Bluebird promisificator on https://github.com/seishun/node-steam-trade, but this library is using non-node-callbacks.
For example (ES6 syntax by Babel):
import bluebird from 'bluebird';
import SteamTrade from 'steam-trade';
bluebird.promisifyAll(SteamTrade.prototype);
let steamTrade = new SteamTrade();
// some kind of set sessionid/cookies
let result = await steamTrade.openAsync('my-steam-id');
And last row is not finish, because first argument, passed into callback is "data", not error (docs).
How can I configure bluebird to handle data from first argument?