@frontmcp/sdk 1.10.9 → 1.10.11
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/browser/common/utils/decide-request-intent.utils.mjs +1 -1
- package/browser/index.cjs +1 -1
- package/esm/index.mjs +1 -1
- package/index.js +1 -1
- package/package.json +10 -10
|
@@ -318,7 +318,7 @@ function decideIntent(req, cfg) {
|
|
|
318
318
|
};
|
|
319
319
|
}
|
|
320
320
|
const { key, channel, flags, init } = computeBitmap(req, cfg);
|
|
321
|
-
if (method === "POST") {
|
|
321
|
+
if (method === "POST" && channel !== CH_POST_MESSAGE) {
|
|
322
322
|
const accept = h(req, "accept");
|
|
323
323
|
const acceptsSSE = wantsSSE(accept);
|
|
324
324
|
const acceptsJSON = wantsJSON(accept) || !accept && cfg.tolerateMissingAccept;
|
package/browser/index.cjs
CHANGED
|
@@ -42287,7 +42287,7 @@ function decideIntent(req, cfg) {
|
|
|
42287
42287
|
};
|
|
42288
42288
|
}
|
|
42289
42289
|
const { key, channel: channel2, flags, init } = computeBitmap(req, cfg);
|
|
42290
|
-
if (method === "POST") {
|
|
42290
|
+
if (method === "POST" && channel2 !== CH_POST_MESSAGE) {
|
|
42291
42291
|
const accept = h(req, "accept");
|
|
42292
42292
|
const acceptsSSE = wantsSSE(accept);
|
|
42293
42293
|
const acceptsJSON = wantsJSON(accept) || !accept && cfg.tolerateMissingAccept;
|