diff --git a/examples/linearlite/package.json b/examples/linearlite/package.json index 32449772c6..e5093a7c67 100644 --- a/examples/linearlite/package.json +++ b/examples/linearlite/package.json @@ -58,7 +58,6 @@ "@databases/pg-migrations": "^5.0.3", "@faker-js/faker": "^8.4.1", "@tailwindcss/typography": "^0.5.10", - "@types/aws-lambda": "8.10.145", "@types/jest": "^29.5.12", "@types/lodash.debounce": "^4.0.9", "@types/node": "^20.14.10", diff --git a/examples/linearlite/src/electric.tsx b/examples/linearlite/src/electric.tsx index bb42eba199..97eda20e7e 100644 --- a/examples/linearlite/src/electric.tsx +++ b/examples/linearlite/src/electric.tsx @@ -1,3 +1,5 @@ -export const baseUrl = import.meta.env.VITE_ELECTRIC_URL ? new URL(import.meta.env.VITE_ELECTRIC_URL).origin : `http://localhost:3000` +export const baseUrl = import.meta.env.VITE_ELECTRIC_URL + ? new URL(import.meta.env.VITE_ELECTRIC_URL).origin + : `http://localhost:3000` export const token = import.meta.env.VITE_ELECTRIC_TOKEN ?? `` export const databaseId = import.meta.env.VITE_DATABASE_ID ?? `` diff --git a/examples/linearlite/src/shapes.ts b/examples/linearlite/src/shapes.ts index 13632a049e..6b244d113f 100644 --- a/examples/linearlite/src/shapes.ts +++ b/examples/linearlite/src/shapes.ts @@ -1,4 +1,4 @@ -import { ShapeStreamOptions } from '@electric-sql/next' +import { ShapeStreamOptions } from '@electric-sql/client' import { baseUrl, databaseId, token } from './electric' export const issueShape: ShapeStreamOptions = { diff --git a/examples/linearlite/sst.config.ts b/examples/linearlite/sst.config.ts index 2e34593327..c82e430822 100644 --- a/examples/linearlite/sst.config.ts +++ b/examples/linearlite/sst.config.ts @@ -1,3 +1,4 @@ +// eslint-disable-next-line @typescript-eslint/triple-slash-reference /// import { execSync } from 'child_process' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 17f610ab50..cf0bebe2e0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -207,6 +207,9 @@ importers: react-window: specifier: ^1.8.10 version: 1.8.10(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + sst: + specifier: 3.2.70 + version: 3.2.70 tiptap-markdown: specifier: ^0.8.2 version: 0.8.10(@tiptap/core@2.5.4(@tiptap/pm@2.5.4)) @@ -3812,6 +3815,9 @@ packages: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} + aws4fetch@1.0.20: + resolution: {integrity: sha512-/djoAN709iY65ETD6LKCtyyEI04XIBP5xVvfmNxsEP0uJB5tyaGBztSryRr4HqMStr9R06PisQE7m9zDTXKu6g==} + bail@2.0.2: resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==} @@ -5378,6 +5384,12 @@ packages: resolution: {integrity: sha512-2yTgeWTWzMWkHu6Jp9NKgePDaYHbntiwvYuuJLbbN9vl7DC9DvXKOB2BC3ZZ92D3cvV/aflH0osDfwpHepQ53w==} hasBin: true + jose@4.15.9: + resolution: {integrity: sha512-1vUQX+IdDMVPj4k8kOxgUqlcK518yluMuGZwqlr44FS1ppZB/5GWh4rZG89erpOBOJjU/OBsnCVFfapsRz6nEA==} + + jose@5.2.3: + resolution: {integrity: sha512-KUXdbctm1uHVL8BYhnyHkgp3zDX5KW8ZhAKVFEfUbU2P8Alpzjb+48hHvjOdQIyPshoblhzsuqOwEEAbtHVirA==} + joycon@3.1.1: resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} engines: {node: '>=10'} @@ -5585,6 +5597,10 @@ packages: lru-cache@5.1.1: resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + lru-cache@6.0.0: + resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} + engines: {node: '>=10'} + lru-cache@7.18.3: resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} engines: {node: '>=12'} @@ -6059,6 +6075,10 @@ packages: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} + object-hash@2.2.0: + resolution: {integrity: sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==} + engines: {node: '>= 6'} + object-hash@3.0.0: resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==} engines: {node: '>= 6'} @@ -6090,6 +6110,10 @@ packages: obuf@1.1.2: resolution: {integrity: sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==} + oidc-token-hash@5.0.3: + resolution: {integrity: sha512-IF4PcGgzAr6XXSff26Sk/+P4KZFJVuHAJZj3wgO3vX2bMdNVp/QXTP3P7CEm9V1IdG8lDLY3HhiqpsE/nOwpPw==} + engines: {node: ^10.13.0 || >=12.0.0} + on-finished@2.3.0: resolution: {integrity: sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==} engines: {node: '>= 0.8'} @@ -6116,6 +6140,9 @@ packages: openapi-sampler@1.5.1: resolution: {integrity: sha512-tIWIrZUKNAsbqf3bd9U1oH6JEXo8LNYuDlXw26By67EygpjT+ArFnsxxyTMjFWRfbqo5ozkvgSQDK69Gd8CddA==} + openid-client@5.6.4: + resolution: {integrity: sha512-T1h3B10BRPKfcObdBklX639tVz+xh34O7GjofqrqiAQdm7eHsQ00ih18x6wuJ/E6FxdtS2u3FmUGPDeEcMwzNA==} + optionator@0.9.4: resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} @@ -7185,6 +7212,43 @@ packages: resolution: {integrity: sha512-MGrFH9Z4NP9Iyhqn16sDtBpRRNJ0Y2hNa6D65h736fVSaPCHr4DM4sWUNvVaSuC+0OBGhwsrydQwmgfg5LncqQ==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + sst-darwin-arm64@3.2.70: + resolution: {integrity: sha512-pBYO+FAeqCT8koodqz5uEaHfJSpAxYDbhNUvaT6HhZApgkWibSG9XaC7MD7Rus55gM8JKk00b56CU5BvCWlHRw==} + cpu: [arm64] + os: [darwin] + + sst-darwin-x64@3.2.70: + resolution: {integrity: sha512-rEjCe24mWaldmWvRcVwpf6xWQxd4WtDjt3au8PmMkaXcdbweCfzVu2QJqxHO+DdXXpyKeOJEuIjB3rc5KGfm/w==} + cpu: [x64] + os: [darwin] + + sst-linux-arm64@3.2.70: + resolution: {integrity: sha512-CF6cPBztIhbjpB9TLiXALuAieUKqcuG4buovy3rnbkOE+fGTtPTZW7LX9eL9Jcds1pwJ4YxqA6GcXCOpZ/buLw==} + cpu: [arm64] + os: [linux] + + sst-linux-x64@3.2.70: + resolution: {integrity: sha512-RXu6g/rtonyPqOLkrVpUp1b1M00IEDdqjT6MHSPecoqdvBYqhySXMO+xcsUaQqeeRgGsAyvYGnAnAAr2QO6/tQ==} + cpu: [x64] + os: [linux] + + sst-linux-x86@3.2.70: + resolution: {integrity: sha512-cJ7PRlSZ/d0zRfUqbcFwIq0vzBRmwC+wKh3vrXf6fncr7oa6ASQ6RRqEE9/deBDqUH6j2TgNwdhOYFK6ctOumg==} + cpu: [x86] + os: [linux] + + sst@3.2.70: + resolution: {integrity: sha512-45t2ysVDlVCYJgdOsPT3JnoSQURaFxT/ifRpq84bOYpulmTEsLAlNZl2q5eJffuUevE/uxCHHS7gJsiodTA14Q==} + hasBin: true + peerDependencies: + hono: 4.x + valibot: 0.30.x + peerDependenciesMeta: + hono: + optional: true + valibot: + optional: true + stack-utils@2.0.6: resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} engines: {node: '>=10'} @@ -11395,6 +11459,8 @@ snapshots: dependencies: possible-typed-array-names: 1.0.0 + aws4fetch@1.0.20: {} + bail@2.0.2: {} balanced-match@1.0.2: {} @@ -13176,6 +13242,10 @@ snapshots: jiti@1.21.6: {} + jose@4.15.9: {} + + jose@5.2.3: {} + joycon@3.1.1: {} js-levenshtein@1.1.6: {} @@ -13384,6 +13454,10 @@ snapshots: dependencies: yallist: 3.1.1 + lru-cache@6.0.0: + dependencies: + yallist: 4.0.0 + lru-cache@7.18.3: {} lunr@2.3.9: {} @@ -13738,7 +13812,7 @@ snapshots: micromark@3.2.0: dependencies: '@types/debug': 4.1.12 - debug: 4.3.6(supports-color@5.5.0) + debug: 4.3.6 decode-named-character-reference: 1.0.2 micromark-core-commonmark: 1.1.0 micromark-factory-space: 1.1.0 @@ -14036,6 +14110,8 @@ snapshots: object-assign@4.1.1: {} + object-hash@2.2.0: {} + object-hash@3.0.0: {} object-inspect@1.13.2: {} @@ -14068,6 +14144,8 @@ snapshots: obuf@1.1.2: {} + oidc-token-hash@5.0.3: {} + on-finished@2.3.0: dependencies: ee-first: 1.1.1 @@ -14095,6 +14173,13 @@ snapshots: '@types/json-schema': 7.0.15 json-pointer: 0.6.2 + openid-client@5.6.4: + dependencies: + jose: 4.15.9 + lru-cache: 6.0.0 + object-hash: 2.2.0 + oidc-token-hash: 5.0.3 + optionator@0.9.4: dependencies: deep-is: 0.1.4 @@ -15295,6 +15380,33 @@ snapshots: dependencies: minipass: 7.1.2 + sst-darwin-arm64@3.2.70: + optional: true + + sst-darwin-x64@3.2.70: + optional: true + + sst-linux-arm64@3.2.70: + optional: true + + sst-linux-x64@3.2.70: + optional: true + + sst-linux-x86@3.2.70: + optional: true + + sst@3.2.70: + dependencies: + aws4fetch: 1.0.20 + jose: 5.2.3 + openid-client: 5.6.4 + optionalDependencies: + sst-darwin-arm64: 3.2.70 + sst-darwin-x64: 3.2.70 + sst-linux-arm64: 3.2.70 + sst-linux-x64: 3.2.70 + sst-linux-x86: 3.2.70 + stack-utils@2.0.6: dependencies: escape-string-regexp: 2.0.0