@neosapience/typecast-js 0.1.5 → 0.1.7

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/LICENSE CHANGED
@@ -175,7 +175,7 @@
175
175
 
176
176
  END OF TERMS AND CONDITIONS
177
177
 
178
- Copyright 2025 Neosapience Inc.
178
+ Copyright 2025 Neosapience, Inc.
179
179
 
180
180
  Licensed under the Apache License, Version 2.0 (the "License");
181
181
  you may not use this file except in compliance with the License.
package/README.md CHANGED
@@ -325,4 +325,4 @@ import type {
325
325
 
326
326
  ## License
327
327
 
328
- [Apache-2.0](LICENSE) © [Neosapience](https://typecast.ai)
328
+ [Apache-2.0](LICENSE) © [Neosapience](https://typecast.ai/?lang=en)
package/lib/index.d.cts CHANGED
@@ -95,12 +95,20 @@ type TTSPrompt = Prompt | PresetPrompt | SmartPrompt;
95
95
  */
96
96
  interface Output {
97
97
  /**
98
- * Output volume
98
+ * Relative volume scaling of the output audio.
99
+ * Cannot be used simultaneously with target_lufs.
99
100
  * @min 0
100
101
  * @max 200
101
102
  * @default 100
102
103
  */
103
104
  volume?: number;
105
+ /**
106
+ * Target loudness in LUFS for absolute loudness normalization.
107
+ * Cannot be used simultaneously with volume.
108
+ * @min -70
109
+ * @max 0
110
+ */
111
+ target_lufs?: number;
104
112
  /**
105
113
  * Audio pitch adjustment in semitones
106
114
  * @min -12
package/lib/index.d.ts CHANGED
@@ -95,12 +95,20 @@ type TTSPrompt = Prompt | PresetPrompt | SmartPrompt;
95
95
  */
96
96
  interface Output {
97
97
  /**
98
- * Output volume
98
+ * Relative volume scaling of the output audio.
99
+ * Cannot be used simultaneously with target_lufs.
99
100
  * @min 0
100
101
  * @max 200
101
102
  * @default 100
102
103
  */
103
104
  volume?: number;
105
+ /**
106
+ * Target loudness in LUFS for absolute loudness normalization.
107
+ * Cannot be used simultaneously with volume.
108
+ * @min -70
109
+ * @max 0
110
+ */
111
+ target_lufs?: number;
104
112
  /**
105
113
  * Audio pitch adjustment in semitones
106
114
  * @min -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neosapience/typecast-js",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "type": "module",
5
5
  "main": "./lib/index.cjs",
6
6
  "module": "./lib/index.js",
@@ -48,11 +48,12 @@
48
48
  "description": "The official Node.js library for the Typecast API. Text-to-Speech with AI voices. TypeScript support included.",
49
49
  "repository": {
50
50
  "type": "git",
51
- "url": "git+https://github.com/neosapience/typecast-js.git"
51
+ "url": "git+https://github.com/neosapience/typecast-sdk.git",
52
+ "directory": "typecast-js"
52
53
  },
53
54
  "homepage": "https://typecast.ai",
54
55
  "bugs": {
55
- "url": "https://github.com/neosapience/typecast-js/issues"
56
+ "url": "https://github.com/neosapience/typecast-sdk/issues"
56
57
  },
57
58
  "publishConfig": {
58
59
  "registry": "https://registry.npmjs.org/",