Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Updates for walletconnect
Alexis Sellier committed 4 years ago
commit ad823072cdacc369e0f0e799440fd0f8df7e6e53
parent b2e23ebac16122d1121198ec51c1016dd7dce05c
5 files changed +3 -9
modified index.html
@@ -3,11 +3,12 @@
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
+
    <meta name="name" content="Radicle Interface">
    <meta name="description" content="Interact with Radicle" />
    <meta name="theme-color" content="#0e171f">
    <link rel="stylesheet" type="text/css" href="/index.css" />
-
    <link rel="icon" href="/favicon.ico">
    <link rel="icon" href="/favicon.svg" type="image/svg+xml">
+
    <link rel="icon" href="/favicon.png">
    <link rel="preload" href="/fonts/Inter-Regular.woff" as="font" type="font/woff">
    <link rel="preload" href="/fonts/Inter-SemiBold.otf" as="font" type="font/otf">
    <script type="text/javascript">
added public/favicon.png
deleted public/icon.png
modified src/config.ts
@@ -152,14 +152,6 @@ export class Config {
        close: () => {
          // We handle the "close" event through the "disconnect" handler.
        }
-
      },
-
      clientMeta: {
-
        name: "Radicle",
-
        description: "Radicle Interface",
-
        url: window.location.host,
-
        icons: [
-
          `${window.location.protocol}//${window.location.host}/icon.png`,
-
        ],
      }
    });
    walletConnect.on("modal_closed", () => {
modified vite.config.ts
@@ -15,6 +15,7 @@ const config: UserConfig = {
      'stream': path.resolve('./src/polyfills/stream.ts'),
      'typedarray-to-buffer': path.resolve('./src/polyfills/typedarray-to-buffer.js'),
      // "Buffer" is not defined in the published package..
+
      '@walletconnect/encoding': path.resolve('./src/polyfills/enc-utils.js'),
      'enc-utils': path.resolve('./src/polyfills/enc-utils.js'),
    },
  },