- check Node.js 13 compatibility
- add check for passing undefined to
getAddress
,getContents
,getAddressOrContents
- fix buffer-to-string conversion, try to decode to
utf8
, if this fails, decode it tobinary
- add
member-ordering
rule to eslint config - updated
dfs-interface.get
return value to be more precise (Promise<string | Buffer>
) - fix missing resolve on event-hub when event already removed
- Omitting mandatory parameters when using
executor
methods now results in meaningful error messages - The
EventHub
now allows to subscribe to the same event multiple times using different listeners
- add
getGasPrice
toSignerInterface
- use typescript version
3.7.4
- update
AccountStore
to throw if private key is missing - check
dataSchema
for incorrect ajv schema when setting description
- add
getPublicKey
toSignerInterface
- add interfaces used in exported classes to export list
- update pre-commit hook to use eslint for typescript
- add
remove
function toDfs
interface - add
remove
function toIpfs
- add tests for parallel transactions to executor
- remove
stop
function fromDfs
interface - remove
stop
function fromIpfs
- fix creation of multiple containers at the same time
- fix missing blocks, that could not be retrieved after
newBlockHeaders
was triggered
- fix missing
SignerSignedMessage
- add
signMessage
to signers interface to handle signing of messages without using private keys directly
- improve
sendSignedTransaction
forsigner-internal
to handle correctreceipt
loading logic
- update versions of dependencies
- remove unnecessary dependencies
- delete
scripts
folder
- add support for
timeout
(adjusts transaction timeout) option toExecutor
- improve support for
web3
1.0.0-beta.55
- add support for
web3
1.0.0-beta.55
- add check to prevent unsubscribe conflicts
- adjust gas price fallback
- add
mutex
logic event-hubsubscribe
andunsubscribe
to prevent removing pending subscriptions
signer-internal
now works with gas price retrieved from web3 if available instead of always using fallback
- add more detailed log levels to default log function
- add event resubscription to
event-hub
- relies on external web3 reconnect logic (example can be found in spec)
- reconnect logic has to trigger
dbcp-reconnected
event - cleanup event hub subscription code
- remove
no-unused-variable
from tslint config - remove unnecessary dbcpVersion reference
- update docu
- add more detailed log levels to default log function
- add
@babel/runtime
as devDependency so it can be build using the new version of browserify and babel
- remove
eth-lightwallet
dependency
- allow listening for events on other contract addresses when using executeContractTransaction
- add dbcp schema version 2 with the following updates
- add
/identities
propety - add
/license
property
- add
- default dbcpVersion is now 1. so old descriptions without version will be checked as version 1, descriptions without versions will be set as version 1
- throw error when using events on executor without an registered eventhub
- add checks to prevent calls and transactions against null and zero address contracts
- (future deprication) invalid descriptions now log a warning and invalid description will throw in the near future
- use 1.0.0-beta.33, beta.37 will cause Websocket errors in Edge browser
- remove oboslete ipfs informations from ipfs class
- return proper
0x
prefix when namehashing empty string withNameResolver.namehash
- disable
Ipfs
addMultiple
binary accountId prefixing
- add missing ipfs hash accountId parsing
- add accountId handling for IPFS files which is a preparation for payment channels
- fix
finalNodeOwner
check withinsetDescriptionToEns
when owner is not set (currentOwner === 0x0000000000000000000000000000000000000000) - add fallback for hash <=> Hash in
dfs
-Ipfs
-addMultiple
- fix issue in
NameResolver
, that when trying to get ownership of a node, when no address is set at the same time setDescriptionToEns
inDescription
now keeps current node owner if node is owned
- fix unsubscribe chain handling in
EventHub
- fix unsubscribe in
Executor
, that caused issues, when event based result handling was used, but transaction was rejected because estimation predicted an error - add timeout of 1s to
Executor
event unsubscribe if transaction caused an error to ensure proper unsubscribe - cleanup
setAddressOrContent
inNameResolver
- allow to manage subdomains, if parent node is not owned by the owner of a node in
NameResolver
- add support for setting descriptions by hash (which allows to encode them beforehand)
- add support for using custom gas prices via
gasPrice
in executor and signer - allow passing
defaultOptions
to executor, that will be used in transactions/call, if not overwritten by explicit options
- fix setting ipfs cache correctly
- fix result order in
NameResolver.getArrayFromUintMapping
- fix Logger initialization for options.logLevel and options.logLogLevel to take the correct values
- fix
EventHub
error logging (did throw with unrelated error message and fail to add message to error message log)
- fix unbound entry retrieval in
getArrayFromUintMapping
by adding paging to it
- add check to ignore all log messages above level 'technical' (100), which includes 'gasLog'; gasLog messages can still be retrieved from Loggers 'logLog' property
- make typescript devDepency instead of dependency
- add LogLogInterface to allow one central logging storage
- add error logs to setDescriptionToEns + setDescriptionToContract
- log gas estimation and usage as level 'gasLog' and log as serialized status object
- remove babel-polyfill from index.ts to remove it as prod dependency
- add verAsions to dbcp schema definition as optional dependency
- remove dapp.module from dbcp schema definition
- initial version