All notable changes to this project will be documented in this file.
- Reformatted job notification message
- Fixed invalid type for
gas
.
- Add retryPolicy to raw transactions
- Support for Orchestrate v21.12.1 by adding the
contractTag
andcontractName
field to theISendTransactionRequest
object.
- Added missing
storeID
parameter to account request types
- Typo on auto generated documentation
- Support for new transaction pricing mechanism (eip-1559)
- Support for go-quorum privacy privacy enhancements:
privacyFlags
,mandatoryFor
- Support for go-quorum private transaction with optional
privateFrom
. - Support for contract name and tag in transaction receipts
- Removed
/accounts/{address}/sign
and/accounts/{address}/verify-signature
in favor of/accounts/{address}/sign-message
and/accounts/verify-message
accordingly to EIP-191 standards
Deprecated version
- Fix return value of delete chain
- Security issues with package updates
- Adds new
headers
parameter to every method enabling users to pass complex headers such asX-Tenant-ID
.
- Added support for delete chain
- Support for chain's metadata
- New Identity Management API to enable fine-grained management of Ethereum accounts
- Support for remote transaction signing, random payload signing and signature verify
- New unified API client, OrchestrateClient`
- Remove support for account generation using the kafka. Removes
AccountGenerator
class and usages - Remove support for contract-registry GRPC
- Remove account generation using CLI
- Remove client API classes TransactionClient, FaucetRegistry, ContractRegistry and ChainRegistry
- Renamed client API methods:
- send(...) -> sendTransaction(...)
- search() -> searchTransactions(...)
- register(...) -> registerContract(...)
- getCatalog(...) -> getContractsCatalog(...)
- getTags(...) -> getContractTags(...)
- Fixes a bug where the consumer crashes when a raw transaction fails in the topic tx-recover
- Adding interfaces to create transactions with a gas price retry policy with an increment, limit and interval
- Adds job UUID to the transaction response
- Fixes a search of transactions by idempotency key issue
- Adapt transaction request interfaces to include gasPricePolicy
- Fixes a security issue by upgrading ethers to version 5
- Adapt SDK to be compatible with Orchestrate v2.3.0-rcX
- Manage your chains using a new HTTP wrapper chainRegistry
- Manage your faucets using a new HTTP wrapper faucetRegistry
- Update
AccountGenerator
constructor to be able to pass configurations for the producer and consumer, including the consumer group id.
chainName
field was replaced bychain
inTxRequest
andTxResponse
interfaces
- Support private transaction with Besu/Orion and Quorum/Tessera
- Support revert reason in transaction receipt
- Adds chain information to the transaction response
- Fixes a bug where the status of a receipt is always true when the transaction reverted
Complete rewrite of the SDK in pure TypeScript and redefinition of the interfaces
- Support version 2.0+ of Orchestrate
- Complete rewrite of the SDK in TypeScript
- Usage of kafkajs instead of kafka-node
- Usage of grpc-js instead of grpc
- Switch from an auto-commit mode to a manual commit which prevents to inadvertently commit non-processed messages and lose them.
Consumer
,Producer
,ContractRegistry
andAccountGenerator
exposed as standalone classesProducer
:- Accepts Options to increase flexibility of usage with Kafka
- Specific functions for specific actions such as
sendTransaction
,sendRawTransaction
andgenerateAccount
. - Functions default to correct topics
Consumer
:- Accepts Options to increase flexibility of usage with Kafka
- Implements a
commit
function to commit the message offsets manually - Returns output messages of the type
ResponseMessage
- Rename
Wallet
intoAccount
Version 1.0.0 not released as the SDK has been rewritten completely as version 2.0.0
- Add the
GetContract
gRPC function call - Add the
nonce
field - Export the marshal and unmarshal methods in the consumer and producer
- Rename
geNetworks
ingetNetworks
- Correct typo to make ConsumerGroup extending from the correct class
- Add types in the package.json
- Make cli installable
- Support for TLS gRPC servers
- Rename to PegaSys Orchestrate
- Update
ProducerOutput
type with 'id' field as a string - Update Readme - redirect to documentation website
- Update
web3
to v1.2.0 - Update
pkg
to v0.7.0 - Update docstring
- Update type definition file - add class attributes
- Update types for methods with Promises
- Update types options for producer, consumer, consumerGroup
- Update type definition path in
package.json
- Use webpack instead of babel to build
- Use regenerator-runtime in main file
- Add typescript definitions
- Clean code and naming
- Update
pkg
to v0.6.1 - Check signature, input arguments, arguments
- Update
pkg
to v0.5.7 - Create wallet asynchronously
- Add web3 wrapper
- Unmarshal extra metadata into Object instead of Array
- Unmarshal DecodedData into an Object instead of an Array
- Update README
- Update protobuf messages (v0.2.0-alpha.8 of pkg) including Quorum
- Handling error message type
- Create Producer, Consumer, ConsumerGroup
- Marshal message in protobuf