assemblyai
Advanced tools
Comparing version 2.0.1-beta to 2.0.1
{ | ||
"name": "assemblyai", | ||
"version": "2.0.1-beta", | ||
"version": "2.0.1", | ||
"description": "The AssemblyAI Node.js SDK provides an easy-to-use interface for interacting with the AssemblyAI API, which supports async and real-time transcription, as well as the latest LeMUR models.", | ||
@@ -11,6 +11,6 @@ "main": "dist/index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/AssemblyAI/assemblyai-typescript-sdk.git" | ||
"url": "git+https://github.com/AssemblyAI/assemblyai-node-sdk.git" | ||
}, | ||
"publishConfig": { | ||
"tag": "beta", | ||
"tag": "latest", | ||
"access": "public", | ||
@@ -25,8 +25,13 @@ "registry": "https://registry.npmjs.org/" | ||
"test:unit": "jest --config jest.config.rollup.ts", | ||
"prettier": "prettier --write 'src/**/*.ts'", | ||
"generate-types": "tsx ./scripts/generate-types.ts && pnpm prettier" | ||
"format": "prettier --write 'src/**/*.ts'", | ||
"generate-types": "tsx ./scripts/generate-types.ts && pnpm format", | ||
"copybara:dry-run": "./copybara.sh dry_run --init-history", | ||
"copybara:pr": "./copybara.sh sync_out --init-history" | ||
}, | ||
"keywords": [ | ||
"AssemblyAI", | ||
"Speech-to-text" | ||
"Speech-to-text", | ||
"Transcription", | ||
"Audio", | ||
"LLM" | ||
], | ||
@@ -33,0 +38,0 @@ "author": "AssemblyAI (https://www.assemblyai.com)", |
@@ -1,2 +0,2 @@ | ||
<img src="https://github.com/AssemblyAI/assemblyai-typescript-sdk/blob/master/assemblyai.png?raw=true" width="500"/> | ||
<img src="https://github.com/AssemblyAI/assemblyai-node-sdk/blob/main/assemblyai.png?raw=true" width="500"/> | ||
@@ -176,3 +176,3 @@ --- | ||
```typescript | ||
const token = await client.realtime.createTemporaryToken({expires_in = 60}); | ||
const token = await client.realtime.createTemporaryToken({ expires_in = 60 }); | ||
const rt = client.realtime.createService({ | ||
@@ -216,3 +216,3 @@ token: token | ||
```typescript | ||
rt.close(); | ||
await rt.close(); | ||
``` | ||
@@ -219,0 +219,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
154405
0
0