Skip to content

Commit

Permalink
fix: update valory version
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrconley committed Apr 28, 2020
1 parent 54dd794 commit 2e8c91a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "valory-adaptor-polka",
"version": "2.0.0-beta.3",
"version": "2.0.0-beta.4",
"main": "dist/adaptor-polka.js",
"typings": "dist/adaptor-polka.d.ts",
"license": "MIT",
Expand All @@ -13,7 +13,7 @@
"semantic-release": "^17.0.4",
"tslint": "^6.1.0",
"typescript": "^3.8.3",
"valory-runtime": "^4.0.0-v4.16"
"valory-runtime": "^4.0.0-v4.18"
},
"files": [
"dist/adaptor-polka.js",
Expand Down
3 changes: 2 additions & 1 deletion src/adaptor-polka.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ export class PolkaAdaptor implements ApiAdaptor {
const ctx = new ApiContext({
headers: req.headers,
pathParams: (req as any).params,
url: req.url,
path,
method,
rawBody,
query: (req as any)._parsedUrl.query
});

await handler(ctx);
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5069,10 +5069,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.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==
valory-runtime@^4.0.0-v4.18:
version "4.0.0-v4.18"
resolved "https://registry.yarnpkg.com/valory-runtime/-/valory-runtime-4.0.0-v4.18.tgz#c455774920c5603b124d4bdc6937796a2da91857"
integrity sha512-gD2e7Y3/dt0PaaIocQkRY4GQAgx4iS3/4kGBEpz+OG5csNY2DzNcD2Qy3KoCdfCRwcWHLDZzZNNvIgtWV4tYQg==
dependencies:
"@types/pino" "^6.0.0"
openapi-types "^1.3.5"
Expand Down

0 comments on commit 2e8c91a

Please sign in to comment.