@torpor/adapter-cloudflare 0.0.12 → 0.0.13

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @torpor/adapter-cloudflare
2
2
 
3
+ ## 0.0.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [02eac8e]
8
+ - @torpor/build@0.1.13
9
+
3
10
  ## 0.0.12
4
11
 
5
12
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@torpor/adapter-cloudflare",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "A @torpor/build adapter for deploying to Cloudflare Pages",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -19,7 +19,7 @@
19
19
  "license": "ISC",
20
20
  "dependencies": {
21
21
  "vite": "^6.3.3",
22
- "@torpor/build": "^0.1.12"
22
+ "@torpor/build": "^0.1.13"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@trivago/prettier-plugin-sort-imports": "^5.2.2",
package/src/_worker.ts CHANGED
@@ -26,7 +26,8 @@ server.add("*", async (ev: any) => {
26
26
 
27
27
  export default {
28
28
  async fetch(request: Request, env: any): Promise<any> {
29
- // Put adapter-specific functionality in the `adapter` property of globalThis
29
+ // Put adapter-specific functionality in the `adapter` property of
30
+ // globalThis for now
30
31
  // @ts-ignore
31
32
  globalThis.adapter = { env };
32
33