diff --git a/CHANGELOG.md b/CHANGELOG.md index 6247538cc7e..23b83e24ed7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,42 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [0.2.0](https://github.com/input-output-hk/cardano-js-sdk/compare/0.1.8...0.2.0) (2021-12-09) + + +### ⚠ BREAKING CHANGES + +* **cip2:** update interfaces to use core package types instead of CSL +* **wallet:** rename KeyManagement types, improve test coverage +* **wallet:** use emip3 key encryption, refactor KeyManager to support hw wallets (wip) + +### Features + +* **blockfrost:** wrap submitTx error in UnknownTxSubmissionError ([8244f6b](https://github.com/input-output-hk/cardano-js-sdk/commit/8244f6b814b4483e3d0c279573f3ee360e358134)) +* **core:** add Bip32PublicKey and Bip32PrivateKey types, export Witness.Signatures type ([999c33f](https://github.com/input-output-hk/cardano-js-sdk/commit/999c33f03e82f302c68ce8b1685bfc6e44e1621e)) +* **core:** add coreToCsl.tokenMap ([e864228](https://github.com/input-output-hk/cardano-js-sdk/commit/e86422822faa2d1ddf72d5eed1956b34dcdfef7f)) +* **core:** add utils for custom string types, safer pool id types ([bd430f6](https://github.com/input-output-hk/cardano-js-sdk/commit/bd430f6d1db5ff3c1f3a78317b68811eb4794b6e)) +* **core:** export TxSubmissionError type and its variants ([d562a61](https://github.com/input-output-hk/cardano-js-sdk/commit/d562a619b97ae3f8b3d5e92f2f4cb3b4bd6a73ca)) +* **util-dev:** add utils to create TxIn/TxOut/Utxo, refactor SelectionConstraints to use core types ([021087e](https://github.com/input-output-hk/cardano-js-sdk/commit/021087e7d3b0ca3de0fbc1bdc9438a6a00a4a07e)) +* **wallet:** 2nd-factor mnemonic encryption ([7ddac7a](https://github.com/input-output-hk/cardano-js-sdk/commit/7ddac7ad731e9f2dfb2fbc9f5a2a9cc18b6ab852)) +* **wallet:** add 'inputSelection' to initializeTx result ([15a28b3](https://github.com/input-output-hk/cardano-js-sdk/commit/15a28b3ad3f37f433c2acf43266ee0957b4a645a)) +* **wallet:** add emip3 encryption util ([7ceee7a](https://github.com/input-output-hk/cardano-js-sdk/commit/7ceee7a469905e6faf070c6dde4aa748b10b5649)) +* **wallet:** add KeyManagement.cachedGetPassword util ([0594492](https://github.com/input-output-hk/cardano-js-sdk/commit/0594492a4489ac12115a6437e5256e6c7c82dcab)) +* **wallet:** add Wallet.validateTx ([a752da3](https://github.com/input-output-hk/cardano-js-sdk/commit/a752da3af5e82c9a1fe83701925bc4db44fe10cf)) +* **wallet:** include TxSubmissionError in Wallet.transactions.outgoing.failed$ ([1c0a86d](https://github.com/input-output-hk/cardano-js-sdk/commit/1c0a86db0f425561467cd0f05d9b5ed80b90f431)) +* **wallet:** use emip3 key encryption, refactor KeyManager to support hw wallets (wip) ([961ac26](https://github.com/input-output-hk/cardano-js-sdk/commit/961ac2682c436cf894b401f7d1939e26574f9a6f)) + + +### Bug Fixes + +* **blockfrost:** ensure tx metadata number type aligns with core ([ad0eafd](https://github.com/input-output-hk/cardano-js-sdk/commit/ad0eafdeb0953f96ea201b1d0f9a10080ca2b71e)) +* change stakepool metadata extVkey field type to bech32 string ([ec523a7](https://github.com/input-output-hk/cardano-js-sdk/commit/ec523a78e62ba30c4297ccd71eb6070dbd58acc3)) +* **wallet:** subscribing after initial fetch of tip will no longer wait for new block to emit ([c00d9a7](https://github.com/input-output-hk/cardano-js-sdk/commit/c00d9a778dcef073770e9976f030ccd012a1cd8e)) + + +* **cip2:** update interfaces to use core package types instead of CSL ([5c66d32](https://github.com/input-output-hk/cardano-js-sdk/commit/5c66d32fdc58100a2b0807a0470342d54a3989ed)) +* **wallet:** rename KeyManagement types, improve test coverage ([2742eca](https://github.com/input-output-hk/cardano-js-sdk/commit/2742ecab0643fa1badf1e7df2dfede2617c60635)) + ### [0.1.8](https://github.com/input-output-hk/cardano-js-sdk/compare/0.1.7...0.1.8) (2021-11-22) diff --git a/package.json b/package.json index 08aa96dfa40..28ade3917e7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cardano-sdk", - "version": "0.1.8", + "version": "0.2.0", "private": true, "description": "An SDK for interacting with the Cardano blockchain", "engines": { diff --git a/packages/blockfrost/package.json b/packages/blockfrost/package.json index 419fa409c8b..e5381397a84 100644 --- a/packages/blockfrost/package.json +++ b/packages/blockfrost/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/blockfrost", - "version": "0.1.8", + "version": "0.2.0", "description": "Blockfrost provider for Cardano JS SDK", "engines": { "node": "^14" @@ -26,7 +26,7 @@ }, "dependencies": { "@blockfrost/blockfrost-js": "2.0.2", - "@cardano-sdk/core": " 0.1.8" + "@cardano-sdk/core": " 0.2.0" }, "files": [ "dist/*", diff --git a/packages/cardano-graphql-db-sync/package.json b/packages/cardano-graphql-db-sync/package.json index f05a8dd7252..dd441494b09 100644 --- a/packages/cardano-graphql-db-sync/package.json +++ b/packages/cardano-graphql-db-sync/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/cardano-graphql-db-sync", - "version": "0.1.8", + "version": "0.2.0", "description": "Cardano Graphql (cardano-db-sync) integration", "engines": { "node": "^14" diff --git a/packages/cardano-graphql/package.json b/packages/cardano-graphql/package.json index a253afea653..0b75ecc8d77 100644 --- a/packages/cardano-graphql/package.json +++ b/packages/cardano-graphql/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/cardano-graphql", - "version": "0.1.8", + "version": "0.2.0", "description": "Cardano GraphQL Providers", "engines": { "node": "^14" @@ -42,7 +42,7 @@ "dependencies": { "@cardano-graphql/client-ts": "^5.1.0-beta.1", "@cardano-ogmios/client": "4.1.0", - "@cardano-sdk/core": " 0.1.8", + "@cardano-sdk/core": " 0.2.0", "class-validator": "^0.13.1", "graphql": "^15.6.1", "graphql-request": "^3.5.0", diff --git a/packages/cip2/package.json b/packages/cip2/package.json index 5dde8e4af83..8e7b1079eef 100644 --- a/packages/cip2/package.json +++ b/packages/cip2/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/cip2", - "version": "0.1.8", + "version": "0.2.0", "description": "TypeScript definitions for CIP2 (Coin Selection Algorithms for Cardano)", "engines": { "node": "^14" @@ -22,14 +22,14 @@ "test:debug": "DEBUG=true yarn test" }, "devDependencies": { - "@cardano-sdk/util-dev": " 0.1.8", + "@cardano-sdk/util-dev": " 0.2.0", "@types/lodash-es": "^4.17.5", "fast-check": "^2.17.0", "lodash": "^4.17.21", "shx": "^0.3.3" }, "dependencies": { - "@cardano-sdk/core": " 0.1.8", + "@cardano-sdk/core": " 0.2.0", "lodash-es": "^4.17.21", "ts-custom-error": "^3.2.0" }, diff --git a/packages/cip30/package.json b/packages/cip30/package.json index a9680fa3938..02001aad26f 100644 --- a/packages/cip30/package.json +++ b/packages/cip30/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/cip30", - "version": "0.1.8", + "version": "0.2.0", "description": "TypeScript definitions for the dApp Connector standard CIP30", "engines": { "node": "^14" diff --git a/packages/core/package.json b/packages/core/package.json index 4e720f668aa..4af208ca8a9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/core", - "version": "0.1.8", + "version": "0.2.0", "description": "Core types and libraries for Cardano", "engines": { "node": "^14" @@ -21,7 +21,7 @@ "prepack": "yarn build" }, "devDependencies": { - "@cardano-sdk/util-dev": " 0.1.8", + "@cardano-sdk/util-dev": " 0.2.0", "shx": "^0.3.3" }, "dependencies": { diff --git a/packages/golden-test-generator/package.json b/packages/golden-test-generator/package.json index 6772c34e513..9bcb37510b1 100644 --- a/packages/golden-test-generator/package.json +++ b/packages/golden-test-generator/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/golden-test-generator", - "version": "0.1.8", + "version": "0.2.0", "description": "Generate golden test files for a range of Cardano concepts", "engines": { "node": "^14" diff --git a/packages/util-dev/package.json b/packages/util-dev/package.json index 3f5ca6a58b8..3a2f76df323 100644 --- a/packages/util-dev/package.json +++ b/packages/util-dev/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/util-dev", - "version": "0.1.8", + "version": "0.2.0", "description": "Utilities for tests in other packages", "engines": { "node": "^14" @@ -22,10 +22,10 @@ "test:debug": "DEBUG=true yarn test" }, "devDependencies": { - "@cardano-sdk/cip2": " 0.1.8" + "@cardano-sdk/cip2": " 0.2.0" }, "dependencies": { - "@cardano-sdk/core": " 0.1.8", + "@cardano-sdk/core": " 0.2.0", "delay": "^5.0.0" }, "files": [ diff --git a/packages/wallet/package.json b/packages/wallet/package.json index 86a2ee3446a..783add0fcb8 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -1,6 +1,6 @@ { "name": "@cardano-sdk/wallet", - "version": "0.1.8", + "version": "0.2.0", "description": "Wallet modules", "engines": { "node": "^14" @@ -26,13 +26,13 @@ "test:debug": "DEBUG=true yarn test" }, "devDependencies": { - "@cardano-sdk/util-dev": " 0.1.8", + "@cardano-sdk/util-dev": " 0.2.0", "@types/pbkdf2": "^3.1.0", "shx": "^0.3.3" }, "dependencies": { - "@cardano-sdk/cip2": " 0.1.8", - "@cardano-sdk/core": " 0.1.8", + "@cardano-sdk/cip2": " 0.2.0", + "@cardano-sdk/core": " 0.2.0", "backoff-rxjs": "^6.5.7", "bip39": "^3.0.4", "chacha": "^2.1.0",