ableton-js 2.3.2 → 2.3.3

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.
package/CHANGELOG.md CHANGED
@@ -4,8 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ #### [v2.3.3](https://github.com/leolabs/ableton.js/compare/v2.3.2...v2.3.3)
8
+
9
+ - :sparkles: Add set_or_delete_cue, undo, and redo commands [`41d5ef7`](https://github.com/leolabs/ableton.js/commit/41d5ef7a2461fea95b125de13e18285beb47a2d6)
10
+
7
11
  #### [v2.3.2](https://github.com/leolabs/ableton.js/compare/v2.3.1...v2.3.2)
8
12
 
13
+ > 30 March 2022
14
+
9
15
  - :sparkles: Add a function to clear all event listeners [`809fe4e`](https://github.com/leolabs/ableton.js/commit/809fe4effb0893afb9aaac2cee8b13fb2e6fc5e5)
10
16
 
11
17
  #### [v2.3.1](https://github.com/leolabs/ableton.js/compare/v2.3.0...v2.3.1)
@@ -10,4 +10,4 @@ class Internal(Interface):
10
10
  return self
11
11
 
12
12
  def get_version(self, ns):
13
- return "2.3.2"
13
+ return "2.3.3"
package/ns/song.d.ts CHANGED
@@ -200,10 +200,13 @@ export declare class Song extends Namespace<GettableProperties, TransformedPrope
200
200
  jumpToNextCue(): Promise<any>;
201
201
  jumpToPrevCue(): Promise<any>;
202
202
  playSelection(): Promise<any>;
203
+ redo(): Promise<any>;
203
204
  scrubBy(amount: number): Promise<any>;
204
205
  setData(key: string, value: any): Promise<any>;
206
+ setOrDeleteCue(): Promise<any>;
205
207
  startPlaying(): Promise<any>;
206
208
  stopAllClips(): Promise<any>;
207
209
  stopPlaying(): Promise<any>;
208
210
  tapTempo(): Promise<any>;
211
+ undo(): Promise<any>;
209
212
  }
package/ns/song.js CHANGED
@@ -243,6 +243,13 @@ var Song = /** @class */ (function (_super) {
243
243
  });
244
244
  });
245
245
  };
246
+ Song.prototype.redo = function () {
247
+ return __awaiter(this, void 0, void 0, function () {
248
+ return __generator(this, function (_a) {
249
+ return [2 /*return*/, this.sendCommand("redo")];
250
+ });
251
+ });
252
+ };
246
253
  Song.prototype.scrubBy = function (amount) {
247
254
  return __awaiter(this, void 0, void 0, function () {
248
255
  return __generator(this, function (_a) {
@@ -257,6 +264,13 @@ var Song = /** @class */ (function (_super) {
257
264
  });
258
265
  });
259
266
  };
267
+ Song.prototype.setOrDeleteCue = function () {
268
+ return __awaiter(this, void 0, void 0, function () {
269
+ return __generator(this, function (_a) {
270
+ return [2 /*return*/, this.sendCommand("set_or_delete_cue")];
271
+ });
272
+ });
273
+ };
260
274
  Song.prototype.startPlaying = function () {
261
275
  return __awaiter(this, void 0, void 0, function () {
262
276
  return __generator(this, function (_a) {
@@ -285,6 +299,13 @@ var Song = /** @class */ (function (_super) {
285
299
  });
286
300
  });
287
301
  };
302
+ Song.prototype.undo = function () {
303
+ return __awaiter(this, void 0, void 0, function () {
304
+ return __generator(this, function (_a) {
305
+ return [2 /*return*/, this.sendCommand("undo")];
306
+ });
307
+ });
308
+ };
288
309
  return Song;
289
310
  }(_1.Namespace));
290
311
  exports.Song = Song;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ableton-js",
3
- "version": "2.3.2",
3
+ "version": "2.3.3",
4
4
  "description": "Control Ableton Live from Node",
5
5
  "main": "index.js",
6
6
  "author": "Leo Bernard <admin@leolabs.org>",