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

feat: full rewrite using getAll and setAll cookie methods #1

Merged
merged 1 commit into from
Jun 12, 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
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
if [ "$RELEASE_CANDIDATE" == "true" ]
then
DIST_TAG=rc
elif [ "$GITHUB_REF" == "refs/heads/main" ] && [ "$GITHUB_REF" == "refs/heads/master" ]
elif [ "$GITHUB_REF" == "refs/heads/main" ] || [ "$GITHUB_REF" == "refs/heads/master" ]
then
# This is the main branch and it's not a prerelease, so the dist-tag should be `latest`.
DIST_TAG=latest
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
*.spec.js
*.spec.js.map
*.spec.ts
__snapshots__
332 changes: 332 additions & 0 deletions docs/design.md

Large diffs are not rendered by default.

41 changes: 3 additions & 38 deletions package-lock.json

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

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"private": true,
"name": "@supabase/ssr",
"version": "0.0.0",
"description": "Use the Supabase JavaScript library in popular server-side rendering (SSR) frameworks.",
Expand Down Expand Up @@ -36,7 +35,6 @@
"@eslint/js": "^9.3.0",
"@supabase/supabase-js": "^2.43.4",
"@types/cookie": "^0.6.0",
"@types/ramda": "^0.30.0",
"@vitest/coverage-v8": "^1.6.0",
"eslint": "^8.57.0",
"prettier": "^3.2.5",
Expand All @@ -51,7 +49,6 @@
"@rollup/rollup-linux-x64-gnu": "^4.9.5"
},
"dependencies": {
"cookie": "^0.6.0",
"ramda": "^0.30.0"
"cookie": "^0.6.0"
}
}
235 changes: 235 additions & 0 deletions src/__snapshots__/createServerClient.spec.ts.snap

Large diffs are not rendered by default.

Loading