@ah-monica/cloudflare 0.2.0 → 0.2.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.
- package/README.md +9 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -67,6 +67,15 @@ monica: ingest rejected the envelope with 422 (invalid_envelope): 1 issue(s); $.
|
|
|
67
67
|
monica: ingest rejected the envelope with 401 (invalid_key); no further envelopes will be sent
|
|
68
68
|
```
|
|
69
69
|
|
|
70
|
+
`413`(body上限超過)を受けると`items`を半分に割って送り直す。SDKは契約(gzip後
|
|
71
|
+
1 MiB)を下回るサイズしか送らないので、返るのは経路上のproxyやgatewayが契約より
|
|
72
|
+
低い上限を持っているとき。分割して受理されても`flush()`の戻り値の`status`は`413`に
|
|
73
|
+
なり、次の1行をtransportにつき1回だけ出す。
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
monica: ingest rejected the envelope with 413 (unknown); splitting and resending. A size limit on the path may be below the 1 MiB (gzip) contract
|
|
77
|
+
```
|
|
78
|
+
|
|
70
79
|
## PII方針
|
|
71
80
|
|
|
72
81
|
SDKは、例外message、stack、request、contextがPIIかどうかを推測せず、自動除去も
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** package.json の version と同じ値。bun run version X.Y.Z が書き換える */
|
|
2
|
-
export declare const SDK_VERSION = "0.2.
|
|
2
|
+
export declare const SDK_VERSION = "0.2.1";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** package.json の version と同じ値。bun run version X.Y.Z が書き換える */
|
|
2
|
-
export const SDK_VERSION = "0.2.
|
|
2
|
+
export const SDK_VERSION = "0.2.1";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ah-monica/cloudflare",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Cloudflare Workers adapter for sending application errors to MONICA",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"directory": "cloudflare"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@ah-monica/core": "0.2.
|
|
33
|
+
"@ah-monica/core": "0.2.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@types/bun": "^1.2.21",
|