Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(relay-test-urls): revert Relay test URLs #5396

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.codeActionsOnSave": {
"source.organizeImports": false
"source.organizeImports": "never"
},
"editor.formatOnSave": true,
"editor.tabSize": 2,
Expand Down
26 changes: 13 additions & 13 deletions packages/core/src/core.ts
Original file line number Diff line number Diff line change
@@ -1,26 +1,16 @@
import { EventEmitter } from "events";

import KeyValueStorage from "@walletconnect/keyvaluestorage";
import { HeartBeat } from "@walletconnect/heartbeat";
import KeyValueStorage from "@walletconnect/keyvaluestorage";
import {
ChunkLoggerController,
generateChildLogger,
generatePlatformLogger,
getDefaultLoggerOptions,
getLoggerContext,
generatePlatformLogger,
ChunkLoggerController,
} from "@walletconnect/logger";
import { CoreTypes, ICore } from "@walletconnect/types";

import {
Crypto,
Relayer,
Pairing,
JsonRpcHistory,
Expirer,
Verify,
EchoClient,
EventClient,
} from "./controllers";
import {
CORE_CONTEXT,
CORE_DEFAULT,
Expand All @@ -32,6 +22,16 @@ import {
WALLETCONNECT_CLIENT_ID,
WALLETCONNECT_LINK_MODE_APPS,
} from "./constants";
import {
Crypto,
EchoClient,
EventClient,
Expirer,
JsonRpcHistory,
Pairing,
Relayer,
Verify,
} from "./controllers";

export class Core extends ICore {
public readonly protocol = CORE_PROTOCOL;
Expand Down
6 changes: 3 additions & 3 deletions packages/sign-client/test/shared/values.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ export const TEST_RELAY_URL = process.env.TEST_RELAY_URL
? process.env.TEST_RELAY_URL
: "ws://0.0.0.0:5555";

export const TEST_RELAY_URL_US = "wss://us-east-1.relay.walletconnect.org";
export const TEST_RELAY_URL_EU = "wss://eu-central-1.relay.walletconnect.org";
export const TEST_RELAY_URL_AP = "wss://ap-southeast-1.relay.walletconnect.org";
export const TEST_RELAY_URL_US = "wss://us-east-1.relay.walletconnect.com";
export const TEST_RELAY_URL_EU = "wss://eu-central-1.relay.walletconnect.com";
export const TEST_RELAY_URL_AP = "wss://ap-southeast-1.relay.walletconnect.com";

// See https://github.com/WalletConnect/push-webhook-test-server
export const TEST_WEBHOOK_ENDPOINT = "https://webhook-push-test.walletconnect.com/";
Expand Down
Loading