Bläddra i källkod

Update API docs.

Shomari 1 månad sedan
förälder
incheckning
30fc5b1bfe
2 ändrade filer med 14 tillägg och 19 borttagningar
  1. 3 17
      web/handlers/initFusions.ts
  2. 11 2
      web/pages/v1.vue

+ 3 - 17
web/handlers/initFusions.ts

@@ -55,23 +55,9 @@ const init = async () => {
  * Initialize Fusions
  */
 export default async (_fusionsDb) => {
+    /* Setup global database. */
     setupGlobalDb(_fusionsDb)
-    init()
-
-    // if (typeof fusionsDb === 'undefined') {
-    //     /* Setup (global) Fusions database. */
-    //     // NOTE: THIS SETUP REQUIRES LOADING `_fusions` ENDPOINT.
-    //     fusionsDb = Db.fusions
-    //     console.info('Setting up (global) Fusions database...', fusionsDb)
-
-    //     /* Run initialization. */
-    //     await init()
-
-    //     /* Complete (global) DB setup. */
-    //     await setupGlobalDb()
-
-    //     // console.log('Setup complete!', fusionsDb)
-    // }
-
 
+    /* Initialize. */
+    init()
 }

+ 11 - 2
web/pages/v1.vue

@@ -27,10 +27,19 @@ const System = useSystemStore()
             API v1
         </h1>
 
-        <p>
-            Lorem, ipsum dolor sit amet consectetur adipisicing elit. Id eius voluptatem minus natus at eveniet dolorum eos mollitia, maxime animi excepturi harum omnis illum odit recusandae pariatur! Unde, explicabo molestias.
+        <p class="text-2xl italic font-light leading-9">
+            Easily integrate all of the <span class="font-bold">Hush Protocols</span> natively into your Crypto wallet and/or application;
+            then conveniently offer your community of users the leading privacy protections available.
         </p>
 
+        <h2 class="text-gray-500 text-2xl font-bold tracking-widest">
+            Actions
+        </h2>
+
+        <h3 class="text-2xl font-bold text-amber-500">
+            - addComponent
+        </h3>
+
         <h3 class="text-2xl font-bold text-amber-500">
             - generateAddress
         </h3>