@bagelink/sdk 0.0.221 → 0.0.226-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/sdk",
3
3
  "type": "module",
4
- "version": "0.0.221",
4
+ "version": "0.0.226-beta.0",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -17,7 +17,7 @@ export default async (openApiUrl: string, baseURL: string): Promise<OpenAPIRespo
17
17
  // Generate Functions
18
18
  const { paths } = openApi;
19
19
  if (!paths) throw new Error('No paths found in OpenAPI document');
20
- const code = generateFunctions(paths, baseURL);
20
+ const code = generateFunctions(paths, baseURL); // TODO baseURL should not be set here, but should be instatiated in runtime somehow
21
21
  return { types, code };
22
22
  } catch (error: any) {
23
23
  throw new Error(error);