@tangle-network/agent-provider-cli-bridge 0.8.0 → 0.8.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/dist/wire.js +2 -2
- package/package.json +1 -1
package/dist/wire.js
CHANGED
|
@@ -112,8 +112,8 @@ function assertRetainedTurnInputSupported(turn) {
|
|
|
112
112
|
unsupported.push("contextTransfer");
|
|
113
113
|
if (turn.nativeContinuation !== undefined)
|
|
114
114
|
unsupported.push("nativeContinuation");
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
// `detach` controls the provider's response reader. The bridge request stays unchanged.
|
|
116
|
+
// The streaming path rejects detached turns before it calls this encoder.
|
|
117
117
|
if (unsupported.length > 0) {
|
|
118
118
|
throw new Error(`cli-bridge retained turns cannot represent ${unsupported.join(", ")}`);
|
|
119
119
|
}
|
package/package.json
CHANGED