Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
8a59985
FrequencyObservable as a function returning a observable
amaury1093 Sep 7, 2018
f113991
Fix tests
amaury1093 Sep 7, 2018
5e613d4
Test a new api
amaury1093 Sep 12, 2018
9ecae21
Make frequency observables work
amaury1093 Sep 13, 2018
660c5ef
Fix tests
amaury1093 Sep 13, 2018
6e99b67
Remove overview
amaury1093 Sep 13, 2018
e4298fa
Don't cover index.ts
amaury1093 Sep 13, 2018
bb5509c
Fix a lot of stuff
amaury1093 Sep 13, 2018
1008d5a
Remove useless import
amaury1093 Sep 13, 2018
3aa360b
Change testRegex for jest
amaury1093 Sep 13, 2018
ea75324
Add ambient for packages with no typigns
amaury1093 Sep 13, 2018
7c03c5c
Generate docs
amaury1093 Sep 13, 2018
80b283f
Remove NullProvider
amaury1093 Sep 13, 2018
a46b19a
Remove NullProvider
amaury1093 Sep 13, 2018
3447e95
Regenerate docs
amaury1093 Sep 13, 2018
1f0c25a
Silent jest on CI
amaury1093 Sep 13, 2018
b4404e2
Fix makeContract and post
amaury1093 Sep 13, 2018
165df16
Regen docs
amaury1093 Sep 13, 2018
9b8edd8
Update summary
amaury1093 Sep 13, 2018
fb89a94
Update ambient
amaury1093 Sep 13, 2018
439d3bd
Export post$ too
amaury1093 Sep 13, 2018
18e640f
Fix makeContract
amaury1093 Sep 13, 2018
431fe51
Fix memoization for frequency observables
amaury1093 Sep 17, 2018
44dde4a
Don't lint lib
amaury1093 Sep 17, 2018
15caa62
Fix bugs with rpc$
amaury1093 Sep 17, 2018
0cbe22a
Remove useless packages
amaury1093 Sep 17, 2018
85f8fb9
Generate docs
amaury1093 Sep 17, 2018
c5e0c56
Update withoutLoading syntax
amaury1093 Sep 17, 2018
82fca45
Use json.stringify for normalizer
amaury1093 Sep 17, 2018
4893e97
Fix bug normalizer
amaury1093 Sep 17, 2018
e449a57
Remove withApi in docs
amaury1093 Sep 17, 2018
3a885fe
Fix bug memoization
amaury1093 Sep 17, 2018
c6ee32e
Remove onEvery2Blocks
amaury1093 Sep 17, 2018
041441b
Options then args
amaury1093 Sep 17, 2018
8a066db
CreateRpc in makeContract fix
amaury1093 Sep 17, 2018
d2bb3c7
Fix getContract memoization
amaury1093 Sep 17, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Regenerate docs
  • Loading branch information
amaury1093 committed Sep 13, 2018
commit 3447e952f6212c28de62382f5e2e10cf0a052e0e
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Callable
▸ **__call**(...args: *`any`[]*): `Observable`<`T`>

*Defined in [types.ts:51](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L51)*
*Defined in [types.ts:51](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L51)*

**Parameters:**

Expand All @@ -27,7 +27,7 @@

**● metadata**: *[FrequencyObservableMetadata](_types_.frequencyobservablemetadata.md)*

*Defined in [types.ts:53](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L53)*
*Defined in [types.ts:53](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L53)*

___

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

**● calls**: *`string`[]*

*Defined in [types.ts:43](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L43)*
*Defined in [types.ts:43](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L43)*

___
<a id="name"></a>
Expand All @@ -21,7 +21,7 @@ ___

**● name**: *`string`*

*Defined in [types.ts:44](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L44)*
*Defined in [types.ts:44](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L44)*

___

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

**● provider**: *`any`*

*Defined in [types.ts:48](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L48)*
*Defined in [types.ts:48](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L48)*

___

6 changes: 3 additions & 3 deletions packages/light.js/docs/api/interfaces/_types_.makecontract.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

