Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @interledger/http-signature-utils to v2.0.2 #2434

Merged
merged 3 commits into from
Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 20 additions & 8 deletions aws/lambdas/http-signatures/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion aws/lambdas/http-signatures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"main": "index.js",
"type": "module",
"dependencies": {
"@interledger/http-signature-utils": "2.0.1"
"@interledger/http-signature-utils": "2.0.2"
}
}
2 changes: 1 addition & 1 deletion localenv/mock-account-servicing-entity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"@apollo/client": "^3.9.5",
"@interledger/http-signature-utils": "2.0.1",
"@interledger/http-signature-utils": "2.0.2",
"@remix-run/node": "^2.6.0",
"@remix-run/react": "^2.6.0",
"@remix-run/serve": "^2.6.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@graphql-tools/graphql-file-loader": "^8.0.1",
"@graphql-tools/load": "^8.0.2",
"@graphql-tools/schema": "^10.0.3",
"@interledger/http-signature-utils": "2.0.1",
"@interledger/http-signature-utils": "2.0.2",
"@interledger/open-payments": "6.6.0",
"@interledger/openapi": "1.2.1",
"@koa/cors": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/src/signature/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function contextToRequestLike(ctx: AppContext): RequestLike {
return {
url,
method: ctx.method,
headers: ctx.headers,
headers: ctx.headers ? JSON.parse(JSON.stringify(ctx.headers)) : undefined,
body: ctx.request.body ? JSON.stringify(ctx.request.body) : undefined
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/src/tests/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export async function createContextWithSigHeaders<T extends AppContext>(
const request = {
url,
method,
headers,
headers: headers ? JSON.parse(JSON.stringify(headers)) : undefined,
body: JSON.stringify(requestBody)
}
const sigHeaders = await createHeaders({
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@graphql-tools/graphql-file-loader": "^8.0.1",
"@graphql-tools/load": "^8.0.2",
"@graphql-tools/schema": "^10.0.3",
"@interledger/http-signature-utils": "2.0.1",
"@interledger/http-signature-utils": "2.0.2",
"@interledger/open-payments": "6.6.0",
"@interledger/openapi": "1.2.1",
"@interledger/pay": "0.4.0-alpha.9",
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/open_payments/auth/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function contextToRequestLike(ctx: HttpSigContext): RequestLike {
return {
url,
method: ctx.method,
headers: ctx.headers,
headers: ctx.headers ? JSON.parse(JSON.stringify(ctx.headers)) : undefined,
body: ctx.request.body ? JSON.stringify(ctx.request.body) : undefined
}
}
Expand Down
21 changes: 6 additions & 15 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading