@bitgo-beta/statics 10.0.1-alpha.5 → 10.0.1-alpha.51

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