@adobe/helix-deploy 9.0.6 → 9.0.8

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,3 +1,17 @@
1
+ ## [9.0.8](https://github.com/adobe/helix-deploy/compare/v9.0.7...v9.0.8) (2023-02-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * make development server work with helix-shared-secrets ([#505](https://github.com/adobe/helix-deploy/issues/505)) ([a0b3eb0](https://github.com/adobe/helix-deploy/commit/a0b3eb068690a1c8980703ffc724017740cd5c01))
7
+
8
+ ## [9.0.7](https://github.com/adobe/helix-deploy/compare/v9.0.6...v9.0.7) (2023-02-14)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **deps:** update adobe fixes ([#504](https://github.com/adobe/helix-deploy/issues/504)) ([b97a28f](https://github.com/adobe/helix-deploy/commit/b97a28fa4c3ccd4e9b07cfb725af27b2686efc3f))
14
+
1
15
  ## [9.0.6](https://github.com/adobe/helix-deploy/compare/v9.0.5...v9.0.6) (2023-02-14)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-deploy",
3
- "version": "9.0.6",
3
+ "version": "9.0.8",
4
4
  "description": "Library and Commandline Tools to build and deploy OpenWhisk Actions",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://github.com/adobe/helix-deploy#readme",
@@ -36,7 +36,7 @@
36
36
  "@adobe/helix-universal": ">=4.1.1"
37
37
  },
38
38
  "dependencies": {
39
- "@adobe/fastly-native-promises": "3.0.1",
39
+ "@adobe/fastly-native-promises": "3.0.2",
40
40
  "@adobe/fetch": "4.0.3",
41
41
  "@aws-sdk/client-apigatewayv2": "3.267.0",
42
42
  "@aws-sdk/client-lambda": "3.267.0",
@@ -72,7 +72,7 @@
72
72
  "devDependencies": {
73
73
  "@adobe/eslint-config-helix": "2.0.1",
74
74
  "@adobe/helix-shared-wrap": "2.0.0",
75
- "@adobe/helix-status": "10.0.1",
75
+ "@adobe/helix-status": "10.0.2",
76
76
  "@semantic-release/changelog": "6.0.2",
77
77
  "@semantic-release/git": "10.0.1",
78
78
  "c8": "7.12.0",
@@ -100,7 +100,7 @@ export default class DevelopmentServer {
100
100
  * @returns this
101
101
  */
102
102
  async init() {
103
- // load the action params params
103
+ // load the action params
104
104
  let pkgJson = {};
105
105
  try {
106
106
  pkgJson = await fse.readJson(path.resolve(this._cwd, 'package.json'));
@@ -136,7 +136,13 @@ export default class DevelopmentServer {
136
136
  // use google adapter since it already supports express req/res types
137
137
  process.env.K_SERVICE = `${config.packageName}--${config.name}`;
138
138
  process.env.K_REVISION = config.version;
139
- this._handler = createAdapter({ factory: () => this._main });
139
+ this._handler = createAdapter({
140
+ factory: () => (req, ctx) => {
141
+ // adjust runtime in order for the shared-secrets plugin to accept unsupported the runtime.
142
+ ctx.runtime.name = 'simulate';
143
+ return this._main(req, ctx);
144
+ },
145
+ });
140
146
  this.params = config.params;
141
147
  return this;
142
148
  }