@backstage/plugin-proxy-backend 0.2.39 → 0.2.40-next.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @backstage/plugin-proxy-backend
2
2
 
3
+ ## 0.2.40-next.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 95987388f26b: Marked headers `Authorization` and `X-Api-Key` as secret in order to not show up in frontend configuration.
8
+ - Updated dependencies
9
+ - @backstage/backend-common@0.19.0-next.1
10
+ - @backstage/backend-plugin-api@0.5.3-next.1
11
+ - @backstage/config@1.0.7
12
+
13
+ ## 0.2.40-next.0
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+ - @backstage/backend-common@0.18.6-next.0
19
+ - @backstage/config@1.0.7
20
+ - @backstage/backend-plugin-api@0.5.3-next.0
21
+
3
22
  ## 0.2.39
4
23
 
5
24
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-proxy-backend",
3
- "version": "0.2.39",
3
+ "version": "0.2.40-next.1",
4
4
  "main": "../dist/index.cjs.js",
5
5
  "types": "../dist/index.alpha.d.ts"
6
6
  }
package/config.d.ts CHANGED
@@ -31,7 +31,17 @@ export interface Config {
31
31
  /**
32
32
  * Object with extra headers to be added to target requests.
33
33
  */
34
- headers?: { [key: string]: string };
34
+ headers?: Partial<{
35
+ /** @visibility secret */
36
+ Authorization: string;
37
+ /** @visibility secret */
38
+ authorization: string;
39
+ /** @visibility secret */
40
+ 'X-Api-Key': string;
41
+ /** @visibility secret */
42
+ 'x-api-key': string;
43
+ [key: string]: string;
44
+ }>;
35
45
  /**
36
46
  * Changes the origin of the host header to the target URL. Default: true.
37
47
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-proxy-backend",
3
3
  "description": "A Backstage backend plugin that helps you set up proxy endpoints in the backend",
4
- "version": "0.2.39",
4
+ "version": "0.2.40-next.1",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -33,8 +33,8 @@
33
33
  "clean": "backstage-cli package clean"
34
34
  },
35
35
  "dependencies": {
36
- "@backstage/backend-common": "^0.18.5",
37
- "@backstage/backend-plugin-api": "^0.5.2",
36
+ "@backstage/backend-common": "^0.19.0-next.1",
37
+ "@backstage/backend-plugin-api": "^0.5.3-next.1",
38
38
  "@backstage/config": "^1.0.7",
39
39
  "@types/express": "^4.17.6",
40
40
  "express": "^4.17.1",
@@ -48,7 +48,7 @@
48
48
  "yup": "^0.32.9"
49
49
  },
50
50
  "devDependencies": {
51
- "@backstage/cli": "^0.22.7",
51
+ "@backstage/cli": "^0.22.8-next.1",
52
52
  "@types/http-proxy-middleware": "^0.19.3",
53
53
  "@types/supertest": "^2.0.8",
54
54
  "@types/uuid": "^8.0.0",