-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into shazarre/fee_currency_directory_support
- Loading branch information
Showing
56 changed files
with
4,699 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"mode": "pre", | ||
"tag": "beta", | ||
"initialVersions": { | ||
"@celo/celocli": "5.0.0", | ||
"@celo/dev-utils": "0.0.3", | ||
"@celo/base": "6.0.1", | ||
"@celo/connect": "5.3.0", | ||
"@celo/contractkit": "8.0.0", | ||
"@celo/cryptographic-utils": "5.0.8", | ||
"@celo/explorer": "5.0.10", | ||
"@celo/governance": "5.1.1", | ||
"@celo/keystores": "5.0.9", | ||
"@celo/network-utils": "5.0.6", | ||
"@celo/phone-utils": "6.0.2", | ||
"@celo/transactions-uri": "5.0.9", | ||
"@celo/utils": "6.0.1", | ||
"@celo/wallet-base": "5.2.0", | ||
"@celo/wallet-hsm": "5.2.0", | ||
"@celo/wallet-hsm-aws": "5.2.0", | ||
"@celo/wallet-hsm-azure": "5.2.0", | ||
"@celo/wallet-hsm-gcp": "5.2.0", | ||
"@celo/wallet-ledger": "5.2.0", | ||
"@celo/wallet-local": "5.2.0", | ||
"@celo/wallet-remote": "5.2.0", | ||
"@celo/wallet-rpc": "5.2.0", | ||
"@celo/typescript": "0.0.1" | ||
}, | ||
"changesets": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
@celo/base | ||
|
||
# @celo/base | ||
|
||
## Table of contents | ||
|
||
### Modules | ||
|
||
- [account](modules/account.md) | ||
- [address](modules/address.md) | ||
- [async](modules/async.md) | ||
- [collections](modules/collections.md) | ||
- [contacts](modules/contacts.md) | ||
- [currencies](modules/currencies.md) | ||
- [displayFormatting](modules/displayFormatting.md) | ||
- [future](modules/future.md) | ||
- [index](modules/index.md) | ||
- [inputValidation](modules/inputValidation.md) | ||
- [io](modules/io.md) | ||
- [lock](modules/lock.md) | ||
- [logger](modules/logger.md) | ||
- [parsing](modules/parsing.md) | ||
- [phoneNumbers](modules/phoneNumbers.md) | ||
- [result](modules/result.md) | ||
- [signatureUtils](modules/signatureUtils.md) | ||
- [string](modules/string.md) | ||
- [task](modules/task.md) | ||
- [types](modules/types.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
[@celo/base](../README.md) / [future](../modules/future.md) / Future | ||
|
||
# Class: Future\<T\> | ||
|
||
[future](../modules/future.md).Future | ||
|
||
## Type parameters | ||
|
||
| Name | | ||
| :------ | | ||
| `T` | | ||
|
||
## Table of contents | ||
|
||
### Constructors | ||
|
||
- [constructor](future.Future.md#constructor) | ||
|
||
### Accessors | ||
|
||
- [error](future.Future.md#error) | ||
- [finished](future.Future.md#finished) | ||
|
||
### Methods | ||
|
||
- [asPromise](future.Future.md#aspromise) | ||
- [reject](future.Future.md#reject) | ||
- [resolve](future.Future.md#resolve) | ||
- [wait](future.Future.md#wait) | ||
|
||
## Constructors | ||
|
||
### constructor | ||
|
||
• **new Future**\<`T`\>(): [`Future`](future.Future.md)\<`T`\> | ||
|
||
#### Type parameters | ||
|
||
| Name | | ||
| :------ | | ||
| `T` | | ||
|
||
#### Returns | ||
|
||
[`Future`](future.Future.md)\<`T`\> | ||
|
||
#### Defined in | ||
|
||
[packages/sdk/base/src/future.ts:10](https://github.com/celo-org/developer-tooling/blob/master/packages/sdk/base/src/future.ts#L10) | ||
|
||
## Accessors | ||
|
||
### error | ||
|
||
• `get` **error**(): `any` | ||
|
||
#### Returns | ||
|
||
`any` | ||
|
||
#### Defined in | ||
|
||
[packages/sdk/base/src/future.ts:21](https://github.com/celo-org/developer-tooling/blob/master/packages/sdk/base/src/future.ts#L21) | ||
|
||
___ | ||
|
||
### finished | ||
|
||
• `get` **finished**(): `boolean` | ||
|
||
#### Returns | ||
|
||
`boolean` | ||
|
||
#### Defined in | ||
|
||
[packages/sdk/base/src/future.ts:17](https://github.com/celo-org/developer-tooling/blob/master/packages/sdk/base/src/future.ts#L17) | ||
|
||
## Methods | ||
|
||
### asPromise | ||
|
||
▸ **asPromise**(): `Promise`\<`T`\> | ||
|
||
#### Returns | ||
|
||
`Promise`\<`T`\> | ||
|
||
#### Defined in | ||
|
||
[packages/sdk/base/src/future.ts:41](https://github.com/celo-org/developer-tooling/blob/master/packages/sdk/base/src/future.ts#L41) | ||
|
||
___ | ||
|
||
### reject | ||
|
||
▸ **reject**(`error`): `void` | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `error` | `any` | | ||
|
||
#### Returns | ||
|
||
`void` | ||
|
||
#### Defined in | ||
|
||
[packages/sdk/base/src/future.ts:31](https://github.com/celo-org/developer-tooling/blob/master/packages/sdk/base/src/future.ts#L31) | ||
|
||
___ | ||
|
||
### resolve | ||
|
||
▸ **resolve**(`value`): `void` | ||
|
||
#### Parameters | ||
|
||
| Name | Type | | ||
| :------ | :------ | | ||
| `value` | `T` | | ||
|
||
#### Returns | ||
|
||
`void` | ||
|
||
#### Defined in | ||
|
||
[packages/sdk/base/src/future.ts:25](https://github.com/celo-org/developer-tooling/blob/master/packages/sdk/base/src/future.ts#L25) | ||
|
||
___ | ||
|
||
### wait | ||
|
||
▸ **wait**(): `Promise`\<`T`\> | ||
|
||
#### Returns | ||
|
||
`Promise`\<`T`\> | ||
|
||
#### Defined in | ||
|
||
[packages/sdk/base/src/future.ts:37](https://github.com/celo-org/developer-tooling/blob/master/packages/sdk/base/src/future.ts#L37) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
[@celo/base](../README.md) / [lock](../modules/lock.md) / Lock | ||
|
||
# Class: Lock | ||
|
||
[lock](../modules/lock.md).Lock | ||
|
||
## Table of contents | ||
|
||
### Constructors | ||
|
||
- [constructor](lock.Lock.md#constructor) | ||
|
||
### Methods | ||
|
||
- [acquire](lock.Lock.md#acquire) | ||
- [release](lock.Lock.md#release) | ||
- [tryAcquire](lock.Lock.md#tryacquire) | ||
|
||
## Constructors | ||
|
||
### constructor | ||
|
||
• **new Lock**(): [`Lock`](lock.Lock.md) | ||
|
||
#### Returns | ||
|
||
[`Lock`](lock.Lock.md) | ||
|
||
#### Defined in | ||
|
||
[packages/sdk/base/src/lock.ts:14](https://github.com/celo-org/developer-tooling/blob/master/packages/sdk/base/src/lock.ts#L14) | ||
|
||
## Methods | ||
|
||
### acquire | ||
|
||
▸ **acquire**(): `Promise`\<`void`\> | ||
|
||
#### Returns | ||
|
||
`Promise`\<`void`\> | ||
|
||
#### Defined in | ||
|
||
[packages/sdk/base/src/lock.ts:29](https://github.com/celo-org/developer-tooling/blob/master/packages/sdk/base/src/lock.ts#L29) | ||
|
||
___ | ||
|
||
### release | ||
|
||
▸ **release**(): `void` | ||
|
||
#### Returns | ||
|
||
`void` | ||
|
||
#### Defined in | ||
|
||
[packages/sdk/base/src/lock.ts:54](https://github.com/celo-org/developer-tooling/blob/master/packages/sdk/base/src/lock.ts#L54) | ||
|
||
___ | ||
|
||
### tryAcquire | ||
|
||
▸ **tryAcquire**(): `boolean` | ||
|
||
#### Returns | ||
|
||
`boolean` | ||
|
||
#### Defined in | ||
|
||
[packages/sdk/base/src/lock.ts:20](https://github.com/celo-org/developer-tooling/blob/master/packages/sdk/base/src/lock.ts#L20) |
Oops, something went wrong.