New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@deepgram/sdk

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deepgram/sdk - npm Package Compare versions

Comparing version 1.2.4 to 1.3.0

dist/billing.d.ts

29

CHANGELOG.md

@@ -12,2 +12,20 @@ # Changelog

## [1.3.0]
### Added
- Added Message Class for generic message responses
- Added member endpoint functionality
- This includes the `listMembers` and `removeMember` methods
- Added Member and MemberList Class
- Added scopes endpoint functionality
- This includes the `get` and `update` methods
- Added ScopeList Class
- Added invites endpoint functionality
- This includes the `list`, `send`, `leave` and `delete` methods
- Added InvitationOptions and InvitationList Class
- Added balances endpoint functionality
- This includes the `listBalances` and `getBalance` methods
- Added Balance and BalanceList Class
## [1.2.4]

@@ -32,3 +50,3 @@

- Fixed a bug that caused real-time transcriptions to not close correctly. This
would result in the user not received the final transcription.
would result in the user not received the final transcription.

@@ -40,4 +58,4 @@ ## [1.2.0]

- Updated the `keys.create` function to allow new `expirationDate` or `timeToLive`
values. These are optional and one at most can be provided. Providing both will
throw an error.
values. These are optional and one at most can be provided. Providing both will
throw an error.

@@ -164,4 +182,5 @@ ## [1.1.0]

[unreleased]: https://github.com/deepgram/node-sdk/compare/1.2.4...HEAD
[1.2.2]: https://github.com/deepgram/node-sdk/compare/1.2.2...1.2.4
[unreleased]: https://github.com/deepgram/node-sdk/compare/1.3.0...HEAD
[1.3.0]: https://github.com/deepgram/node-sdk/compare/1.2.2...1.2.4
[1.2.4]: https://github.com/deepgram/node-sdk/compare/1.2.2...1.2.4
[1.2.2]: https://github.com/deepgram/node-sdk/compare/1.2.1...1.2.2

@@ -168,0 +187,0 @@ [1.2.1]: https://github.com/deepgram/node-sdk/compare/1.2.0...1.2.1

@@ -5,2 +5,6 @@ import { Keys } from "./keys";

import { Usage } from "./usage";
import { Members } from "./members";
import { Invitation } from "./invitation";
import { Billing } from "./billing";
import { Scopes } from "./scopes";
export declare class Deepgram {

@@ -13,2 +17,6 @@ private _apiUrl;

usage: Usage;
members: Members;
invitation: Invitation;
billing: Billing;
scopes: Scopes;
constructor(apiKey: string, apiUrl?: string);

@@ -15,0 +23,0 @@ /**

@@ -9,2 +9,6 @@ "use strict";

var usage_1 = require("./usage");
var members_1 = require("./members");
var invitation_1 = require("./invitation");
var billing_1 = require("./billing");
var scopes_1 = require("./scopes");
var Deepgram = /** @class */ (function () {

@@ -19,2 +23,6 @@ function Deepgram(apiKey, apiUrl) {

this.usage = new usage_1.Usage(this._apiKey, this._apiUrl);
this.members = new members_1.Members(this._apiKey, this._apiUrl);
this.invitation = new invitation_1.Invitation(this._apiKey, this._apiUrl);
this.billing = new billing_1.Billing(this._apiKey, this._apiUrl);
this.scopes = new scopes_1.Scopes(this._apiKey, this._apiUrl);
}

@@ -21,0 +29,0 @@ /**

@@ -9,2 +9,3 @@ export * from "./channel";

export * from "./member";
export * from "./memberList";
export * from "./metadata";

@@ -30,1 +31,7 @@ export * from "./prerecordedTranscriptionOptions";

export * from "./wordBase";
export * from "./message";
export * from "./invitationOptions";
export * from "./invitationList";
export * from "./balance";
export * from "./balanceList";
export * from "./scopeList";

@@ -21,2 +21,3 @@ "use strict";

__exportStar(require("./member"), exports);
__exportStar(require("./memberList"), exports);
__exportStar(require("./metadata"), exports);

@@ -42,2 +43,8 @@ __exportStar(require("./prerecordedTranscriptionOptions"), exports);

__exportStar(require("./wordBase"), exports);
__exportStar(require("./message"), exports);
__exportStar(require("./invitationOptions"), exports);
__exportStar(require("./invitationList"), exports);
__exportStar(require("./balance"), exports);
__exportStar(require("./balanceList"), exports);
__exportStar(require("./scopeList"), exports);
//# sourceMappingURL=index.js.map

3

dist/types/member.d.ts
export declare type Member = {
member_id: string;
name?: string;
first_name?: string;
last_name?: string;
scopes?: Array<string>;
email: string;
};
{
"name": "@deepgram/sdk",
"version": "1.2.4",
"version": "1.3.0",
"description": "An SDK for the Deepgram automated speech recognition platform",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc