3.21.2 (2021-10-26)
- update DPNS and DashPay contract ids (#292)
3.21.1 (2021-10-26)
- update DPNS and DashPay contract ids (#290)
3.21.0 (2021-10-21)
- Document: throw error on null Data Сontract (#244)
- support higher protocol version (#271)
- add
driveProtocolVersion
option (#249) - convenient broadcast errors (#262, #266, #273)
StateTransitionBroadcastError#getData
is removed. Use StateTransitionBroadcastError#getCause
to get additional details.
3.20.3 (2021-08-08)
- update DashPay and DPNS contracts (#240)
3.20.2 (2021-07-28)
- InvalidResponse error when connecting to older versions of dapi (#241)
3.20.1 (2021-07-22)
- update DashPay and DPNS contracts (4a0f0f8)
3.20.0 (2021-07-13)
wallet.defaultAccountIndex
should be used instead ofwalletAccountIndex
option
3.19.4 (2021-05-18)
- Binary properties in platform queries not encoded properly (#223)
3.19.3 (2021-05-18)
- CBOR not decoding buffers properly in browsers(#219)
3.19.2 (2021-05-18)
- add some handler for metadata error (#216)
3.19.1 (2021-05-10)
- invalid testnet DPNS contract id (#214)
3.19.0 (2021-05-04)
- add
verifyInstantLock
to state repository (#193) - Chain Asset Lock proof (#203)
- update to new getStatus endpoint (#205)
- remove fake Instant Asset Locks proofs (#198)
- Fallbacks for Instant Asset lock proofs are removed. SDK is not compatible with local network created with mn-bootstrap v0.18
- See DPP breaking changes
- See Wallet lib breaking changes
3.18.2 (2021-04-28)
transaction.isCoinbase
is not a function and other fixes from wallet-lib 7.18.1 (#236)
3.18.1 (2021-03-03)
- handle wallet async errors (#190)
3.18.0 (2021-03-03)
- ensure name search uses lowercase label (#183)
- Identities registered in versions prior to that one won't sync, as identities are now using hardened derivation and derived from the wallet, not from the account. This change is made to make JS SDK compatible with Android and iOS apps and DIP 11.
3.17.0 (2020-12-30)
- connect to testnet by default (#176)
- update
dapi-client
,dashcore-lib
,dpp
andwallet-lib
(#152, #172) - wait broadcasted data to be available from queries (#165)
- asset lock proofs for identity funding (#169)
- crypto.randomBytes stub causing tests to fail (#173)
- requires a version of DAPI with instant locks implemented, i.e. 0.17 or higher
3.16.2 (2020-11-17)
- cannot read property 'getBinaryProperties' of undefined (#158)
3.16.1 (2020-10-30)
$id
and$ownerId
are not converted to identifiers (#148)
3.16.0 (2020-10-29)
- convert string identifiers in
where
conditions (#145) - make
broadcast
methods to return a state transition (#146) - introduce Identifier type for data contract, document and identity IDs (#142)
client.platform.contracts.broadcast
returns aDataContractCreateTransition
instead ofDataContract
client.platform.documents.broadcast
returns aDocuemntsBatchTransition
instead ofDocuments[]
client.apps
is an instance ofClientApps
class. UseClient#getApps()
to get/update applications
3.15.2 (2020-09-14)
- Update wallet-lib to a version with sync process fixes (#185)
3.15.1 (2020-09-07)
- invalid argument type: script error from dashcore-lib (#138)
3.15.0 (2020-09-04)
- update to new Wallet and DPNS contract (#127)
client.platform.names.register
now receive records as a second argument- See DPP breaking changes
3.14.1 (2020-07-24)
- outdated DPNS contract ID (#118)
3.14.0 (2020-07-23)
- implement DPNS methods (#92)
- TypeScript compilation without webpack (#97, #107)
- integrate with new DAPI Client and Wallet transport (#105, #110)
- update DPP to 0.14.0 (#112)
- use test-suite to run platform tests (#106)
- update documentation and definitions files (#99
seeds
option now is an array of DAPI addresses, that can be represented as a string, plan JS object (host, httpPort, grpcPort) or DAPIAddress instance- see DPP v0.14 breaking changes
client.platform.names.get
method has been removed in favor ofclient.platform.names.resolve
3.13.4 (2020-07-01)
- update Wallet and DashCore libs (#95)
3.13.3 (2020-06-15)
-
Features:
-
Bug fixes:
- fix: wrong assetlock tx fee estimation (#85)
- fix: generate one-time private key for the asset lock transaction (#86)
3.13.2 (2020-06-12)
- Bug fixes:
- more than one identity registration failed (#83)
3.13.1 (2020-05-12)
- Features:
- identity topups (#71)
3.13.0 (2020-05-11)
- feat:
- feat: update wallet lib to 7.1.4 (#80)
3.0.2 (2020-05-06)
- fix:
- typescript support (#46)
3.0.1 (2020-04-27)
- fix:
- changed dpp.documents (undefined) to dpp.document (#48)
3.0.0 (2020-04-24)
-
breaking:
- Identity registration will use HDKeys(0) instead 1 (https://github.com/dashevo/DashJS/pull/41/commits/4bbc54d265c679affbd043b03a88f8ed2f1d52fb)
- contract.broadcast() now returns dataContract (https://github.com/dashevo/DashJS/pull/41/commits/6f7e9225f317525388fb7701619da74b5d76222b#diff-486b5234782255b516fe9c1868c7d3b0R19)
- identities.broadcast() now return identity (https://github.com/dashevo/DashJS/pull/41/commits/4bbc54d265c679affbd043b03a88f8ed2f1d52fb#diff-27f47e1bd838b3993aed5eaa396a00e5R90)
- document.broadcast() creation is now performed via passing documents to be created in an array of property create.
{create:[document]}
(https://github.com/dashevo/DashJS/commit/91127d774a339c4204891f5863c91a64d521ddb8#diff-0202b3d53936b94585a8c0cfa0481bccR10)
-
feat:
- added replacement of a document. (#41)
- added deletion of a document (#41)
-
impr:
- update to dpp 0.12 (#41)
-
fix:
- properly release (throw) catched error (#41)
-
Chore, Docs & Tests:
- bumped wallet-lib to 6.1 (#41)
2.0.0 (2020-03-27)
- breaking:
- renamed DashJS namespace to SDK namespace.
- renamed SDK namespace to Client namespace (DashJS.SDK -> SDK.Client).
- moved L1 primitive namespace from
SDK.*
toSDK.Core.*
. - moved L2 primitive namespace from
SDK.*
toSDK.Platform.*
. - exported file for web environment is now
Dash
instead ofDashJS
- feat:
- Sign and verify message (#24)
- impr:
- Typings documentation (#30)
- Code cleanup (#31)
- Export all Dashcore Primitives (under
SDK.Core.*
)
- fix:
- fix(contracts): pass data contract without array (#32 in #31)
- fix: remove .serialize() before broadcasting records (#e047d515a12d0d14ff69b4fe3ea5b8b10bd6f890)
- Identity/register: updated getUTXOS usages on (#afda5bbafb940b2e15d5e773d0e8fc5fbc48ee13)
- fix(StateTransitionBuilder): records type detection (#b49f74b4b8e03e9d1020dd789c62f4310a4fc1ad)
- broadcasting of contracts (#f4b63e6be692841f1b138e5b058e531a0873f456, #4aa31fec0e5579d7ef8b9222576863a069b95fd3)
- chore:
- updated for new evonet (updated wallet-lib to 6.0.0)
- updated dapi-client to 0.11 (#fba4d55d3281bec5e65605787dd23a6ca3517476)
- updated DPNS contractID on evonet (#d0cf11d30cf7c9aaef1ffa4a2b8a955fbf5b1184)