From 09c8ac53eef41e9cd8febd5577b7c2f6ab5bf991 Mon Sep 17 00:00:00 2001 From: "felix.bucsa" <72919584+FelixNicolaeBucsa@users.noreply.github.com> Date: Mon, 30 Sep 2024 10:24:08 +0200 Subject: [PATCH] fix(docs): fixes for broken links in wallet APIs (#964) Co-authored-by: Joshua Croft <32483134+devjsc@users.noreply.github.com> --- .../asi-alliance-wallet/asi-wallet-apis.mdx | 38 +++++++++---------- pages/apis/fetch-wallet.mdx | 0 2 files changed, 19 insertions(+), 19 deletions(-) delete mode 100644 pages/apis/fetch-wallet.mdx diff --git a/pages/apis/asi-alliance-wallet/asi-wallet-apis.mdx b/pages/apis/asi-alliance-wallet/asi-wallet-apis.mdx index f68a50214..e1641bb50 100644 --- a/pages/apis/asi-alliance-wallet/asi-wallet-apis.mdx +++ b/pages/apis/asi-alliance-wallet/asi-wallet-apis.mdx @@ -129,7 +129,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall - Provides the status of the wallet, indicating whether it is **`NOTLOADED`**, **`EMPTY`**, **`LOCKED`**, or **`UNLOCKED`**. Description for each status can be found [here ↗️](/apis/fetch-wallet/fetch-wallet#walletstatus). + Provides the status of the wallet, indicating whether it is **`NOTLOADED`**, **`EMPTY`**, **`LOCKED`**, or **`UNLOCKED`**. Description for each status can be found [here ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#walletstatus). **Params** @@ -201,7 +201,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall - This method restores the wallet and provides its status, similar to the status method of the API. This is necessary when there are upgrades to the wallet version and the wallet has to be reloaded. It's recommended to perform this action every time the dApp is initialized. Description for each status can be found [here ↗️](/apis/fetch-wallet/fetch-wallet#walletstatus). + This method restores the wallet and provides its status, similar to the status method of the API. This is necessary when there are upgrades to the wallet version and the wallet has to be reloaded. It's recommended to perform this action every time the dApp is initialized. Description for each status can be found [here ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#walletstatus). **Params** @@ -283,7 +283,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall `Promise` - Further reference documentation is available here: [NetworkConfig ↗️](/apis/fetch-wallet/fetch-wallet#networkconfig) + Further reference documentation is available here: [NetworkConfig ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#networkconfig) **Error** @@ -430,7 +430,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall **Params** (required) - [NetworkConfig ↗️](/apis/fetch-wallet/fetch-wallet#networkconfig) + [NetworkConfig ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#networkconfig) **Returns** @@ -489,7 +489,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall `Promise` - Further reference documentation is available here: [NetworkConfig ↗️](/apis/fetch-wallet/fetch-wallet#networkconfig) + Further reference documentation is available here: [NetworkConfig ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#networkconfig) **Error** @@ -717,7 +717,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall `Promise` - Further reference documentation is available here: [Account ↗️](/apis/fetch-wallet/fetch-wallet#account) + Further reference documentation is available here: [Account ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#account) **Error** @@ -804,7 +804,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall `Promise` - Further reference documentation is available here: [Account ↗️](/apis/fetch-wallet/fetch-wallet#account) + Further reference documentation is available here: [Account ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#account) **Error** @@ -868,7 +868,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall `Promise` - Further reference documentation is available here: [Account ↗️](/apis/fetch-wallet/fetch-wallet#account) + Further reference documentation is available here: [Account ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#account) **Error** @@ -927,7 +927,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall `Promise` - Further reference documentation is available here: [AddressBookEntry ↗️](/apis/fetch-wallet/fetch-wallet#addressbookentry) + Further reference documentation is available here: [AddressBookEntry ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#addressbookentry) **Error** @@ -965,7 +965,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall **Params** - [AddressBookEntry ↗️](/apis/fetch-wallet/fetch-wallet#addressbookentry) + [AddressBookEntry ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#addressbookentry) **Returns** @@ -999,7 +999,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall **Params** - [AddressBookEntry ↗️](/apis/fetch-wallet/fetch-wallet#addressbookentry) + [AddressBookEntry ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#addressbookentry) **Returns** @@ -1067,7 +1067,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall 2. **`signer`** *(string)*: The address of the signer. 3. **`StdSignDoc`** *(object)*: The sign document containing transaction details. - Further reference documentation is available here: [StdSignDoc ↗️](/apis/fetch-wallet/fetch-wallet#stdsigndoc) + Further reference documentation is available here: [StdSignDoc ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#stdsigndoc) 4. **`signOptions`** *(KeplrSignOptions)*: Additional signing options (default is an empty object). - **`preferNoSetFee`** *(boolean) optional* @@ -1078,7 +1078,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall `Promise` - Further reference documentation is available here: [AminoSignResponse ↗️](/apis/fetch-wallet/fetch-wallet#aminosignresponse) + Further reference documentation is available here: [AminoSignResponse ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#aminosignresponse) **Error** @@ -1154,7 +1154,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall - Sign transactions directly without using Amino encoding. Signs Proto-encoded `StdSignDoc` ([StdSignDoc ↗️](/apis/fetch-wallet/fetch-wallet#aminosignresponse)) + Sign transactions directly without using Amino encoding. Signs Proto-encoded `StdSignDoc` ([StdSignDoc ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#aminosignresponse)) **Params** @@ -1171,7 +1171,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall `Promise` - Further reference documentation is available here: [DirectSignResponse ↗️](/apis/fetch-wallet/fetch-wallet#directsignresponse) + Further reference documentation is available here: [DirectSignResponse ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#directsignresponse) **Error** @@ -1229,7 +1229,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall `Promise<***StdSignature***>` - Further reference documentation is available here: [StdSignature ↗️](/apis/fetch-wallet/fetch-wallet#stdsignature) + Further reference documentation is available here: [StdSignature ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#stdsignature) @@ -1430,7 +1430,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall **Params** 1. `data` *(string | Uint8Array)*: The data that needs to be signed - 2. `type` *([EthSignType ↗️](/apis/fetch-wallet/fetch-wallet#ethsigntype))*: The type of Ethereum signature. + 2. `type` *([EthSignType ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#ethsigntype))*: The type of Ethereum signature. **Returns** @@ -1504,7 +1504,7 @@ The wallet emits certain window events that can be useful to update the data sho `fetchwallet_walletstatuschange` - When the status of the wallet changes as described [here ↗️](/apis/fetch-wallet/fetch-wallet#wallet-status) (from the wallet or the dApp), the dApp can react accordingly to the updated status. For example, if the wallet is locked, the dApp can show a screen that allows unlocking the wallet. Once unlocked, the dApp can use this event to fetch all the required data like account and network details. + When the status of the wallet changes as described [here ↗️](/apis/asi-alliance-wallet/asi-wallet-apis#wallet-status) (from the wallet or the dApp), the dApp can react accordingly to the updated status. For example, if the wallet is locked, the dApp can show a screen that allows unlocking the wallet. Once unlocked, the dApp can use this event to fetch all the required data like account and network details. @@ -1881,7 +1881,7 @@ The wallet emits certain window events that can be useful to update the data sho - - **`signed`** *([StdSignDoc↗️](/apis/fetch-wallet/fetch-wallet#stdsigndoc))* + - **`signed`** *([StdSignDoc↗️](/apis/asi-alliance-wallet/asi-wallet-apis#stdsigndoc))* - **`signature`** *(StdSignature)* - **`pub_key`** *(PubKey)* - **`type`** *(string)* diff --git a/pages/apis/fetch-wallet.mdx b/pages/apis/fetch-wallet.mdx deleted file mode 100644 index e69de29bb..000000000