@openclaw/gateway-protocol 2026.8.1-beta.2 → 2026.8.1-beta.3

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.
@@ -1,20 +0,0 @@
1
- //#region src/protocol-value-normalization.ts
2
- /** Narrows untrusted protocol values to non-array records. */
3
- function isProtocolRecord(value) {
4
- return Boolean(value) && typeof value === "object" && !Array.isArray(value);
5
- }
6
- /** Converts untrusted protocol values to records without accepting arrays. */
7
- function asProtocolRecord(value) {
8
- return isProtocolRecord(value) ? value : null;
9
- }
10
- /** Checks string presence without changing wire-significant whitespace. */
11
- function isNonEmptyProtocolString(value) {
12
- return typeof value === "string" && value.length > 0;
13
- }
14
- /** Trims an optional untrusted string and rejects empty results. */
15
- function normalizeOptionalProtocolString(value) {
16
- if (typeof value !== "string") return;
17
- return value.trim() || void 0;
18
- }
19
- //#endregion
20
- export { normalizeOptionalProtocolString as i, isNonEmptyProtocolString as n, isProtocolRecord as r, asProtocolRecord as t };