Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
H34D committed Nov 18, 2022
1 parent d4bdf53 commit 153348f
Show file tree
Hide file tree
Showing 20 changed files with 80 additions and 22 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v0.5.3](https://github.com/masa-finance/masa-sdk/compare/v0.5.2...v0.5.3)

> 18 November 2022
- update docs [`bec71c8`](https://github.com/masa-finance/masa-sdk/commit/bec71c8820393d7acfada9abf495de4890cd9e8e)
- properly type session [`4135a14`](https://github.com/masa-finance/masa-sdk/commit/4135a1468d43d1b17ee6de4768ef20a8a6779f65)
- fix env [`0a7e922`](https://github.com/masa-finance/masa-sdk/commit/0a7e922539599c20902dcc0392f47e933cb235be)

#### [v0.5.2](https://github.com/masa-finance/masa-sdk/compare/v0.5.1...v0.5.2)

> 16 November 2022
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
@@ -1,5 +1,5 @@
# Masa SDK
- v0.5.2 / [Exports](modules.md)
- v0.5.3 / [Exports](modules.md)

---

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

# Class: Masa

Expand Down Expand Up @@ -128,7 +128,7 @@ ___
| Name | Type |
| :------ | :------ |
| `checkLogin` | () => `Promise`<`boolean`\> |
| `getSession` | () => `Promise`<`any`\> |
| `getSession` | () => `Promise`<`undefined` \| [`ISession`](../interfaces/ISession.md)\> |
| `login` | () => `Promise`<`undefined` \| { `address`: `string` ; `cookie`: `string` ; `userId`: `string` \| `BigNumber` }\> |
| `logout` | () => `Promise`<`undefined` \| { `status`: `string` }\> |
| `sessionLogout` | () => `Promise`<`undefined` \| { `status`: `string` }\> |
Expand Down
6 changes: 3 additions & 3 deletions docs/classes/MasaClient.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v0.5.2](../README.md) / [Exports](../modules.md) / MasaClient
- v0.5.3](../README.md) / [Exports](../modules.md) / MasaClient

# Class: MasaClient

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

### sessionCheck

**sessionCheck**(): `Promise`<`any`\>
**sessionCheck**(): `Promise`<`undefined` \| [`ISession`](../interfaces/ISession.md)\>

#### Returns

`Promise`<`any`\>
`Promise`<`undefined` \| [`ISession`](../interfaces/ISession.md)\>

___

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

# Class: MasaContracts

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

# Interface: CreateSoulNameResult

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

# Interface: I2FA

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

# Interface: IIdentityContracts

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

# Interface: ISession

## Table of contents

### Properties

- [challenge](ISession.md#challenge)
- [cookie](ISession.md#cookie)
- [user](ISession.md#user)

## Properties

### challenge

**challenge**: `string`

___

### cookie

**cookie**: `Object`

#### Type declaration

| Name | Type |
| :------ | :------ |
| `domain` | `string` |
| `expires` | `string` |
| `httpOnly` | `boolean` |
| `originalMaxAge` | `number` |
| `path` | `string` |
| `sameSite` | `string` |
| `secure` | `boolean` |

___

### user

**user**: `Object`

#### Type declaration

| Name | Type |
| :------ | :------ |
| `address` | `string` |
| `userId` | `string` |
2 changes: 1 addition & 1 deletion docs/interfaces/ISoulName.md
@@ -1,5 +1,5 @@
[# Masa SDK
- v0.5.2](../README.md) / [Exports](../modules.md) / ISoulName
- v0.5.3](../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.5.2](../README.md) / [Exports](../modules.md) / LoadContractArgs
- v0.5.3](../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.5.2](../README.md) / [Exports](../modules.md) / MasaArgs
- v0.5.3](../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.5.2](../README.md) / [Exports](../modules.md) / MasaConfig
- v0.5.3](../README.md) / [Exports](../modules.md) / MasaConfig

# Interface: MasaConfig

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

# # Masa SDK
- v0.5.2
- v0.5.3

## Table of contents

Expand All @@ -23,6 +23,7 @@
- [ICreditScore](interfaces/ICreditScore.md)
- [IIdentity](interfaces/IIdentity.md)
- [IIdentityContracts](interfaces/IIdentityContracts.md)
- [ISession](interfaces/ISession.md)
- [ISoulName](interfaces/ISoulName.md)
- [LoadContractArgs](interfaces/LoadContractArgs.md)
- [MasaArgs](interfaces/MasaArgs.md)
Expand Down

0 comments on commit 153348f

Please sign in to comment.