Skip to content

Commit

Permalink
fix(*): export converter error classes (#113)
Browse files Browse the repository at this point in the history
fixes #103
  • Loading branch information
pmstss authored Jan 27, 2022
1 parent 4155403 commit 9343f17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/oas/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { DefaultConverter } from './converter';
import { OpenAPI, Request } from '@har-sdk/core';

export * from './errors';

export const oas2har = (collection: OpenAPI.Document): Promise<Request[]> => {
if (!collection) {
throw new TypeError('Please provide a valid OAS specification.');
Expand Down
2 changes: 2 additions & 0 deletions packages/postman/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import {
} from './parser';
import { Postman, Request } from '@har-sdk/core';

export * from './parser/errors';

export const postman2har = async (
collection: Postman.Document,
options: ConverterOptions = {}
Expand Down

0 comments on commit 9343f17

Please sign in to comment.