Skip to content

Commit

Permalink
chore(deps): update apollo graphql packages (#2924)
Browse files Browse the repository at this point in the history
* chore(deps): update apollo graphql packages

* chore(auth): fix test with new apollo types

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Max Kurapov <max@interledger.org>
  • Loading branch information
renovate[bot] and mkurapov authored Oct 31, 2024
1 parent 60dc11a commit a84ad3d
Show file tree
Hide file tree
Showing 8 changed files with 231 additions and 143 deletions.
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 @@
"typecheck": "tsc"
},
"dependencies": {
"@apollo/client": "^3.9.9",
"@apollo/client": "^3.11.8",
"@headlessui/react": "^1.7.18",
"@interledger/http-signature-utils": "2.0.2",
"@remix-run/node": "^2.6.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"dependencies": {
"@adonisjs/fold": "^8.2.0",
"@apollo/server": "^4.10.2",
"@apollo/server": "^4.11.2",
"@as-integrations/koa": "^1.1.1",
"@escape.tech/graphql-armor": "^2.4.0",
"@graphql-tools/graphql-file-loader": "^8.0.1",
Expand Down Expand Up @@ -53,7 +53,7 @@
"uuid": "^9.0.1"
},
"devDependencies": {
"@apollo/client": "^3.9.9",
"@apollo/client": "^3.11.8",
"@faker-js/faker": "^8.4.1",
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/introspection": "4.0.3",
Expand Down
8 changes: 4 additions & 4 deletions packages/auth/src/graphql/resolvers/grant.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ describe('Grant Resolvers', (): void => {
} catch (error) {
assert.ok(error instanceof ApolloError)
expect(error.message).toBe('No grant')
expect(error.graphQLErrors[0].extensions.code).toEqual(
expect(error.graphQLErrors[0].extensions?.code).toEqual(
GraphQLErrorCode.NotFound
)
}
Expand Down Expand Up @@ -590,7 +590,7 @@ describe('Grant Resolvers', (): void => {
} catch (error) {
assert.ok(error instanceof ApolloError)
expect(error.message).toBe('Grant id is not provided')
expect(error.graphQLErrors[0].extensions.code).toEqual(
expect(error.graphQLErrors[0].extensions?.code).toEqual(
GraphQLErrorCode.Forbidden
)
}
Expand Down Expand Up @@ -626,7 +626,7 @@ describe('Grant Resolvers', (): void => {
} catch (error) {
assert.ok(error instanceof ApolloError)
expect(error.message).toBe('Revoke grant was not successful')
expect(error.graphQLErrors[0].extensions.code).toEqual(
expect(error.graphQLErrors[0].extensions?.code).toEqual(
GraphQLErrorCode.NotFound
)
}
Expand Down Expand Up @@ -662,7 +662,7 @@ describe('Grant Resolvers', (): void => {
})
} catch (error) {
assert.ok(error instanceof ApolloError)
expect(error.graphQLErrors[0].extensions.code).toEqual(
expect(error.graphQLErrors[0].extensions?.code).toEqual(
GraphQLErrorCode.InternalServerError
)
}
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dev": "ts-node-dev --inspect=0.0.0.0:9229 --respawn --transpile-only --require ./src/telemetry/index.ts src/index.ts"
},
"devDependencies": {
"@apollo/client": "^3.9.9",
"@apollo/client": "^3.11.8",
"@graphql-codegen/cli": "5.0.2",
"@graphql-codegen/introspection": "4.0.3",
"@graphql-codegen/typescript": "4.0.6",
Expand Down Expand Up @@ -46,7 +46,7 @@
},
"dependencies": {
"@adonisjs/fold": "^8.2.0",
"@apollo/server": "^4.10.2",
"@apollo/server": "^4.11.2",
"@as-integrations/koa": "^1.1.1",
"@escape.tech/graphql-armor": "^2.4.0",
"@faker-js/faker": "^8.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"typecheck": "tsc"
},
"dependencies": {
"@apollo/client": "^3.9.9",
"@apollo/client": "^3.11.8",
"@headlessui/react": "^1.7.18",
"@ory/client": "^1.9.0",
"@ory/integrations": "^1.1.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/mock-account-service-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@types/uuid": "^9.0.8"
},
"dependencies": {
"@apollo/client": "^3.9.9",
"@apollo/client": "^3.11.8",
"@interledger/http-signature-utils": "2.0.2",
"graphql": "^16.8.1",
"pino": "^8.19.0",
Expand Down
Loading

0 comments on commit a84ad3d

Please sign in to comment.