@bitgo-beta/statics 10.0.1-alpha.6 → 10.0.1-alpha.60

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 (54) hide show
  1. package/CHANGELOG.md +217 -0
  2. package/dist/src/account.d.ts +111 -63
  3. package/dist/src/account.d.ts.map +1 -1
  4. package/dist/src/account.js +167 -99
  5. package/dist/src/ada.d.ts +3 -1
  6. package/dist/src/ada.d.ts.map +1 -1
  7. package/dist/src/ada.js +6 -2
  8. package/dist/src/avaxp.d.ts +3 -1
  9. package/dist/src/avaxp.d.ts.map +1 -1
  10. package/dist/src/avaxp.js +11 -3
  11. package/dist/src/base.d.ts +104 -4
  12. package/dist/src/base.d.ts.map +1 -1
  13. package/dist/src/base.js +132 -3
  14. package/dist/src/coins.d.ts +1 -0
  15. package/dist/src/coins.d.ts.map +1 -1
  16. package/dist/src/coins.js +1495 -1231
  17. package/dist/src/constants.d.ts +2 -0
  18. package/dist/src/constants.d.ts.map +1 -0
  19. package/dist/src/constants.js +5 -0
  20. package/dist/src/errors.d.ts +6 -0
  21. package/dist/src/errors.d.ts.map +1 -1
  22. package/dist/src/errors.js +16 -2
  23. package/dist/src/index.d.ts +1 -1
  24. package/dist/src/index.d.ts.map +1 -1
  25. package/dist/src/index.js +3 -2
  26. package/dist/src/map.d.ts +1 -0
  27. package/dist/src/map.d.ts.map +1 -1
  28. package/dist/src/map.js +8 -3
  29. package/dist/src/networks.d.ts +98 -5
  30. package/dist/src/networks.d.ts.map +1 -1
  31. package/dist/src/networks.js +171 -29
  32. package/dist/src/ofc.d.ts +111 -4
  33. package/dist/src/ofc.d.ts.map +1 -1
  34. package/dist/src/ofc.js +225 -6
  35. package/dist/src/tokenConfig.d.ts +11 -0
  36. package/dist/src/tokenConfig.d.ts.map +1 -1
  37. package/dist/src/tokenConfig.js +23 -2
  38. package/dist/src/utxo.d.ts +3 -1
  39. package/dist/src/utxo.d.ts.map +1 -1
  40. package/dist/src/utxo.js +6 -2
  41. package/dist/tsconfig.tsbuildinfo +1 -2717
  42. package/package.json +2 -2
  43. package/dist/resources/dot/index.d.ts +0 -3
  44. package/dist/resources/dot/index.d.ts.map +0 -1
  45. package/dist/resources/dot/index.js +0 -15
  46. package/dist/resources/dot/mainnet.d.ts +0 -2
  47. package/dist/resources/dot/mainnet.d.ts.map +0 -1
  48. package/dist/resources/dot/mainnet.js +0 -5
  49. package/dist/resources/dot/westend.d.ts +0 -2
  50. package/dist/resources/dot/westend.d.ts.map +0 -1
  51. package/dist/resources/dot/westend.js +0 -5
  52. package/resources/dot/index.ts +0 -2
  53. package/resources/dot/mainnet.ts +0 -2
  54. package/resources/dot/westend.ts +0 -2
