@bitgo-beta/sdk-coin-tao 1.0.1-alpha.15 → 1.0.1-alpha.151
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/.mocharc.yml +1 -1
- package/CHANGELOG.md +218 -0
- package/package.json +10 -19
- package/.gitignore +0 -3
- package/.prettierignore +0 -2
- package/dist/src/index.d.ts +0 -5
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/index.js +0 -21
- package/dist/src/lib/errors.d.ts +0 -8
- package/dist/src/lib/errors.d.ts.map +0 -1
- package/dist/src/lib/errors.js +0 -19
- package/dist/src/lib/iface.d.ts +0 -337
- package/dist/src/lib/iface.d.ts.map +0 -1
- package/dist/src/lib/iface.js +0 -128
- package/dist/src/lib/iface_utils.d.ts +0 -59
- package/dist/src/lib/iface_utils.d.ts.map +0 -1
- package/dist/src/lib/iface_utils.js +0 -92
- package/dist/src/lib/index.d.ts +0 -11
- package/dist/src/lib/index.d.ts.map +0 -1
- package/dist/src/lib/index.js +0 -55
- package/dist/src/lib/keyPair.d.ts +0 -38
- package/dist/src/lib/keyPair.d.ts.map +0 -1
- package/dist/src/lib/keyPair.js +0 -117
- package/dist/src/lib/nativeTransferBuilder.d.ts +0 -84
- package/dist/src/lib/nativeTransferBuilder.d.ts.map +0 -1
- package/dist/src/lib/nativeTransferBuilder.js +0 -219
- package/dist/src/lib/singletonRegistry.d.ts +0 -7
- package/dist/src/lib/singletonRegistry.d.ts.map +0 -1
- package/dist/src/lib/singletonRegistry.js +0 -20
- package/dist/src/lib/transaction.d.ts +0 -83
- package/dist/src/lib/transaction.d.ts.map +0 -1
- package/dist/src/lib/transaction.js +0 -610
- package/dist/src/lib/transactionBuilder.d.ts +0 -131
- package/dist/src/lib/transactionBuilder.d.ts.map +0 -1
- package/dist/src/lib/transactionBuilder.js +0 -351
- package/dist/src/lib/transactionBuilderFactory.d.ts +0 -15
- package/dist/src/lib/transactionBuilderFactory.d.ts.map +0 -1
- package/dist/src/lib/transactionBuilderFactory.js +0 -51
- package/dist/src/lib/transferBuilder.d.ts +0 -11
- package/dist/src/lib/transferBuilder.d.ts.map +0 -1
- package/dist/src/lib/transferBuilder.js +0 -11
- package/dist/src/lib/txnSchema.d.ts +0 -15
- package/dist/src/lib/txnSchema.d.ts.map +0 -1
- package/dist/src/lib/txnSchema.js +0 -117
- package/dist/src/lib/utils.d.ts +0 -268
- package/dist/src/lib/utils.d.ts.map +0 -1
- package/dist/src/lib/utils.js +0 -492
- package/dist/src/register.d.ts +0 -3
- package/dist/src/register.d.ts.map +0 -1
- package/dist/src/register.js +0 -11
- package/dist/src/resources/index.d.ts +0 -3
- package/dist/src/resources/index.d.ts.map +0 -1
- package/dist/src/resources/index.js +0 -19
- package/dist/src/resources/mainnet.d.ts +0 -2
- package/dist/src/resources/mainnet.d.ts.map +0 -1
- package/dist/src/resources/mainnet.js +0 -5
- package/dist/src/resources/westend.d.ts +0 -2
- package/dist/src/resources/westend.d.ts.map +0 -1
- package/dist/src/resources/westend.js +0 -5
- package/dist/src/tao.d.ts +0 -34
- package/dist/src/tao.d.ts.map +0 -1
- package/dist/src/tao.js +0 -105
- package/dist/src/ttao.d.ts +0 -17
- package/dist/src/ttao.d.ts.map +0 -1
- package/dist/src/ttao.js +0 -30
package/.mocharc.yml
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,224 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.12.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.11.4...@bitgo/sdk-coin-tao@1.12.0) (2025-09-25)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- resolve type annotation error in TransactionBuilderFactory ([4a91875](https://github.com/BitGo/BitGoJS/commit/4a918756c18512a57e81dc55d8a58f250ee638b5))
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- configure learn to skip git operations ([ee3a622](https://github.com/BitGo/BitGoJS/commit/ee3a6220496476aa7f4545b5f4a9a3bf97d9bdb9))
|
|
15
|
+
- **sdk-coin-tao:** add moveStakeBuilder ([03a7b36](https://github.com/BitGo/BitGoJS/commit/03a7b368414b61ccfc45f0df5e56378fcd32168c))
|
|
16
|
+
- **sdk-coin-tao:** correct validation stages order in move stake builder ([3fe6828](https://github.com/BitGo/BitGoJS/commit/3fe68289149d969f42c0063516553ac482b4885b))
|
|
17
|
+
|
|
18
|
+
## [1.11.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.11.3...@bitgo/sdk-coin-tao@1.11.4) (2025-09-03)
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
- **sdk-coin-tao:** handle subnetId as number ([18caa10](https://github.com/BitGo/BitGoJS/commit/18caa10f0b888462039b5b44c3b79124b4390bea))
|
|
23
|
+
|
|
24
|
+
## [1.11.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.11.2...@bitgo/sdk-coin-tao@1.11.3) (2025-08-30)
|
|
25
|
+
|
|
26
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
27
|
+
|
|
28
|
+
## [1.11.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.11.1...@bitgo/sdk-coin-tao@1.11.2) (2025-08-29)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
31
|
+
|
|
32
|
+
## [1.11.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.11.0...@bitgo/sdk-coin-tao@1.11.1) (2025-08-27)
|
|
33
|
+
|
|
34
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
35
|
+
|
|
36
|
+
# [1.11.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.10.2...@bitgo/sdk-coin-tao@1.11.0) (2025-08-22)
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
- **root:** migrate ts-node -> tsx ([ea180b4](https://github.com/BitGo/BitGoJS/commit/ea180b43001d8e956196bc07b32798e3a7031eeb))
|
|
41
|
+
|
|
42
|
+
## [1.10.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.10.1...@bitgo/sdk-coin-tao@1.10.2) (2025-08-22)
|
|
43
|
+
|
|
44
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
45
|
+
|
|
46
|
+
## [1.10.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.10.0...@bitgo/sdk-coin-tao@1.10.1) (2025-08-19)
|
|
47
|
+
|
|
48
|
+
### Bug Fixes
|
|
49
|
+
|
|
50
|
+
- **sdk-coin-tao:** fix toJson & explainTransaction for token transfers ([34a8175](https://github.com/BitGo/BitGoJS/commit/34a81751fd982a7ebd7449f8036d6d19b501780a))
|
|
51
|
+
|
|
52
|
+
# [1.10.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.9.0...@bitgo/sdk-coin-tao@1.10.0) (2025-08-14)
|
|
53
|
+
|
|
54
|
+
### Features
|
|
55
|
+
|
|
56
|
+
- **sdk-coin-polyx:** add token builders ([6860780](https://github.com/BitGo/BitGoJS/commit/68607804efc1191ff396e05f20466526246b7d87))
|
|
57
|
+
- **sdk-coin-tao:** add tokenTransferBuilder ([43fc839](https://github.com/BitGo/BitGoJS/commit/43fc839f87e81d2592bcd249b14d7aef815a0927))
|
|
58
|
+
|
|
59
|
+
# [1.9.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.11...@bitgo/sdk-coin-tao@1.9.0) (2025-08-07)
|
|
60
|
+
|
|
61
|
+
### Features
|
|
62
|
+
|
|
63
|
+
- add taoToken skeleton ([c3d65a2](https://github.com/BitGo/BitGoJS/commit/c3d65a29d8e4404e0157d8a8d825465f3c9cc693))
|
|
64
|
+
|
|
65
|
+
## [1.8.11](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.10...@bitgo/sdk-coin-tao@1.8.11) (2025-07-31)
|
|
66
|
+
|
|
67
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
68
|
+
|
|
69
|
+
## [1.8.10](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.9...@bitgo/sdk-coin-tao@1.8.10) (2025-07-30)
|
|
70
|
+
|
|
71
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
72
|
+
|
|
73
|
+
## [1.8.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.7...@bitgo/sdk-coin-tao@1.8.9) (2025-07-25)
|
|
74
|
+
|
|
75
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
76
|
+
|
|
77
|
+
## [1.8.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.7...@bitgo/sdk-coin-tao@1.8.8) (2025-07-23)
|
|
78
|
+
|
|
79
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
80
|
+
|
|
81
|
+
## [1.8.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.6...@bitgo/sdk-coin-tao@1.8.7) (2025-07-15)
|
|
82
|
+
|
|
83
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
84
|
+
|
|
85
|
+
## [1.8.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.5...@bitgo/sdk-coin-tao@1.8.6) (2025-07-10)
|
|
86
|
+
|
|
87
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
88
|
+
|
|
89
|
+
## [1.8.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.4...@bitgo/sdk-coin-tao@1.8.5) (2025-07-03)
|
|
90
|
+
|
|
91
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
92
|
+
|
|
93
|
+
## [1.8.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.3...@bitgo/sdk-coin-tao@1.8.4) (2025-06-25)
|
|
94
|
+
|
|
95
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
96
|
+
|
|
97
|
+
## [1.8.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.2...@bitgo/sdk-coin-tao@1.8.3) (2025-06-24)
|
|
98
|
+
|
|
99
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
100
|
+
|
|
101
|
+
## [1.8.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.1...@bitgo/sdk-coin-tao@1.8.2) (2025-06-18)
|
|
102
|
+
|
|
103
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
104
|
+
|
|
105
|
+
## [1.8.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.8.0...@bitgo/sdk-coin-tao@1.8.1) (2025-06-10)
|
|
106
|
+
|
|
107
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
108
|
+
|
|
109
|
+
# [1.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.7.3...@bitgo/sdk-coin-tao@1.8.0) (2025-06-05)
|
|
110
|
+
|
|
111
|
+
### Features
|
|
112
|
+
|
|
113
|
+
- **root:** support node 22 ([c4ad6af](https://github.com/BitGo/BitGoJS/commit/c4ad6af2e8896221417c303f0f6b84652b493216))
|
|
114
|
+
|
|
115
|
+
## [1.7.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.7.2...@bitgo/sdk-coin-tao@1.7.3) (2025-06-02)
|
|
116
|
+
|
|
117
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
118
|
+
|
|
119
|
+
## [1.7.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.7.1...@bitgo/sdk-coin-tao@1.7.2) (2025-05-28)
|
|
120
|
+
|
|
121
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
122
|
+
|
|
123
|
+
## [1.7.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.7.0...@bitgo/sdk-coin-tao@1.7.1) (2025-05-22)
|
|
124
|
+
|
|
125
|
+
### Bug Fixes
|
|
126
|
+
|
|
127
|
+
- remove empty space character at end of file names ([51bd0f5](https://github.com/BitGo/BitGoJS/commit/51bd0f56ca3275dcf980a21a20e7d94c8837ba42))
|
|
128
|
+
|
|
129
|
+
# [1.7.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.9...@bitgo/sdk-coin-tao@1.7.0) (2025-05-20)
|
|
130
|
+
|
|
131
|
+
### Features
|
|
132
|
+
|
|
133
|
+
- **sdk-coin-polyx:** add transaction builders ([31c96bb](https://github.com/BitGo/BitGoJS/commit/31c96bbbce60b93e13208e3eab06bd144cfe57e4))
|
|
134
|
+
|
|
135
|
+
## [1.6.9](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.8...@bitgo/sdk-coin-tao@1.6.9) (2025-05-07)
|
|
136
|
+
|
|
137
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
138
|
+
|
|
139
|
+
## [1.6.8](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.7...@bitgo/sdk-coin-tao@1.6.8) (2025-04-29)
|
|
140
|
+
|
|
141
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
142
|
+
|
|
143
|
+
## [1.6.7](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.6...@bitgo/sdk-coin-tao@1.6.7) (2025-04-25)
|
|
144
|
+
|
|
145
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
146
|
+
|
|
147
|
+
## [1.6.6](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.5...@bitgo/sdk-coin-tao@1.6.6) (2025-04-15)
|
|
148
|
+
|
|
149
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
150
|
+
|
|
151
|
+
## [1.6.5](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.4...@bitgo/sdk-coin-tao@1.6.5) (2025-04-04)
|
|
152
|
+
|
|
153
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
154
|
+
|
|
155
|
+
## [1.6.4](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.3...@bitgo/sdk-coin-tao@1.6.4) (2025-04-02)
|
|
156
|
+
|
|
157
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
158
|
+
|
|
159
|
+
## [1.6.3](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.2...@bitgo/sdk-coin-tao@1.6.3) (2025-03-28)
|
|
160
|
+
|
|
161
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
162
|
+
|
|
163
|
+
## [1.6.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.1...@bitgo/sdk-coin-tao@1.6.2) (2025-03-20)
|
|
164
|
+
|
|
165
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
166
|
+
|
|
167
|
+
## [1.6.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.6.0...@bitgo/sdk-coin-tao@1.6.1) (2025-03-18)
|
|
168
|
+
|
|
169
|
+
### Bug Fixes
|
|
170
|
+
|
|
171
|
+
- **sdk-coin-tao:** prevent real api calls by using beforeEach for stubbing ([4415e0e](https://github.com/BitGo/BitGoJS/commit/4415e0e0348eb9f110a53dcbd393f8bd2e1e8619))
|
|
172
|
+
|
|
173
|
+
# [1.6.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.5.0...@bitgo/sdk-coin-tao@1.6.0) (2025-03-06)
|
|
174
|
+
|
|
175
|
+
### Features
|
|
176
|
+
|
|
177
|
+
- **abstract-substrate:** add wrw for tao ([9f30890](https://github.com/BitGo/BitGoJS/commit/9f3089000330d47696ab057891cd8d1083004a2a))
|
|
178
|
+
|
|
179
|
+
# [1.5.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.3.1...@bitgo/sdk-coin-tao@1.5.0) (2025-03-04)
|
|
180
|
+
|
|
181
|
+
### Bug Fixes
|
|
182
|
+
|
|
183
|
+
- **sdk-coin-tao:** allow consolidations ([0e374cf](https://github.com/BitGo/BitGoJS/commit/0e374cfabd366438cc2abfe9d0967854bf03cd03))
|
|
184
|
+
- **sdk-coin-tao:** change amount and netuid type to string ([bbb92aa](https://github.com/BitGo/BitGoJS/commit/bbb92aa3e9def1e6260a074761cdf4a38888ebd6))
|
|
185
|
+
- **sdk-coin-tao:** use tao builder not dot ([3ee7bfc](https://github.com/BitGo/BitGoJS/commit/3ee7bfc3fcf3d22d12d31b8104614b1b7996648c))
|
|
186
|
+
|
|
187
|
+
### Features
|
|
188
|
+
|
|
189
|
+
- **sdk-coin-tao:** add staking builder ([0859b9d](https://github.com/BitGo/BitGoJS/commit/0859b9d099fc0ab9c651d0476bfd74dd48f08d45))
|
|
190
|
+
- **sdk-coin-tao:** add unstaking builder for TAO ([fe568b5](https://github.com/BitGo/BitGoJS/commit/fe568b5fda3d3e27cf2ced01581e52ede08ee58d))
|
|
191
|
+
|
|
192
|
+
# [1.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.3.1...@bitgo/sdk-coin-tao@1.4.0) (2025-02-26)
|
|
193
|
+
|
|
194
|
+
### Bug Fixes
|
|
195
|
+
|
|
196
|
+
- **sdk-coin-tao:** allow consolidations ([0e374cf](https://github.com/BitGo/BitGoJS/commit/0e374cfabd366438cc2abfe9d0967854bf03cd03))
|
|
197
|
+
|
|
198
|
+
### Features
|
|
199
|
+
|
|
200
|
+
- **sdk-coin-tao:** add staking builder ([0859b9d](https://github.com/BitGo/BitGoJS/commit/0859b9d099fc0ab9c651d0476bfd74dd48f08d45))
|
|
201
|
+
- **sdk-coin-tao:** add unstaking builder for TAO ([fe568b5](https://github.com/BitGo/BitGoJS/commit/fe568b5fda3d3e27cf2ced01581e52ede08ee58d))
|
|
202
|
+
|
|
203
|
+
## [1.3.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.3.1...@bitgo/sdk-coin-tao@1.3.2) (2025-02-20)
|
|
204
|
+
|
|
205
|
+
### Bug Fixes
|
|
206
|
+
|
|
207
|
+
- **sdk-coin-tao:** allow consolidations ([0e374cf](https://github.com/BitGo/BitGoJS/commit/0e374cfabd366438cc2abfe9d0967854bf03cd03))
|
|
208
|
+
|
|
209
|
+
## [1.3.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.3.0...@bitgo/sdk-coin-tao@1.3.1) (2025-02-19)
|
|
210
|
+
|
|
211
|
+
**Note:** Version bump only for package @bitgo/sdk-coin-tao
|
|
212
|
+
|
|
213
|
+
# [1.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.2.0...@bitgo/sdk-coin-tao@1.3.0) (2025-02-11)
|
|
214
|
+
|
|
215
|
+
### Bug Fixes
|
|
216
|
+
|
|
217
|
+
- **abstract-substrate:** fix abstract-substrate implementation ([1c986da](https://github.com/BitGo/BitGoJS/commit/1c986daa817353ca522c0e8e72e67a6dffa00fac))
|
|
218
|
+
- **sdk-coin-tao:** fix coinBuilderMap for tao ([b592e09](https://github.com/BitGo/BitGoJS/commit/b592e098544b447e946c1d4432a442f9bb1ab6d3))
|
|
219
|
+
|
|
220
|
+
### Features
|
|
221
|
+
|
|
222
|
+
- **sdk-coin-tao:** add network to ttao ([79ad572](https://github.com/BitGo/BitGoJS/commit/79ad5722b1b3b4ee08119d3c9a71f881e74095dc))
|
|
223
|
+
|
|
6
224
|
# [1.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/sdk-coin-tao@1.1.0...@bitgo/sdk-coin-tao@1.2.0) (2025-02-05)
|
|
7
225
|
|
|
8
226
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bitgo-beta/sdk-coin-tao",
|
|
3
|
-
"version": "1.0.1-alpha.
|
|
3
|
+
"version": "1.0.1-alpha.151",
|
|
4
4
|
"description": "BitGo SDK coin library for TAO (Bittensor) coin",
|
|
5
5
|
"main": "./dist/src/index.js",
|
|
6
6
|
"types": "./dist/src/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"author": "BitGo SDK Team <sdkteam@bitgo.com>",
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"engines": {
|
|
21
|
-
"node": ">=14 <
|
|
21
|
+
"node": ">=14 <23"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
|
@@ -40,26 +40,17 @@
|
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@bitgo-beta/abstract-substrate": "1.0.0-alpha.
|
|
44
|
-
"@bitgo-beta/sdk-core": "2.4.1-alpha.
|
|
45
|
-
"@bitgo-beta/statics": "10.0.1-alpha.
|
|
46
|
-
"@polkadot/
|
|
47
|
-
"@polkadot/types": "14.1.1",
|
|
48
|
-
"@polkadot/util": "13.3.1",
|
|
49
|
-
"@polkadot/util-crypto": "13.3.1",
|
|
43
|
+
"@bitgo-beta/abstract-substrate": "1.0.0-alpha.154",
|
|
44
|
+
"@bitgo-beta/sdk-core": "2.4.1-alpha.402",
|
|
45
|
+
"@bitgo-beta/statics": "10.0.1-alpha.402",
|
|
46
|
+
"@polkadot/api": "14.1.1",
|
|
50
47
|
"@substrate/txwrapper-core": "7.5.2",
|
|
51
48
|
"@substrate/txwrapper-polkadot": "7.5.2",
|
|
52
|
-
"
|
|
53
|
-
"bignumber.js": "^9.1.2",
|
|
54
|
-
"bs58": "^4.0.1",
|
|
55
|
-
"hi-base32": "^0.5.1",
|
|
56
|
-
"joi": "^17.4.0",
|
|
57
|
-
"lodash": "^4.17.15",
|
|
58
|
-
"tweetnacl": "^1.0.3"
|
|
49
|
+
"bignumber.js": "^9.0.0"
|
|
59
50
|
},
|
|
60
51
|
"devDependencies": {
|
|
61
|
-
"@bitgo-beta/sdk-api": "1.6.1-alpha.
|
|
62
|
-
"@bitgo-beta/sdk-test": "^
|
|
52
|
+
"@bitgo-beta/sdk-api": "1.6.1-alpha.402",
|
|
53
|
+
"@bitgo-beta/sdk-test": "^9.1.0"
|
|
63
54
|
},
|
|
64
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "c7380a4d991afeab7fb19c4e4c654e73d6fb466b"
|
|
65
56
|
}
|
package/.gitignore
DELETED
package/.prettierignore
DELETED
package/dist/src/index.d.ts
DELETED
package/dist/src/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,YAAY,CAAC;AAC3B,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC"}
|
package/dist/src/index.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./lib"), exports);
|
|
18
|
-
__exportStar(require("./register"), exports);
|
|
19
|
-
__exportStar(require("./tao"), exports);
|
|
20
|
-
__exportStar(require("./ttao"), exports);
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLHdDQUFzQjtBQUN0Qiw2Q0FBMkI7QUFDM0Isd0NBQXNCO0FBQ3RCLHlDQUF1QiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbGliJztcbmV4cG9ydCAqIGZyb20gJy4vcmVnaXN0ZXInO1xuZXhwb3J0ICogZnJvbSAnLi90YW8nO1xuZXhwb3J0ICogZnJvbSAnLi90dGFvJztcbiJdfQ==
|
package/dist/src/lib/errors.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { BuildTransactionError } from '@bitgo-beta/sdk-core';
|
|
2
|
-
export declare class AddressValidationError extends BuildTransactionError {
|
|
3
|
-
constructor(malformedAddress: string);
|
|
4
|
-
}
|
|
5
|
-
export declare class InvalidFeeError extends BuildTransactionError {
|
|
6
|
-
constructor(type?: string, expectedType?: string);
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=errors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/lib/errors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE7D,qBAAa,sBAAuB,SAAQ,qBAAqB;gBACnD,gBAAgB,EAAE,MAAM;CAIrC;AAED,qBAAa,eAAgB,SAAQ,qBAAqB;gBAC5C,IAAI,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM;CAIjD"}
|
package/dist/src/lib/errors.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InvalidFeeError = exports.AddressValidationError = void 0;
|
|
4
|
-
const sdk_core_1 = require("@bitgo-beta/sdk-core");
|
|
5
|
-
class AddressValidationError extends sdk_core_1.BuildTransactionError {
|
|
6
|
-
constructor(malformedAddress) {
|
|
7
|
-
super(`The address '${malformedAddress}' is not a well-formed dot address`);
|
|
8
|
-
this.name = AddressValidationError.name;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
exports.AddressValidationError = AddressValidationError;
|
|
12
|
-
class InvalidFeeError extends sdk_core_1.BuildTransactionError {
|
|
13
|
-
constructor(type, expectedType) {
|
|
14
|
-
super(`The specified type: "${type}" is not valid. Please provide the type: "${expectedType}"`);
|
|
15
|
-
this.name = InvalidFeeError.name;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.InvalidFeeError = InvalidFeeError;
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3JzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9lcnJvcnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsbURBQTZEO0FBRTdELE1BQWEsc0JBQXVCLFNBQVEsZ0NBQXFCO0lBQy9ELFlBQVksZ0JBQXdCO1FBQ2xDLEtBQUssQ0FBQyxnQkFBZ0IsZ0JBQWdCLG9DQUFvQyxDQUFDLENBQUM7UUFDNUUsSUFBSSxDQUFDLElBQUksR0FBRyxzQkFBc0IsQ0FBQyxJQUFJLENBQUM7SUFDMUMsQ0FBQztDQUNGO0FBTEQsd0RBS0M7QUFFRCxNQUFhLGVBQWdCLFNBQVEsZ0NBQXFCO0lBQ3hELFlBQVksSUFBYSxFQUFFLFlBQXFCO1FBQzlDLEtBQUssQ0FBQyx3QkFBd0IsSUFBSSw2Q0FBNkMsWUFBWSxHQUFHLENBQUMsQ0FBQztRQUNoRyxJQUFJLENBQUMsSUFBSSxHQUFHLGVBQWUsQ0FBQyxJQUFJLENBQUM7SUFDbkMsQ0FBQztDQUNGO0FBTEQsMENBS0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBCdWlsZFRyYW5zYWN0aW9uRXJyb3IgfSBmcm9tICdAYml0Z28tYmV0YS9zZGstY29yZSc7XG5cbmV4cG9ydCBjbGFzcyBBZGRyZXNzVmFsaWRhdGlvbkVycm9yIGV4dGVuZHMgQnVpbGRUcmFuc2FjdGlvbkVycm9yIHtcbiAgY29uc3RydWN0b3IobWFsZm9ybWVkQWRkcmVzczogc3RyaW5nKSB7XG4gICAgc3VwZXIoYFRoZSBhZGRyZXNzICcke21hbGZvcm1lZEFkZHJlc3N9JyBpcyBub3QgYSB3ZWxsLWZvcm1lZCBkb3QgYWRkcmVzc2ApO1xuICAgIHRoaXMubmFtZSA9IEFkZHJlc3NWYWxpZGF0aW9uRXJyb3IubmFtZTtcbiAgfVxufVxuXG5leHBvcnQgY2xhc3MgSW52YWxpZEZlZUVycm9yIGV4dGVuZHMgQnVpbGRUcmFuc2FjdGlvbkVycm9yIHtcbiAgY29uc3RydWN0b3IodHlwZT86IHN0cmluZywgZXhwZWN0ZWRUeXBlPzogc3RyaW5nKSB7XG4gICAgc3VwZXIoYFRoZSBzcGVjaWZpZWQgdHlwZTogXCIke3R5cGV9XCIgaXMgbm90IHZhbGlkLiBQbGVhc2UgcHJvdmlkZSB0aGUgdHlwZTogXCIke2V4cGVjdGVkVHlwZX1cImApO1xuICAgIHRoaXMubmFtZSA9IEludmFsaWRGZWVFcnJvci5uYW1lO1xuICB9XG59XG4iXX0=
|