ng-openapi 0.0.25-alpha.1 → 0.0.25-alpha.2

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.
Files changed (3) hide show
  1. package/cli.cjs +2 -2
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -1097,14 +1097,14 @@ var BaseInterceptorGenerator = class {
1097
1097
  returnType: "Observable<HttpEvent<any>>",
1098
1098
  statements: `
1099
1099
  // Only intercept requests to this client's base path
1100
- if (!req.url.startsWith(this.#basePath)) {
1100
+ if (!req.url.startsWith(this.basePath)) {
1101
1101
  return next.handle(req);
1102
1102
  }
1103
1103
 
1104
1104
  // Apply client-specific interceptors in reverse order
1105
1105
  let handler = next;
1106
1106
 
1107
- handler = this.#httpInterceptors.reduceRight(
1107
+ handler = this.httpInterceptors.reduceRight(
1108
1108
  (next, interceptor) => ({
1109
1109
  handle: (request: HttpRequest<any>) => interceptor.intercept(request, next)
1110
1110
  }),
package/index.js CHANGED
@@ -1140,14 +1140,14 @@ var _BaseInterceptorGenerator = class _BaseInterceptorGenerator {
1140
1140
  returnType: "Observable<HttpEvent<any>>",
1141
1141
  statements: `
1142
1142
  // Only intercept requests to this client's base path
1143
- if (!req.url.startsWith(this.#basePath)) {
1143
+ if (!req.url.startsWith(this.basePath)) {
1144
1144
  return next.handle(req);
1145
1145
  }
1146
1146
 
1147
1147
  // Apply client-specific interceptors in reverse order
1148
1148
  let handler = next;
1149
1149
 
1150
- handler = this.#httpInterceptors.reduceRight(
1150
+ handler = this.httpInterceptors.reduceRight(
1151
1151
  (next, interceptor) => ({
1152
1152
  handle: (request: HttpRequest<any>) => interceptor.intercept(request, next)
1153
1153
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-openapi",
3
- "version": "0.0.25-alpha.1",
3
+ "version": "0.0.25-alpha.2",
4
4
  "description": "Generate Angular services and TypeScript types from OpenAPI/Swagger specifications",
5
5
  "keywords": [
6
6
  "angular",