@premai/api-sdk 1.0.39 → 1.0.41
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/audio/index.d.ts +1 -0
- package/dist/cli.cjs +2 -1
- package/dist/core.browser.cjs +2 -1
- package/dist/core.browser.mjs +2 -1
- package/dist/index.cjs +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +2 -2
package/dist/audio/index.d.ts
CHANGED
package/dist/cli.cjs
CHANGED
|
@@ -260,7 +260,8 @@ async function preprocessAudioRequest(body, encryptionKeys) {
|
|
|
260
260
|
const isDeepgram = body.model.startsWith("deepgram/");
|
|
261
261
|
const requestBody = isDeepgram ? {
|
|
262
262
|
model: body.model,
|
|
263
|
-
diarize: body.diarize
|
|
263
|
+
diarize: body.diarize,
|
|
264
|
+
smart_format: body.smart_format
|
|
264
265
|
} : {
|
|
265
266
|
model: body.model,
|
|
266
267
|
language: body.language,
|
package/dist/core.browser.cjs
CHANGED
|
@@ -243,7 +243,8 @@ async function preprocessAudioRequest(body, encryptionKeys) {
|
|
|
243
243
|
const isDeepgram = body.model.startsWith("deepgram/");
|
|
244
244
|
const requestBody = isDeepgram ? {
|
|
245
245
|
model: body.model,
|
|
246
|
-
diarize: body.diarize
|
|
246
|
+
diarize: body.diarize,
|
|
247
|
+
smart_format: body.smart_format
|
|
247
248
|
} : {
|
|
248
249
|
model: body.model,
|
|
249
250
|
language: body.language,
|
package/dist/core.browser.mjs
CHANGED
|
@@ -5253,7 +5253,8 @@ async function preprocessAudioRequest(body, encryptionKeys) {
|
|
|
5253
5253
|
const isDeepgram = body.model.startsWith("deepgram/");
|
|
5254
5254
|
const requestBody = isDeepgram ? {
|
|
5255
5255
|
model: body.model,
|
|
5256
|
-
diarize: body.diarize
|
|
5256
|
+
diarize: body.diarize,
|
|
5257
|
+
smart_format: body.smart_format
|
|
5257
5258
|
} : {
|
|
5258
5259
|
model: body.model,
|
|
5259
5260
|
language: body.language,
|
package/dist/index.cjs
CHANGED
|
@@ -324,7 +324,8 @@ async function preprocessAudioRequest(body, encryptionKeys) {
|
|
|
324
324
|
const isDeepgram = body.model.startsWith("deepgram/");
|
|
325
325
|
const requestBody = isDeepgram ? {
|
|
326
326
|
model: body.model,
|
|
327
|
-
diarize: body.diarize
|
|
327
|
+
diarize: body.diarize,
|
|
328
|
+
smart_format: body.smart_format
|
|
328
329
|
} : {
|
|
329
330
|
model: body.model,
|
|
330
331
|
language: body.language,
|
package/dist/index.mjs
CHANGED
|
@@ -246,7 +246,8 @@ async function preprocessAudioRequest(body, encryptionKeys) {
|
|
|
246
246
|
const isDeepgram = body.model.startsWith("deepgram/");
|
|
247
247
|
const requestBody = isDeepgram ? {
|
|
248
248
|
model: body.model,
|
|
249
|
-
diarize: body.diarize
|
|
249
|
+
diarize: body.diarize,
|
|
250
|
+
smart_format: body.smart_format
|
|
250
251
|
} : {
|
|
251
252
|
model: body.model,
|
|
252
253
|
language: body.language,
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
},
|
|
5
5
|
"homepage": "https://github.com/premai-io/api-sdk-ts",
|
|
6
6
|
"name": "@premai/api-sdk",
|
|
7
|
-
"version": "1.0.
|
|
7
|
+
"version": "1.0.41",
|
|
8
8
|
"main": "./dist/index.cjs",
|
|
9
9
|
"bin": {
|
|
10
10
|
"pcci-proxy": "./dist/cli.cjs"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@noble/curves": "^1.8.1",
|
|
66
66
|
"@noble/hashes": "^1.7.1",
|
|
67
67
|
"@noble/post-quantum": "^0.5.2",
|
|
68
|
-
"@premai/reticle": "^0.4.
|
|
68
|
+
"@premai/reticle": "^0.4.6",
|
|
69
69
|
"bare-abort-controller": "^1.1.1",
|
|
70
70
|
"bare-crypto": "^1.13.5",
|
|
71
71
|
"bare-encoding": "^1.0.3",
|