@revojs/cloudflare 0.0.83 → 0.0.85

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/dist/index.js CHANGED
@@ -10,7 +10,8 @@ function cloudflare() {
10
10
  const { request, response } = useRuntime(scope);
11
11
  proxy ??= await getPlatformProxy();
12
12
  scope.setContext(RUNTIME_CONTEXT, {
13
- tasks: new Array(),
13
+ tasks: [],
14
+ states: {},
14
15
  request,
15
16
  response,
16
17
  variables: proxy.env
@@ -5,7 +5,8 @@ import { runtime } from "#virtual/runtime";
5
5
  var runtime_default = { fetch: async (request, variables) => {
6
6
  const scope = new Scope();
7
7
  scope.setContext(RUNTIME_CONTEXT, {
8
- tasks: new Array(),
8
+ tasks: [],
9
+ states: {},
9
10
  request,
10
11
  response: { headers: new Headers() },
11
12
  variables
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revojs/cloudflare",
3
- "version": "0.0.83",
3
+ "version": "0.0.85",
4
4
  "type": "module",
5
5
  "repository": "coverbase/revojs",
6
6
  "license": "MIT",