@bitgo/utxo-lib 2.3.0-rc.6 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +6 -12
  2. package/CHANGELOG.md +0 -104
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitgo/utxo-lib",
3
- "version": "2.3.0-rc.6",
3
+ "version": "2.4.0",
4
4
  "description": "Client-side Bitcoin JavaScript library",
5
5
  "main": "./dist/src/index.js",
6
6
  "engines": {
@@ -26,8 +26,7 @@
26
26
  "test": "npm run coverage",
27
27
  "unit-test": "mocha",
28
28
  "lint": "eslint --quiet .",
29
- "fmt": "prettier --write '{src,test}/**/*.{ts,js}'",
30
- "precommit": "yarn lint-staged"
29
+ "fmt": "prettier --write '{src,test}/**/*.{ts,js}'"
31
30
  },
32
31
  "nyc": {
33
32
  "include": [
@@ -46,7 +45,7 @@
46
45
  "dist/src"
47
46
  ],
48
47
  "dependencies": {
49
- "@bitgo/blake2b": "^3.0.3-rc.0",
48
+ "@bitgo/blake2b": "^3.0.2",
50
49
  "assert": "^2.0.0",
51
50
  "bitcoin-ops": "^1.3.0",
52
51
  "bitcoinjs-lib": "npm:@bitgo/bitcoinjs-lib@6.1.0-rc.3",
@@ -60,17 +59,12 @@
60
59
  "axios": "^0.21.1",
61
60
  "debug": "^3.1.0",
62
61
  "fs-extra": "^9.1.0",
63
- "nyc": "^15.1.0"
64
- },
65
- "lint-staged": {
66
- "*.{js,ts}": [
67
- "yarn prettier --write",
68
- "yarn eslint --fix"
69
- ]
62
+ "nyc": "^15.1.0",
63
+ "ts-node": "^9.1.1"
70
64
  },
71
65
  "publishConfig": {
72
66
  "access": "public"
73
67
  },
74
68
  "license": "MIT",
75
- "gitHead": "3f41f2e219c3ad45d156cf6d5bfe71a5f340cd32"
69
+ "gitHead": "80b6d48981c901a8984920c00599bb2c020356f5"
76
70
  }
