@riebeckite/analytics-cloudflare 0.0.3 → 0.0.5

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 +2 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -43,9 +43,8 @@ The Worker binding is constructed per request because `env` exists only in
43
43
  ## Endpoints and validation
44
44
 
45
45
  - `POST /events` accepts only JSON `page_view` payloads with an ISO timestamp,
46
- a 1–160 character safe content ID (`[A-Za-z0-9._:-]` after the first
47
- alphanumeric character), optional bounded path and language, and no unknown
48
- fields. Bodies are limited to 8 KiB.
46
+ a 1–160 character trimmed content ID without control characters, optional
47
+ bounded path and language, and no unknown fields. Bodies are limited to 8 KiB.
49
48
  - `GET /content/:contentId/page-views?from=&to=` and `GET /popular?limit=&from=&to=`
50
49
  are available only when storage advertises the corresponding capability.
51
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/analytics-cloudflare",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -14,7 +14,7 @@
14
14
  }
15
15
  },
16
16
  "dependencies": {
17
- "@riebeckite/plugin-analytics": "0.0.3"
17
+ "@riebeckite/plugin-analytics": "0.0.5"
18
18
  },
19
19
  "publishConfig": {
20
20
  "access": "public"