Skip to content

Commit 3640ef9

Browse files
J0j4w8nj4w8n-malynium
authored
fix: add small fixes to v0.4.0 (#34)
## What kind of change does this PR introduce? Update v0.4.0 with small fixes --------- Co-authored-by: Jason Creviston <[email protected]> Co-authored-by: Jason Creviston <[email protected]>
1 parent 8dae532 commit 3640ef9

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: CI
22

33
on:
44
pull_request:
5+
push:
6+
branches:
7+
- main
8+
tags: ["*"]
59

610
jobs:
711
lint:

.github/workflows/conventional-commits.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ name: Check pull requests
33
on:
44
push:
55
branches-ignore: # Run the checks on all branches but the protected ones
6-
- master
6+
- main
77
- release/*
88

99
pull_request_target:
1010
branches:
11-
- master
11+
- main
1212
- release/*
1313
types:
1414
- opened

CHANGELOG.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,15 @@
22

33
## [0.4.0](https://github.com/supabase/ssr/compare/v0.3.0...v0.4.0) (2024-06-24)
44

5-
65
### Features
76

8-
* full rewrite using `getAll` and `setAll` cookie methods ([#1](https://github.com/supabase/ssr/issues/1)) ([b6ae192](https://github.com/supabase/ssr/commit/b6ae192aeb37ac6948637955cf1d3d6179b90065))
9-
7+
- full rewrite using `getAll` and `setAll` cookie methods ([#1](https://github.com/supabase/ssr/issues/1)) ([b6ae192](https://github.com/supabase/ssr/commit/b6ae192aeb37ac6948637955cf1d3d6179b90065))
108

119
### Bug Fixes
1210

13-
* allow use of `createBrowserClient` without `window` present ([#20](https://github.com/supabase/ssr/issues/20)) ([27d868d](https://github.com/supabase/ssr/commit/27d868d530925805fe2f3577ae716ece40dd3ab6))
14-
* deprecate `parse`, `serialize` exports for more useful functions ([#14](https://github.com/supabase/ssr/issues/14)) ([0b5f881](https://github.com/supabase/ssr/commit/0b5f881e90b7836f2b98b733aac1cc9f916286cb))
15-
* fix `createBrowserClient` deprecation tsdoc ([#17](https://github.com/supabase/ssr/issues/17)) ([1df70ad](https://github.com/supabase/ssr/commit/1df70ad51e65caab46cbc00342dbb42f6d498c32))
11+
- allow use of `createBrowserClient` without `window` present ([#20](https://github.com/supabase/ssr/issues/20)) ([27d868d](https://github.com/supabase/ssr/commit/27d868d530925805fe2f3577ae716ece40dd3ab6))
12+
- deprecate `parse`, `serialize` exports for more useful functions ([#14](https://github.com/supabase/ssr/issues/14)) ([0b5f881](https://github.com/supabase/ssr/commit/0b5f881e90b7836f2b98b733aac1cc9f916286cb))
13+
- fix `createBrowserClient` deprecation tsdoc ([#17](https://github.com/supabase/ssr/issues/17)) ([1df70ad](https://github.com/supabase/ssr/commit/1df70ad51e65caab46cbc00342dbb42f6d498c32))
1614

1715
## 0.3.0
1816

src/createServerClient.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,9 @@ export function createServerClient<
193193
(event === "SIGNED_IN" ||
194194
event === "TOKEN_REFRESHED" ||
195195
event === "USER_UPDATED" ||
196-
event === "SIGNED_OUT")
196+
event === "PASSWORD_RECOVERY" ||
197+
event === "SIGNED_OUT" ||
198+
event === "MFA_CHALLENGE_VERIFIED")
197199
) {
198200
await applyServerStorage(
199201
{ getAll, setAll, setItems, removedItems },

0 commit comments

Comments
 (0)