package/CHANGELOG.md DELETED
@@ -1,104 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [2.3.0-rc.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/utxo-lib@2.3.0-rc.5...@bitgo/utxo-lib@2.3.0-rc.6) (2022-06-07)
7
-
8
- **Note:** Version bump only for package @bitgo/utxo-lib
9
-
10
-
11
-
12
-
13
-
14
- # [2.3.0-rc.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/utxo-lib@2.3.0-rc.4...@bitgo/utxo-lib@2.3.0-rc.5) (2022-06-01)
15
-
16
-
17
- ### Bug Fixes
18
-
19
- * **utxo-lib:** always use VERSION4_BRANCH_NU5 for zcash ([ef0692c](https://github.com/BitGo/BitGoJS/commit/ef0692c6772f6d21fce3da6cc515dc74915c3c6d))
20
-
21
-
22
-
23
-
24
-
25
- # [2.3.0-rc.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/utxo-lib@2.3.0-rc.3...@bitgo/utxo-lib@2.3.0-rc.4) (2022-05-17)
26
-
27
- **Note:** Version bump only for package @bitgo/utxo-lib
28
-
29
-
30
-
31
-
32
-
33
- # [2.3.0-rc.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/utxo-lib@2.3.0-rc.2...@bitgo/utxo-lib@2.3.0-rc.3) (2022-05-16)
34
-
35
- **Note:** Version bump only for package @bitgo/utxo-lib
36
-
37
-
38
-
39
-
40
-
41
- # [2.3.0-rc.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/utxo-lib@2.3.0-rc.1...@bitgo/utxo-lib@2.3.0-rc.2) (2022-05-12)
42
-
43
- **Note:** Version bump only for package @bitgo/utxo-lib
44
-
45
-
46
-
47
-
48
-
49
- # Changelog
50
-
51
- ## Versioning
52
-
53
- This is a forked version of bitcoinjs-lib `3.1.1` that also contains some changes from
54
- later upstream bitcoinjs-lib versions up to `3.3.1`.
55
-
56
- Version `1.0.0` of bitgo-utxo-lib is roughly equivalent of bitcoinjs-lib `3.3.1`. For the a changelog up to this point please refer to https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/CHANGELOG.md#331
57
-
58
- This document contains the Changelog starting with release 1.8.0
59
-
60
- ## 2.0.0 (2021-09-13)
61
-
62
- * Rewrite `bitcoinjs-lib` to be a wrapper instead of a fork. Uses minimal fork of `bitcoinjs-lib@5.2.0` as a dependency and
63
- re-exports most symbols verbatim. Altcoin support and some bitgo-specific methods are available at `utxolib.bitgo.*`.
64
-
65
- ## 1.9.0 (2020-01-16)
66
-
67
- * fix(bufferutils): remove pushdata re-exports ([f48669e](https://github.com/BitGo/bitgo-utxo-lib/commit/f48669e))
68
- * fix(bufferutils): remove varInt functions ([84851f0](https://github.com/BitGo/bitgo-utxo-lib/commit/84851f0))
69
- * fix(networks): BIP32 constants for litecoin ([69d0244](https://github.com/BitGo/bitgo-utxo-lib/commit/69d0244))
70
- * fix(test): use `--recursive` in coverage ([49b2a0e](https://github.com/BitGo/bitgo-utxo-lib/commit/49b2a0e))
71
- * bitcoincash test: move to test/forks/bitcoincash ([d65a9bf](https://github.com/BitGo/bitgo-utxo-lib/commit/d65a9bf))
72
- * feat(src/coins): add isSameCoin(Network, Network) ([e1dd2cb](https://github.com/BitGo/bitgo-utxo-lib/commit/e1dd2cb))
73
- * Fix test/bitcoincash.test.js ([a6930c5](https://github.com/BitGo/bitgo-utxo-lib/commit/a6930c5))
74
- * fix(src/networks.js): litecoinTest WIF prefix ([b08089a](https://github.com/BitGo/bitgo-utxo-lib/commit/b08089a))
75
- * Replace CHANGELOG.md ([f7cbb0f](https://github.com/BitGo/bitgo-utxo-lib/commit/f7cbb0f))
76
- * src/coins.js: add getMainnet/getTestnet ([8ddc032](https://github.com/BitGo/bitgo-utxo-lib/commit/8ddc032))
77
- * src/coins.js: add isDash to isValidNetwork ([4827e8a](https://github.com/BitGo/bitgo-utxo-lib/commit/4827e8a))
78
- * src/coins.js: isValidCoin -> isValidNetwork ([9556784](https://github.com/BitGo/bitgo-utxo-lib/commit/9556784))
79
- * src/networks.js: add tests ([c9f367a](https://github.com/BitGo/bitgo-utxo-lib/commit/c9f367a))
80
- * src/networks.js: define coin network names ([06f0b92](https://github.com/BitGo/bitgo-utxo-lib/commit/06f0b92))
81
- * src/networks.js: fix references ([0ec6b0b](https://github.com/BitGo/bitgo-utxo-lib/commit/0ec6b0b))
82
- * src/networks.js: reorder networks ([4e3c4ad](https://github.com/BitGo/bitgo-utxo-lib/commit/4e3c4ad))
83
- * test/forks: rename tests ([67c0cb2](https://github.com/BitGo/bitgo-utxo-lib/commit/67c0cb2))
84
- * Use standard naming scheme for test titles ([98c53f0](https://github.com/BitGo/bitgo-utxo-lib/commit/98c53f0))
85
-
86
-
87
-
88
- ## 1.8.0 (2020-01-09)
89
-
90
- * Add src/bitgo/keyutil ([1bfd335](https://github.com/BitGo/bitgo-utxo-lib/commit/1bfd335))
91
- * ECPair: simplify `fromPrivateKeyBuffer` ([288f662](https://github.com/BitGo/bitgo-utxo-lib/commit/288f662))
92
- * ECPair: simplify `getPublicKeyBuffer` ([fdf2d22](https://github.com/BitGo/bitgo-utxo-lib/commit/fdf2d22))
93
- * src/coins.js: add getMainnet/getTestnet ([8ddc032](https://github.com/BitGo/bitgo-utxo-lib/commit/8ddc032))
94
- * src/coins.js: add isDash to isValidNetwork ([4827e8a](https://github.com/BitGo/bitgo-utxo-lib/commit/4827e8a))
95
- * src/coins.js: isValidCoin -> isValidNetwork ([9556784](https://github.com/BitGo/bitgo-utxo-lib/commit/9556784))
96
-
97
- ### Deprecation Notice: ECPair functions
98
-
99
- Commit ([1bfd335](https://github.com/BitGo/bitgo-utxo-lib/commit/1bfd335)) adds deprecation notices for two custom `ECPair` functions which are not present in upstream bitcoinjs-lib:
100
-
101
- * `ECPair.fromPrivateKeyBuffer`: use `utxolib.bitgo.keyutil.privateKeyBufferToECPair` instead
102
- * `ECPair.prototype.getPrivateKeyBuffer`: use `utxolib.bitgo.keyutil.privateKeyBufferFromECPair` instead
103
-
104
- These methods will be removed in a future major version.