sveltekit-auth-example 1.0.21 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/package.json +4 -5
- package/src/routes/_send-in-blue.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
# Backlog
|
|
2
2
|
* Add password complexity checking on /register and /profile pages (only checks for length currently despite what the pages say)
|
|
3
3
|
|
|
4
|
+
# 1.0.22
|
|
5
|
+
* Move google-auth-library and jsonwebtoken to devDependencies from dependencies and other cleanup to package.json
|
|
6
|
+
|
|
4
7
|
# 1.0.21
|
|
5
8
|
* Refactor to use $env/static/private and public, dropping dotenv dependency
|
|
6
9
|
* Remove @types/cookie and bootstrap-icons dependencies
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sveltekit-auth-example",
|
|
3
3
|
"description": "SvelteKit Authentication Example",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.22",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "Nate Stuyvesant",
|
|
7
7
|
"license": "https://github.com/nstuyvesant/sveltekit-auth-example/blob/master/LICENSE",
|
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
"authentication",
|
|
19
19
|
"example",
|
|
20
20
|
"google",
|
|
21
|
-
"postgresql"
|
|
22
|
-
"example"
|
|
21
|
+
"postgresql"
|
|
23
22
|
],
|
|
24
23
|
"scripts": {
|
|
25
24
|
"start": "node build",
|
|
@@ -38,8 +37,6 @@
|
|
|
38
37
|
},
|
|
39
38
|
"type": "module",
|
|
40
39
|
"dependencies": {
|
|
41
|
-
"google-auth-library": "^8.5.1",
|
|
42
|
-
"jsonwebtoken": "^8.5.1",
|
|
43
40
|
"pg": "^8.8.0"
|
|
44
41
|
},
|
|
45
42
|
"devDependencies": {
|
|
@@ -55,6 +52,8 @@
|
|
|
55
52
|
"eslint": "^8.23.0",
|
|
56
53
|
"eslint-config-prettier": "^8.5.0",
|
|
57
54
|
"eslint-plugin-svelte3": "^4.0.0",
|
|
55
|
+
"google-auth-library": "^8.5.1",
|
|
56
|
+
"jsonwebtoken": "^8.5.1",
|
|
58
57
|
"prettier": "^2.7.1",
|
|
59
58
|
"prettier-plugin-svelte": "^2.7.0",
|
|
60
59
|
"sass": "^1.54.9",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SEND_IN_BLUE_KEY, SEND_IN_BLUE_URL, SEND_IN_BLUE_FROM, SEND_IN_BLUE_ADMINS } from '$env/static/private'
|
|
2
2
|
|
|
3
3
|
const sender = <MessageAddressee> JSON.parse(SEND_IN_BLUE_FROM || '')
|
|
4
|
-
const to
|
|
4
|
+
const to = <MessageAddressee> JSON.parse(SEND_IN_BLUE_ADMINS || '')
|
|
5
5
|
|
|
6
6
|
// POST or PUT submission to SendInBlue
|
|
7
7
|
const submit = async (method: string, url: string, data: Partial<SendInBlueContact> | SendInBlueMessage) => {
|