Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
pvh committed Feb 10, 2025
1 parent 9e4214e commit 2c922c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/automerge-repo/src/DocHandle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ export class DocHandle<T> extends EventEmitter<DocHandleEvents<T>> {
broadcast(message: unknown) {
this.emit("ephemeral-message-outbound", {
handle: this,
data: encode(message),
data: new Uint8Array(encode(message)),
})
}

Expand Down

0 comments on commit 2c922c0

Please sign in to comment.