@vainplex/openclaw-membrane 0.3.4 → 0.3.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.3.5] — 2026-03-04
4
+
5
+ ### Fixed
6
+ - **validateConfig crash when no config block exists.** `validateConfig(rawConfig)` threw when `rawConfig` was `undefined` (no explicit `openclaw-membrane` config in openclaw.json). Now gracefully defaults to `{}`. (Thanks @Oo__Abe__oO)
7
+
3
8
  ## [0.3.4] — 2026-03-04
4
9
 
5
10
  ### Fixed
package/dist/index.js CHANGED
@@ -19,6 +19,8 @@ export function createConfig(rawConfig) {
19
19
  };
20
20
  }
21
21
  export function validateConfig(raw) {
22
+ if (!raw)
23
+ return {};
22
24
  const result = {};
23
25
  if (typeof raw.grpc_endpoint === 'string')
24
26
  result.grpc_endpoint = raw.grpc_endpoint;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vainplex/openclaw-membrane",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "type": "module",
5
5
  "description": "Membrane gRPC bridge for OpenClaw — episodic memory ingestion, search tool, and auto-context injection via Membrane sidecar",
6
6
  "main": "dist/index.js",