Comparing version 0.3.2 to 0.3.3
{ | ||
"name": "xadb", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"main": "./index", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -209,8 +209,7 @@ "use strict"; | ||
} | ||
reverse(serial, remote, local, callback) { | ||
reverse(serial, remote, local) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return this.transport(serial) | ||
.then(transport => new ReverseCommand(transport) | ||
.execute(remote, local) | ||
.nodeify(callback)); | ||
.execute(remote, local)); | ||
}); | ||
@@ -217,0 +216,0 @@ } |
@@ -211,3 +211,3 @@ const debug = require('debug')('adb:client'); | ||
public async reverse(serial: string, remote, local, callback) { | ||
public async reverse(serial: string, remote, local) { | ||
return this.transport(serial) | ||
@@ -217,4 +217,3 @@ .then(transport => | ||
.execute(remote, local) | ||
.nodeify(callback) | ||
) | ||
); | ||
} | ||
@@ -221,0 +220,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
200509
4685