Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Jan 19, 2023
1 parent 4c020f2 commit 2e4b05c
Show file tree
Hide file tree
Showing 27 changed files with 96 additions and 74 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
@@ -1,5 +1,5 @@
# Masa SDK
- v1.0.4 / [Exports](modules.md)
- v1.1.0 / [Exports](modules.md)

---

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

# Class: Masa

Expand Down Expand Up @@ -28,13 +28,13 @@

### constructor

**new Masa**(`__namedParameters`)
**new Masa**(`«destructured»`)

#### Parameters

| Name | Type |
| :------ | :------ |
| `__namedParameters` | [`MasaArgs`](../interfaces/MasaArgs.md) |
| `«destructured»` | [`MasaArgs`](../interfaces/MasaArgs.md) |

## Properties

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/Masa2FA.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / Masa2FA
- v1.1.0](../README.md) / [Exports](../modules.md) / Masa2FA

# Class: Masa2FA

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/MasaAccount.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / MasaAccount
- v1.1.0](../README.md) / [Exports](../modules.md) / MasaAccount

# Class: MasaAccount

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/MasaArweave.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / MasaArweave
- v1.1.0](../README.md) / [Exports](../modules.md) / MasaArweave

# Class: MasaArweave

Expand Down
18 changes: 9 additions & 9 deletions docs/classes/MasaClient.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / MasaClient
- v1.1.0](../README.md) / [Exports](../modules.md) / MasaClient

# Class: MasaClient

Expand Down Expand Up @@ -37,15 +37,15 @@

### constructor

**new MasaClient**(`__namedParameters`)
**new MasaClient**(`«destructured»`)

#### Parameters

| Name | Type |
| :------ | :------ |
| `__namedParameters` | `Object` |
| `__namedParameters.apiUrl` | `string` |
| `__namedParameters.cookie?` | `string` |
| `«destructured»` | `Object` |
| › `apiUrl` | `string` |
| › `cookie?` | `string` |

## Properties

Expand Down Expand Up @@ -128,11 +128,11 @@ ___

### getChallenge

**getChallenge**(): `Promise`<`any`\>
**getChallenge**(): `Promise`<`undefined` \| { `challenge`: `string` ; `cookie?`: `string` ; `expires`: `string` }\>

#### Returns

`Promise`<`any`\>
`Promise`<`undefined` \| { `challenge`: `string` ; `cookie?`: `string` ; `expires`: `string` }\>

___

Expand Down Expand Up @@ -228,7 +228,7 @@ ___

### updateCreditScore

**updateCreditScore**(`transactionHash`): `Promise`<`undefined` \| { `creditScore?`: `any` ; `message`: `string` ; `signature?`: `string` ; `status`: `string` ; `success`: `boolean` }\>
**updateCreditScore**(`transactionHash`): `Promise`<`undefined` \| { `message`: `string` ; `signature?`: `string` ; `status`: `string` ; `success`: `boolean` }\>

#### Parameters

Expand All @@ -238,4 +238,4 @@ ___

#### Returns

`Promise`<`undefined` \| { `creditScore?`: `any` ; `message`: `string` ; `signature?`: `string` ; `status`: `string` ; `success`: `boolean` }\>
`Promise`<`undefined` \| { `message`: `string` ; `signature?`: `string` ; `status`: `string` ; `success`: `boolean` }\>
8 changes: 5 additions & 3 deletions docs/classes/MasaContracts.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / MasaContracts
- v1.1.0](../README.md) / [Exports](../modules.md) / MasaContracts

# Class: MasaContracts

Expand Down Expand Up @@ -205,7 +205,7 @@ ___

### purchaseIdentityAndName

**purchaseIdentityAndName**(`signer`, `paymentMethod`, `name`, `nameLength`, `duration?`, `metadataURL`, `authorityAddress`, `signature`): `Promise`<`ContractTransaction`\>
**purchaseIdentityAndName**(`signer`, `paymentMethod`, `name`, `nameLength`, `duration?`, `metadataURL`, `authorityAddress`, `signature`, `debug?`): `Promise`<`ContractTransaction`\>

#### Parameters

Expand All @@ -219,6 +219,7 @@ ___
| `metadataURL` | `string` | `undefined` |
| `authorityAddress` | `string` | `undefined` |
| `signature` | `string` | `undefined` |
| `debug` | `boolean` | `false` |

#### Returns

Expand All @@ -228,7 +229,7 @@ ___

### purchaseName

**purchaseName**(`signer`, `paymentMethod`, `name`, `nameLength`, `duration?`, `metadataURL`, `authorityAddress`, `signature`): `Promise`<`ContractTransaction`\>
**purchaseName**(`signer`, `paymentMethod`, `name`, `nameLength`, `duration?`, `metadataURL`, `authorityAddress`, `signature`, `debug?`): `Promise`<`ContractTransaction`\>

#### Parameters

Expand All @@ -242,6 +243,7 @@ ___
| `metadataURL` | `string` | `undefined` |
| `authorityAddress` | `string` | `undefined` |
| `signature` | `string` | `undefined` |
| `debug` | `boolean` | `false` |

