Skip to content

Commit

Permalink
Merge pull request #279 from iExecBlockchainComputing/release/v8.10.0
Browse files Browse the repository at this point in the history
Release/v8.10.0
  • Loading branch information
PierreJeanjacquot authored Jul 25, 2024
2 parents 6494e89 + 9ad3451 commit 7436858
Show file tree
Hide file tree
Showing 35 changed files with 306 additions and 614 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,22 @@

All notable changes to this project will be documented in this file.

## [8.10.0] 2024-07-24

### Added

- added support for ethers `AbstractProvider`, `AbstractSigner` and `BrowserProvider` to instantiate modules

### Changed

- reduced default polling interval for faster tx confirmation
- more permissive url validation for `iexec_input_files`

### Removed

- removed `ensRegistryAddress` option (use ethers `Network.register()` to configure custom networks supporting ENS)
- CLI removed `iexec registry` commands

## [8.9.1] 2024-06-19

### Changed
Expand Down
32 changes: 0 additions & 32 deletions CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ Commands:
- [iexec result](#iexec-result)
- [iexec ens](#iexec-ens)
- [iexec category](#iexec-category)
- [iexec registry](#iexec-registry)
- [info](#iexec-info)

### iexec init
Expand Down Expand Up @@ -2453,37 +2452,6 @@ Options:
| --quiet | stop prompting updates |
| --chain \<name\> | chain name from "chain.json" |

### iexec registry

interact with iExec registry

Usage:

```sh
iexec registry <command> [options]
```

Commands:

- [validate](#iexec-registry-validate)

#### iexec registry validate

validate an app/dataset/workerpool description before submitting it to the iExec registry

Usage:

```sh
iexec registry validate <object> [options]
```

Options:

| option | description |
| --- | --- |
| --raw | use raw output |
| --quiet | stop prompting updates |

### iexec info

show iExec contracts addresses
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,4 @@ Find changes in the [CHANGELOG](./CHANGELOG.md)
## Resources

- [iExec main documentation](https://docs.iex.ec/for-developers/)
- [The iExec Dapp Store](https://dapps.iex.ec)
- [The iExec Marketplace](https://market.iex.ec)
- [The iExec Explorer](https://explorer.iex.ec)
- [The iExec Workerpool registry](https://pools.iex.ec)
1 change: 0 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ iexec / [Exports](modules.md)

# iExec SDK Library API

[![Build Status](https://drone.iex.ec/api/badges/iExecBlockchainComputing/iexec-sdk/status.svg)](https://drone.iex.ec/iExecBlockchainComputing/iexec-sdk)
[![npm version](https://badge.fury.io/js/iexec.svg)](https://www.npmjs.com/package/iexec) [![npm version](https://img.shields.io/npm/dm/iexec.svg)](https://www.npmjs.com/package/iexec) [![license](https://img.shields.io/github/license/iExecBlockchainComputing/iexec-sdk.svg)](LICENSE)

Use the iExec decentralized marketplace for off-chain computing in your dapp.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,43 +1,44 @@
[iexec](../README.md) / [Exports](../modules.md) / BrowserProviderSigner
[iexec](../README.md) / [Exports](../modules.md) / BrowserProviderSignerAdapter

# Class: BrowserProviderSigner
# Class: BrowserProviderSignerAdapter

BrowserProvider wrapped in an AbstractSigner

## Hierarchy

- `AbstractSigner`

**`BrowserProviderSigner`**
**`BrowserProviderSignerAdapter`**

## Table of contents

### Constructors

- [constructor](BrowserProviderSigner.md#constructor)
- [constructor](BrowserProviderSignerAdapter.md#constructor)

### Methods

- [connect](BrowserProviderSigner.md#connect)
- [getAddress](BrowserProviderSigner.md#getaddress)
- [signMessage](BrowserProviderSigner.md#signmessage)
- [signTransaction](BrowserProviderSigner.md#signtransaction)
- [signTypedData](BrowserProviderSigner.md#signtypeddata)
- [connect](BrowserProviderSignerAdapter.md#connect)
- [getAddress](BrowserProviderSignerAdapter.md#getaddress)
- [signMessage](BrowserProviderSignerAdapter.md#signmessage)
- [signTransaction](BrowserProviderSignerAdapter.md#signtransaction)
- [signTypedData](BrowserProviderSignerAdapter.md#signtypeddata)

## Constructors

### constructor

**new BrowserProviderSigner**(`ethereum`, `network?`): [`BrowserProviderSigner`](BrowserProviderSigner.md)
**new BrowserProviderSignerAdapter**(`browserProvider`): [`BrowserProviderSignerAdapter`](BrowserProviderSignerAdapter.md)

#### Parameters

| Name | Type |
| :------ | :------ |
| `ethereum` | `Eip1193Provider` |
| `network?` | `Networkish` |
| `browserProvider` | `BrowserProvider` |

#### Returns

[`BrowserProviderSigner`](BrowserProviderSigner.md)
[`BrowserProviderSignerAdapter`](BrowserProviderSignerAdapter.md)

#### Overrides

Expand Down
15 changes: 10 additions & 5 deletions docs/interfaces/IExecConfigArgs.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,20 @@

### ethProvider

**ethProvider**: `string` \| `number` \| [`EnhancedWallet`](../classes/EnhancedWallet.md) \| [`Eip1193Provider`](Eip1193Provider.md)
**ethProvider**: `string` \| `number` \| `AbstractSigner`<``null`` \| `Provider`\> \| `BrowserProvider` \| [`Eip1193Provider`](Eip1193Provider.md) \| `AbstractProvider`

A web3 Eth provider or network name or chain id
A web3 Eth provider, a network name, a chain id or an ethers provider

examples:
- `window.ethereum`
- `"mainnet"` or `1` or `"1"` for ethereum mainnet
read-only provider examples:
- `"mainnet"` or `1` or `"1"` for ethereum mainnet provider
- `"bellecour"` or `134` or `"134"` for iExec sidechain
- `"http://localhost:8545"` for local chain
- `new ethers.JsonRpcProvider("https://bellecour.iex.ec")` ethers provider connected to bellecour

signer provider examples:
- `window.ethereum` for browser injected wallet provider
- `utils.getSignerFromPrivateKey('bellecour', PRIVATE_KEY)` signer connected to bellecour
- `new ethers.Wallet(PRIVATE_KEY, new ethers.JsonRpcProvider("https://bellecour.iex.ec"))` ethers wallet connected to bellecour

___

Expand Down
9 changes: 0 additions & 9 deletions docs/interfaces/IExecConfigOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
- [confirms](IExecConfigOptions.md#confirms)
- [defaultTeeFramework](IExecConfigOptions.md#defaultteeframework)
- [ensPublicResolverAddress](IExecConfigOptions.md#enspublicresolveraddress)
- [ensRegistryAddress](IExecConfigOptions.md#ensregistryaddress)
- [enterpriseSwapConf](IExecConfigOptions.md#enterpriseswapconf)
- [hubAddress](IExecConfigOptions.md#hubaddress)
- [iexecGatewayURL](IExecConfigOptions.md#iexecgatewayurl)
Expand Down Expand Up @@ -73,14 +72,6 @@ override the ENS public resolver contract address to target a custom instance

___

### ensRegistryAddress

`Optional` **ensRegistryAddress**: `string`

override the ENS registry contract address to target a custom instance

___

### enterpriseSwapConf

`Optional` **enterpriseSwapConf**: `Object`
Expand Down
2 changes: 1 addition & 1 deletion docs/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

### Classes

- [BrowserProviderSigner](classes/BrowserProviderSigner.md)
- [BrowserProviderSignerAdapter](classes/BrowserProviderSignerAdapter.md)
- [EnhancedWallet](classes/EnhancedWallet.md)
- [IExec](classes/IExec.md)
- [IExecAccountModule](classes/IExecAccountModule.md)
Expand Down
Loading

0 comments on commit 7436858

Please sign in to comment.