adp-openclaw 0.0.10 → 0.0.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/channel.ts +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adp-openclaw",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "OpenClaw demo channel plugin (Go WebSocket backend)",
5
5
  "type": "module",
6
6
  "dependencies": {
package/src/channel.ts CHANGED
@@ -53,10 +53,10 @@ function resolveAdpOpenclawCredentials(channelCfg?: AdpOpenclawChannelConfig): {
53
53
  clientToken = process.env.ADP_OPENCLAW_CLIENT_TOKEN || "";
54
54
  }
55
55
 
56
- // Get hmacKey from config or env
56
+ // Get hmacKey from config or env (default: ADPOpenClaw)
57
57
  let hmacKey = channelCfg?.hmacKey?.trim();
58
58
  if (!hmacKey) {
59
- hmacKey = process.env.ADP_OPENCLAW_HMAC_KEY || "";
59
+ hmacKey = process.env.ADP_OPENCLAW_HMAC_KEY || "ADPOpenClaw";
60
60
  }
61
61
 
62
62
  // Both are required for configured status
@@ -81,7 +81,7 @@ function resolveAccount(cfg: ClawdbotConfig, accountId?: string): ResolvedAdpOpe
81
81
  configured: Boolean(creds),
82
82
  serverUrl: creds?.serverUrl || "http://localhost:9876",
83
83
  clientToken: creds?.clientToken || "",
84
- hmacKey: creds?.hmacKey || "",
84
+ hmacKey: creds?.hmacKey || "ADPOpenClaw",
85
85
  pollIntervalMs: creds?.pollIntervalMs || 1000,
86
86
  };
87
87
  }