**● abi**: *`any`*

*Defined in [types.ts:61](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L61)*
*Defined in [types.ts:61](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L61)*

___
<a id="address"></a>
Expand All @@ -25,7 +25,7 @@ ___

**● address**: *`string`*

*Defined in [types.ts:62](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L62)*
*Defined in [types.ts:62](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L62)*

___
<a id="contractobject"></a>
Expand All @@ -34,7 +34,7 @@ ___

**● contractObject**: *`any`*

*Defined in [types.ts:63](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L63)*
*Defined in [types.ts:63](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L63)*

___

12 changes: 6 additions & 6 deletions packages/light.js/docs/api/interfaces/_types_.metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

**● calledWithArgs**: *`object`*

*Defined in [types.ts:30](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L30)*
*Defined in [types.ts:30](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L30)*

#### Type declaration

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

**● calls**: *`string`[]*

*Defined in [types.ts:33](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L33)*
*Defined in [types.ts:33](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L33)*

___
<a id="dependson"></a>
Expand All @@ -37,7 +37,7 @@ ___

**● dependsOn**: *[RpcObservable](_types_.rpcobservable.md)<`any`, `Source`>*

*Defined in [types.ts:34](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L34)*
*Defined in [types.ts:34](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L34)*

___
<a id="frequency"></a>
Expand All @@ -46,7 +46,7 @@ ___

**● frequency**: *[FrequencyObservable](_types_.frequencyobservable.md)<`Source`>[]*

*Defined in [types.ts:35](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L35)*
*Defined in [types.ts:35](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L35)*

___
<a id="name"></a>
Expand All @@ -55,7 +55,7 @@ ___

**● name**: *`string`*

*Defined in [types.ts:36](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L36)*
*Defined in [types.ts:36](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L36)*

___
<a id="pipes"></a>
Expand All @@ -64,7 +64,7 @@ ___

**● pipes**: *`function`*

*Defined in [types.ts:37](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L37)*
*Defined in [types.ts:37](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L37)*

