sveltekit-auth-example 1.0.30 → 1.0.31

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 CHANGED
@@ -1,6 +1,10 @@
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.31
5
+ * Cleanup
6
+ * Update SvelteKit
7
+
4
8
  # 1.0.30
5
9
  * Fixed bug where opening /login or /register would fail to render Sign in With Google button (onMount in +layout.svelte loads after children's onMount)
6
10
  * Fix bad path for favicon
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.30",
4
+ "version": "1.0.31",
5
5
  "private": false,
6
6
  "author": "Nate Stuyvesant",
7
7
  "license": "https://github.com/nstuyvesant/sveltekit-auth-example/blob/master/LICENSE",
package/src/lib/google.ts CHANGED
@@ -1,9 +1,7 @@
1
- import type { Page } from '@sveltejs/kit'
2
1
  import { page } from '$app/stores'
3
2
  import { goto } from '$app/navigation'
4
3
  import { PUBLIC_GOOGLE_CLIENT_ID } from '$env/static/public'
5
4
  import { googleInitialized, loginSession } from '../stores'
6
- import type { Readable } from 'svelte/store'
7
5
 
8
6
  export function renderGoogleButton() {
9
7
  const btn = document.getElementById('googleButton')