@qvac/decoder-audio 0.2.1 → 0.2.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/index.js CHANGED
@@ -93,6 +93,14 @@ class GSTDecoder extends BaseInference {
93
93
  return status
94
94
  }
95
95
 
96
+ async unload () {
97
+ if (this.addon) {
98
+ this.logger.info('Destroying GSTDecoder addon')
99
+ await this.addon.destroy()
100
+ this.addon = null
101
+ }
102
+ }
103
+
96
104
  createAddon (config) {
97
105
  this.logger.info('Creating new GSTDecoderInterface instance')
98
106
  return new GSTDecoderInterface(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qvac/decoder-audio",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Tether",
@@ -33,7 +33,9 @@
33
33
  ],
34
34
  "exports": {
35
35
  "./package": "./package.json",
36
- ".": "./index.js"
36
+ ".": "./index.js",
37
+ "./constants": "./constants.js",
38
+ "./constants.js": "./constants.js"
37
39
  },
38
40
  "devDependencies": {
39
41
  "@types/node": "^22.14.1",
@@ -7,7 +7,7 @@
7
7
  ],
8
8
  "current_versions": [
9
9
  {
10
- "version": "0.2.1"
10
+ "version": "0.2.3"
11
11
  }
12
12
  ],
13
13
  "exported_symbols": [
@@ -7,7 +7,7 @@
7
7
  ],
8
8
  "current_versions": [
9
9
  {
10
- "version": "0.2.1"
10
+ "version": "0.2.3"
11
11
  }
12
12
  ],
13
13
  "exported_symbols": [
@@ -7,7 +7,7 @@
7
7
  ],
8
8
  "current_versions": [
9
9
  {
10
- "version": "0.2.1"
10
+ "version": "0.2.3"
11
11
  }
12
12
  ],
13
13
  "exported_symbols": [
@@ -7,7 +7,7 @@
7
7
  ],
8
8
  "current_versions": [
9
9
  {
10
- "version": "0.2.1"
10
+ "version": "0.2.3"
11
11
  }
12
12
  ],
13
13
  "exported_symbols": [
@@ -7,7 +7,7 @@
7
7
  ],
8
8
  "current_versions": [
9
9
  {
10
- "version": "0.2.1"
10
+ "version": "0.2.3"
11
11
  }
12
12
  ],
13
13
  "exported_symbols": [