package/CHANGELOG.md CHANGED
@@ -3,6 +3,223 @@
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
+ ## [17.0.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@17.0.0...@bitgo/statics@17.0.1) (2023-06-21)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **statics:** update BTC/TBTC block explorer ([17eeb8e](https://github.com/BitGo/BitGoJS/commit/17eeb8e2ec65b952b2bfb9611a1a86e66f57c71b))
11
+ - **statics:** updated ADA block explorer url ([9e203db](https://github.com/BitGo/BitGoJS/commit/9e203db9e744fc06b1b5011d9a8fd6f3f1953a17))
12
+
13
+ # [17.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@16.2.0...@bitgo/statics@17.0.0) (2023-06-13)
14
+
15
+ ### chore
16
+
17
+ - **statics:** refactor metadatarpc out ([f64607d](https://github.com/BitGo/BitGoJS/commit/f64607d35084fd783a82d9254447a9ea84bc2c6e))
18
+
19
+ ### Features
20
+
21
+ - **bitgo:** add Frankfurt CoinFeature ([4a116ad](https://github.com/BitGo/BitGoJS/commit/4a116ad583126135b3d3f8fe1f8834ecd7ccabb6))
22
+ - **bitgo:** coins Frankfurt Coinfeature ([7c3ccf9](https://github.com/BitGo/BitGoJS/commit/7c3ccf98e3fe0dff37e174e3ded36e2c78c26b4b))
23
+ - **sdk-coin-tia:** celestia sdk along with testcases ([1d104e0](https://github.com/BitGo/BitGoJS/commit/1d104e0d0ac0c813d16cd6da759b1a904bab4641))
24
+
25
+ ### BREAKING CHANGES
26
+
27
+ - **statics:** metadatarpc no longer defined in statics
28
+
29
+ # [16.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@16.1.0...@bitgo/statics@16.2.0) (2023-06-07)
30
+
31
+ ### Features
32
+
33
+ - **statics:** add Injective config ([750e817](https://github.com/BitGo/BitGoJS/commit/750e8178f50c6814e7dc92148b70beb287719b8a))
34
+ - **statics:** fix name ([090beb5](https://github.com/BitGo/BitGoJS/commit/090beb519e56505e3e8c900b91a43b4ba5d04f06))
35
+
36
+ # [16.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@16.0.0...@bitgo/statics@16.1.0) (2023-06-05)
37
+
38
+ ### Bug Fixes
39
+
40
+ - **statics:** fix osmo url ([98cdffd](https://github.com/BitGo/BitGoJS/commit/98cdffde73faf34391076ad73c708d5b16506053))
41
+
42
+ ### Features
43
+
44
+ - **sdk-coin-osmo:** osmosis sdk init ([cc20a59](https://github.com/BitGo/BitGoJS/commit/cc20a5908528d2ad6bcc4a588acd7b1c8b0af379))
45
+ - **static:** add celestia config ([80bbe9b](https://github.com/BitGo/BitGoJS/commit/80bbe9b37cbf79adfb391cd048462363d08b2476))
46
+ - **statics:** add agoric config ([ae8312b](https://github.com/BitGo/BitGoJS/commit/ae8312b955045bf6b53c07026616a58aa8a63120))
47
+ - **statics:** add Provenance config ([481f840](https://github.com/BitGo/BitGoJS/commit/481f840937a3e82c95e48f7d796c18e5998f946f))
48
+ - **statics:** add sei config ([660ace0](https://github.com/BitGo/BitGoJS/commit/660ace00b24a6e96d274c6a437c7a1a4345cc53c))
49
+ - **statics:** set bsv coin feature as deprecated ([a520367](https://github.com/BitGo/BitGoJS/commit/a5203671638e8f8a0dc8c9243cf495a3a42eb095))
50
+
51
+ # [16.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@15.1.2...@bitgo/statics@16.0.0) (2023-05-25)
52
+
53
+ ### chore
54
+
55
+ - onboard new batch of tokens ([8c3a467](https://github.com/BitGo/BitGoJS/commit/8c3a467cfa61bce8a560ee3afba04a6d86b27f0f))
56
+
57
+ ### BREAKING CHANGES
58
+
59
+ - Update correct token address for TBTCv2
60
+
61
+ ## [15.1.2](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@15.1.1...@bitgo/statics@15.1.2) (2023-05-10)
62
+
63
+ **Note:** Version bump only for package @bitgo/statics
64
+
65
+ ## [15.1.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@15.1.0...@bitgo/statics@15.1.1) (2023-05-03)
66
+
67
+ ### Bug Fixes
68
+
69
+ - **statics:** update sui mainnet explorer url ([fcdffe4](https://github.com/BitGo/BitGoJS/commit/fcdffe4edcf912527bfcf8ea266724f45b898992))
70
+
71
+ # [15.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@15.0.0...@bitgo/statics@15.1.0) (2023-04-20)
72
+
73
+ ### Features
74
+
75
+ - **sdk-coin-sui:** add sui staking coin feature ([9d711c4](https://github.com/BitGo/BitGoJS/commit/9d711c4879f079b869ea3695a0f0755b83c93674))
76
+
77
+ # [15.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@14.4.0...@bitgo/statics@15.0.0) (2023-04-13)
78
+
79
+ ### Bug Fixes
80
+
81
+ - **bitgo:** add argument to create address on ofc wallets ([b1a212d](https://github.com/BitGo/BitGoJS/commit/b1a212d05962719822c8420acf4f01dc6e012d16))
82
+ - **statics:** add tsol valid usdc for devnet token data ([462ada8](https://github.com/BitGo/BitGoJS/commit/462ada828755576dc2dfd02cba8d6d1930fc3654))
83
+ - **statics:** update explorer urls for bsc ([a40c4d7](https://github.com/BitGo/BitGoJS/commit/a40c4d77c90993870ac2913f8f71bb94ba1f7c0e))
84
+ - **statics:** update tbsc:busd contract ([24eeba5](https://github.com/BitGo/BitGoJS/commit/24eeba5600afc1fddd4d666b789f52ccadf65f7a))
85
+ - update cspr testnet explorer to reference integration cluster ([5d92804](https://github.com/BitGo/BitGoJS/commit/5d928045cedcda4c48dd9c2370b322c0cf44b147))
86
+
87
+ ### Features
88
+
89
+ - onboard new sol tokens ([9079fb8](https://github.com/BitGo/BitGoJS/commit/9079fb8e2123574eed9b038b62a61f629063f3cd))
90
+ - **sdk-coin-polygon:** support evm based cross chain recovery ([a88681f](https://github.com/BitGo/BitGoJS/commit/a88681f8428bcb6617ee2c7cfe5e8294b603af9f))
91
+ - **statics:** add custodial coin feature to poly ([3287d9d](https://github.com/BitGo/BitGoJS/commit/3287d9d5b9a18bc457336295a0607626bd03a285))
92
+ - **statics:** add custody coin features ([fcb28a5](https://github.com/BitGo/BitGoJS/commit/fcb28a5156fb4183c824239136953c7bcc495199))
93
+ - **statics:** add expiring tx CoinFeature ([d264c4a](https://github.com/BitGo/BitGoJS/commit/d264c4ac9dea02a0de77e05f6517ada6bfcc3a4a))
94
+ - **statics:** add token support for trx ([b473732](https://github.com/BitGo/BitGoJS/commit/b473732cc3bba357c9a7b95160f94ed6d84c6bdf))
95
+ - **statics:** add xrp token config and test token ([76da61b](https://github.com/BitGo/BitGoJS/commit/76da61b54b62825116b102a3fd50377356a9f0be))
96
+ - **statics:** set addressCoin to gteth for new tofcerc20 tokens ([5ecc4f4](https://github.com/BitGo/BitGoJS/commit/5ecc4f4e0192a627504955986484de8b0aafe17e))
97
+
98
+ ### BREAKING CHANGES
99
+
100
+ - **statics:** overrode address coin from deprecated teth to gteth for tofcerc20s
101
+ Ticket: BG-69417
102
+ - **statics:** updated contract address for tbsc:busd
103
+ TICKET: BG-69321
104
+
105
+ # [14.4.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@14.3.0...@bitgo/statics@14.4.0) (2023-02-17)
106
+
107
+ ### Features
108
+
109
+ - **statics:** add ofc erc20 tokens ([d05e69f](https://github.com/BitGo/BitGoJS/commit/d05e69fb6d47dc629286b2815ecd9435e3854db0))
110
+ - **statics:** enable getting asset by id ([b96fbaf](https://github.com/BitGo/BitGoJS/commit/b96fbaf36f676400ed2ec2fa66d2a3931aabdf42))
111
+
112
+ # [14.3.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@14.0.0...@bitgo/statics@14.3.0) (2023-02-16)
113
+
114
+ ### Features
115
+
116
+ - **statics:** add a unique id to every asset ([f96e4d3](https://github.com/BitGo/BitGoJS/commit/f96e4d3bb5515ca52a78387c5c75811abd39c802))
117
+ - **statics:** add custody coin features for avaxc ([d67a9d9](https://github.com/BitGo/BitGoJS/commit/d67a9d932f30d48853ad7e4c20388b60ae269529))
118
+ - **statics:** add ofc algorand usdc token ([9450360](https://github.com/BitGo/BitGoJS/commit/9450360e828253ee633acaae8cc0ec57d386a7dc))
119
+ - **statics:** add ofc hedera usdc token ([67f1c5d](https://github.com/BitGo/BitGoJS/commit/67f1c5da5b92f228e02451071bacdcbe482c06fd))
120
+
121
+ # [14.2.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@14.0.0...@bitgo/statics@14.2.0) (2023-02-08)
122
+
123
+ ### Features
124
+
125
+ - **statics:** add custody coin features for avaxc ([d67a9d9](https://github.com/BitGo/BitGoJS/commit/d67a9d932f30d48853ad7e4c20388b60ae269529))
126
+ - **statics:** add ofc algorand usdc token ([9450360](https://github.com/BitGo/BitGoJS/commit/9450360e828253ee633acaae8cc0ec57d386a7dc))
127
+
128
+ # [14.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@14.0.0...@bitgo/statics@14.1.0) (2023-01-30)
129
+
130
+ ### Features
131
+
132
+ - **statics:** add ofc algorand usdc token ([9450360](https://github.com/BitGo/BitGoJS/commit/9450360e828253ee633acaae8cc0ec57d386a7dc))
133
+
134
+ # [14.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@13.1.0...@bitgo/statics@14.0.0) (2023-01-25)
135
+
136
+ ### Bug Fixes
137
+
138
+ - **statics:** fix mismatched erc20 token config ([8875873](https://github.com/BitGo/BitGoJS/commit/8875873aaf5a7dbc8b2117c5ea29ac0141c9310b))
139
+
140
+ - Revert "fix(statics)!: Fix mismatched erc20 token config" ([b84b273](https://github.com/BitGo/BitGoJS/commit/b84b273a1d9cdd5140c05299bb2416d46806454c))
141
+
142
+ ### Features
143
+
144
+ - **statics:** add ATOM coin config ([c3a5282](https://github.com/BitGo/BitGoJS/commit/c3a52823f7a2750ebf3e5c2e0f35925d09704087))
145
+ - **statics:** add EVM_WALLET coin feature ([c31332c](https://github.com/BitGo/BitGoJS/commit/c31332c5ee085fafca47dcd47b0c10c108cb9686))
146
+ - **statics:** add new batch of tokens ([19b584d](https://github.com/BitGo/BitGoJS/commit/19b584ddf90d38aad5ff30e867f1c83ea462d930))
147
+ - **statics:** add new coin features for custody ([59a7fde](https://github.com/BitGo/BitGoJS/commit/59a7fde734af0fdb863f6b730cd0702e7c863615))
148
+ - **statics:** add ofc stellar usdc token ([2c2735d](https://github.com/BitGo/BitGoJS/commit/2c2735d602c09cbbbeda78ef27a050ca08d3dc42))
149
+
150
+ ### BREAKING CHANGES
151
+
152
+ - changes existing config for TUSD and REEF
153
+ - **statics:** changes existing config for TUSD and REEF
154
+
155
+ # [13.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@13.0.0...@bitgo/statics@13.1.0) (2022-12-23)
156
+
157
+ ### Features
158
+
159
+ - **sdk-coin-trx:** export TronErc20Coin class ([0528cb0](https://github.com/BitGo/BitGoJS/commit/0528cb0939047b5fd38a8a3baa494bafba76d0ed))
160
+
161
+ # [13.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@12.1.1...@bitgo/statics@13.0.0) (2022-12-20)
162
+
163
+ ### Bug Fixes
164
+
165
+ - **sdk-coin-trx:** fix tron tokens in statics ([79459c9](https://github.com/BitGo/BitGoJS/commit/79459c982e07d7ec6b9e720b0ad325a00ed59e8f))
166
+ - **statics:** add missing backing erc20 for fil ([8bea5bf](https://github.com/BitGo/BitGoJS/commit/8bea5bf02b51856e6c65ce55cca657c7246f1562))
167
+
168
+ ### BREAKING CHANGES
169
+
170
+ - **sdk-coin-trx:** TrxCoin & factory methods removed from statics due to existing class TronErc20Coin
171
+
172
+ ## [12.1.1](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@12.1.0...@bitgo/statics@12.1.1) (2022-12-09)
173
+
174
+ **Note:** Version bump only for package @bitgo/statics
175
+
176
+ # [12.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@12.0.0...@bitgo/statics@12.1.0) (2022-12-01)
177
+
178
+ ### Features
179
+
180
+ - **statics:** add TSS feature flag to ETH ([9226ca9](https://github.com/BitGo/BitGoJS/commit/9226ca9ebf23b2171bffaf05b5090d8189110d56))
181
+
182
+ # [12.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@8.2.0...@bitgo/statics@12.0.0) (2022-11-29)
183
+
184
+ ### Bug Fixes
185
+
186
+ - fix typo in Everscale, add Everscale as Offchain / Prime token ([21bf769](https://github.com/BitGo/BitGoJS/commit/21bf769fa6e2165797d3d9562955b7bd371ad0e6))
187
+ - **statics:** change cardano testnet url to preprod testnet ([6bc09c4](https://github.com/BitGo/BitGoJS/commit/6bc09c4c2306d792e1ed522c3e828a34597c842d))
188
+ - update explorer url for test mysten ([3d21e88](https://github.com/BitGo/BitGoJS/commit/3d21e885e5883e3cf8259a1142ef4a31de1408a9))
189
+ - update XLM USD token name ([62c8d37](https://github.com/BitGo/BitGoJS/commit/62c8d37bb52620f11d3ff5a7cc73f7a9cca07ffe))
190
+
191
+ ### Features
192
+
193
+ - add new erc20s and sol tokens ([354a429](https://github.com/BitGo/BitGoJS/commit/354a4296c682f6d3a787309ddb7d196b1cbf9e11))
194
+ - add tokens to trading ([8105e05](https://github.com/BitGo/BitGoJS/commit/8105e052bbdf914bcd749c87bd78e5db4e1bf4ce))
195
+ - onboard new sol tokens ([0ada8c4](https://github.com/BitGo/BitGoJS/commit/0ada8c4caa1e97b6f46557af3676c32ea531b55d))
196
+ - **sdk-coin-dot:** add support for staking transactions ([b67eaa0](https://github.com/BitGo/BitGoJS/commit/b67eaa06723b1a235cb2c6f948ece34cc42a9256))
197
+ - **sdk-coin-trx:** add tron token skeleton ([03198b0](https://github.com/BitGo/BitGoJS/commit/03198b0e23e6c87ce2d34d08973abca301f88252))
198
+ - **statics:** add base unit for coins ([b2950e9](https://github.com/BitGo/BitGoJS/commit/b2950e9f5fd71d1f8e29189fd1fa5193c4afc76f))
199
+ - **statics:** add erc20 tokens to ofc support ([7ac56af](https://github.com/BitGo/BitGoJS/commit/7ac56af6b842e81d3c0bc0ee80889efcd4dc8385))
200
+ - **statics:** add ofc coins for dogecoin ([8052caf](https://github.com/BitGo/BitGoJS/commit/8052caf2ab7aeff9610d59473efe1859678870ca))
201
+ - **statics:** add polygon tokens ([ea32562](https://github.com/BitGo/BitGoJS/commit/ea32562ed4ae553418a8e75eb2e63a47415e047e))
202
+ - **statics:** add SOLEND (SLND) Solana token to statics ([e39edb4](https://github.com/BitGo/BitGoJS/commit/e39edb4fcb6694bf9b75710d4434e7a0d35f0d62))
203
+ - **statics:** add twdoge ([bc7a68a](https://github.com/BitGo/BitGoJS/commit/bc7a68aac9eb1a41b59c0eccff0412bbd9d3cfa0))
204
+ - **statics:** add wdoge ([842a8da](https://github.com/BitGo/BitGoJS/commit/842a8da1bac398606a3b4ee00861885e3a8748d3))
205
+ - **statics:** onboard select erc20 and sol tokens ([640e273](https://github.com/BitGo/BitGoJS/commit/640e273e9c264ea9b515cb6e6123c9ae103e18dd))
206
+ - **statics:** use eCash instead of BitcoinABC in networks ([cf9cdbb](https://github.com/BitGo/BitGoJS/commit/cf9cdbbe76da587ba7c3c8d7d85faa640fac1000))
207
+
208
+ ### BREAKING CHANGES
209
+
210
+ - updated name of XLM USD token
211
+ - **sdk-coin-dot:** Uddate the 'westendMetadataRpc' constant to
212
+ spec version 9320. Update PolkadotTestnet.specVersion to
213
+ 9320 and PolkadotTestnet.txVersion to 14.
214
+ Ticket: BOS-469
215
+ - **statics:** new fields are all required, so needs to be filled in
216
+ Ticket: BG-53493
217
+ - **statics:** Removing Bitcoin ABC terminology because it has
218
+ been rebranded to eCash. Updating its network here so that it's
219
+ consistent with the terms used in other modules.
220
+ - Adds Everscale as Offchain / Prime token
221
+ BG-59397
222
+
6
223
  # [11.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@8.2.0...@bitgo/statics@11.0.0) (2022-11-04)
7
224
 
8
225
  ### Bug Fixes