#### Returns

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/MasaCreditScore.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / MasaCreditScore
- v1.1.0](../README.md) / [Exports](../modules.md) / MasaCreditScore

# Class: MasaCreditScore

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/MasaIdentity.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / MasaIdentity
- v1.1.0](../README.md) / [Exports](../modules.md) / MasaIdentity

# Class: MasaIdentity

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

# Class: MasaSession

Expand Down Expand Up @@ -74,11 +74,11 @@ ___

### login

**login**(): `Promise`<`undefined` \| { `address`: `string` ; `cookie`: `string` ; `userId`: `string` \| `BigNumber` }\>
**login**(): `Promise`<`undefined` \| { `address`: `string` ; `cookie?`: `string` ; `userId`: `string` \| `BigNumber` }\>

#### Returns

`Promise`<`undefined` \| { `address`: `string` ; `cookie`: `string` ; `userId`: `string` \| `BigNumber` }\>
`Promise`<`undefined` \| { `address`: `string` ; `cookie?`: `string` ; `userId`: `string` \| `BigNumber` }\>

___

Expand Down
2 changes: 1 addition & 1 deletion docs/classes/MasaSoulLinker.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / MasaSoulLinker
- v1.1.0](../README.md) / [Exports](../modules.md) / MasaSoulLinker

# Class: MasaSoulLinker

Expand Down
18 changes: 9 additions & 9 deletions docs/classes/MasaSoulName.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / MasaSoulName
- v1.1.0](../README.md) / [Exports](../modules.md) / MasaSoulName

# Class: MasaSoulName

Expand Down Expand Up @@ -100,7 +100,7 @@ ___

### list

**list**(`address?`): `Promise`<{ `index`: `number` ; `metadata`: `undefined` \| [`ISoulName`](../interfaces/ISoulName.md) ; `owner`: `undefined` \| `string` ; `tokenDetails`: `undefined` \| [`string`, `boolean`, `BigNumber`, `BigNumber`, `BigNumber`, `boolean`] & { `active`: `boolean` ; `expirationDate`: `BigNumber` ; `identityId`: `BigNumber` ; `linked`: `boolean` ; `sbtName`: `string` ; `tokenId`: `BigNumber` } ; `tokenUri`: `undefined` \| `string` }[]\>
**list**(`address?`): `Promise`<[`SoulNameDetails`](../interfaces/SoulNameDetails.md)[]\>

#### Parameters

Expand All @@ -110,13 +110,13 @@ ___

#### Returns

`Promise`<{ `index`: `number` ; `metadata`: `undefined` \| [`ISoulName`](../interfaces/ISoulName.md) ; `owner`: `undefined` \| `string` ; `tokenDetails`: `undefined` \| [`string`, `boolean`, `BigNumber`, `BigNumber`, `BigNumber`, `boolean`] & { `active`: `boolean` ; `expirationDate`: `BigNumber` ; `identityId`: `BigNumber` ; `linked`: `boolean` ; `sbtName`: `string` ; `tokenId`: `BigNumber` } ; `tokenUri`: `undefined` \| `string` }[]\>
`Promise`<[`SoulNameDetails`](../interfaces/SoulNameDetails.md)[]\>

___

### loadSoulNameByName

**loadSoulNameByName**(`soulName`): `Promise`<`undefined` \| { `metadata`: [`ISoulName`](../interfaces/ISoulName.md) ; `owner`: `string` ; `tokenDetails`: [`string`, `boolean`, `BigNumber`, `BigNumber`, `BigNumber`, `boolean`] & { `active`: `boolean` ; `expirationDate`: `BigNumber` ; `identityId`: `BigNumber` ; `linked`: `boolean` ; `sbtName`: `string` ; `tokenId`: `BigNumber` } ; `tokenUri`: `string` }\>
**loadSoulNameByName**(`soulName`): `Promise`<`undefined` \| [`SoulNameDetails`](../interfaces/SoulNameDetails.md)\>

#### Parameters

Expand All @@ -126,13 +126,13 @@ ___

#### Returns

`Promise`<`undefined` \| { `metadata`: [`ISoulName`](../interfaces/ISoulName.md) ; `owner`: `string` ; `tokenDetails`: [`string`, `boolean`, `BigNumber`, `BigNumber`, `BigNumber`, `boolean`] & { `active`: `boolean` ; `expirationDate`: `BigNumber` ; `identityId`: `BigNumber` ; `linked`: `boolean` ; `sbtName`: `string` ; `tokenId`: `BigNumber` } ; `tokenUri`: `string` }\>
`Promise`<`undefined` \| [`SoulNameDetails`](../interfaces/SoulNameDetails.md)\>

___

### loadSoulNameByTokenId

