All notable changes to this project will be documented in this file.
- Update builder dashboard URL in some error messages related to
sendEmail()
method - Use user specific workerpool orders if
useVoucher
is set totrue
- support for iExec voucher in
sendEmail()
viauseVoucher
option
- Directly return yup
ValidationError
instead of wrapping it into a WorkflowError, forfetchUserContacts
andsendEmail
sendEmail
: Changed returned error message from 'ProtectedData is not valid' to 'This protected data does not contain "email:string" in its schema.'
- support for ethers
AbstractProvider
andAbstractSigner
in constructor
- update
kubo-rpc-client
from v3 to v4 - update
iexec
andethers
dependencies
- support for ethers
AbstractProvider
andAbstractSigner
in constructor
- remove unnecessary initialization of storage in
sendEmail
- updated
iexec
andethers
dependencies
- be able to call
fetchMyContacts
withisUserStrict
param
- fix drone ci for package publication on npm
- added
isUserStrict
optional param into bothfetchUserContacts
andfetchMyContacts
functions
- Make the
ethProvider
constructor parameter optional, enabling access to read functions without requiring a wallet. - [BREAKING] Ship ES2022 JavaScript instead of es2015 (aka es6) in order to support
cause
optional field inError
:- Minimum browser versions: https://gist.github.com/Julien-Marcou/156b19aea4704e1d2f48adafc6e2acbf
- Minimum Node.js version: 18
- Changed
fetchMyContacts
,fetchUserContacts
andsendEmail
error handling:- Distinguish iExec protocol errors from other errors
- Store original error as the error cause
- [BREAKING] Removed
originalError
fromWorkflowError
- upgraded the
iexec
dependency to ^8.7.0 - fixed
Buffer
polyfill issue
- added
fetchUserContacts
method allowing to fetch contacts of a given user - added
workerpoolAddressOrEns
options tosendEmail
to specify the workerpool to use (defaults to iExec's production workerpool) - added
dataMaxPrice
,appMaxPrice
andworkerpoolMaxPrice
options tosendEmail
to specify the maximum price in nRLC to pay to each provider - added
label
option tosendEmail
to tag the web3mail task onchain via iexec_args - added
dappAddressOrENS
,dappWhitelistAddress
,dataProtectorSubgraph
,ipfsNode
,ipfsGateway
configuration options to the constructor
- optimized market api requests in
fetchMyContact
andsendEmail
- fixed bug that prevented ethereum address to be used as
dappAddressOrENS
- use iExec production workerpool for
sendEmail
if none is specified - support for access granted to web3mail dapps whitelist in
sendEmail
- migrated from ethers v5 to ethers v6
- support for access granted to web3mail dapps whitelist in
fetchMyContacts
- add linter
- fixed bug that prevented web3mail to work with web3mail dapp 0.6.0
- [BREAKING] Updated internal implementation to work with web3mail dapp v0.6.0 (merged requester secrets into one secret object)
- Enabled sending emails with a maximum size of 512 KB, an enhancement from the previous limit of 4,096 bytes.
- Encryption of the email content and uploaded it to IPFS.
- Allow developer to specify the sender Name associated to the sender:
add optional
senderName: string
tosendEmail
method
- Migrate from sconify 5.7.5-v9 to sconify 5.7.5-v12
- add optional
contentType: 'text/plain' | 'text/html'
(default'text/plain'
) tosendEmail
method (you can send plain text or a html type content)
- fixed installation issue for Windows users
- fixed email content validation issue