From 2c5174c248bf2ae5ee3a8d3a7e910213e859ae2a Mon Sep 17 00:00:00 2001 From: Alec Aivazis Date: Thu, 8 Sep 2022 01:21:44 -0700 Subject: [PATCH] Update auth guide (#523) * fix hook filename in docs * fix houdini client import * changeset * bump vite version * update kit apis * error is possibly null --- .changeset/smooth-mangos-share.md | 5 + integration/package.json | 4 +- integration/src/{hooks.ts => hooks.server.ts} | 0 integration/src/routes/+error.svelte | 2 +- .../stores/endpoint-mutation/+page.server.ts | 24 - .../stores/endpoint-mutation/+page.svelte | 17 - .../routes/stores/endpoint-mutation/spec.ts | 20 - .../stores/prefetch-[userId]/+page.svelte | 6 +- pnpm-lock.yaml | 589 +++++++++++++----- site/src/routes/guides/authentication.svx | 2 +- src/runtime/index.ts | 6 +- 11 files changed, 438 insertions(+), 237 deletions(-) create mode 100644 .changeset/smooth-mangos-share.md rename integration/src/{hooks.ts => hooks.server.ts} (100%) delete mode 100644 integration/src/routes/stores/endpoint-mutation/+page.server.ts delete mode 100644 integration/src/routes/stores/endpoint-mutation/+page.svelte delete mode 100644 integration/src/routes/stores/endpoint-mutation/spec.ts diff --git a/.changeset/smooth-mangos-share.md b/.changeset/smooth-mangos-share.md new file mode 100644 index 0000000000..b597e673bb --- /dev/null +++ b/.changeset/smooth-mangos-share.md @@ -0,0 +1,5 @@ +--- +'houdini': patch +--- + +fix import order so HoudiniClient is always available" diff --git a/integration/package.json b/integration/package.json index 8155fbb902..3313311cd7 100644 --- a/integration/package.json +++ b/integration/package.json @@ -20,7 +20,7 @@ "@playwright/test": "1.25.0", "@replayio/playwright": "0.2.23", "@sveltejs/adapter-auto": "1.0.0-next.66", - "@sveltejs/kit": "1.0.0-next.445", + "@sveltejs/kit": "1.0.0-next.477", "@typescript-eslint/eslint-plugin": "^5.10.1", "@typescript-eslint/parser": "^5.10.1", "concurrently": "7.1.0", @@ -37,7 +37,7 @@ "svelte-preprocess": "^4.10.1", "tslib": "^2.3.1", "typescript": "~4.6.2", - "vite": "3.0.8" + "vite": "^3.1.0" }, "dependencies": { "@graphql-yoga/node": "^2.8.0", diff --git a/integration/src/hooks.ts b/integration/src/hooks.server.ts similarity index 100% rename from integration/src/hooks.ts rename to integration/src/hooks.server.ts diff --git a/integration/src/routes/+error.svelte b/integration/src/routes/+error.svelte index 79a7bea739..60a224d53a 100644 --- a/integration/src/routes/+error.svelte +++ b/integration/src/routes/+error.svelte @@ -2,4 +2,4 @@ import { page } from '$app/stores'; -

{$page.status}: {$page.error.message}

+

{$page.status}: {$page.error?.message}

diff --git a/integration/src/routes/stores/endpoint-mutation/+page.server.ts b/integration/src/routes/stores/endpoint-mutation/+page.server.ts deleted file mode 100644 index 74aaeb2785..0000000000 --- a/integration/src/routes/stores/endpoint-mutation/+page.server.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { AddUserStore } from '$houdini'; -import { get } from 'svelte/store'; -// import type { Action } from './$types'; - -export const POST = async () => { - const store = new AddUserStore(); - - await store.mutate( - { - name: 'JYC', - birthDate: new Date('1986-11-07'), - delay: 200 - }, - { fetch } - ); - - // todo: wait for https://github.com/sveltejs/kit/discussions/5875 for the full test to work with return data? - return { - status: 200, - body: { - addUser: get(store)?.data?.addUser ?? null - } - }; -}; diff --git a/integration/src/routes/stores/endpoint-mutation/+page.svelte b/integration/src/routes/stores/endpoint-mutation/+page.svelte deleted file mode 100644 index eafc32e8ce..0000000000 --- a/integration/src/routes/stores/endpoint-mutation/+page.svelte +++ /dev/null @@ -1,17 +0,0 @@ - - -

endpoint-mutation

- - - -
- {status} -
diff --git a/integration/src/routes/stores/endpoint-mutation/spec.ts b/integration/src/routes/stores/endpoint-mutation/spec.ts deleted file mode 100644 index a0444e3df2..0000000000 --- a/integration/src/routes/stores/endpoint-mutation/spec.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { expect, test } from '@playwright/test'; -import { routes } from '../../../lib/utils/routes.js'; -import { goto } from '../../../lib/utils/testsHelper.js'; - -test.describe('Mutations', () => { - test('Work in Endpoints', async ({ page }) => { - await goto(page, routes.Stores_Endpoint_Mutation); - - // click on the button and make sure there's no error - await Promise.all([ - // Waits for the next response with the specified url - page.waitForResponse(routes.Stores_Endpoint_Mutation), - // Triggers the response - page.click('button') - ]); - - const status = await page.textContent('#result'); - expect(status).toEqual('200'); - }); -}); diff --git a/integration/src/routes/stores/prefetch-[userId]/+page.svelte b/integration/src/routes/stores/prefetch-[userId]/+page.svelte index b26a3cdf50..e208f79264 100644 --- a/integration/src/routes/stores/prefetch-[userId]/+page.svelte +++ b/integration/src/routes/stores/prefetch-[userId]/+page.svelte @@ -10,9 +10,9 @@

Prefetch - [userId: {$page.params.userId}]

- -Current (n° 2) - + +Current (n° 2) +
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 78fd32effe..d4b1f690b5 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1,4 +1,4 @@
-lockfileVersion: 5.4
+lockfileVersion: 5.3
 
 importers:
     .:
@@ -108,7 +108,7 @@ importers:
             '@rollup/plugin-node-resolve': 13.3.0_rollup@2.68.0
             '@rollup/plugin-replace': 4.0.0_rollup@2.68.0
             '@sveltejs/kit': 1.0.0-next.445_svelte@3.49.0+vite@3.0.9
-            '@theguild/eslint-config': 0.0.1_sorwav4hsh5vncerguqybud76i
+            '@theguild/eslint-config': 0.0.1_eslint@8.23.0+typescript@4.7.4
             '@trivago/prettier-plugin-sort-imports': 3.3.0_prettier@2.7.1
             '@types/fs-extra': 9.0.13
             '@types/glob': 7.2.0
@@ -142,8 +142,8 @@ importers:
             pretty-quick: 3.1.3_prettier@2.7.1
             prompts: 2.4.2
             rollup: 2.68.0
-            rollup-plugin-typescript2: 0.31.2_jrqhcdvvfzmrsc4z5p6zs2uiwy
-            ts-jest: 26.5.6_rnfpnlbz3wqspag7uftsmccrvy
+            rollup-plugin-typescript2: 0.31.2_rollup@2.68.0+typescript@4.7.4
+            ts-jest: 26.5.6_jest@26.6.3+typescript@4.7.4
             ts-node: 9.1.1_typescript@4.7.4
             tslib: 2.4.0
             typescript: 4.7.4
@@ -177,7 +177,7 @@ importers:
             graphql: 15.5.0
             houdini: link:..
             svelte: 3.49.0
-            svelte-preprocess: 4.10.7_uslzfc62di2n2otc2tvfklnwji
+            svelte-preprocess: 4.10.7_8865006ef6c5ca9c2621594fcc5b0f9f
             tslib: 2.4.0
             typescript: 4.7.4
             vite: 3.0.9
@@ -189,7 +189,7 @@ importers:
             '@playwright/test': 1.25.0
             '@replayio/playwright': 0.2.23
             '@sveltejs/adapter-auto': 1.0.0-next.66
-            '@sveltejs/kit': 1.0.0-next.445
+            '@sveltejs/kit': 1.0.0-next.477
             '@typescript-eslint/eslint-plugin': ^5.10.1
             '@typescript-eslint/parser': ^5.10.1
             concurrently: 7.1.0
@@ -210,7 +210,7 @@ importers:
             svelte-preprocess: ^4.10.1
             tslib: ^2.3.1
             typescript: ~4.6.2
-            vite: 3.0.8
+            vite: ^3.1.0
             ws: ^8.8.1
         dependencies:
             '@graphql-yoga/node': 2.8.0_graphql@15.5.0
@@ -223,24 +223,24 @@ importers:
             '@playwright/test': 1.25.0
             '@replayio/playwright': 0.2.23_@playwright+test@1.25.0
             '@sveltejs/adapter-auto': 1.0.0-next.66
-            '@sveltejs/kit': 1.0.0-next.445_svelte@3.49.0+vite@3.0.8
-            '@typescript-eslint/eslint-plugin': 5.35.1_hy4by47wjjtoupqk2r7jy5xf2e
-            '@typescript-eslint/parser': 5.35.1_pyvvhc3zqdua4akflcggygkl44
+            '@sveltejs/kit': 1.0.0-next.477_svelte@3.49.0+vite@3.1.0
+            '@typescript-eslint/eslint-plugin': 5.35.1_3e381c73f64a66ea3e0ad47e9c76e5d1
+            '@typescript-eslint/parser': 5.35.1_eslint@8.23.0+typescript@4.6.4
             concurrently: 7.1.0
             cross-env: 7.0.3
             eslint: 8.23.0
             eslint-config-prettier: 8.5.0_eslint@8.23.0
-            eslint-plugin-svelte3: 4.0.0_sfdub7vxhxkt5wmgvhhmmgyu2e
+            eslint-plugin-svelte3: 4.0.0_eslint@8.23.0+svelte@3.49.0
             graphql: 15.5.0
             houdini: link:..
             prettier: 2.7.1
-            prettier-plugin-svelte: 2.7.0_o3ioganyptcsrh6x4hnxvjkpqi
+            prettier-plugin-svelte: 2.7.0_prettier@2.7.1+svelte@3.49.0
             svelte: 3.49.0
-            svelte-check: 2.8.1_svelte@3.49.0
-            svelte-preprocess: 4.10.7_ueozcsexptisi2awlbuwt6eqmq
+            svelte-check: 2.8.1_c3e56b326347f79cbefa7b54654977f5
+            svelte-preprocess: 4.10.7_280a73da7875c18e2397c4f760f243fd
             tslib: 2.4.0
             typescript: 4.6.4
-            vite: 3.0.8
+            vite: 3.1.0
 
     site:
         specifiers:
@@ -284,20 +284,20 @@ importers:
             prismjs: 1.29.0
             rehype-autolink-headings: 6.1.1
             rehype-slug: 5.0.1
-            svelte-preprocess: 4.10.7_vg3dtoa6m5cwrgayrz5b3xtqh4
+            svelte-preprocess: 4.10.7_bcee8d2d2825c991128217423905a22e
             vite-plugin-replace: 0.1.1_vite@3.0.9
         devDependencies:
-            '@typescript-eslint/eslint-plugin': 5.35.1_g3wrzbfakvdwv6vgag3aagn4si
-            '@typescript-eslint/parser': 5.35.1_svqrduhulcrphxzql7zpeoisfy
+            '@typescript-eslint/eslint-plugin': 5.35.1_36ed1c84a055476afaa601b60019bc92
+            '@typescript-eslint/parser': 5.35.1_eslint@8.23.0+typescript@4.5.4
             eslint: 8.23.0
             eslint-config-prettier: 8.5.0_eslint@8.23.0
-            eslint-plugin-svelte3: 4.0.0_sfdub7vxhxkt5wmgvhhmmgyu2e
+            eslint-plugin-svelte3: 4.0.0_eslint@8.23.0+svelte@3.49.0
             husky: 7.0.4
             lint-staged: 12.5.0
             prettier: 2.7.1
-            prettier-plugin-svelte: 2.7.0_o3ioganyptcsrh6x4hnxvjkpqi
+            prettier-plugin-svelte: 2.7.0_prettier@2.7.1+svelte@3.49.0
             svelte: 3.49.0
-            svelte-check: 2.8.1_svelte@3.49.0
+            svelte-check: 2.8.1_c3e56b326347f79cbefa7b54654977f5
             svelte-kit-cookie-session: 3.0.6
             tslib: 2.4.0
             typescript: 4.5.4
@@ -2319,7 +2319,7 @@ packages:
             '@envelop/types': 2.3.1_graphql@15.5.0
             graphql: 15.5.0
 
-    /@envelop/parser-cache/4.6.0_cfvv4ujjrm2ybynv5qxe6a24ti:
+    /@envelop/parser-cache/4.6.0_116b5e51298b3580e1b5ec2e4f035c9a:
         resolution:
             {
                 integrity: sha512-Oi3nX76tk5L7K6MdpPr4AjtpMW1XoyISeiaodYD8WxUWY7JzOA7qetuYguUZv/lK5VaLMsJuoWAwxbu1JKEe9A==,
@@ -2342,7 +2342,7 @@ packages:
         dependencies:
             graphql: 15.5.0
 
-    /@envelop/validation-cache/4.6.0_cfvv4ujjrm2ybynv5qxe6a24ti:
+    /@envelop/validation-cache/4.6.0_116b5e51298b3580e1b5ec2e4f035c9a:
         resolution:
             {
                 integrity: sha512-Xn5u/tQHid6GzWDenCJkIn5GsDm2fUCNnAudN1BGjXcRvAEFfTHuchpp1PJxvRAqGdYjznng+NkOcqrP5brQrw==,
@@ -2366,6 +2366,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /@esbuild/linux-loong64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-IKznSJOsVUuyt7cDzzSZyqBEcZe+7WlBqTVXiF1OXP/4Nm387ToaXZ0fyLwI1iBlI/bzpxVq411QE2/Bt2XWWw==,
+            }
+        engines: { node: '>=12' }
+        cpu: [loong64]
+        os: [linux]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /@eslint/eslintrc/1.3.1:
         resolution:
             {
@@ -2453,8 +2465,8 @@ packages:
             graphql: ^15.2.0 || ^16.0.0
         dependencies:
             '@envelop/core': 2.5.0_graphql@15.5.0
-            '@envelop/parser-cache': 4.6.0_cfvv4ujjrm2ybynv5qxe6a24ti
-            '@envelop/validation-cache': 4.6.0_cfvv4ujjrm2ybynv5qxe6a24ti
+            '@envelop/parser-cache': 4.6.0_116b5e51298b3580e1b5ec2e4f035c9a
+            '@envelop/validation-cache': 4.6.0_116b5e51298b3580e1b5ec2e4f035c9a
             '@graphql-tools/schema': 8.5.1_graphql@15.5.0
             '@graphql-tools/utils': 8.10.0_graphql@15.5.0
             '@graphql-typed-document-node/core': 3.1.1_graphql@15.5.0
@@ -3011,6 +3023,7 @@ packages:
             {
                 integrity: sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==,
             }
+        dev: true
 
     /@repeaterjs/repeater/3.0.4:
         resolution:
@@ -3318,7 +3331,7 @@ packages:
             - supports-color
         dev: false
 
-    /@sveltejs/kit/1.0.0-next.445_svelte@3.49.0+vite@3.0.8:
+    /@sveltejs/kit/1.0.0-next.445_svelte@3.49.0+vite@3.0.9:
         resolution:
             {
                 integrity: sha512-E/d6lhJ+4cSGJmAk8JnlrBwJfa6xYeCZ1zBc8kTdrO/vNiFpMDRJM9pgT8DGlXYA7kI+OBud/p3Eipl5m5jntw==,
@@ -3330,7 +3343,7 @@ packages:
             svelte: ^3.44.0
             vite: ^3.0.0
         dependencies:
-            '@sveltejs/vite-plugin-svelte': 1.0.1_svelte@3.49.0+vite@3.0.8
+            '@sveltejs/vite-plugin-svelte': 1.0.1_svelte@3.49.0+vite@3.0.9
             cookie: 0.5.0
             devalue: 2.0.1
             kleur: 4.1.5
@@ -3343,27 +3356,27 @@ packages:
             svelte: 3.49.0
             tiny-glob: 0.2.9
             undici: 5.10.0
-            vite: 3.0.8
+            vite: 3.0.9
         transitivePeerDependencies:
             - diff-match-patch
             - supports-color
         dev: true
 
-    /@sveltejs/kit/1.0.0-next.445_svelte@3.49.0+vite@3.0.9:
+    /@sveltejs/kit/1.0.0-next.477_svelte@3.49.0+vite@3.1.0:
         resolution:
             {
-                integrity: sha512-E/d6lhJ+4cSGJmAk8JnlrBwJfa6xYeCZ1zBc8kTdrO/vNiFpMDRJM9pgT8DGlXYA7kI+OBud/p3Eipl5m5jntw==,
+                integrity: sha512-r9sJZy9XuM4ztn0R9l6z12+oiJ6YuX2Go0GxwqC48axtf4wevmxPLw9M2XiSj4lINpT4lZn8JFRx2e9tCCMZyQ==,
             }
-        engines: { node: '>=16.9' }
+        engines: { node: '>=16.14' }
         hasBin: true
         requiresBuild: true
         peerDependencies:
             svelte: ^3.44.0
-            vite: ^3.0.0
+            vite: ^3.1.0
         dependencies:
-            '@sveltejs/vite-plugin-svelte': 1.0.1_svelte@3.49.0+vite@3.0.9
+            '@sveltejs/vite-plugin-svelte': 1.0.5_svelte@3.49.0+vite@3.1.0
             cookie: 0.5.0
-            devalue: 2.0.1
+            devalue: 3.1.3
             kleur: 4.1.5
             magic-string: 0.26.2
             mime: 3.0.0
@@ -3374,13 +3387,13 @@ packages:
             svelte: 3.49.0
             tiny-glob: 0.2.9
             undici: 5.10.0
-            vite: 3.0.9
+            vite: 3.1.0
         transitivePeerDependencies:
             - diff-match-patch
             - supports-color
         dev: true
 
-    /@sveltejs/vite-plugin-svelte/1.0.1_svelte@3.49.0+vite@3.0.8:
+    /@sveltejs/vite-plugin-svelte/1.0.1_svelte@3.49.0+vite@3.0.9:
         resolution:
             {
                 integrity: sha512-PorCgUounn0VXcpeJu+hOweZODKmGuLHsLomwqSj+p26IwjjGffmYQfVHtiTWq+NqaUuuHWWG7vPge6UFw4Aeg==,
@@ -3401,15 +3414,14 @@ packages:
             magic-string: 0.26.2
             svelte: 3.49.0
             svelte-hmr: 0.14.12_svelte@3.49.0
-            vite: 3.0.8
+            vite: 3.0.9
         transitivePeerDependencies:
             - supports-color
-        dev: true
 
-    /@sveltejs/vite-plugin-svelte/1.0.1_svelte@3.49.0+vite@3.0.9:
+    /@sveltejs/vite-plugin-svelte/1.0.5_svelte@3.49.0+vite@3.1.0:
         resolution:
             {
-                integrity: sha512-PorCgUounn0VXcpeJu+hOweZODKmGuLHsLomwqSj+p26IwjjGffmYQfVHtiTWq+NqaUuuHWWG7vPge6UFw4Aeg==,
+                integrity: sha512-CmSdSow0Dr5ua1A11BQMtreWnE0JZmkVIcRU/yG3PKbycKUpXjNdgYTWFSbStLB0vdlGnBbm2+Y4sBVj+C+TIw==,
             }
         engines: { node: ^14.18.0 || >= 16 }
         peerDependencies:
@@ -3424,14 +3436,15 @@ packages:
             debug: 4.3.4
             deepmerge: 4.2.2
             kleur: 4.1.5
-            magic-string: 0.26.2
+            magic-string: 0.26.3
             svelte: 3.49.0
             svelte-hmr: 0.14.12_svelte@3.49.0
-            vite: 3.0.9
+            vite: 3.1.0
         transitivePeerDependencies:
             - supports-color
+        dev: true
 
-    /@theguild/eslint-config/0.0.1_sorwav4hsh5vncerguqybud76i:
+    /@theguild/eslint-config/0.0.1_eslint@8.23.0+typescript@4.7.4:
         resolution:
             {
                 integrity: sha512-VnvXqU+xqPI9UXNR4T3Ii/EHYc49Ltk4vExPd726hAsQIXcJlLtVMOxGqJXaUcZgiiaqMVCH6B7Ns6+lp5fa7A==,
@@ -3440,11 +3453,11 @@ packages:
             eslint: ^8
         dependencies:
             '@rushstack/eslint-patch': 1.1.4
-            '@typescript-eslint/eslint-plugin': 5.35.1_t3qvqq7ugt4jqnoquow4ze3psy
-            '@typescript-eslint/parser': 5.35.1_sorwav4hsh5vncerguqybud76i
+            '@typescript-eslint/eslint-plugin': 5.35.1_9ee15843f434f89835d0a3adcc936f96
+            '@typescript-eslint/parser': 5.35.1_eslint@8.23.0+typescript@4.7.4
             eslint: 8.23.0
             eslint-config-prettier: 8.5.0_eslint@8.23.0
-            eslint-plugin-import: 2.26.0_kavhtzjob4obuugpatbfgsyfbm
+            eslint-plugin-import: 2.26.0_eslint@8.23.0
             eslint-plugin-promise: 6.0.1_eslint@8.23.0
             eslint-plugin-sonarjs: 0.13.0_eslint@8.23.0
             eslint-plugin-unicorn: 42.0.0_eslint@8.23.0
@@ -3454,8 +3467,6 @@ packages:
             eslint-plugin-react: 7.31.1_eslint@8.23.0
             eslint-plugin-react-hooks: 4.6.0_eslint@8.23.0
         transitivePeerDependencies:
-            - eslint-import-resolver-typescript
-            - eslint-import-resolver-webpack
             - supports-color
             - typescript
         dev: true
@@ -3853,7 +3864,7 @@ packages:
             '@types/yargs-parser': 21.0.0
         dev: true
 
-    /@typescript-eslint/eslint-plugin/5.35.1_g3wrzbfakvdwv6vgag3aagn4si:
+    /@typescript-eslint/eslint-plugin/5.35.1_36ed1c84a055476afaa601b60019bc92:
         resolution:
             {
                 integrity: sha512-RBZZXZlI4XCY4Wzgy64vB+0slT9+yAPQRjj/HSaRwUot33xbDjF1oN9BLwOLTewoOI0jothIltZRe9uJCHf8gg==,
@@ -3867,10 +3878,10 @@ packages:
             typescript:
                 optional: true
         dependencies:
-            '@typescript-eslint/parser': 5.35.1_svqrduhulcrphxzql7zpeoisfy
+            '@typescript-eslint/parser': 5.35.1_eslint@8.23.0+typescript@4.5.4
             '@typescript-eslint/scope-manager': 5.35.1
-            '@typescript-eslint/type-utils': 5.35.1_svqrduhulcrphxzql7zpeoisfy
-            '@typescript-eslint/utils': 5.35.1_svqrduhulcrphxzql7zpeoisfy
+            '@typescript-eslint/type-utils': 5.35.1_eslint@8.23.0+typescript@4.5.4
+            '@typescript-eslint/utils': 5.35.1_eslint@8.23.0+typescript@4.5.4
             debug: 4.3.4
             eslint: 8.23.0
             functional-red-black-tree: 1.0.1
@@ -3883,7 +3894,7 @@ packages:
             - supports-color
         dev: true
 
-    /@typescript-eslint/eslint-plugin/5.35.1_hy4by47wjjtoupqk2r7jy5xf2e:
+    /@typescript-eslint/eslint-plugin/5.35.1_3e381c73f64a66ea3e0ad47e9c76e5d1:
         resolution:
             {
                 integrity: sha512-RBZZXZlI4XCY4Wzgy64vB+0slT9+yAPQRjj/HSaRwUot33xbDjF1oN9BLwOLTewoOI0jothIltZRe9uJCHf8gg==,
@@ -3897,10 +3908,10 @@ packages:
             typescript:
                 optional: true
         dependencies:
-            '@typescript-eslint/parser': 5.35.1_pyvvhc3zqdua4akflcggygkl44
+            '@typescript-eslint/parser': 5.35.1_eslint@8.23.0+typescript@4.6.4
             '@typescript-eslint/scope-manager': 5.35.1
-            '@typescript-eslint/type-utils': 5.35.1_pyvvhc3zqdua4akflcggygkl44
-            '@typescript-eslint/utils': 5.35.1_pyvvhc3zqdua4akflcggygkl44
+            '@typescript-eslint/type-utils': 5.35.1_eslint@8.23.0+typescript@4.6.4
+            '@typescript-eslint/utils': 5.35.1_eslint@8.23.0+typescript@4.6.4
             debug: 4.3.4
             eslint: 8.23.0
             functional-red-black-tree: 1.0.1
@@ -3913,7 +3924,7 @@ packages:
             - supports-color
         dev: true
 
-    /@typescript-eslint/eslint-plugin/5.35.1_t3qvqq7ugt4jqnoquow4ze3psy:
+    /@typescript-eslint/eslint-plugin/5.35.1_9ee15843f434f89835d0a3adcc936f96:
         resolution:
             {
                 integrity: sha512-RBZZXZlI4XCY4Wzgy64vB+0slT9+yAPQRjj/HSaRwUot33xbDjF1oN9BLwOLTewoOI0jothIltZRe9uJCHf8gg==,
@@ -3927,10 +3938,10 @@ packages:
             typescript:
                 optional: true
         dependencies:
-            '@typescript-eslint/parser': 5.35.1_sorwav4hsh5vncerguqybud76i
+            '@typescript-eslint/parser': 5.35.1_eslint@8.23.0+typescript@4.7.4
             '@typescript-eslint/scope-manager': 5.35.1
-            '@typescript-eslint/type-utils': 5.35.1_sorwav4hsh5vncerguqybud76i
-            '@typescript-eslint/utils': 5.35.1_sorwav4hsh5vncerguqybud76i
+            '@typescript-eslint/type-utils': 5.35.1_eslint@8.23.0+typescript@4.7.4
+            '@typescript-eslint/utils': 5.35.1_eslint@8.23.0+typescript@4.7.4
             debug: 4.3.4
             eslint: 8.23.0
             functional-red-black-tree: 1.0.1
@@ -3943,7 +3954,7 @@ packages:
             - supports-color
         dev: true
 
-    /@typescript-eslint/parser/5.35.1_pyvvhc3zqdua4akflcggygkl44:
+    /@typescript-eslint/parser/5.35.1_eslint@8.23.0+typescript@4.5.4:
         resolution:
             {
                 integrity: sha512-XL2TBTSrh3yWAsMYpKseBYTVpvudNf69rPOWXWVBI08My2JVT5jR66eTt4IgQFHA/giiKJW5dUD4x/ZviCKyGg==,
@@ -3958,15 +3969,15 @@ packages:
         dependencies:
             '@typescript-eslint/scope-manager': 5.35.1
             '@typescript-eslint/types': 5.35.1
-            '@typescript-eslint/typescript-estree': 5.35.1_typescript@4.6.4
+            '@typescript-eslint/typescript-estree': 5.35.1_typescript@4.5.4
             debug: 4.3.4
             eslint: 8.23.0
-            typescript: 4.6.4
+            typescript: 4.5.4
         transitivePeerDependencies:
             - supports-color
         dev: true
 
-    /@typescript-eslint/parser/5.35.1_sorwav4hsh5vncerguqybud76i:
+    /@typescript-eslint/parser/5.35.1_eslint@8.23.0+typescript@4.6.4:
         resolution:
             {
                 integrity: sha512-XL2TBTSrh3yWAsMYpKseBYTVpvudNf69rPOWXWVBI08My2JVT5jR66eTt4IgQFHA/giiKJW5dUD4x/ZviCKyGg==,
@@ -3981,15 +3992,15 @@ packages:
         dependencies:
             '@typescript-eslint/scope-manager': 5.35.1
             '@typescript-eslint/types': 5.35.1
-            '@typescript-eslint/typescript-estree': 5.35.1_typescript@4.7.4
+            '@typescript-eslint/typescript-estree': 5.35.1_typescript@4.6.4
             debug: 4.3.4
             eslint: 8.23.0
-            typescript: 4.7.4
+            typescript: 4.6.4
         transitivePeerDependencies:
             - supports-color
         dev: true
 
-    /@typescript-eslint/parser/5.35.1_svqrduhulcrphxzql7zpeoisfy:
+    /@typescript-eslint/parser/5.35.1_eslint@8.23.0+typescript@4.7.4:
         resolution:
             {
                 integrity: sha512-XL2TBTSrh3yWAsMYpKseBYTVpvudNf69rPOWXWVBI08My2JVT5jR66eTt4IgQFHA/giiKJW5dUD4x/ZviCKyGg==,
@@ -4004,10 +4015,10 @@ packages:
         dependencies:
             '@typescript-eslint/scope-manager': 5.35.1
             '@typescript-eslint/types': 5.35.1
-            '@typescript-eslint/typescript-estree': 5.35.1_typescript@4.5.4
+            '@typescript-eslint/typescript-estree': 5.35.1_typescript@4.7.4
             debug: 4.3.4
             eslint: 8.23.0
-            typescript: 4.5.4
+            typescript: 4.7.4
         transitivePeerDependencies:
             - supports-color
         dev: true
@@ -4023,7 +4034,7 @@ packages:
             '@typescript-eslint/visitor-keys': 5.35.1
         dev: true
 
-    /@typescript-eslint/type-utils/5.35.1_pyvvhc3zqdua4akflcggygkl44:
+    /@typescript-eslint/type-utils/5.35.1_eslint@8.23.0+typescript@4.5.4:
         resolution:
             {
                 integrity: sha512-8xT8ljvo43Mp7BiTn1vxLXkjpw8wS4oAc00hMSB4L1/jIiYbjjnc3Qp2GAUOG/v8zsNCd1qwcqfCQ0BuishHkw==,
@@ -4036,16 +4047,16 @@ packages:
             typescript:
                 optional: true
         dependencies:
-            '@typescript-eslint/utils': 5.35.1_pyvvhc3zqdua4akflcggygkl44
+            '@typescript-eslint/utils': 5.35.1_eslint@8.23.0+typescript@4.5.4
             debug: 4.3.4
             eslint: 8.23.0
-            tsutils: 3.21.0_typescript@4.6.4
-            typescript: 4.6.4
+            tsutils: 3.21.0_typescript@4.5.4
+            typescript: 4.5.4
         transitivePeerDependencies:
             - supports-color
         dev: true
 
-    /@typescript-eslint/type-utils/5.35.1_sorwav4hsh5vncerguqybud76i:
+    /@typescript-eslint/type-utils/5.35.1_eslint@8.23.0+typescript@4.6.4:
         resolution:
             {
                 integrity: sha512-8xT8ljvo43Mp7BiTn1vxLXkjpw8wS4oAc00hMSB4L1/jIiYbjjnc3Qp2GAUOG/v8zsNCd1qwcqfCQ0BuishHkw==,
@@ -4058,16 +4069,16 @@ packages:
             typescript:
                 optional: true
         dependencies:
-            '@typescript-eslint/utils': 5.35.1_sorwav4hsh5vncerguqybud76i
+            '@typescript-eslint/utils': 5.35.1_eslint@8.23.0+typescript@4.6.4
             debug: 4.3.4
             eslint: 8.23.0
-            tsutils: 3.21.0_typescript@4.7.4
-            typescript: 4.7.4
+            tsutils: 3.21.0_typescript@4.6.4
+            typescript: 4.6.4
         transitivePeerDependencies:
             - supports-color
         dev: true
 
-    /@typescript-eslint/type-utils/5.35.1_svqrduhulcrphxzql7zpeoisfy:
+    /@typescript-eslint/type-utils/5.35.1_eslint@8.23.0+typescript@4.7.4:
         resolution:
             {
                 integrity: sha512-8xT8ljvo43Mp7BiTn1vxLXkjpw8wS4oAc00hMSB4L1/jIiYbjjnc3Qp2GAUOG/v8zsNCd1qwcqfCQ0BuishHkw==,
@@ -4080,11 +4091,11 @@ packages:
             typescript:
                 optional: true
         dependencies:
-            '@typescript-eslint/utils': 5.35.1_svqrduhulcrphxzql7zpeoisfy
+            '@typescript-eslint/utils': 5.35.1_eslint@8.23.0+typescript@4.7.4
             debug: 4.3.4
             eslint: 8.23.0
-            tsutils: 3.21.0_typescript@4.5.4
-            typescript: 4.5.4
+            tsutils: 3.21.0_typescript@4.7.4
+            typescript: 4.7.4
         transitivePeerDependencies:
             - supports-color
         dev: true
@@ -4169,7 +4180,7 @@ packages:
             - supports-color
         dev: true
 
-    /@typescript-eslint/utils/5.35.1_pyvvhc3zqdua4akflcggygkl44:
+    /@typescript-eslint/utils/5.35.1_eslint@8.23.0+typescript@4.5.4:
         resolution:
             {
                 integrity: sha512-v6F8JNXgeBWI4pzZn36hT2HXXzoBBBJuOYvoQiaQaEEjdi5STzux3Yj8v7ODIpx36i/5s8TdzuQ54TPc5AITQQ==,
@@ -4181,7 +4192,7 @@ packages:
             '@types/json-schema': 7.0.11
             '@typescript-eslint/scope-manager': 5.35.1
             '@typescript-eslint/types': 5.35.1
-            '@typescript-eslint/typescript-estree': 5.35.1_typescript@4.6.4
+            '@typescript-eslint/typescript-estree': 5.35.1_typescript@4.5.4
             eslint: 8.23.0
             eslint-scope: 5.1.1
             eslint-utils: 3.0.0_eslint@8.23.0
@@ -4190,7 +4201,7 @@ packages:
             - typescript
         dev: true
 
-    /@typescript-eslint/utils/5.35.1_sorwav4hsh5vncerguqybud76i:
+    /@typescript-eslint/utils/5.35.1_eslint@8.23.0+typescript@4.6.4:
         resolution:
             {
                 integrity: sha512-v6F8JNXgeBWI4pzZn36hT2HXXzoBBBJuOYvoQiaQaEEjdi5STzux3Yj8v7ODIpx36i/5s8TdzuQ54TPc5AITQQ==,
@@ -4202,7 +4213,7 @@ packages:
             '@types/json-schema': 7.0.11
             '@typescript-eslint/scope-manager': 5.35.1
             '@typescript-eslint/types': 5.35.1
-            '@typescript-eslint/typescript-estree': 5.35.1_typescript@4.7.4
+            '@typescript-eslint/typescript-estree': 5.35.1_typescript@4.6.4
             eslint: 8.23.0
             eslint-scope: 5.1.1
             eslint-utils: 3.0.0_eslint@8.23.0
@@ -4211,7 +4222,7 @@ packages:
             - typescript
         dev: true
 
-    /@typescript-eslint/utils/5.35.1_svqrduhulcrphxzql7zpeoisfy:
+    /@typescript-eslint/utils/5.35.1_eslint@8.23.0+typescript@4.7.4:
         resolution:
             {
                 integrity: sha512-v6F8JNXgeBWI4pzZn36hT2HXXzoBBBJuOYvoQiaQaEEjdi5STzux3Yj8v7ODIpx36i/5s8TdzuQ54TPc5AITQQ==,
@@ -4223,7 +4234,7 @@ packages:
             '@types/json-schema': 7.0.11
             '@typescript-eslint/scope-manager': 5.35.1
             '@typescript-eslint/types': 5.35.1
-            '@typescript-eslint/typescript-estree': 5.35.1_typescript@4.5.4
+            '@typescript-eslint/typescript-estree': 5.35.1_typescript@4.7.4
             eslint: 8.23.0
             eslint-scope: 5.1.1
             eslint-utils: 3.0.0_eslint@8.23.0
@@ -4272,6 +4283,7 @@ packages:
             }
         dependencies:
             sirv: 2.0.2
+        dev: true
 
     /@yarn-tool/resolve-package/1.0.47:
         resolution:
@@ -4461,8 +4473,6 @@ packages:
         dependencies:
             micromatch: 3.1.10
             normalize-path: 2.1.1
-        transitivePeerDependencies:
-            - supports-color
         dev: true
 
     /anymatch/3.1.2:
@@ -4995,8 +5005,6 @@ packages:
             snapdragon-node: 2.1.1
             split-string: 3.1.0
             to-regex: 3.0.2
-        transitivePeerDependencies:
-            - supports-color
         dev: true
 
     /braces/3.0.2:
@@ -5911,11 +5919,6 @@ packages:
             {
                 integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==,
             }
-        peerDependencies:
-            supports-color: '*'
-        peerDependenciesMeta:
-            supports-color:
-                optional: true
         dependencies:
             ms: 2.0.0
         dev: true
@@ -5925,11 +5928,6 @@ packages:
             {
                 integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==,
             }
-        peerDependencies:
-            supports-color: '*'
-        peerDependenciesMeta:
-            supports-color:
-                optional: true
         dependencies:
             ms: 2.1.2
         dev: true
@@ -6115,6 +6113,13 @@ packages:
             }
         dev: true
 
+    /devalue/3.1.3:
+        resolution:
+            {
+                integrity: sha512-9KO89Cb+qjzf2CqdrH+NuLaqdk9GhDP5EhR4zlkR51dvuIaiqtlkDkGzLMShDemwUy21raSMdu+kpX8Enw3yGQ==,
+            }
+        dev: true
+
     /diff-sequences/26.6.2:
         resolution:
             {
@@ -6390,6 +6395,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-android-64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-p7rCvdsldhxQr3YHxptf1Jcd86dlhvc3EQmQJaZzzuAxefO9PvcI0GLOa5nCWem1AJ8iMRu9w0r5TG8pHmbi9w==,
+            }
+        engines: { node: '>=12' }
+        cpu: [x64]
+        os: [android]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-android-arm64/0.14.54:
         resolution:
             {
@@ -6401,6 +6418,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-android-arm64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-L775l9ynJT7rVqRM5vo+9w5g2ysbOCfsdLV4CWanTZ1k/9Jb3IYlQ06VCI1edhcosTYJRECQFJa3eAvkx72eyQ==,
+            }
+        engines: { node: '>=12' }
+        cpu: [arm64]
+        os: [android]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-darwin-64/0.14.54:
         resolution:
             {
@@ -6412,6 +6441,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-darwin-64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-KGPt3r1c9ww009t2xLB6Vk0YyNOXh7hbjZ3EecHoVDxgtbUlYstMPDaReimKe6eOEfyY4hBEEeTvKwPsiH5WZg==,
+            }
+        engines: { node: '>=12' }
+        cpu: [x64]
+        os: [darwin]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-darwin-arm64/0.14.54:
         resolution:
             {
@@ -6423,6 +6464,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-darwin-arm64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-kBIHvtVqbSGajN88lYMnR3aIleH3ABZLLFLxwL2stiuIGAjGlQW741NxVTpUHQXUmPzxi6POqc9npkXa8AcSZQ==,
+            }
+        engines: { node: '>=12' }
+        cpu: [arm64]
+        os: [darwin]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-freebsd-64/0.14.54:
         resolution:
             {
@@ -6434,6 +6487,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-freebsd-64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-hESZB91qDLV5MEwNxzMxPfbjAhOmtfsr9Wnuci7pY6TtEh4UDuevmGmkUIjX/b+e/k4tcNBMf7SRQ2mdNuK/HQ==,
+            }
+        engines: { node: '>=12' }
+        cpu: [x64]
+        os: [freebsd]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-freebsd-arm64/0.14.54:
         resolution:
             {
@@ -6445,6 +6510,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-freebsd-arm64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-dLFR0ChH5t+b3J8w0fVKGvtwSLWCv7GYT2Y2jFGulF1L5HftQLzVGN+6pi1SivuiVSmTh28FwUhi9PwQicXI6Q==,
+            }
+        engines: { node: '>=12' }
+        cpu: [arm64]
+        os: [freebsd]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-linux-32/0.14.54:
         resolution:
             {
@@ -6456,6 +6533,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-linux-32/0.15.7:
+        resolution:
+            {
+                integrity: sha512-v3gT/LsONGUZcjbt2swrMjwxo32NJzk+7sAgtxhGx1+ZmOFaTRXBAi1PPfgpeo/J//Un2jIKm/I+qqeo4caJvg==,
+            }
+        engines: { node: '>=12' }
+        cpu: [ia32]
+        os: [linux]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-linux-64/0.14.54:
         resolution:
             {
@@ -6467,6 +6556,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-linux-64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-LxXEfLAKwOVmm1yecpMmWERBshl+Kv5YJ/1KnyAr6HRHFW8cxOEsEfisD3sVl/RvHyW//lhYUVSuy9jGEfIRAQ==,
+            }
+        engines: { node: '>=12' }
+        cpu: [x64]
+        os: [linux]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-linux-arm/0.14.54:
         resolution:
             {
@@ -6478,6 +6579,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-linux-arm/0.15.7:
+        resolution:
+            {
+                integrity: sha512-JKgAHtMR5f75wJTeuNQbyznZZa+pjiUHV7sRZp42UNdyXC6TiUYMW/8z8yIBAr2Fpad8hM1royZKQisqPABPvQ==,
+            }
+        engines: { node: '>=12' }
+        cpu: [arm]
+        os: [linux]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-linux-arm64/0.14.54:
         resolution:
             {
@@ -6489,6 +6602,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-linux-arm64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-P3cfhudpzWDkglutWgXcT2S7Ft7o2e3YDMrP1n0z2dlbUZghUkKCyaWw0zhp4KxEEzt/E7lmrtRu/pGWnwb9vw==,
+            }
+        engines: { node: '>=12' }
+        cpu: [arm64]
+        os: [linux]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-linux-mips64le/0.14.54:
         resolution:
             {
@@ -6500,6 +6625,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-linux-mips64le/0.15.7:
+        resolution:
+            {
+                integrity: sha512-T7XKuxl0VpeFLCJXub6U+iybiqh0kM/bWOTb4qcPyDDwNVhLUiPcGdG2/0S7F93czUZOKP57YiLV8YQewgLHKw==,
+            }
+        engines: { node: '>=12' }
+        cpu: [mips64el]
+        os: [linux]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-linux-ppc64le/0.14.54:
         resolution:
             {
@@ -6511,6 +6648,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-linux-ppc64le/0.15.7:
+        resolution:
+            {
+                integrity: sha512-6mGuC19WpFN7NYbecMIJjeQgvDb5aMuvyk0PDYBJrqAEMkTwg3Z98kEKuCm6THHRnrgsdr7bp4SruSAxEM4eJw==,
+            }
+        engines: { node: '>=12' }
+        cpu: [ppc64]
+        os: [linux]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-linux-riscv64/0.14.54:
         resolution:
             {
@@ -6522,6 +6671,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-linux-riscv64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-uUJsezbswAYo/X7OU/P+PuL/EI9WzxsEQXDekfwpQ23uGiooxqoLFAPmXPcRAt941vjlY9jtITEEikWMBr+F/g==,
+            }
+        engines: { node: '>=12' }
+        cpu: [riscv64]
+        os: [linux]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-linux-s390x/0.14.54:
         resolution:
             {
@@ -6533,6 +6694,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-linux-s390x/0.15.7:
+        resolution:
+            {
+                integrity: sha512-+tO+xOyTNMc34rXlSxK7aCwJgvQyffqEM5MMdNDEeMU3ss0S6wKvbBOQfgd5jRPblfwJ6b+bKiz0g5nABpY0QQ==,
+            }
+        engines: { node: '>=12' }
+        cpu: [s390x]
+        os: [linux]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-netbsd-64/0.14.54:
         resolution:
             {
@@ -6544,6 +6717,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-netbsd-64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-yVc4Wz+Pu3cP5hzm5kIygNPrjar/v5WCSoRmIjCPWfBVJkZNb5brEGKUlf+0Y759D48BCWa0WHrWXaNy0DULTQ==,
+            }
+        engines: { node: '>=12' }
+        cpu: [x64]
+        os: [netbsd]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-openbsd-64/0.14.54:
         resolution:
             {
@@ -6555,6 +6740,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-openbsd-64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-GsimbwC4FSR4lN3wf8XmTQ+r8/0YSQo21rWDL0XFFhLHKlzEA4SsT1Tl8bPYu00IU6UWSJ+b3fG/8SB69rcuEQ==,
+            }
+        engines: { node: '>=12' }
+        cpu: [x64]
+        os: [openbsd]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-sunos-64/0.14.54:
         resolution:
             {
@@ -6566,6 +6763,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-sunos-64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-8CDI1aL/ts0mDGbWzjEOGKXnU7p3rDzggHSBtVryQzkSOsjCHRVe0iFYUuhczlxU1R3LN/E7HgUO4NXzGGP/Ag==,
+            }
+        engines: { node: '>=12' }
+        cpu: [x64]
+        os: [sunos]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-windows-32/0.14.54:
         resolution:
             {
@@ -6577,6 +6786,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-windows-32/0.15.7:
+        resolution:
+            {
+                integrity: sha512-cOnKXUEPS8EGCzRSFa1x6NQjGhGsFlVgjhqGEbLTPsA7x4RRYiy2RKoArNUU4iR2vHmzqS5Gr84MEumO/wxYKA==,
+            }
+        engines: { node: '>=12' }
+        cpu: [ia32]
+        os: [win32]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-windows-64/0.14.54:
         resolution:
             {
@@ -6588,6 +6809,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-windows-64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-7MI08Ec2sTIDv+zH6StNBKO+2hGUYIT42GmFyW6MBBWWtJhTcQLinKS6ldIN1d52MXIbiJ6nXyCJ+LpL4jBm3Q==,
+            }
+        engines: { node: '>=12' }
+        cpu: [x64]
+        os: [win32]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild-windows-arm64/0.14.54:
         resolution:
             {
@@ -6599,6 +6832,18 @@ packages:
         requiresBuild: true
         optional: true
 
+    /esbuild-windows-arm64/0.15.7:
+        resolution:
+            {
+                integrity: sha512-R06nmqBlWjKHddhRJYlqDd3Fabx9LFdKcjoOy08YLimwmsswlFBJV4rXzZCxz/b7ZJXvrZgj8DDv1ewE9+StMw==,
+            }
+        engines: { node: '>=12' }
+        cpu: [arm64]
+        os: [win32]
+        requiresBuild: true
+        dev: true
+        optional: true
+
     /esbuild/0.14.54:
         resolution:
             {
@@ -6630,6 +6875,38 @@ packages:
             esbuild-windows-64: 0.14.54
             esbuild-windows-arm64: 0.14.54
 
+    /esbuild/0.15.7:
+        resolution:
+            {
+                integrity: sha512-7V8tzllIbAQV1M4QoE52ImKu8hT/NLGlGXkiDsbEU5PS6K8Mn09ZnYoS+dcmHxOS9CRsV4IRAMdT3I67IyUNXw==,
+            }
+        engines: { node: '>=12' }
+        hasBin: true
+        requiresBuild: true
+        optionalDependencies:
+            '@esbuild/linux-loong64': 0.15.7
+            esbuild-android-64: 0.15.7
+            esbuild-android-arm64: 0.15.7
+            esbuild-darwin-64: 0.15.7
+            esbuild-darwin-arm64: 0.15.7
+            esbuild-freebsd-64: 0.15.7
+            esbuild-freebsd-arm64: 0.15.7
+            esbuild-linux-32: 0.15.7
+            esbuild-linux-64: 0.15.7
+            esbuild-linux-arm: 0.15.7
+            esbuild-linux-arm64: 0.15.7
+            esbuild-linux-mips64le: 0.15.7
+            esbuild-linux-ppc64le: 0.15.7
+            esbuild-linux-riscv64: 0.15.7
+            esbuild-linux-s390x: 0.15.7
+            esbuild-netbsd-64: 0.15.7
+            esbuild-openbsd-64: 0.15.7
+            esbuild-sunos-64: 0.15.7
+            esbuild-windows-32: 0.15.7
+            esbuild-windows-64: 0.15.7
+            esbuild-windows-arm64: 0.15.7
+        dev: true
+
     /escalade/3.1.1:
         resolution:
             {
@@ -6697,8 +6974,6 @@ packages:
         dependencies:
             debug: 3.2.7
             resolve: 1.22.1
-        transitivePeerDependencies:
-            - supports-color
         dev: true
 
     /eslint-mdx/1.17.1_eslint@8.23.0:
@@ -6722,59 +6997,38 @@ packages:
         dev: true
         optional: true
 
-    /eslint-module-utils/2.7.4_623cbjb5syc5t6zi3e23jxeu34:
+    /eslint-module-utils/2.7.4_eslint@8.23.0:
         resolution:
             {
                 integrity: sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==,
             }
         engines: { node: '>=4' }
         peerDependencies:
-            '@typescript-eslint/parser': '*'
             eslint: '*'
-            eslint-import-resolver-node: '*'
-            eslint-import-resolver-typescript: '*'
-            eslint-import-resolver-webpack: '*'
         peerDependenciesMeta:
-            '@typescript-eslint/parser':
-                optional: true
             eslint:
                 optional: true
-            eslint-import-resolver-node:
-                optional: true
-            eslint-import-resolver-typescript:
-                optional: true
-            eslint-import-resolver-webpack:
-                optional: true
         dependencies:
-            '@typescript-eslint/parser': 5.35.1_sorwav4hsh5vncerguqybud76i
             debug: 3.2.7
             eslint: 8.23.0
-            eslint-import-resolver-node: 0.3.6
-        transitivePeerDependencies:
-            - supports-color
         dev: true
 
-    /eslint-plugin-import/2.26.0_kavhtzjob4obuugpatbfgsyfbm:
+    /eslint-plugin-import/2.26.0_eslint@8.23.0:
         resolution:
             {
                 integrity: sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==,
             }
         engines: { node: '>=4' }
         peerDependencies:
-            '@typescript-eslint/parser': '*'
             eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8
-        peerDependenciesMeta:
-            '@typescript-eslint/parser':
-                optional: true
         dependencies:
-            '@typescript-eslint/parser': 5.35.1_sorwav4hsh5vncerguqybud76i
             array-includes: 3.1.5
             array.prototype.flat: 1.3.0
             debug: 2.6.9
             doctrine: 2.1.0
             eslint: 8.23.0
             eslint-import-resolver-node: 0.3.6
-            eslint-module-utils: 2.7.4_623cbjb5syc5t6zi3e23jxeu34
+            eslint-module-utils: 2.7.4_eslint@8.23.0
             has: 1.0.3
             is-core-module: 2.10.0
             is-glob: 4.0.3
@@ -6782,10 +7036,6 @@ packages:
             object.values: 1.1.5
             resolve: 1.22.1
             tsconfig-paths: 3.14.1
-        transitivePeerDependencies:
-            - eslint-import-resolver-typescript
-            - eslint-import-resolver-webpack
-            - supports-color
         dev: true
 
     /eslint-plugin-jsx-a11y/6.6.1_eslint@8.23.0:
@@ -6918,7 +7168,7 @@ packages:
             eslint: 8.23.0
         dev: true
 
-    /eslint-plugin-svelte3/4.0.0_sfdub7vxhxkt5wmgvhhmmgyu2e:
+    /eslint-plugin-svelte3/4.0.0_eslint@8.23.0+svelte@3.49.0:
         resolution:
             {
                 integrity: sha512-OIx9lgaNzD02+MDFNLw0GEUbuovNcglg+wnd/UY0fbZmlQSz7GlQiQ1f+yX0XvC07XPcDOnFcichqI3xCwp71g==,
@@ -7230,8 +7480,6 @@ packages:
             regex-not: 1.0.2
             snapdragon: 0.8.2
             to-regex: 3.0.2
-        transitivePeerDependencies:
-            - supports-color
         dev: true
 
     /expect/26.6.2:
@@ -7323,8 +7571,6 @@ packages:
             regex-not: 1.0.2
             snapdragon: 0.8.2
             to-regex: 3.0.2
-        transitivePeerDependencies:
-            - supports-color
         dev: true
 
     /fast-deep-equal/3.1.3:
@@ -9176,8 +9422,6 @@ packages:
             walker: 1.0.8
         optionalDependencies:
             fsevents: 2.3.2
-        transitivePeerDependencies:
-            - supports-color
         dev: true
 
     /jest-haste-map/28.1.3:
@@ -9360,8 +9604,6 @@ packages:
             '@jest/types': 26.6.2
             jest-regex-util: 26.0.0
             jest-snapshot: 26.6.2
-        transitivePeerDependencies:
-            - supports-color
         dev: true
 
     /jest-resolve/26.6.2:
@@ -9493,8 +9735,6 @@ packages:
             natural-compare: 1.4.0
             pretty-format: 26.6.2
             semver: 7.3.7
-        transitivePeerDependencies:
-            - supports-color
         dev: true
 
     /jest-snapshot/28.1.3:
@@ -10123,6 +10363,16 @@ packages:
         dependencies:
             sourcemap-codec: 1.4.8
 
+    /magic-string/0.26.3:
+        resolution:
+            {
+                integrity: sha512-u1Po0NDyFcwdg2nzHT88wSK0+Rih0N1M+Ph1Sp08k8yvFFU3KR72wryS7e1qMPJypt99WB7fIFVCA92mQrMjrg==,
+            }
+        engines: { node: '>=12' }
+        dependencies:
+            sourcemap-codec: 1.4.8
+        dev: true
+
     /make-dir/3.1.0:
         resolution:
             {
@@ -10338,8 +10588,6 @@ packages:
             regex-not: 1.0.2
             snapdragon: 0.8.2
             to-regex: 3.0.2
-        transitivePeerDependencies:
-            - supports-color
         dev: true
 
     /micromatch/4.0.5:
@@ -10573,8 +10821,6 @@ packages:
             regex-not: 1.0.2
             snapdragon: 0.8.2
             to-regex: 3.0.2
-        transitivePeerDependencies:
-            - supports-color
         dev: true
 
     /natural-compare/1.4.0:
@@ -11379,7 +11625,7 @@ packages:
         engines: { node: '>= 0.8.0' }
         dev: true
 
-    /prettier-plugin-svelte/2.7.0_o3ioganyptcsrh6x4hnxvjkpqi:
+    /prettier-plugin-svelte/2.7.0_prettier@2.7.1+svelte@3.49.0:
         resolution:
             {
                 integrity: sha512-fQhhZICprZot2IqEyoiUYLTRdumULGRvw0o4dzl5jt0jfzVWdGqeYW27QTWAeXhoupEZJULmNoH3ueJwUWFLIA==,
@@ -12065,7 +12311,7 @@ packages:
         dependencies:
             glob: 7.2.3
 
-    /rollup-plugin-typescript2/0.31.2_jrqhcdvvfzmrsc4z5p6zs2uiwy:
+    /rollup-plugin-typescript2/0.31.2_rollup@2.68.0+typescript@4.7.4:
         resolution:
             {
                 integrity: sha512-hRwEYR1C8xDGVVMFJQdEVnNAeWRvpaY97g5mp3IeLnzhNXzSVq78Ye/BJ9PAaUfN4DXa/uDnqerifMOaMFY54Q==,
@@ -12113,6 +12359,17 @@ packages:
         optionalDependencies:
             fsevents: 2.3.2
 
+    /rollup/2.78.1:
+        resolution:
+            {
+                integrity: sha512-VeeCgtGi4P+o9hIg+xz4qQpRl6R401LWEXBmxYKOV4zlF82lyhgh2hTZnheFUbANE8l2A41F458iwj2vEYaXJg==,
+            }
+        engines: { node: '>=10.0.0' }
+        hasBin: true
+        optionalDependencies:
+            fsevents: 2.3.2
+        dev: true
+
     /rsvp/4.8.5:
         resolution:
             {
@@ -12231,8 +12488,6 @@ packages:
             micromatch: 3.1.10
             minimist: 1.2.6
             walker: 1.0.8
-        transitivePeerDependencies:
-            - supports-color
         dev: true
 
     /saxes/5.0.1:
@@ -12389,6 +12644,7 @@ packages:
             '@polka/url': 1.0.0-next.21
             mrmime: 1.0.1
             totalist: 3.0.0
+        dev: true
 
     /sisteransi/1.0.5:
         resolution:
@@ -12493,8 +12749,6 @@ packages:
             source-map: 0.5.7
             source-map-resolve: 0.5.3
             use: 3.1.1
-        transitivePeerDependencies:
-            - supports-color
         dev: true
 
     /sorcery/0.10.0:
@@ -12929,7 +13183,7 @@ packages:
             }
         engines: { node: '>= 0.4' }
 
-    /svelte-check/2.8.1_svelte@3.49.0:
+    /svelte-check/2.8.1_c3e56b326347f79cbefa7b54654977f5:
         resolution:
             {
                 integrity: sha512-cibyY1sgt3ONIDnQbSgV2X9AJFhwEslRHNo95lijrYfPzVEvTvbmL2ohsUyqB5L7j1GhLXtQbjCJ4lZZ/fwbeQ==,
@@ -12945,7 +13199,7 @@ packages:
             picocolors: 1.0.0
             sade: 1.8.1
             svelte: 3.49.0
-            svelte-preprocess: 4.10.7_uslzfc62di2n2otc2tvfklnwji
+            svelte-preprocess: 4.10.7_8865006ef6c5ca9c2621594fcc5b0f9f
             typescript: 4.7.4
         transitivePeerDependencies:
             - '@babel/core'
@@ -12980,7 +13234,7 @@ packages:
             zencrypt: 0.0.7
         dev: true
 
-    /svelte-preprocess/4.10.7_ueozcsexptisi2awlbuwt6eqmq:
+    /svelte-preprocess/4.10.7_280a73da7875c18e2397c4f760f243fd:
         resolution:
             {
                 integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==,
@@ -13024,6 +13278,7 @@ packages:
             typescript:
                 optional: true
         dependencies:
+            '@babel/core': 7.18.13
             '@types/pug': 2.0.6
             '@types/sass': 1.43.1
             detect-indent: 6.1.0
@@ -13034,7 +13289,7 @@ packages:
             typescript: 4.6.4
         dev: true
 
-    /svelte-preprocess/4.10.7_uslzfc62di2n2otc2tvfklnwji:
+    /svelte-preprocess/4.10.7_8865006ef6c5ca9c2621594fcc5b0f9f:
         resolution:
             {
                 integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==,
@@ -13078,6 +13333,7 @@ packages:
             typescript:
                 optional: true
         dependencies:
+            '@babel/core': 7.18.13
             '@types/pug': 2.0.6
             '@types/sass': 1.43.1
             detect-indent: 6.1.0
@@ -13088,7 +13344,7 @@ packages:
             typescript: 4.7.4
         dev: true
 
-    /svelte-preprocess/4.10.7_vg3dtoa6m5cwrgayrz5b3xtqh4:
+    /svelte-preprocess/4.10.7_bcee8d2d2825c991128217423905a22e:
         resolution:
             {
                 integrity: sha512-sNPBnqYD6FnmdBrUmBCaqS00RyCsCpj2BG58A1JBswNF7b0OKviwxqVrOL/CKyJrLSClrSeqQv5BXNg2RUbPOw==,
@@ -13132,6 +13388,7 @@ packages:
             typescript:
                 optional: true
         dependencies:
+            '@babel/core': 7.18.13
             '@types/pug': 2.0.6
             '@types/sass': 1.43.1
             detect-indent: 6.1.0
@@ -13330,6 +13587,7 @@ packages:
                 integrity: sha512-eM+pCBxXO/njtF7vdFsHuqb+ElbxqtI4r5EAvk6grfAFyJ6IvWlSkfZ5T9ozC6xWw3Fj1fGoSmrl0gUs46JVIw==,
             }
         engines: { node: '>=6' }
+        dev: true
 
     /tough-cookie/4.1.2:
         resolution:
@@ -13421,7 +13679,7 @@ packages:
             }
         dev: false
 
-    /ts-jest/26.5.6_rnfpnlbz3wqspag7uftsmccrvy:
+    /ts-jest/26.5.6_jest@26.6.3+typescript@4.7.4:
         resolution:
             {
                 integrity: sha512-rua+rCP8DxpA8b4DQD/6X2HQS8Zy/xzViVYfEs2OQu68tkCuKLV0Md8pmX55+W24uRIyAsf/BajRfxOs+R2MKA==,
@@ -13628,6 +13886,7 @@ packages:
             }
         engines: { node: '>=4.2.0' }
         hasBin: true
+        dev: true
 
     /typescript/4.6.4:
         resolution:
@@ -14078,10 +14337,10 @@ packages:
             micromatch: 4.0.5
         dev: false
 
-    /vite/3.0.8:
+    /vite/3.0.9:
         resolution:
             {
-                integrity: sha512-AOZ4eN7mrkJiOLuw8IA7piS4IdOQyQCA81GxGsAQvAZzMRi9ZwGB3TOaYsj4uLAWK46T5L4AfQ6InNGlxX30IQ==,
+                integrity: sha512-waYABTM+G6DBTCpYAxvevpG50UOlZuynR0ckTK5PawNVt7ebX6X7wNXHaGIO6wYYFXSM7/WcuFuO2QzhBB6aMw==,
             }
         engines: { node: ^14.18.0 || >=16.0.0 }
         hasBin: true
@@ -14106,12 +14365,11 @@ packages:
             rollup: 2.77.3
         optionalDependencies:
             fsevents: 2.3.2
-        dev: true
 
-    /vite/3.0.9:
+    /vite/3.1.0:
         resolution:
             {
-                integrity: sha512-waYABTM+G6DBTCpYAxvevpG50UOlZuynR0ckTK5PawNVt7ebX6X7wNXHaGIO6wYYFXSM7/WcuFuO2QzhBB6aMw==,
+                integrity: sha512-YBg3dUicDpDWFCGttmvMbVyS9ydjntwEjwXRj2KBFwSB8SxmGcudo1yb8FW5+M/G86aS8x828ujnzUVdsLjs9g==,
             }
         engines: { node: ^14.18.0 || >=16.0.0 }
         hasBin: true
@@ -14130,12 +14388,13 @@ packages:
             terser:
                 optional: true
         dependencies:
-            esbuild: 0.14.54
+            esbuild: 0.15.7
             postcss: 8.4.16
             resolve: 1.22.1
-            rollup: 2.77.3
+            rollup: 2.78.1
         optionalDependencies:
             fsevents: 2.3.2
+        dev: true
 
     /vitest/0.21.1_@vitest+ui@0.21.1:
         resolution:
diff --git a/site/src/routes/guides/authentication.svx b/site/src/routes/guides/authentication.svx
index adb0054914..b79af0a9a4 100644
--- a/site/src/routes/guides/authentication.svx
+++ b/site/src/routes/guides/authentication.svx
@@ -6,7 +6,7 @@ description: A guide to authentication in Houdini
 
 # Authentication
 
-Houdini's support for user sessions comes in 2 parts. First, you need to add a `hook.js` file that defines the
+Houdini's support for user sessions comes in 2 parts. First, you need to add a `hooks.server.js` file that defines the
 session for that user:
 
 ```typescript
diff --git a/src/runtime/index.ts b/src/runtime/index.ts
index 78c7edbc60..f2ca306164 100644
--- a/src/runtime/index.ts
+++ b/src/runtime/index.ts
@@ -1,6 +1,4 @@
-import { siteURL } from './lib/constants'
-import { GraphQLTagResult } from './lib/types'
-
+export { HoudiniClient } from './lib/network'
 export * from './lib'
 export * from './inline'
 export * from './adapter'
@@ -23,6 +21,6 @@ export function graphql(str: TemplateStringsArray): any {
 	// if this is executed, the preprocessor is not enabled
 	throw new Error(`⚠️ graphql template was invoked at runtime. This should never happen and usually means that your project isn't properly configured.
 
-Please make sure you have the appropriate plugin/preprocessor enabled. For more information, visit this link: ${siteURL}/guides/setting-up-your-project
+Please make sure you have the appropriate plugin/preprocessor enabled. For more information, visit this link: SITE_URL/guides/setting-up-your-project
 `)
 }