**loadSoulNameByTokenId**(`tokenId`): `Promise`<`undefined` \| { `metadata`: [`ISoulName`](../interfaces/ISoulName.md) ; `owner`: `string` ; `tokenDetails`: [`string`, `boolean`, `BigNumber`, `BigNumber`, `BigNumber`, `boolean`] & { `active`: `boolean` ; `expirationDate`: `BigNumber` ; `identityId`: `BigNumber` ; `linked`: `boolean` ; `sbtName`: `string` ; `tokenId`: `BigNumber` } ; `tokenUri`: `string` }\>
**loadSoulNameByTokenId**(`tokenId`): `Promise`<`undefined` \| [`SoulNameDetails`](../interfaces/SoulNameDetails.md)\>

#### Parameters

Expand All @@ -142,13 +142,13 @@ ___

#### Returns

`Promise`<`undefined` \| { `metadata`: [`ISoulName`](../interfaces/ISoulName.md) ; `owner`: `string` ; `tokenDetails`: [`string`, `boolean`, `BigNumber`, `BigNumber`, `BigNumber`, `boolean`] & { `active`: `boolean` ; `expirationDate`: `BigNumber` ; `identityId`: `BigNumber` ; `linked`: `boolean` ; `sbtName`: `string` ; `tokenId`: `BigNumber` } ; `tokenUri`: `string` }\>
`Promise`<`undefined` \| [`SoulNameDetails`](../interfaces/SoulNameDetails.md)\>

___

### loadSoulNamesByIdentityId

**loadSoulNamesByIdentityId**(`identityId`): `Promise`<{ `index`: `number` ; `metadata`: `undefined` \| [`ISoulName`](../interfaces/ISoulName.md) ; `owner`: `undefined` \| `string` ; `tokenDetails`: `undefined` \| [`string`, `boolean`, `BigNumber`, `BigNumber`, `BigNumber`, `boolean`] & { `active`: `boolean` ; `expirationDate`: `BigNumber` ; `identityId`: `BigNumber` ; `linked`: `boolean` ; `sbtName`: `string` ; `tokenId`: `BigNumber` } ; `tokenUri`: `undefined` \| `string` }[]\>
**loadSoulNamesByIdentityId**(`identityId`): `Promise`<[`SoulNameDetails`](../interfaces/SoulNameDetails.md)[]\>

#### Parameters

Expand All @@ -158,7 +158,7 @@ ___

#### Returns

`Promise`<{ `index`: `number` ; `metadata`: `undefined` \| [`ISoulName`](../interfaces/ISoulName.md) ; `owner`: `undefined` \| `string` ; `tokenDetails`: `undefined` \| [`string`, `boolean`, `BigNumber`, `BigNumber`, `BigNumber`, `boolean`] & { `active`: `boolean` ; `expirationDate`: `BigNumber` ; `identityId`: `BigNumber` ; `linked`: `boolean` ; `sbtName`: `string` ; `tokenId`: `BigNumber` } ; `tokenUri`: `undefined` \| `string` }[]\>
`Promise`<[`SoulNameDetails`](../interfaces/SoulNameDetails.md)[]\>

___

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/Addresses.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / Addresses
- v1.1.0](../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
- v1.0.4](../README.md) / [Exports](../modules.md) / Attribute
- v1.1.0](../README.md) / [Exports](../modules.md) / Attribute

# Interface: Attribute

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/BaseResult.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / BaseResult
- v1.1.0](../README.md) / [Exports](../modules.md) / BaseResult

# Interface: BaseResult

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/Create2FAResult.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / Create2FAResult
- v1.1.0](../README.md) / [Exports](../modules.md) / Create2FAResult

# Interface: Create2FAResult

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/CreateSoulNameResult.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / CreateSoulNameResult
- v1.1.0](../README.md) / [Exports](../modules.md) / CreateSoulNameResult

# Interface: CreateSoulNameResult

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/ICreditScore.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / ICreditScore
- v1.1.0](../README.md) / [Exports](../modules.md) / ICreditScore

# Interface: ICreditScore

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/IIdentity.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / IIdentity
- v1.1.0](../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
- v1.0.4](../README.md) / [Exports](../modules.md) / IIdentityContracts
- v1.1.0](../README.md) / [Exports](../modules.md) / IIdentityContracts

# Interface: IIdentityContracts

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/IPassport.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / IPassport
- v1.1.0](../README.md) / [Exports](../modules.md) / IPassport

# Interface: IPassport

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/ISession.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / ISession
- v1.1.0](../README.md) / [Exports](../modules.md) / ISession

# Interface: ISession

Expand Down
2 changes: 1 addition & 1 deletion docs/interfaces/ISoulName.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v1.0.4](../README.md) / [Exports](../modules.md) / ISoulName
- v1.1.0](../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
- v1.0.4](../README.md) / [Exports](../modules.md) / LoadContractArgs
- v1.1.0](../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
- v1.0.4](../README.md) / [Exports](../modules.md) / MasaArgs
- v1.1.0](../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
- v1.0.4](../README.md) / [Exports](../modules.md) / MasaConfig
- v1.1.0](../README.md) / [Exports](../modules.md) / MasaConfig

# Interface: MasaConfig

Expand Down

0 comments on commit 2e4b05c

Please sign in to comment.