Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bitgo/statics

Package Overview
Dependencies
Maintainers
7
Versions
401
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitgo/statics - npm Package Compare versions

Comparing version 8.0.0-rc.22 to 8.0.0-rc.23

22

CHANGELOG.md

@@ -6,2 +6,24 @@ # Change Log

# [8.0.0-rc.23](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@8.0.0-rc.22...@bitgo/statics@8.0.0-rc.23) (2022-09-29)
### Bug Fixes
* fix test issues for BG-57708 ([65f672d](https://github.com/BitGo/BitGoJS/commit/65f672d6647dc2de94bb893d6b548deaf22af70c))
* move constants to statics for BG-57708 ([73f986a](https://github.com/BitGo/BitGoJS/commit/73f986aaca53a41b056739d5933b6b3259d2493c))
### Features
* **statics:** add polygon tokens to statics ([82cf43f](https://github.com/BitGo/BitGoJS/commit/82cf43fbe65008a9eb53824c5102399fc46f781b))
### Reverts
* Revert "feat(statics): add acala to statics" ([5f54097](https://github.com/BitGo/BitGoJS/commit/5f54097ffab8dd614b5ffb76c2287f2d41681e8a))
# [8.0.0-rc.22](https://github.com/BitGo/BitGoJS/compare/@bitgo/statics@8.0.0-rc.21...@bitgo/statics@8.0.0-rc.22) (2022-09-27)

@@ -8,0 +30,0 @@

17

dist/src/base.d.ts

@@ -15,3 +15,2 @@ import { BaseNetwork } from './networks';

export declare enum CoinFamily {
ACA = "aca",
ADA = "ada",

@@ -86,3 +85,2 @@ ALGO = "algo",

export declare enum UnderlyingAsset {
ACA = "aca",
ADA = "ada",

@@ -785,2 +783,17 @@ ALGO = "algo",

'avaxc:link' = "avaxc:link",
'polygon:usdc' = "polygon:usdc",
'polygon:usdt' = "polygon:usdt",
'polygon:weth' = "polygon:weth",
'polygon:wbtc' = "polygon:wbtc",
'polygon:sand' = "polygon:sand",
'polygon:dai' = "polygon:dai",
'polygon:woo' = "polygon:woo",
'polygon:aave' = "polygon:aave",
'polygon:link' = "polygon:link",
'polygon:tusd' = "polygon:tusd",
'polygon:cel' = "polygon:cel",
'polygon:busd' = "polygon:busd",
'polygon:frax' = "polygon:frax",
'polygon:crv' = "polygon:crv",
'polygon:uni' = "polygon:uni",
'bsc:busd' = "bsc:busd",

@@ -787,0 +800,0 @@ 'tbsc:busd' = "tbsc:busd",

38

dist/src/networks.d.ts

@@ -51,4 +51,4 @@ import { CoinFamily } from './base';

export declare type PolkadotSpecNameType = 'kusama' | 'polkadot' | 'westend' | 'statemint' | 'statemine';
export declare type AcalaSpecNameType = 'acala' | 'mandala';
export interface DotBaseNetwork extends AccountNetwork {
export interface DotNetwork extends AccountNetwork {
readonly specName: PolkadotSpecNameType;
readonly genesisHash: string;

@@ -60,8 +60,2 @@ readonly specVersion: number;

}
export interface DotNetwork extends DotBaseNetwork {
readonly specName: PolkadotSpecNameType;
}
export interface AcalaNetwork extends DotBaseNetwork {
readonly specName: AcalaSpecNameType;
}
export interface EthereumNetwork extends AccountNetwork {

@@ -305,24 +299,2 @@ readonly chainId: number;

}
declare class Acala extends Mainnet implements AcalaNetwork {
name: string;
family: CoinFamily;
explorerUrl: string;
specName: AcalaSpecNameType;
genesisHash: string;
specVersion: number;
chainName: string;
metadataRpc: `0x${string}`;
txVersion: number;
}
declare class AcalaTestnet extends Testnet implements AcalaNetwork {
name: string;
family: CoinFamily;
explorerUrl: string;
specName: AcalaSpecNameType;
genesisHash: string;
specVersion: number;
chainName: string;
metadataRpc: `0x${string}`;
txVersion: number;
}
declare class Celo extends Mainnet implements EthereumNetwork {

@@ -592,2 +564,4 @@ name: string;

explorerUrl: string;
feeReserve: string;
storageReserve: string;
}

@@ -598,2 +572,4 @@ declare class NearTestnet extends Testnet implements AccountNetwork {

explorerUrl: string;
feeReserve: string;
storageReserve: string;
}

@@ -620,3 +596,2 @@ declare class Polygon extends Mainnet implements EthereumNetwork {

main: {
aca: Readonly<Acala>;
ada: Readonly<Ada>;

@@ -660,3 +635,2 @@ algorand: Readonly<Algorand>;

test: {
aca: Readonly<AcalaTestnet>;
ada: Readonly<AdaTestnet>;

@@ -663,0 +637,0 @@ algorand: Readonly<AlgorandTestnet>;

{
"name": "@bitgo/statics",
"version": "8.0.0-rc.22",
"version": "8.0.0-rc.23",
"description": "dependency-free static configuration for the bitgo platform",

@@ -40,3 +40,3 @@ "main": "./dist/src/index.js",

},
"gitHead": "5f2459ff452cd2c74a975db44258e57ecd512ca5"
"gitHead": "dfe1e81a3c9cf57e433916f36202c546ed3cacf8"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc