Skip to content

Commit

Permalink
fix(docs): fixes for broken links in wallet APIs (#964)
Browse files Browse the repository at this point in the history
Co-authored-by: Joshua Croft <[email protected]>
  • Loading branch information
FelixNicolaeBucsa and devjsc authored Sep 30, 2024
1 parent 632f549 commit 09c8ac5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions pages/apis/asi-alliance-wallet/asi-wallet-apis.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall

<Row>
<Col>
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**

Expand Down Expand Up @@ -201,7 +201,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall

<Row>
<Col>
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**
Expand Down Expand Up @@ -283,7 +283,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall
`Promise<NetworkConfig>`
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**
Expand Down Expand Up @@ -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**

Expand Down Expand Up @@ -489,7 +489,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall

`Promise<NetworkConfig[]>`

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**

Expand Down Expand Up @@ -717,7 +717,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall
`Promise<Account>`
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**
Expand Down Expand Up @@ -804,7 +804,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall
`Promise<Account[]>`
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**
Expand Down Expand Up @@ -868,7 +868,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall
`Promise<Account>`
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**
Expand Down Expand Up @@ -927,7 +927,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall
`Promise<AddressBookEntry[]>`
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**
Expand Down Expand Up @@ -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**
Expand Down Expand Up @@ -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**
Expand Down Expand Up @@ -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*
Expand All @@ -1078,7 +1078,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall
`Promise<AminoSignResponse>`
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**
Expand Down Expand Up @@ -1154,7 +1154,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall
<Row>
<Col>
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**
Expand All @@ -1171,7 +1171,7 @@ To fully leverage the wallet APIs and ensure direct interaction between the wall
`Promise<DirectSignResponse>`
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**
Expand Down Expand Up @@ -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)
</Col>
<Col>
Expand Down Expand Up @@ -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**
Expand Down Expand Up @@ -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.
</Col>
<Col>
Expand Down Expand Up @@ -1881,7 +1881,7 @@ The wallet emits certain window events that can be useful to update the data sho
<Row>
<Col>
- **`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)*
Expand Down
Empty file removed pages/apis/fetch-wallet.mdx
Empty file.

0 comments on commit 09c8ac5

Please sign in to comment.