@libreflare/worker-runtime 0.9.3 → 0.9.4
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/README.md +5 -2
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -4,8 +4,11 @@ Shared runtime utilities for Libreflare-managed Cloudflare Workers: request
|
|
|
4
4
|
handling and logging for managed Workers, and the Cloudflare Rules expression
|
|
5
5
|
tooling behind them.
|
|
6
6
|
|
|
7
|
-
The package root exports everything
|
|
8
|
-
the
|
|
7
|
+
The package root exports everything and loads only in the Workers runtime,
|
|
8
|
+
since the request handling imports `cloudflare:workers`. The
|
|
9
|
+
`./rule-evaluator` and `./runtime-config` entry points export the rule
|
|
10
|
+
expression tooling and the runtime config parsing on their own, and load in
|
|
11
|
+
Node too, for build tools such as `@libreflare/worker-cli`.
|
|
9
12
|
|
|
10
13
|
## Request Handling
|
|
11
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libreflare/worker-runtime",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -16,6 +16,10 @@
|
|
|
16
16
|
"./rule-evaluator": {
|
|
17
17
|
"types": "./dist/rule-evaluator.d.ts",
|
|
18
18
|
"default": "./dist/rule-evaluator.js"
|
|
19
|
+
},
|
|
20
|
+
"./runtime-config": {
|
|
21
|
+
"types": "./dist/runtime-config.d.ts",
|
|
22
|
+
"default": "./dist/runtime-config.js"
|
|
19
23
|
}
|
|
20
24
|
},
|
|
21
25
|
"scripts": {
|