@bagelink/sdk 1.4.130 → 1.4.134

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": "1.4.130",
4
+ "version": "1.4.134",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -549,8 +549,8 @@ export function generateFunctions(paths: OpenAPIPaths, baseUrl: string): string
549
549
  ) {
550
550
  // Single method endpoint with unique path
551
551
  const method = methods[0]
552
- const opp = operation[method] as OpenAPIOperation
553
- acc[objFuncKey] = createFunctionPlaceholder(path, method, opp)
552
+ const opp = operation[method!] as OpenAPIOperation
553
+ acc[objFuncKey] = createFunctionPlaceholder(path, method!, opp)
554
554
  } else if (index === array.length - 1) {
555
555
  // Multiple methods endpoint or path with conflicts
556
556
  acc[objFuncKey] = handlePathSegment(path, operation, acc[objFuncKey])