Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Nov 7, 2022
1 parent bb346c9 commit f55fa42
Show file tree
Hide file tree
Showing 15 changed files with 63 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
@@ -1,5 +1,5 @@
# Masa SDK
- v0.2.3 / [Exports](modules.md)
- v0.2.6 / [Exports](modules.md)

---

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/ContractService.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v0.2.3](../README.md) / [Exports](../modules.md) / ContractService
- v0.2.6](../README.md) / [Exports](../modules.md) / ContractService

# Class: ContractService

Expand Down
6 changes: 3 additions & 3 deletions docs/classes/Masa.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v0.2.3](../README.md) / [Exports](../modules.md) / Masa
- v0.2.6](../README.md) / [Exports](../modules.md) / Masa

# Class: Masa

Expand Down Expand Up @@ -167,10 +167,10 @@ ___
| Name | Type |
| :------ | :------ |
| `burn` | (`twofaId`: `number`) => `Promise`<`boolean`\> |
| `create` | () => `Promise`<`undefined` \| { `message`: `string` ; `success`: `boolean` ; `tokenId`: `string` \| `BigNumber` }\> |
| `create` | (`phoneNumber`: `string`) => `Promise`<`undefined` \| { `message`: `string` ; `success`: `boolean` ; `tokenId`: `string` \| `BigNumber` }\> |
| `list` | (`address?`: `string`) => `Promise`<`undefined` \| { `metadata`: [`I2fa`](../interfaces/I2fa.md) ; `tokenId`: `BigNumber` ; `tokenUri`: `string` }[]\> |
| `load` | (`identityId`: `BigNumber`) => `Promise`<{ `metadata`: [`I2fa`](../interfaces/I2fa.md) ; `tokenId`: `BigNumber` ; `tokenUri`: `string` }[]\> |
| `mint` | (`address`: `string`, `signature`: `string`) => `Promise`<`undefined` \| { `message`: `string` ; `success`: `boolean` ; `tokenId`: `string` \| `BigNumber` }\> |
| `mint` | (`address`: `string`, `phoneNumber`: `string`, `signature`: `string`) => `Promise`<`undefined` \| { `message`: `string` ; `success`: `boolean` ; `tokenId`: `string` \| `BigNumber` }\> |

___

Expand Down
5 changes: 3 additions & 2 deletions docs/classes/MasaClient.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v0.2.3](../README.md) / [Exports](../modules.md) / MasaClient
- v0.2.6](../README.md) / [Exports](../modules.md) / MasaClient

# Class: MasaClient

Expand Down Expand Up @@ -152,13 +152,14 @@ ___

### twofaMint

**twofaMint**(`address`, `signature`): `Promise`<`undefined` \| { `message`: `string` ; `success`: `boolean` ; `tokenId`: `string` \| `BigNumber` }\>
**twofaMint**(`address`, `phoneNumber`, `signature`): `Promise`<`undefined` \| { `message`: `string` ; `success`: `boolean` ; `tokenId`: `string` \| `BigNumber` }\>

#### Parameters

| Name | Type |
| :------ | :------ |
| `address` | `string` |
| `phoneNumber` | `string` |
| `signature` | `string` |

#### Returns
Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/Addresses.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v0.2.3](../README.md) / [Exports](../modules.md) / Addresses
- v0.2.6](../README.md) / [Exports](../modules.md) / Addresses

# Interface: Addresses

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/Attribute.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v0.2.3](../README.md) / [Exports](../modules.md) / Attribute
- v0.2.6](../README.md) / [Exports](../modules.md) / Attribute

# Interface: Attribute

Expand Down
44 changes: 44 additions & 0 deletions docs/interfaces/I2fa.md
@@ -0,0 +1,44 @@
[# Masa SDK
- v0.2.6](../README.md) / [Exports](../modules.md) / I2fa

# Interface: I2fa

## Table of contents

### Properties

- [description](I2fa.md#description)
- [image](I2fa.md#image)
- [name](I2fa.md#name)
- [properties](I2fa.md#properties)

## Properties

### description

**description**: ``"A decentralized 2fa"``

___

### image

**image**: ``"https://metadata.masa.finance/v1.0/2fa/2fa.png"``

___

### name

**name**: ``"Masa Soulbound 2FA v1.0.0"``

___

### properties

**properties**: `Object`

#### Type declaration

| Name | Type |
| :------ | :------ |
| `account?` | `string` |
| `tokenId` | `string` |
2 changes: 1 addition & 1 deletion docs/interfaces/ICreditReport.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v0.2.3](../README.md) / [Exports](../modules.md) / ICreditReport
- v0.2.6](../README.md) / [Exports](../modules.md) / ICreditReport

# Interface: ICreditReport

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/IIdentity.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v0.2.3](../README.md) / [Exports](../modules.md) / IIdentity
- v0.2.6](../README.md) / [Exports](../modules.md) / IIdentity

# Interface: IIdentity

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/IIdentityContracts.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v0.2.3](../README.md) / [Exports](../modules.md) / IIdentityContracts
- v0.2.6](../README.md) / [Exports](../modules.md) / IIdentityContracts

# Interface: IIdentityContracts

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/ISoulName.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v0.2.3](../README.md) / [Exports](../modules.md) / ISoulName
- v0.2.6](../README.md) / [Exports](../modules.md) / ISoulName

# Interface: ISoulName

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/LoadContractArgs.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v0.2.3](../README.md) / [Exports](../modules.md) / LoadContractArgs
- v0.2.6](../README.md) / [Exports](../modules.md) / LoadContractArgs

# Interface: LoadContractArgs

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/MasaArgs.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v0.2.3](../README.md) / [Exports](../modules.md) / MasaArgs
- v0.2.6](../README.md) / [Exports](../modules.md) / MasaArgs

# Interface: MasaArgs

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/MasaConfig.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v0.2.3](../README.md) / [Exports](../modules.md) / MasaConfig
- v0.2.6](../README.md) / [Exports](../modules.md) / MasaConfig

# Interface: MasaConfig

Expand Down
4 changes: 2 additions & 2 deletions docs/modules.md
@@ -1,8 +1,8 @@
[# Masa SDK
- v0.2.3](README.md) / Exports
- v0.2.6](README.md) / Exports

# # Masa SDK
- v0.2.3
- v0.2.6

## Table of contents

Expand Down

0 comments on commit f55fa42

Please sign in to comment.