Skip to content

Commit

Permalink
chore: wip on ws api
Browse files Browse the repository at this point in the history
  • Loading branch information
firstpilotpirx committed Aug 23, 2024
1 parent 0f870fb commit 850752e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions src/ws-api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export type OrderCreatedEvent = Event<
export type OrderBalanceOrAllowanceChangeEvent = Event<
'order_balance_or_allowance_change',
{
// TODO check, no emit !!
orderHash: string
remainingMakerAmount: string
balance: string
Expand All @@ -51,7 +50,6 @@ export type OrderBalanceOrAllowanceChangeEvent = Event<
export type OrderInvalidEvent = Event<
'order_invalid',
{
// TODO check, no emit !!
orderHash: string
}
>
Expand Down
3 changes: 1 addition & 2 deletions src/ws-api/ws.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ describe(__filename, () => {
xit('should be possible to subscribe to error', (done) => {
const wsSdk = new WebSocketApi({
url: 'ws://localhost:2345',
network: NetworkEnum.ETHEREUM,
authKey: 'qqqqq'
network: NetworkEnum.ETHEREUM
})

wsSdk.on('error', (error) => {
Expand Down

0 comments on commit 850752e

Please sign in to comment.