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