@libp2p/gossipsub 15.0.22 → 15.0.23

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/src/stream.ts CHANGED
@@ -30,8 +30,8 @@ export class OutboundStream {
30
30
  return this.rawStream.protocol
31
31
  }
32
32
 
33
- async push (data: Uint8Array): Promise<void> {
34
- return this.pushPrefixed(encode.single(data))
33
+ push (data: Uint8Array): void {
34
+ this.pushPrefixed(encode.single(data))
35
35
  }
36
36
 
37
37
  /**