ableton-js
Advanced tools
Comparing version 1.9.1 to 1.9.2
@@ -7,2 +7,9 @@ ### Changelog | ||
#### [v1.9.2](https://github.com/leolabs/ableton.js/compare/v1.9.1...v1.9.2) | ||
> 12 March 2020 | ||
- :zap: Don't stringify set data [`ddc1596`](https://github.com/leolabs/ableton.js/commit/ddc1596c8a38e44483bca88b1b4d1153a3f035e8) | ||
- :wrench: Increase max UDP packet size to 60500 bytes [`6233dd9`](https://github.com/leolabs/ableton.js/commit/6233dd9b1b239f8dbe233e71de055f9f0c637233) | ||
#### [v1.9.1](https://github.com/leolabs/ableton.js/compare/v1.9.0...v1.9.1) | ||
@@ -9,0 +16,0 @@ |
@@ -186,10 +186,4 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function () { | ||
var data; | ||
return __generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: return [4 /*yield*/, this.sendCommand("get_data", { key: key })]; | ||
case 1: | ||
data = _a.sent(); | ||
return [2 /*return*/, JSON.parse(data)]; | ||
} | ||
return [2 /*return*/, this.sendCommand("get_data", { key: key })]; | ||
}); | ||
@@ -243,3 +237,3 @@ }); | ||
return __generator(this, function (_a) { | ||
return [2 /*return*/, this.sendCommand("set_data", { key: key, value: JSON.stringify(value) })]; | ||
return [2 /*return*/, this.sendCommand("set_data", { key: key, value: value })]; | ||
}); | ||
@@ -246,0 +240,0 @@ }); |
{ | ||
"name": "ableton-js", | ||
"version": "1.9.1", | ||
"version": "1.9.2", | ||
"description": "Control Ableton Live from Node", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
117271
2418