@fastly/remix-server-adapter 2.0.2 → 3.0.0-beta.0

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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -14,14 +14,14 @@ The simplest usage is the `createEventHandler` function.
14
14
  This function needs to be passed the following parameters:
15
15
 
16
16
  - `build`, obtained by loading `/build/index.js`
17
- - `server`, obtained by calling `getServer()`, exported from `./statics`
17
+ - `server`, obtained by calling `getServer()`, exported from `./statics.js`
18
18
 
19
- > HINT: `./statics` is generated automatically by `@fastly/compute-js-static-publish`.
19
+ > HINT: `./statics.js` is generated automatically by `@fastly/compute-js-static-publish`.
20
20
 
21
21
  ```js
22
22
  /// <reference types="@fastly/js-compute" />
23
23
  import { createEventHandler } from '@fastly/remix-server-adapter';
24
- import { moduleAssets, getServer } from './statics';
24
+ import { moduleAssets, getServer } from './statics.js';
25
25
 
26
26
  /** @type {import('@remix-run/server-runtime').ServerBuild} */
27
27
  const build = moduleAssets.getAsset('/build/index.js').getStaticModule();
@@ -38,7 +38,7 @@ you may use the lower-level `createRequestHandler` and `handleAsset` functions:
38
38
  ```js
39
39
  /// <reference types="@fastly/js-compute" />
40
40
  import { createRequestHandler, handleAsset } from '@fastly/remix-server-adapter';
41
- import { moduleAssets, getServer } from './statics';
41
+ import { moduleAssets, getServer } from './statics.js';
42
42
 
43
43
  /** @type {import('@remix-run/server-runtime').ServerBuild} */
44
44
  const build = moduleAssets.getAsset('/build/index.js').getStaticModule();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastly/remix-server-adapter",
3
- "version": "2.0.2",
3
+ "version": "3.0.0-beta.0",
4
4
  "license": "MIT",
5
5
  "description": "Remix Adapter for Fastly Compute@Edge",
6
6
  "types": "./build/src/index.d.ts",
@@ -9,9 +9,9 @@
9
9
  ".": "./build/src/index.js"
10
10
  },
11
11
  "dependencies": {
12
- "@fastly/compute-js-static-publish": "^5.0.0",
13
- "@fastly/js-compute": "^2.0.0",
14
- "@fastly/remix-server-runtime": "^2.0.2"
12
+ "@fastly/compute-js-static-publish": "^5.1.1",
13
+ "@fastly/js-compute": "^2.5.0",
14
+ "@fastly/remix-server-runtime": "^3.0.0-beta.0"
15
15
  },
16
16
  "scripts": {
17
17
  "prepack": "npm run clean && npm run compile",