MCPcopy Create free account
hub / github.com/ProjectOpenSea/stream-js / getSocket

Function getSocket

tests/helpers.ts:4–7  ·  view source on GitHub ↗
(client: OpenSeaStreamClient)

Source from the content-addressed store, hash-verified

2import { BaseStreamMessage, EventType, OpenSeaStreamClient } from '../src';
3
4export const getSocket = (client: OpenSeaStreamClient): Socket => {
5 // @ts-expect-error private access
6 return client.socket;
7};
8
9export const getChannels = (
10 client: OpenSeaStreamClient

Callers 1

client.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected