Changelog
1.11.1
Changelog
1.11.0
registerVotingKey
ISourceNetworkId
is now SourceNetworkId
IProcessDetails
is now ProcessDetails
IProcessState
is now ProcessState
IProcessSummary
is now ProcessSummary
IProcessKeys
is now ProcessKeys
IVotePackage
is now VotePackage
VotingApi
for getProcess
, getProcessState
, getProcessSummary
, getResultsWeight
, getEnvelopeHeight
and getRawResults
when the process has expired on the VochaingetStats
and getBlockList
gateway methodsIGatewayClient
, IGatewayDVoteClient
and IGatewayWeb3Client
interfaces, so that methods don't depend on explicit class typesChangelog
1.10.1
Changelog
1.10.0
Breaking changes to support ZK Snarks and Baby JubJub wallets
hashing.ts
hashBuffer
, multiHash
and hash
from hashing.ts
Keccak256.hashText
, Keccak256.hashHexString
, Keccak256.hashBytes
Poseidon.hash
, Poseidon.hashBabyJubJubPublicKey
, Poseidon.getNullifier
CensusOffChain
CensusOffChain.Public
(encodePublicKey
) and CensusOffChain.Anonymous
(digestPublicKey
)CensusOffChainApi.digestPublicKey
is gone
CensusOffChainApi.digestPublicKey(..., CensusOffchainDigestType.RAW_PUBKEY)
by CensusOffChain.Public.encodePublicKey
insteadCensusOffchainDigestType
is no longer neededgenerateCensusId
and generateCensusIdSuffix
are now part of CensusOffChain
WalletBabyJubJub
classCensusOffchainApi.getCensusSize
is now CensusOffchainApi.getSize
SignerUtil.fromInjectedWeb3
is now Web3Signer.fromInjected
Random.getRandomBytes
and Random.getBigInt
generateCensusIdSuffix
now uses keccak256 internallynamespaces
personal_sign
when signing payloads via a JSON RPC call.
useWallet
Changelog
1.9.12