Skip to content

Commit

Permalink
Rename RxWebSocket to WalletLinkWebSocket (#1026)
Browse files Browse the repository at this point in the history
  • Loading branch information
bangtoven authored Oct 11, 2023
1 parent a757aa5 commit eb2fbb5
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/wallet-sdk/src/connection/DiagnosticLogger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import { Web3RequestMessage } from '../relay/Web3RequestMessage';
import { Web3ResponseMessage } from '../relay/Web3ResponseMessage';
import { ConnectionState } from './RxWebSocket';
import { ServerMessage, ServerMessageIsLinkedOK } from './ServerMessage';
import { ConnectionState } from './WalletLinkWebSocket';

export type LogProperties = {
addresses_length?: number; // number of eth addresses
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-sdk/src/connection/WalletLinkConnection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
ClientMessageSetSessionConfig,
} from './ClientMessage';
import { DiagnosticLogger, EVENTS } from './DiagnosticLogger';
import { ConnectionState, WalletLinkWebSocket } from './RxWebSocket';
import {
isServerMessageFail,
ServerMessage,
Expand All @@ -26,6 +25,7 @@ import {
ServerMessageSessionConfigUpdated,
} from './ServerMessage';
import { SessionConfig } from './SessionConfig';
import { ConnectionState, WalletLinkWebSocket } from './WalletLinkWebSocket';

const HEARTBEAT_INTERVAL = 10000;
const REQUEST_TIMEOUT = 60000;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import WS from 'jest-websocket-mock';

import { ConnectionState, WalletLinkWebSocket } from './RxWebSocket';
import { ConnectionState, WalletLinkWebSocket } from './WalletLinkWebSocket';

describe('WalletLinkWebSocket', () => {
let server: WS;
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet-sdk/src/relay/WalletLinkRelay.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* eslint-disable @typescript-eslint/no-explicit-any */

import { WalletLinkWebSocket } from '../connection/RxWebSocket';
import { ServerMessageEvent } from '../connection/ServerMessage';
import { SessionConfig } from '../connection/SessionConfig';
import { WalletLinkConnection } from '../connection/WalletLinkConnection';
import { WalletLinkWebSocket } from '../connection/WalletLinkWebSocket';
import { ScopedLocalStorage } from '../lib/ScopedLocalStorage';
import * as aes256gcm from './aes256gcm';
import { WalletLinkRelay, WalletLinkRelayOptions } from './WalletLinkRelay';
Expand Down

0 comments on commit eb2fbb5

Please sign in to comment.