@goauthentik/api 2022.3.3-1648316973 → 2022.3.3-1648400641

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.
@@ -1,6 +1,5 @@
1
1
  .gitignore
2
2
  .npmignore
3
- .openapi-generator-ignore
4
3
  README.md
5
4
  package.json
6
5
  src/apis/AdminApi.ts
@@ -447,5 +446,4 @@ src/models/WebAuthnDeviceRequest.ts
447
446
  src/models/Workers.ts
448
447
  src/models/index.ts
449
448
  src/runtime.ts
450
- tsconfig.esm.json
451
449
  tsconfig.json
@@ -1 +1 @@
1
- 6.0.0-SNAPSHOT
1
+ 5.4.0
@@ -85,7 +85,6 @@ export class BaseAPI {
85
85
  ? context.body
86
86
  : JSON.stringify(context.body);
87
87
  const headers = Object.assign({}, this.configuration.headers, context.headers);
88
- Object.keys(headers).forEach(key => headers[key] === undefined ? delete headers[key] : {});
89
88
  const init = Object.assign({ method: context.method, headers: headers, body, credentials: this.configuration.credentials }, initOverrides);
90
89
  return { url, init };
91
90
  }
package/dist/runtime.js CHANGED
@@ -88,7 +88,6 @@ class BaseAPI {
88
88
  ? context.body
89
89
  : JSON.stringify(context.body);
90
90
  const headers = Object.assign({}, this.configuration.headers, context.headers);
91
- Object.keys(headers).forEach(key => headers[key] === undefined ? delete headers[key] : {});
92
91
  const init = Object.assign({ method: context.method, headers: headers, body, credentials: this.configuration.credentials }, initOverrides);
93
92
  return { url, init };
94
93
  }
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name": "@goauthentik/api", "version": "2022.3.3-1648316973", "description": "OpenAPI client for @goauthentik/api", "author": "OpenAPI-Generator", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "module": "./dist/esm/index.js", "sideEffects": false, "scripts": {"build": "tsc && tsc --project tsconfig.esm.json", "prepare": "npm run build"}, "devDependencies": {"typescript": "^3.9.5"}, "license": "GPL-3.0-only"}
1
+ {"name": "@goauthentik/api", "version": "2022.3.3-1648400641", "description": "OpenAPI client for @goauthentik/api", "author": "OpenAPI-Generator", "main": "./dist/index.js", "typings": "./dist/index.d.ts", "scripts": {"build": "tsc && tsc --project tsconfig.esm.json", "prepare": "npm run build"}, "devDependencies": {"typescript": "^3.9.5"}, "license": "GPL-3.0-only", "module": "./dist/esm/index.js", "sideEffects": false}
package/src/runtime.ts CHANGED
@@ -66,8 +66,6 @@ export class BaseAPI {
66
66
  : JSON.stringify(context.body);
67
67
 
68
68
  const headers = Object.assign({}, this.configuration.headers, context.headers);
69
- Object.keys(headers).forEach(key => headers[key] === undefined ? delete headers[key] : {});
70
-
71
69
  const init = {
72
70
  method: context.method,
73
71
  headers: headers,