#### Type declaration
▸(...args: *`any`[]*): `OperatorFunction`<`Source`, `Out`>[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# Callable
▸ **__call**(...args: *`any`[]*): `Observable`<`Out`>

*Defined in [types.ts:69](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L69)*
*Defined in [types.ts:69](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L69)*

**Parameters:**

Expand All @@ -28,7 +28,7 @@

**● metadata**: *[Metadata](_types_.metadata.md)<`Source`, `Out`>*

*Defined in [types.ts:71](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L71)*
*Defined in [types.ts:71](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L71)*

___

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

▸ **setFrequency**(frequency: *[FrequencyObservable](_types_.frequencyobservable.md)<`Source`>[]*): `void`

*Defined in [types.ts:72](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L72)*
*Defined in [types.ts:72](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L72)*

**Parameters:**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

**● provider**: *`any`*

*Defined in [types.ts:78](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L78)*
*Defined in [types.ts:78](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L78)*

___
<a id="withoutloading"></a>
Expand All @@ -21,7 +21,7 @@ ___

**● withoutLoading**: *`boolean`*

*Defined in [types.ts:79](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L79)*
*Defined in [types.ts:79](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L79)*

___

14 changes: 7 additions & 7 deletions packages/light.js/docs/api/interfaces/_types_.txstatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

**● confirmed**: *`any`*

*Defined in [types.ts:90](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L90)*
*Defined in [types.ts:90](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L90)*

___
<a id="estimated"></a>
Expand All @@ -21,7 +21,7 @@ ___

**● estimated**: *`BigNumber`*

*Defined in [types.ts:92](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L92)*
*Defined in [types.ts:92](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L92)*

___
<a id="estimating"></a>
Expand All @@ -30,7 +30,7 @@ ___

**● estimating**: *`boolean`*

*Defined in [types.ts:91](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L91)*
*Defined in [types.ts:91](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L91)*

___
<a id="failed"></a>
Expand All @@ -39,7 +39,7 @@ ___

**● failed**: *`Error`*

*Defined in [types.ts:93](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L93)*
*Defined in [types.ts:93](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L93)*

___
<a id="requested"></a>
Expand All @@ -48,7 +48,7 @@ ___

**● requested**: *`string`*

*Defined in [types.ts:94](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L94)*
*Defined in [types.ts:94](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L94)*

___
<a id="schedule"></a>
Expand All @@ -57,7 +57,7 @@ ___

**● schedule**: *`any`*

*Defined in [types.ts:95](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L95)*
*Defined in [types.ts:95](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L95)*

___
<a id="signed"></a>
Expand All @@ -66,7 +66,7 @@ ___

**● signed**: *`string`*

*Defined in [types.ts:96](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/types.ts#L96)*
*Defined in [types.ts:96](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/types.ts#L96)*

___

6 changes: 3 additions & 3 deletions packages/light.js/docs/api/modules/_api_.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

▸ **getApi**(): `any`

*Defined in [api.ts:70](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/api.ts#L70)*
*Defined in [api.ts:53](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/api.ts#L53)*

We only ever use api() at call-time of functions; this allows the options (particularly the transport option) to be changed dynamically and the data structure to be reused.

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

▸ **setApi**(newApi: *`any`*): `void`

*Defined in [api.ts:45](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/api.ts#L45)*
*Defined in [api.ts:28](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/api.ts#L28)*

Sets a new Api object.

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

▸ **setProvider**(provider?: *`any`*): `void`

*Defined in [api.ts:59](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/api.ts#L59)*
*Defined in [api.ts:42](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/api.ts#L42)*

Sets a new Ethereum provider object.

Expand Down
8 changes: 4 additions & 4 deletions packages/light.js/docs/api/modules/_frequency_accounts_.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

<a id="onaccountschanged_"></a>

## `<Const>` onAccountsChanged$
## onAccountsChanged$

▸ **onAccountsChanged$**(options?: *[FrequencyObservableOptions](../interfaces/_types_.frequencyobservableoptions.md)*): `Observable`<`string`[]>

*Defined in [frequency/accounts.ts:19](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/frequency/accounts.ts#L19)*
*Defined in [frequency/accounts.ts:14](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/frequency/accounts.ts#L14)*

Observable that emits each time the default account changes

Expand All @@ -23,11 +23,11 @@ Observable that emits each time the default account changes
___
<a id="onaccountsinfochanged_"></a>

## `<Const>` onAccountsInfoChanged$
## onAccountsInfoChanged$

▸ **onAccountsInfoChanged$**(options?: *[FrequencyObservableOptions](../interfaces/_types_.frequencyobservableoptions.md)*): `Observable`<`object`>

*Defined in [frequency/accounts.ts:29](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/frequency/accounts.ts#L29)*
*Defined in [frequency/accounts.ts:23](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/frequency/accounts.ts#L23)*

Observable that emits each time the default account changes

Expand Down
12 changes: 6 additions & 6 deletions packages/light.js/docs/api/modules/_frequency_blocks_.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

<a id="onevery2blocks_"></a>

## `<Const>` onEvery2Blocks$
## onEvery2Blocks$

▸ **onEvery2Blocks$**(options?: *[FrequencyObservableOptions](../interfaces/_types_.frequencyobservableoptions.md)*): `Observable`<`BigNumber`>

*Defined in [frequency/blocks.ts:27](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/frequency/blocks.ts#L27)*
*Defined in [frequency/blocks.ts:26](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/frequency/blocks.ts#L26)*

Observable that emits on every 2nd block.

Expand All @@ -23,11 +23,11 @@ Observable that emits on every 2nd block.
___
<a id="onevery4blocks_"></a>

## `<Const>` onEvery4Blocks$
## onEvery4Blocks$

▸ **onEvery4Blocks$**(options?: *[FrequencyObservableOptions](../interfaces/_types_.frequencyobservableoptions.md)*): `Observable`<`BigNumber`>

*Defined in [frequency/blocks.ts:40](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/frequency/blocks.ts#L40)*
*Defined in [frequency/blocks.ts:37](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/frequency/blocks.ts#L37)*

Observable that emits on every 4th block.

Expand All @@ -42,11 +42,11 @@ Observable that emits on every 4th block.
___
<a id="oneveryblock_"></a>

## `<Const>` onEveryBlock$
## onEveryBlock$

▸ **onEveryBlock$**(options?: *[FrequencyObservableOptions](../interfaces/_types_.frequencyobservableoptions.md)*): `Observable`<`BigNumber`>

*Defined in [frequency/blocks.ts:17](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/frequency/blocks.ts#L17)*
*Defined in [frequency/blocks.ts:17](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/frequency/blocks.ts#L17)*

Observable that emits on every new block.

Expand Down
8 changes: 4 additions & 4 deletions packages/light.js/docs/api/modules/_frequency_health_.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

<a id="onsyncingchanged_"></a>

## `<Const>` onSyncingChanged$
## onSyncingChanged$

▸ **onSyncingChanged$**(options?: *[FrequencyObservableOptions](../interfaces/_types_.frequencyobservableoptions.md)*): `Observable`< `false` &#124; `true` &#124; `object`>
▸ **onSyncingChanged$**(options?: *[FrequencyObservableOptions](../interfaces/_types_.frequencyobservableoptions.md)*): `Observable`< `false` &#124; `object`>

*Defined in [frequency/health.ts:19](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/frequency/health.ts#L19)*
*Defined in [frequency/health.ts:19](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/frequency/health.ts#L19)*

Observable that emits when syncing status changes.

Expand All @@ -18,7 +18,7 @@ Observable that emits when syncing status changes.
| ------ | ------ | ------ |
| `Optional` options | [FrequencyObservableOptions](../interfaces/_types_.frequencyobservableoptions.md) | Options to pass to [FrequencyObservable](../interfaces/_types_.frequencyobservable.md). |

**Returns:** `Observable`< `false` &#124; `true` &#124; `object`>
**Returns:** `Observable`< `false` &#124; `object`>

___

4 changes: 2 additions & 2 deletions packages/light.js/docs/api/modules/_frequency_other_.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

<a id="onstartup_"></a>

## `<Const>` onStartup$
## onStartup$

▸ **onStartup$**(_?: *[FrequencyObservableOptions](../interfaces/_types_.frequencyobservableoptions.md)*): `Observable`<`number`>

*Defined in [frequency/other.ts:15](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/frequency/other.ts#L15)*
*Defined in [frequency/other.ts:15](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/frequency/other.ts#L15)*

Observable that emits only once.

Expand Down
6 changes: 3 additions & 3 deletions packages/light.js/docs/api/modules/_frequency_time_.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

▸ **onEvery2Seconds$**(_?: *[FrequencyObservableOptions](../interfaces/_types_.frequencyobservableoptions.md)*): `Observable`<`number`>

*Defined in [frequency/time.ts:21](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/frequency/time.ts#L21)*
*Defined in [frequency/time.ts:21](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/frequency/time.ts#L21)*

Observable that emits on every other second.

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

▸ **onEvery5Seconds$**(_?: *[FrequencyObservableOptions](../interfaces/_types_.frequencyobservableoptions.md)*): `Observable`<`number`>

*Defined in [frequency/time.ts:29](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/frequency/time.ts#L29)*
*Defined in [frequency/time.ts:29](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/frequency/time.ts#L29)*

Observable that emits every five seconds.

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

▸ **onEverySecond$**(_?: *[FrequencyObservableOptions](../interfaces/_types_.frequencyobservableoptions.md)*): `Observable`<`number`>

*Defined in [frequency/time.ts:13](https://github.com/paritytech/js-libs/blob/ea75324/packages/light.js/src/frequency/time.ts#L13)*
*Defined in [frequency/time.ts:13](https://github.com/paritytech/js-libs/blob/a46b19a/packages/light.js/src/frequency/time.ts#L13)*

Observable that emits on every second.

Expand Down
Loading