Skip to content

Commit

Permalink
Add generated files to package
Browse files Browse the repository at this point in the history
  • Loading branch information
DemianParkhomenko committed May 8, 2024
1 parent 44f253a commit 2eecb6a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"files": [
"/lib",
"/generated",
"!/lib/Tests"
],
"keywords": [
Expand All @@ -43,5 +44,5 @@
},
"type": "module",
"types": "lib/index.d.ts",
"version": "2.1.0"
"version": "2.1.1"
}
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import createClient from 'openapi-fetch';
import type { paths as pathsAcquiring } from './generated/acquiring.js';
import type { paths as pathsAcquiring } from '../generated/acquiring.js';

export type ClientOptions = Parameters<typeof createClient>[0];

Expand All @@ -10,4 +10,4 @@ export const createClientMonoAcquiring = (clientOptions: ClientOptions) => {
});
};

export type * as ApiMonoAcquiring from './generated/acquiring.js';
export type * as ApiMonoAcquiring from '../generated/acquiring.js';

0 comments on commit 2eecb6a

Please sign in to comment.