ableton-js 2.5.0 → 2.5.1

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,15 @@ 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.5.1](https://github.com/leolabs/ableton.js/compare/v2.5.0...v2.5.1)
8
+
9
+ - Remove unused devDependencies [`6491216`](https://github.com/leolabs/ableton.js/commit/6491216bff5f1fed8ca20ad00105022eeb44c656)
10
+ - :bug: Fix AutomationState and ParameterState being incorrect [`431d377`](https://github.com/leolabs/ableton.js/commit/431d377a1526ec02369df54e1826d19901950666)
11
+
7
12
  #### [v2.5.0](https://github.com/leolabs/ableton.js/compare/v2.4.0...v2.5.0)
8
13
 
14
+ > 8 July 2022
15
+
9
16
  - adds support for getting the group_track property from a Track object [`#46`](https://github.com/leolabs/ableton.js/pull/46)
10
17
  - Forward requested midi cc and note messages [`#48`](https://github.com/leolabs/ableton.js/pull/48)
11
18
  - add Track's `duplicate_clip_to_arrangement` method [`#49`](https://github.com/leolabs/ableton.js/pull/49)
@@ -19,11 +19,5 @@ class DeviceParameter(Interface):
19
19
  def __init__(self, c_instance, socket):
20
20
  super(DeviceParameter, self).__init__(c_instance, socket)
21
21
 
22
- def get_automation_state(self, ns):
23
- return str(ns.automation_state)
24
-
25
- def get_state(self, ns):
26
- return str(ns.state)
27
-
28
22
  def get_value_items(self, ns):
29
23
  return list(ns.value_items)
@@ -10,4 +10,4 @@ class Internal(Interface):
10
10
  return self
11
11
 
12
12
  def get_version(self, ns):
13
- return "2.5.0"
13
+ return "2.5.1"
@@ -31,14 +31,14 @@ export interface RawDeviceParameter {
31
31
  is_quantized: boolean;
32
32
  }
33
33
  export declare enum AutomationState {
34
- None = "none",
35
- Overridden = "overridden",
36
- Playing = "playing"
34
+ None = 0,
35
+ Playing = 1,
36
+ Overridden = 2
37
37
  }
38
38
  export declare enum ParameterState {
39
- Disabled = "disabled",
40
- Enabled = "enabled",
41
- Irrelevant = "irrelevant"
39
+ Enabled = 0,
40
+ Disabled = 1,
41
+ Irrelevant = 2
42
42
  }
43
43
  export declare class DeviceParameter extends Namespace<GettableProperties, TransformedProperties, SettableProperties, ObservableProperties> {
44
44
  raw: RawDeviceParameter;
@@ -19,15 +19,15 @@ exports.DeviceParameter = exports.ParameterState = exports.AutomationState = voi
19
19
  var _1 = require(".");
20
20
  var AutomationState;
21
21
  (function (AutomationState) {
22
- AutomationState["None"] = "none";
23
- AutomationState["Overridden"] = "overridden";
24
- AutomationState["Playing"] = "playing";
22
+ AutomationState[AutomationState["None"] = 0] = "None";
23
+ AutomationState[AutomationState["Playing"] = 1] = "Playing";
24
+ AutomationState[AutomationState["Overridden"] = 2] = "Overridden";
25
25
  })(AutomationState = exports.AutomationState || (exports.AutomationState = {}));
26
26
  var ParameterState;
27
27
  (function (ParameterState) {
28
- ParameterState["Disabled"] = "disabled";
29
- ParameterState["Enabled"] = "enabled";
30
- ParameterState["Irrelevant"] = "irrelevant";
28
+ ParameterState[ParameterState["Enabled"] = 0] = "Enabled";
29
+ ParameterState[ParameterState["Disabled"] = 1] = "Disabled";
30
+ ParameterState[ParameterState["Irrelevant"] = 2] = "Irrelevant";
31
31
  })(ParameterState = exports.ParameterState || (exports.ParameterState = {}));
32
32
  var DeviceParameter = /** @class */ (function (_super) {
33
33
  __extends(DeviceParameter, _super);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ableton-js",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Control Ableton Live from Node",
5
5
  "main": "index.js",
6
6
  "author": "Leo Bernard <admin@leolabs.org>",
@@ -32,12 +32,6 @@
32
32
  "test": "jest --runInBand"
33
33
  },
34
34
  "devDependencies": {
35
- "@babel/cli": "^7.14.3",
36
- "@babel/core": "^7.14.3",
37
- "@babel/plugin-proposal-class-properties": "^7.13.0",
38
- "@babel/plugin-proposal-object-rest-spread": "^7.14.4",
39
- "@babel/preset-env": "^7.14.4",
40
- "@babel/preset-typescript": "^7.13.0",
41
35
  "@types/jest": "^26.0.23",
42
36
  "@types/node": "^15.6.1",
43
37
  "@types/node-uuid": "^0.0.28",
@@ -46,8 +40,7 @@
46
40
  "auto-changelog": "^2.3.0",
47
41
  "jest": "^27.0.3",
48
42
  "jest-extended": "^0.11.5",
49
- "jsdoc-babel": "^0.5.0",
50
- "jsdoc-to-markdown": "^7.0.1",
43
+ "p-all": "^3",
51
44
  "ts-jest": "^27.0.1",
52
45
  "ts-node": "^10.0.0",
53
46
  "typescript": "^4.3.2"