32 lines
1.7 KiB
Diff
32 lines
1.7 KiB
Diff
diff --git a/node_modules/@walletconnect/core/dist/esm/index.js b/node_modules/@walletconnect/core/dist/esm/index.js
|
|
index a66eece..24d831b 100644
|
|
--- a/node_modules/@walletconnect/core/dist/esm/index.js
|
|
+++ b/node_modules/@walletconnect/core/dist/esm/index.js
|
|
@@ -22,7 +22,13 @@ class Connector {
|
|
this._networkId = 0;
|
|
this._rpcUrl = "";
|
|
this._eventManager = new EventManager();
|
|
- this._clientMeta = getClientMeta() || opts.connectorOpts.clientMeta || null;
|
|
+ // this._clientMeta = getClientMeta() || opts.connectorOpts.clientMeta || null;
|
|
+ this._clientMeta = {
|
|
+ description: 'CEBG Game client',
|
|
+ url: 'https://www.cebg.games',
|
|
+ icons: ['https://www.cebg.games/favicon.ico'],
|
|
+ name: 'cebg',
|
|
+ }
|
|
this._cryptoLib = opts.cryptoLib;
|
|
this._sessionStorage = opts.sessionStorage || new SessionStorage(opts.connectorOpts.storageId);
|
|
this._qrcodeModal = opts.connectorOpts.qrcodeModal;
|
|
diff --git a/node_modules/@walletconnect/core/dist/esm/url.js b/node_modules/@walletconnect/core/dist/esm/url.js
|
|
index d6da2b8..19202d5 100644
|
|
--- a/node_modules/@walletconnect/core/dist/esm/url.js
|
|
+++ b/node_modules/@walletconnect/core/dist/esm/url.js
|
|
@@ -1,6 +1,6 @@
|
|
const domain = "walletconnect.org";
|
|
const alphanumerical = "abcdefghijklmnopqrstuvwxyz0123456789";
|
|
-const bridges = alphanumerical.split("").map(char => `https://${char}.bridge.walletconnect.org`);
|
|
+const bridges = alphanumerical.split("").map(char => `https://${char}.bridge.walletconnect.org/`);
|
|
export function extractHostname(url) {
|
|
let hostname = url.indexOf("//") > -1 ? url.split("/")[2] : url.split("/")[0];
|
|
hostname = hostname.split(":")[0];
|