Skip to content

Commit

Permalink
Merge upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Sync Fork committed Oct 13, 2023
1 parent 3f68a31 commit c733ac6
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 4 deletions.
6 changes: 6 additions & 0 deletions dashboard/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @nhost/dashboard

## 0.20.25

### Patch Changes

- @nhost/react-apollo@5.0.38

## 0.20.24

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion dashboard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nhost/dashboard",
"version": "0.20.24",
"version": "0.20.25",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
Expand Down
6 changes: 6 additions & 0 deletions integrations/apollo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @nhost/apollo

## 5.2.21

### Patch Changes

- f777a3380: fix: apollo-integration: correctly reset accessToken to null after sign-out

## 5.2.20

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion integrations/apollo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nhost/apollo",
"version": "5.2.20",
"version": "5.2.21",
"description": "Nhost Apollo Client library",
"license": "MIT",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion integrations/apollo/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export const createApolloClient = ({
if (['SIGNOUT', 'SIGNED_IN', 'TOKEN_CHANGED'].includes(event.type)) {
if (
event.type === 'SIGNOUT' ||
(event.type === 'TOKEN_CHANGED' && state.context.accessToken === null)
(event.type === 'TOKEN_CHANGED' && state.context.accessToken.value === null)
) {
accessToken = null

Expand Down
7 changes: 7 additions & 0 deletions integrations/react-apollo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @nhost/react-apollo

## 5.0.38

### Patch Changes

- Updated dependencies [f777a3380]
- @nhost/apollo@5.2.21

## 5.0.37

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion integrations/react-apollo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nhost/react-apollo",
"version": "5.0.37",
"version": "5.0.38",
"description": "Nhost React Apollo client",
"license": "MIT",
"keywords": [
Expand Down

0 comments on commit c733ac6

Please sign in to comment.