Skip to content

Commit

Permalink
Merge pull request #5396 from WalletConnect/chore/revert-test-urls
Browse files Browse the repository at this point in the history
chore(relay-test-urls): revert Relay test URLs
  • Loading branch information
Cali93 authored Sep 26, 2024
2 parents dc12515 + e7509b5 commit 41c6094
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
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

0 comments on commit 41c6094

Please sign in to comment.