@bitgo-beta/utxo-staking 1.1.1-beta.34 → 1.1.1-beta.340
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.
- package/dist/src/babylon/delegationMessage.d.ts +38 -0
- package/dist/src/babylon/delegationMessage.d.ts.map +1 -0
- package/dist/src/babylon/delegationMessage.js +261 -0
- package/dist/src/babylon/descriptor.d.ts +29 -0
- package/dist/src/babylon/descriptor.d.ts.map +1 -0
- package/dist/src/babylon/descriptor.js +78 -0
- package/dist/src/babylon/index.d.ts +5 -0
- package/dist/src/babylon/index.d.ts.map +1 -0
- package/dist/src/babylon/index.js +48 -0
- package/dist/src/babylon/network.d.ts +7 -0
- package/dist/src/babylon/network.d.ts.map +1 -0
- package/dist/src/babylon/network.js +66 -0
- package/dist/src/babylon/params.mainnet.json +118 -0
- package/dist/src/babylon/params.testnet.json +205 -0
- package/dist/src/babylon/stakingManager.d.ts +6 -0
- package/dist/src/babylon/stakingManager.d.ts.map +1 -0
- package/dist/src/babylon/stakingManager.js +116 -0
- package/dist/src/babylon/stakingParams.d.ts +39 -0
- package/dist/src/babylon/stakingParams.d.ts.map +1 -0
- package/dist/src/babylon/stakingParams.js +131 -0
- package/dist/src/coreDao/descriptor.d.ts +4 -2
- package/dist/src/coreDao/descriptor.d.ts.map +1 -1
- package/dist/src/coreDao/descriptor.js +11 -3
- package/dist/src/coreDao/opReturn.d.ts +1 -0
- package/dist/src/coreDao/opReturn.d.ts.map +1 -1
- package/dist/src/coreDao/opReturn.js +5 -2
- package/dist/src/coreDao/transaction.d.ts +15 -6
- package/dist/src/coreDao/transaction.d.ts.map +1 -1
- package/dist/src/coreDao/transaction.js +12 -4
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +26 -3
- package/dist/src/transaction.d.ts.map +1 -1
- package/dist/src/transaction.js +37 -2
- package/package.json +20 -7
- package/.eslintignore +0 -5
- package/.mocharc.yml +0 -8
- package/CHANGELOG.md +0 -43
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitgo-beta/utxo-staking",
|
|
3
|
-
"version": "1.1.1-beta.
|
|
3
|
+
"version": "1.1.1-beta.340",
|
|
4
4
|
"description": "BitGo SDK for build UTXO staking transactions",
|
|
5
5
|
"main": "./dist/src/index.js",
|
|
6
6
|
"types": "./dist/src/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist/src"
|
|
9
|
+
],
|
|
7
10
|
"scripts": {
|
|
8
11
|
"build": "yarn tsc --build --incremental --verbose .",
|
|
9
12
|
"fmt": "prettier --write .",
|
|
@@ -11,9 +14,8 @@
|
|
|
11
14
|
"clean": "rm -r ./dist",
|
|
12
15
|
"lint": "eslint --quiet .",
|
|
13
16
|
"prepare": "npm run build",
|
|
14
|
-
"test": "npm run coverage",
|
|
15
17
|
"coverage": "nyc -- npm run unit-test",
|
|
16
|
-
"unit-test": "mocha"
|
|
18
|
+
"unit-test": "mocha --recursive test"
|
|
17
19
|
},
|
|
18
20
|
"author": "BitGo SDK Team <sdkteam@bitgo.com>",
|
|
19
21
|
"license": "MIT",
|
|
@@ -40,9 +42,20 @@
|
|
|
40
42
|
]
|
|
41
43
|
},
|
|
42
44
|
"dependencies": {
|
|
43
|
-
"@
|
|
44
|
-
"@bitgo-beta/
|
|
45
|
-
"@bitgo/
|
|
45
|
+
"@babylonlabs-io/babylon-proto-ts": "1.0.0",
|
|
46
|
+
"@bitgo-beta/babylonlabs-io-btc-staking-ts": "0.4.0-beta.145",
|
|
47
|
+
"@bitgo-beta/unspents": "0.13.2-beta.899",
|
|
48
|
+
"@bitgo-beta/utxo-core": "1.8.1-beta.16",
|
|
49
|
+
"@bitgo-beta/utxo-lib": "8.0.3-beta.900",
|
|
50
|
+
"@bitgo/wasm-miniscript": "2.0.0-beta.7",
|
|
51
|
+
"bip322-js": "^2.0.0",
|
|
52
|
+
"bitcoinjs-lib": "^6.1.7",
|
|
53
|
+
"fp-ts": "^2.16.2",
|
|
54
|
+
"io-ts": "npm:@bitgo-forks/io-ts@2.1.4",
|
|
55
|
+
"io-ts-types": "^0.5.19"
|
|
46
56
|
},
|
|
47
|
-
"
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"yargs": "^17.7.2"
|
|
59
|
+
},
|
|
60
|
+
"gitHead": "7849ae6d9644af95823d5f1c0f9f3f280f653167"
|
|
48
61
|
}
|
package/.mocharc.yml
DELETED
package/CHANGELOG.md
DELETED
|
@@ -1,43 +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
|
-
## [1.3.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/utxo-staking@1.3.2...@bitgo/utxo-staking@1.3.3) (2024-12-03)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @bitgo/utxo-staking
|
|
9
|
-
|
|
10
|
-
## [1.3.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/utxo-staking@1.3.1...@bitgo/utxo-staking@1.3.2) (2024-11-26)
|
|
11
|
-
|
|
12
|
-
**Note:** Version bump only for package @bitgo/utxo-staking
|
|
13
|
-
|
|
14
|
-
## [1.3.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/utxo-staking@1.3.0...@bitgo/utxo-staking@1.3.1) (2024-11-21)
|
|
15
|
-
|
|
16
|
-
**Note:** Version bump only for package @bitgo/utxo-staking
|
|
17
|
-
|
|
18
|
-
# 1.3.0 (2024-11-19)
|
|
19
|
-
|
|
20
|
-
### Features
|
|
21
|
-
|
|
22
|
-
- **utxo-staking:** build staking transaction ([73b33bc](https://github.com/BitGo/BitGoJS/commit/73b33bc93e46934fe5e6002c52c0b1443a3d0d8d))
|
|
23
|
-
- **utxo-staking:** create coredao staking outputs ([6b5ca4b](https://github.com/BitGo/BitGoJS/commit/6b5ca4b7c726fb6a4380526391416f6db356e0b7))
|
|
24
|
-
|
|
25
|
-
# 1.2.0 (2024-11-14)
|
|
26
|
-
|
|
27
|
-
### Features
|
|
28
|
-
|
|
29
|
-
- **utxo-staking:** build staking transaction ([73b33bc](https://github.com/BitGo/BitGoJS/commit/73b33bc93e46934fe5e6002c52c0b1443a3d0d8d))
|
|
30
|
-
- **utxo-staking:** create coredao staking outputs ([6b5ca4b](https://github.com/BitGo/BitGoJS/commit/6b5ca4b7c726fb6a4380526391416f6db356e0b7))
|
|
31
|
-
|
|
32
|
-
# 1.1.0 (2024-11-01)
|
|
33
|
-
|
|
34
|
-
### Bug Fixes
|
|
35
|
-
|
|
36
|
-
- **utxo-coredao:** clarifications from the coredao team ([56157b3](https://github.com/BitGo/BitGoJS/commit/56157b34e6802895489928d8e7a87f8f5c8129ed))
|
|
37
|
-
- **utxo-coredao:** fix json encoding to add newline ([bb5be2f](https://github.com/BitGo/BitGoJS/commit/bb5be2f91e0e7f1d59d94a1786fdd2cccc4ebad6))
|
|
38
|
-
|
|
39
|
-
### Features
|
|
40
|
-
|
|
41
|
-
- **utxo-coredao:** descriptor for CoreDao ([791f9e4](https://github.com/BitGo/BitGoJS/commit/791f9e47033a8224759d98f0483f5b0bb9bbc524))
|
|
42
|
-
- **utxo-coredao:** init repo and op-return ([60fa058](https://github.com/BitGo/BitGoJS/commit/60fa058f693cf722db8d5e7507539a5ec1c8b1a5))
|
|
43
|
-
- **utxo-coredao:** parse and verify op-return ([32dc7c4](https://github.com/BitGo/BitGoJS/commit/32dc7c49f0ff5baeb0db4a20853f70745f71c02b))
|