bitgo 53.0.1 → 53.2.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.
@@ -1,7 +1,7 @@
1
1
  import { CoinFactory, CoinConstructor } from '@bitgo/sdk-core';
2
- import { CoinMap, TokenConfig } from '@bitgo/statics';
2
+ import { CoinMap, TokenConfig, BaseCoin as StaticsBaseCoin } from '@bitgo/statics';
3
3
  export declare function registerCoinConstructors(coinFactory: CoinFactory, coinMap?: CoinMap): void;
4
4
  export declare function getCoinConstructor(coinName: string): CoinConstructor | undefined;
5
- export declare function getTokenConstructor(tokenConfig: TokenConfig): CoinConstructor | undefined;
5
+ export declare function getTokenConstructor(tokenConfig: TokenConfig, staticsCoin?: Readonly<StaticsBaseCoin>): CoinConstructor | undefined;
6
6
  export declare const GlobalCoinFactory: CoinFactory;
7
7
  //# sourceMappingURL=coinFactory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"coinFactory.d.ts","sourceRoot":"","sources":["../../../../src/v2/coinFactory.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAG/D,OAAO,EACL,OAAO,EAGP,WAAW,EA6BZ,MAAM,gBAAgB,CAAC;AA+LxB,wBAAgB,wBAAwB,CAAC,WAAW,EAAE,WAAW,EAAE,OAAO,GAAE,OAAe,GAAG,IAAI,CAwYjG;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CA8VhF;AAED,wBAAgB,mBAAmB,CAAC,WAAW,EAAE,WAAW,GAAG,eAAe,GAAG,SAAS,CAuKzF;AAED,eAAO,MAAM,iBAAiB,EAAE,WAA+B,CAAC"}
1
+ {"version":3,"file":"coinFactory.d.ts","sourceRoot":"","sources":["../../../../src/v2/coinFactory.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAG/D,OAAO,EACL,OAAO,EAMP,WAAW,EA8BX,QAAQ,IAAI,eAAe,EAC5B,MAAM,gBAAgB,CAAC;AA+LxB,wBAAgB,wBAAwB,CAAC,WAAW,EAAE,WAAW,EAAE,OAAO,GAAE,OAAe,GAAG,IAAI,CAwbjG;AAED,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CA8VhF;AAED,wBAAgB,mBAAmB,CACjC,WAAW,EAAE,WAAW,EACxB,WAAW,CAAC,EAAE,QAAQ,CAAC,eAAe,CAAC,GACtC,eAAe,GAAG,SAAS,CA8L7B;AAED,eAAO,MAAM,iBAAiB,EAAE,WAA+B,CAAC"}
@@ -59,5 +59,25 @@ export declare const reducedAmsTokenConfig: {
59
59
  primaryKeyCurve: string;
60
60
  contractAddress: string;
61
61
  }[];
62
+ 'tbsc:faketoken': {
63
+ id: string;
64
+ fullName: string;
65
+ name: string;
66
+ prefix: string;
67
+ suffix: string;
68
+ baseUnit: string;
69
+ kind: string;
70
+ family: string;
71
+ isToken: boolean;
72
+ additionalFeatures: never[];
73
+ excludedFeatures: never[];
74
+ decimalPlaces: number;
75
+ asset: string;
76
+ network: {
77
+ name: string;
78
+ };
79
+ primaryKeyCurve: string;
80
+ contractAddress: string;
81
+ }[];
62
82
  };
63
83
  //# sourceMappingURL=amsTokenConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"amsTokenConfig.d.ts","sourceRoot":"","sources":["../../../../../test/v2/resources/amsTokenConfig.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmEjC,CAAC"}
1
+ {"version":3,"file":"amsTokenConfig.d.ts","sourceRoot":"","sources":["../../../../../test/v2/resources/amsTokenConfig.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyFjC,CAAC"}