Skip to content

TypeScript build error: resolveRecipients not in ChannelHeartbeatAdapter #128

@andreaskviby

Description

@andreaskviby

Issue

When building the plugin with npm run build, we get TypeScript errors:

src/adapters/heartbeat.ts(32,3): error TS2353: Object literal may only specify known properties, and 'resolveRecipients' does not exist in type 'ChannelHeartbeatAdapter'.
src/adapters/heartbeat.ts(32,25): error TS7031: Binding element 'cfg' implicitly has an 'any' type.
src/adapters/heartbeat.ts(32,30): error TS7031: Binding element 'opts' implicitly has an 'any' type.

Environment

  • OpenClaw version: 2026.5.12
  • Plugin version: 0.1.0 (from GitHub main)
  • Node: 22.22.1
  • OS: macOS 15.1.1 (arm64)

Steps to Reproduce

  1. Clone repo: git clone https://github.com/basecamp/openclaw-basecamp.git
  2. Install deps: npm install
  3. Build: npm run build

The build fails with the errors above.

Expected Behavior

Plugin should build successfully with OpenClaw 2026.5.12+.

Notes

Looks like resolveRecipients method doesn't exist on the ChannelHeartbeatAdapter interface in the current OpenClaw SDK version, or the method signature has changed. Either the plugin needs updating or there's a version mismatch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions