Skip to content

Commit

Permalink
Fixing examples and exports (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillatrev authored Jan 4, 2024
1 parent 31775d1 commit 107480e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions examples/async_summarize_local_media_file.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
const revai = require('revai-node-sdk');
const fs = require('fs');
const { JobStatus } = require('../dist/src/models/JobStatus');
const { SummarizationJobStatus } = require('../dist/src/models/async/SummarizationJobStatus');
const { SummarizationFormattingOptions } = require('../dist/src/models/async/SummarizationFormattingOptions');
const { JobStatus, SummarizationJobStatus, SummarizationFormattingOptions } = require('revai-node-sdk');
const token = require('./config/config.json').access_token;

(async () => {
Expand Down
3 changes: 1 addition & 2 deletions examples/async_translate_local_media_file.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const revai = require('revai-node-sdk');
const fs = require('fs');
const { JobStatus } = require('../dist/src/models/JobStatus');
const { TranslationJobStatus } = require('../dist/src/models/async/TranslationJobStatus');
const { JobStatus, TranslationJobStatus } = require('revai-node-sdk');
const token = require('./config/config.json').access_token;

(async () => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "revai-node-sdk",
"version": "3.8.4",
"version": "3.8.5",
"description": "Rev AI makes speech applications easy to build!",
"main": "src/index.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export * from './async/RevAiAccount';
export * from './async/RevAiJobOptions';
export * from './async/SummarizationJobStatus';
export * from './async/SummarizationOptions';
export * from './async/SummarizationFormattingOptions';
export * from './async/SummarizationModel';
export * from './async/Summarization';
export * from './async/TranslationJobStatus';
Expand Down

0 comments on commit 107480e

Please sign in to comment.