@astrojs/cloudflare 7.0.0 → 7.0.1

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 +1 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -99,7 +99,7 @@ From an endpoint:
99
99
 
100
100
  ```js
101
101
  // src/pages/api/someFile.js
102
- export function get(context) {
102
+ export function GET(context) {
103
103
  const runtime = context.locals.runtime;
104
104
 
105
105
  return new Response('Some body');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@astrojs/cloudflare",
3
3
  "description": "Deploy your site to Cloudflare Workers/Pages",
4
- "version": "7.0.0",
4
+ "version": "7.0.1",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
7
7
  "author": "withastro",
@@ -38,7 +38,7 @@
38
38
  "@astrojs/underscore-redirects": "0.3.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "astro": "^3.0.0"
41
+ "astro": "^3.0.7"
42
42
  },
43
43
  "devDependencies": {
44
44
  "chai": "^4.3.7",
@@ -46,7 +46,7 @@
46
46
  "kill-port": "^2.0.1",
47
47
  "mocha": "^10.2.0",
48
48
  "wrangler": "^3.5.1",
49
- "astro": "3.0.0",
49
+ "astro": "3.0.7",
50
50
  "astro-scripts": "0.0.14"
51
51
  },
52
52
  "scripts": {