@ai-sdk/deepgram 1.0.24 → 1.0.26
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 +13 -0
- package/README.md +2 -0
- package/dist/index.js +4 -4
- package/dist/index.mjs +1 -1
- package/package.json +5 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ai-sdk/deepgram
|
|
2
2
|
|
|
3
|
+
## 1.0.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5543cd1: Add AI Gateway hint to provider READMEs
|
|
8
|
+
|
|
9
|
+
## 1.0.25
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [a27a978]
|
|
14
|
+
- @ai-sdk/provider-utils@3.0.23
|
|
15
|
+
|
|
3
16
|
## 1.0.24
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
The **[Deepgram provider](https://ai-sdk.dev/providers/ai-sdk-providers/deepgram)** for the [AI SDK](https://ai-sdk.dev/docs)
|
|
4
4
|
contains transcription model support for the Deepgram transcription API and speech model support for the Deepgram text-to-speech API.
|
|
5
5
|
|
|
6
|
+
> **Deploying to Vercel?** With Vercel's AI Gateway you can access Deepgram (and hundreds of models from other providers) — no additional packages, API keys, or extra cost. [Get started with AI Gateway](https://vercel.com/ai-gateway).
|
|
7
|
+
|
|
6
8
|
## Setup
|
|
7
9
|
|
|
8
10
|
The Deepgram provider is available in the `@ai-sdk/deepgram` module. You can install it with
|
package/dist/index.js
CHANGED
|
@@ -18,14 +18,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
19
|
|
|
20
20
|
// src/index.ts
|
|
21
|
-
var
|
|
22
|
-
__export(
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
23
|
DeepgramSpeechModel: () => DeepgramSpeechModel,
|
|
24
24
|
VERSION: () => VERSION,
|
|
25
25
|
createDeepgram: () => createDeepgram,
|
|
26
26
|
deepgram: () => deepgram
|
|
27
27
|
});
|
|
28
|
-
module.exports = __toCommonJS(
|
|
28
|
+
module.exports = __toCommonJS(index_exports);
|
|
29
29
|
|
|
30
30
|
// src/deepgram-provider.ts
|
|
31
31
|
var import_provider = require("@ai-sdk/provider");
|
|
@@ -589,7 +589,7 @@ var DeepgramSpeechModel = class {
|
|
|
589
589
|
};
|
|
590
590
|
|
|
591
591
|
// src/version.ts
|
|
592
|
-
var VERSION = true ? "1.0.
|
|
592
|
+
var VERSION = true ? "1.0.26" : "0.0.0-test";
|
|
593
593
|
|
|
594
594
|
// src/deepgram-provider.ts
|
|
595
595
|
function createDeepgram(options = {}) {
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/deepgram",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@ai-sdk/provider
|
|
23
|
-
"@ai-sdk/provider": "
|
|
22
|
+
"@ai-sdk/provider": "2.0.1",
|
|
23
|
+
"@ai-sdk/provider-utils": "3.0.23"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/node": "20.17.24",
|
|
27
27
|
"tsup": "^8",
|
|
28
28
|
"typescript": "5.6.3",
|
|
29
29
|
"zod": "3.25.76",
|
|
30
|
-
"@
|
|
31
|
-
"@ai-
|
|
30
|
+
"@ai-sdk/test-server": "0.0.2",
|
|
31
|
+
"@vercel/ai-tsconfig": "0.0.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"zod": "^3.25.76 || ^4.1.8"
|
|
@@ -54,9 +54,7 @@
|
|
|
54
54
|
"build": "tsup --tsconfig tsconfig.build.json",
|
|
55
55
|
"build:watch": "tsup --tsconfig tsconfig.build.json --watch",
|
|
56
56
|
"clean": "del-cli dist",
|
|
57
|
-
"lint": "eslint \"./**/*.ts*\"",
|
|
58
57
|
"type-check": "tsc --noEmit",
|
|
59
|
-
"prettier-check": "prettier --check \"./**/*.ts*\"",
|
|
60
58
|
"test": "pnpm test:node && pnpm test:edge",
|
|
61
59
|
"test:watch": "vitest --config vitest.node.config.js",
|
|
62
60
|
"test:edge": "vitest --config vitest.edge.config.js --run",
|