Skip to content

Commit 178d1d7

Browse files
committed
Initial commit
0 parents  commit 178d1d7

File tree

4 files changed

+114
-0
lines changed

4 files changed

+114
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/dist
2+
/coverage
3+
/node_modules

CHANGELOG.md

+82
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# @supabase/ssr
2+
3+
## 0.3.0
4+
5+
### Minor Changes
6+
7+
- 8d85be4: fix custom cookie options in browser client
8+
- 9e7ff76: upgrade supabase-js version to v2.42.0
9+
10+
## 0.2.0
11+
12+
### Minor Changes
13+
14+
- faf9eac: Miscellaneous fixes to createBrowserClient
15+
16+
## 0.1.0
17+
18+
### Minor Changes
19+
20+
- 18327fc: add isServer property to server-side storage adaptors
21+
- 18327fc: fix cookie chunking length calculation
22+
- 8ed42ff: use custom cookie name set
23+
24+
## 0.0.10
25+
26+
### Patch Changes
27+
28+
- 1e079c3: Set cookie default to httpOnly: false
29+
30+
## 0.0.9
31+
32+
### Patch Changes
33+
34+
- f7e5c2d: Revert cookie name to storage key change
35+
36+
## 0.0.8
37+
38+
### Patch Changes
39+
40+
- 5893215: Update storage key name with cookie name
41+
42+
## 0.0.7
43+
44+
### Patch Changes
45+
46+
- fc8ccfd: Reduce cookie chunk size
47+
48+
## 0.0.6
49+
50+
### Patch Changes
51+
52+
- 1c7f7e8: Implement cookie chunking
53+
54+
## 0.0.5
55+
56+
### Patch Changes
57+
58+
- 841fce0: Add cookie chunker methods and expose them to the SDK
59+
60+
## 0.0.4
61+
62+
### Patch Changes
63+
64+
- 4e5df45: Await get cookie function
65+
66+
## 0.0.3
67+
68+
### Patch Changes
69+
70+
- b9099fd: Fixed types for cookie methods
71+
72+
## 0.0.2
73+
74+
### Patch Changes
75+
76+
- 66e6b4c: Remove max-age option from cookieOptions
77+
78+
## 0.0.1
79+
80+
### Patch Changes
81+
82+
- 49f4043: The successor to the auth-helpers packages with sane defaults

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022-2023 Supabase, Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Supabase clients for use in SSR frameworks
2+
3+
This package is useful for using the [Supabase JavaScript library](https://supabase.com/docs/reference/javascript/introduction) in
4+
server-side rendering frameworks.
5+
6+
It provides a framework-agnostic way of creating a Supabase client.
7+
8+
Please refer to the [official server-side rendering guides](https://supabase.com/docs/guides/auth/server-side) for the latest best practices on using this package in your SSR framework of choice.

0 commit comments

Comments
 (0)