diff --git a/package.json b/package.json index 9861fe5..34915ab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "valory-adaptor-alb", - "version": "2.0.0-beta.2", + "version": "2.0.0-beta.3", "main": "dist/albAdaptor.js", "typings": "dist/albAdaptor.d.ts", "license": "MIT", @@ -14,7 +14,7 @@ "semantic-release": "^16.0.4", "tslint": "^6.1.0", "typescript": "^3.8.3", - "valory-runtime": "^4.0.0-v4.14" + "valory-runtime": "^4.0.0-v4.16" }, "peerDependencies": { "valory-runtime": "^4.0.0-v4.5" diff --git a/src/albAdaptor.ts b/src/albAdaptor.ts index 2e1f4f3..3abf51a 100644 --- a/src/albAdaptor.ts +++ b/src/albAdaptor.ts @@ -30,11 +30,10 @@ export class ALBAdaptor implements ApiAdaptor { const content = (request.isBase64Encoded) ? Buffer.from("base64").toString() : request.body; const tranRequest = new ApiContext({ headers: request.headers, - queryParams: request.queryStringParameters, pathParams: params, rawBody: content, method, - path + url: `${request.url}?${qs.stringify(request.queryStringParameters)}` }); tranRequest.attachments.putAttachment(ALBAdaptor.LambdaContextKey, request.context); await handler(tranRequest); diff --git a/yarn.lock b/yarn.lock index 88859c3..2d7217a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5673,10 +5673,10 @@ validate-npm-package-name@^3.0.0, validate-npm-package-name@~3.0.0: dependencies: builtins "^1.0.3" -valory-runtime@^4.0.0-v4.14: - version "4.0.0-v4.14" - resolved "https://registry.yarnpkg.com/valory-runtime/-/valory-runtime-4.0.0-v4.14.tgz#fa37f27513a27b4e04f1ee6ea1c73d4b9f37b226" - integrity sha512-FgEXAqDahaCDQIw5dciTjQHxTBqblIArwwhrNGmwjiZ7jghz13YW/SF9PJ3ls3RO91c0LmhKZVWOTVvQ4KbsQA== +valory-runtime@^4.0.0-v4.16: + version "4.0.0-v4.16" + resolved "https://registry.yarnpkg.com/valory-runtime/-/valory-runtime-4.0.0-v4.16.tgz#32f725895d752e6806ff6c217619309db65f27db" + integrity sha512-rqFyX6kgfakCHKLNOryxLJs/nkqafKggXIS3hy+l5GUysNAHI9mLnMScFtupBbMFJ73tPFIEaR8INLhevglf8w== dependencies: "@types/pino" "^6.0.0" openapi-types "^1.3.5"