clawrelay 0.3.2 → 0.3.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawrelay",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Channel relay plugin for OpenClaw — receives messages from an always-on relay proxy",
5
5
  "main": "src/index.ts",
6
6
  "type": "module",
@@ -36,7 +36,7 @@ export function createRelayInboundHandler(api: any) {
36
36
 
37
37
  // Resolve the account — use accountId from params or fall back to default
38
38
  const accountId = (params.accountId as string) ?? 'default';
39
- const config = api.runtime.config.load();
39
+ const config = api.config;
40
40
  const accounts = config.channels?.relay?.accounts ?? {};
41
41
  const accountData = accounts[accountId] ?? config.channels?.relay;
42
42