diff --git a/README.md b/README.md index a242a57..113295d 100644 --- a/README.md +++ b/README.md @@ -34,3 +34,16 @@ Your app can then be accessed via the CloudFront distribution created as a part ## Static Assets and precompiled pages To server static assets and precompiled pages this adapter makes use of S3. In order to route traffic the correct destination a Lambda@edge fuction is used to perfrom a origin rewrite to redirect traffic to the S3 Bucket. + +## Help! I'm getting an error while building or serving my app. +As SvelteKit is still in early development, there are often breaking changes made to the adapter API and other associated functions. If this is the case, please raise an issue on [Github](https://github.com/yarbsemaj/sveltekit-adapter-lambda/issues), and I will be happy to issue a fix. + +## Versions +| Adapter Version| Sveltekit Version | +| ---------------| ----------------- | +| 0.9.x | 1.0.0-next.348 | +| 0.6.x - 0.8.x | 1.0.0-next.301 | +| 0.5.x | 1.0.0-next.286 | +| 0.3.x - 0.4.x | 1.0.0-next.286 | +| 0.2.x | 1.0.0-next.239 | +| 0.1.x | 1.0.0-next.169 | \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index ec6ae02..d908feb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@yarbsemaj/adapter-lambda", - "version": "0.8.0", + "version": "0.9.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@yarbsemaj/adapter-lambda", - "version": "0.8.0", + "version": "0.9.0", "license": "MIT", "dependencies": { "@silvermine/serverless-plugin-cloudfront-lambda-edge": "^2.2.3", diff --git a/package.json b/package.json index 2ef4931..9865f4a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@yarbsemaj/adapter-lambda", - "version": "0.8.0", + "version": "0.9.0", "license": "MIT", "description": "An adapter for [SvelteKit](https://kit.svelte.dev/) for AWS Lambda via Lambda Proxy and API Gateway. [Serverless](https://www.serverless.com/) deployment.", "repository": { diff --git a/src/shims.js b/src/shims.js index 72746c3..cee2ad9 100644 --- a/src/shims.js +++ b/src/shims.js @@ -1,2 +1,2 @@ -import { installFetch } from '@sveltejs/kit/install-fetch'; -installFetch(); \ No newline at end of file +import { installPolyfills } from '@sveltejs/kit/node/polyfills'; +installPolyfills(); \ No newline at end of file