@bitgo-beta/statics 10.0.1-alpha.310 → 10.0.1-alpha.311

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/CHANGELOG.md CHANGED
@@ -3,6 +3,59 @@
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
+ # [52.1.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@52.0.0...@bitgo/statics@52.1.0) (2025-04-29)
7
+
8
+ ### Bug Fixes
9
+
10
+ - add alias for algo testnet tokens ([3c9b55a](https://github.com/BitGo/BitGoJS/commit/3c9b55ab58fa4d7c6e89091d52a522758d0edd9e))
11
+ - decimal of arbeth:tbill ([342cb14](https://github.com/BitGo/BitGoJS/commit/342cb14ec7fde8411533eecc93070f77aa579997))
12
+ - **statics:** add ICP feature to use sha256 ([3fc8984](https://github.com/BitGo/BitGoJS/commit/3fc89848ca680e7a90ac592241567527a509f67d))
13
+
14
+ ### Features
15
+
16
+ - **sdk-coin-soneium:** add transaction builder ([921cdbd](https://github.com/BitGo/BitGoJS/commit/921cdbd641574faf06880bfbb0a37db03fac55b6))
17
+ - **statics:** add method to create coin map from trimmed ams response ([7475788](https://github.com/BitGo/BitGoJS/commit/747578877b08daa2b094804d003c1306e17a35f7))
18
+ - **statics:** adding SHARED_EVM_SIGNING feature to tflr & tsgb ([cbab9fb](https://github.com/BitGo/BitGoJS/commit/cbab9fb64d243e90a5275a7f7438b15a799ba4d0))
19
+ - **statics:** onboard new tokens WIN-5323 ([3a27cc4](https://github.com/BitGo/BitGoJS/commit/3a27cc42e7a2ceddda5ba73d2dbae6244e191455))
20
+
21
+ # [52.0.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@51.8.0...@bitgo/statics@52.0.0) (2025-04-25)
22
+
23
+ ### Bug Fixes
24
+
25
+ - fix currency code for txrp:xsgd ([14d0934](https://github.com/BitGo/BitGoJS/commit/14d09346af120505ed27777837a0a35c495e07c2))
26
+ - fix the currency code for the xrp tokens if more than 3 characters ([d522b6a](https://github.com/BitGo/BitGoJS/commit/d522b6ae36cd4718b4fbeef79d94e40857403a03))
27
+ - fix the xrp:xsgd currency for txn hash ([fb7da56](https://github.com/BitGo/BitGoJS/commit/fb7da569cef31edd686209d48eec1ef892886f56))
28
+ - update stx:susdh decimal value ([8878814](https://github.com/BitGo/BitGoJS/commit/8878814a38c4371938fe332d9249d0609ece3bdf))
29
+
30
+ ### Code Refactoring
31
+
32
+ - remove unused bls and eth2 codebase ([4ffd5bd](https://github.com/BitGo/BitGoJS/commit/4ffd5bd13bc2e8d43b57bef4aae0b5880bbf9e2b))
33
+
34
+ ### Features
35
+
36
+ - added new constants to map network family to features for token ([f742fce](https://github.com/BitGo/BitGoJS/commit/f742fcec2ed1196d21cdfc57eb918a15e7ae46a0))
37
+ - fiat sgd and aed ofc config ([bb0352d](https://github.com/BitGo/BitGoJS/commit/bb0352d8288e3dedeb8d3239d3073ec9c55695d2))
38
+ - **sdk-coin-mon:** add transaction builder ([cff759f](https://github.com/BitGo/BitGoJS/commit/cff759f5c91711ec81af7effc7fe3d32320930fb))
39
+ - **sdk-coin-stt:** add transaction builder ([1e77306](https://github.com/BitGo/BitGoJS/commit/1e7730665a74235085d4dfe0c48ddecceb400624))
40
+ - **sdk-coin-world:** add transaction builder ([30e888e](https://github.com/BitGo/BitGoJS/commit/30e888ed7bb4a9325f873ad3ce30bbdd39a77893))
41
+ - **statics:** add coin feature for erc20 batching ([c756ecd](https://github.com/BitGo/BitGoJS/commit/c756ecda6ee8504d76eabf94858a1294cf98634a))
42
+ - **statics:** add coin feature TSS_SUPPORT_GATED and gate arb and op ([bb217aa](https://github.com/BitGo/BitGoJS/commit/bb217aa49b169187189f5cb8119feab204fcd931))
43
+ - **statics:** add go account support for baby ([da3fdb1](https://github.com/BitGo/BitGoJS/commit/da3fdb13233781802b97dc2758a040793076329d))
44
+ - **statics:** add tokens hteth:usd1 and tbsc:usd1 ([2411bb0](https://github.com/BitGo/BitGoJS/commit/2411bb0b7a81a22aea5c3a1a777e16381ae4b021))
45
+ - **statics:** added monad config ([5b44c19](https://github.com/BitGo/BitGoJS/commit/5b44c191bf457348a0c180001327fdb968991127))
46
+ - **statics:** added somnia config ([2f8bed7](https://github.com/BitGo/BitGoJS/commit/2f8bed7994a39a9121dd2bf75e51cbf47c0d74c4))
47
+ - **statics:** added soneium config ([4737b45](https://github.com/BitGo/BitGoJS/commit/4737b4529e48a8af6dcf43d7d1194b5541097210))
48
+ - **statics:** added world config ([5baccb8](https://github.com/BitGo/BitGoJS/commit/5baccb81d45579528e617ca1f51b731c9391b83a))
49
+ - **statics:** introduce SHARED_EVM_SIGNING coin feature ([93d28af](https://github.com/BitGo/BitGoJS/commit/93d28af23832e2a1a10b5bdfb281b7bdd6a8b32a))
50
+ - **statics:** map NFT collection ID to BaseCoin ([827a1ac](https://github.com/BitGo/BitGoJS/commit/827a1ac69f64839dfccd6be11c526dc1f1ae85d3))
51
+ - **statics:** update ICP explorer URLs for mainnet and testnet ([980ffd5](https://github.com/BitGo/BitGoJS/commit/980ffd5191a699e6f2bfd49f8f5985cbcceaa10a))
52
+
53
+ ### BREAKING CHANGES
54
+
55
+ - remove bls and eth2 sdk
56
+
57
+ TICKET: WP-3961
58
+
6
59
  # [51.8.0](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@51.7.0...@bitgo/statics@51.8.0) (2025-04-15)
7
60
 
8
61
  ### Bug Fixes
@@ -1,5 +1,13 @@
1
- import { AmsTokenConfig } from './tokenConfig';
1
+ import { BaseCoin } from './base';
2
+ import { AmsTokenConfig, TrimmedAmsTokenConfig } from './tokenConfig';
2
3
  import { CoinMap } from './map';
3
4
  export declare const coins: CoinMap;
5
+ export declare function createToken(token: AmsTokenConfig): Readonly<BaseCoin> | undefined;
6
+ export declare function isCoinPresentInCoinMap({ name, id, alias }: {
7
+ name: string;
8
+ id?: string;
9
+ alias?: string;
10
+ }): boolean;
4
11
  export declare function createTokenMapUsingConfigDetails(tokenConfigMap: Record<string, AmsTokenConfig[]>): CoinMap;
12
+ export declare function createTokenMapUsingTrimmedConfigDetails(reducedTokenConfigMap: Record<string, TrimmedAmsTokenConfig[]>): CoinMap;
5
13
  //# sourceMappingURL=coins.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"coins.d.ts","sourceRoot":"","sources":["../../src/coins.ts"],"names":[],"mappings":"AAiDA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAM/C,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AA6DhC,eAAO,MAAM,KAAK,SA69FhB,CAAC;AA0IH,wBAAgB,gCAAgC,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,EAAE,CAAC,GAAG,OAAO,CA+D1G"}
1
+ {"version":3,"file":"coins.d.ts","sourceRoot":"","sources":["../../src/coins.ts"],"names":[],"mappings":"AAgDA,OAAO,EAAE,QAAQ,EAAoD,MAAM,QAAQ,CAAC;AACpF,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;AAMtE,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AA8DhC,eAAO,MAAM,KAAK,SA69FhB,CAAC;AAEH,wBAAgB,WAAW,CAAC,KAAK,EAAE,cAAc,GAAG,QAAQ,CAAC,QAAQ,CAAC,GAAG,SAAS,CAyIjF;AAiBD,wBAAgB,sBAAsB,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CAElH;AAED,wBAAgB,gCAAgC,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,EAAE,CAAC,GAAG,OAAO,CA6C1G;AAED,wBAAgB,uCAAuC,CACrD,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,EAAE,CAAC,GAC7D,OAAO,CA2BT"}