@golpoai/sdk 1.0.0 → 1.0.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/dist/index.cjs +3 -0
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -172,6 +172,7 @@ var Golpo = class {
|
|
|
172
172
|
penStyle,
|
|
173
173
|
showPencilCursor,
|
|
174
174
|
pacing,
|
|
175
|
+
displayLanguage,
|
|
175
176
|
justReturnScript
|
|
176
177
|
} = opts;
|
|
177
178
|
const concurrency = 8;
|
|
@@ -205,6 +206,7 @@ var Golpo = class {
|
|
|
205
206
|
pen_style: penStyle,
|
|
206
207
|
show_pencil_cursor: penStyle ? true : showPencilCursor ?? false,
|
|
207
208
|
pacing,
|
|
209
|
+
display_language: displayLanguage ?? null,
|
|
208
210
|
own_narration_video_mode: null,
|
|
209
211
|
own_narration_pip_position: null,
|
|
210
212
|
just_return_script: justReturnScript,
|
|
@@ -264,6 +266,7 @@ var Golpo = class {
|
|
|
264
266
|
const effectiveShowPencilCursor = penStyle ? true : showPencilCursor ?? false;
|
|
265
267
|
fields.push(["show_pencil_cursor", String(effectiveShowPencilCursor)]);
|
|
266
268
|
if (pacing) fields.push(["pacing", pacing]);
|
|
269
|
+
if (displayLanguage) fields.push(["display_language", displayLanguage]);
|
|
267
270
|
if (justReturnScript != null) fields.push(["just_return_script", String(justReturnScript)]);
|
|
268
271
|
if (logo) {
|
|
269
272
|
fields.push(["logo_path", logo]);
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -135,6 +135,7 @@ var Golpo = class {
|
|
|
135
135
|
penStyle,
|
|
136
136
|
showPencilCursor,
|
|
137
137
|
pacing,
|
|
138
|
+
displayLanguage,
|
|
138
139
|
justReturnScript
|
|
139
140
|
} = opts;
|
|
140
141
|
const concurrency = 8;
|
|
@@ -168,6 +169,7 @@ var Golpo = class {
|
|
|
168
169
|
pen_style: penStyle,
|
|
169
170
|
show_pencil_cursor: penStyle ? true : showPencilCursor ?? false,
|
|
170
171
|
pacing,
|
|
172
|
+
display_language: displayLanguage ?? null,
|
|
171
173
|
own_narration_video_mode: null,
|
|
172
174
|
own_narration_pip_position: null,
|
|
173
175
|
just_return_script: justReturnScript,
|
|
@@ -227,6 +229,7 @@ var Golpo = class {
|
|
|
227
229
|
const effectiveShowPencilCursor = penStyle ? true : showPencilCursor ?? false;
|
|
228
230
|
fields.push(["show_pencil_cursor", String(effectiveShowPencilCursor)]);
|
|
229
231
|
if (pacing) fields.push(["pacing", pacing]);
|
|
232
|
+
if (displayLanguage) fields.push(["display_language", displayLanguage]);
|
|
230
233
|
if (justReturnScript != null) fields.push(["just_return_script", String(justReturnScript)]);
|
|
231
234
|
if (logo) {
|
|
232
235
|
fields.push(["logo_path", logo]);
|