Skip to content

Commit f08b154

Browse files
authored
fix(bitgo): create token constructors for near and stx
2 parents 4457777 + 38526bd commit f08b154

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

modules/bitgo/src/v2/coinFactory.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ import {
3131
AptTokenConfig,
3232
Sip10TokenConfig,
3333
CoinFeature,
34+
Nep141TokenConfig,
3435
} from '@bitgo/statics';
3536
import {
3637
Ada,
@@ -889,9 +890,12 @@ export function getTokenConstructor(tokenConfig: TokenConfig): CoinConstructor |
889890
case 'apt':
890891
case 'tapt':
891892
return AptToken.createTokenConstructor(tokenConfig as AptTokenConfig);
892-
case 'sip10':
893-
case 'tsip10':
893+
case 'stx':
894+
case 'tstx':
894895
return Sip10Token.createTokenConstructor(tokenConfig as Sip10TokenConfig);
896+
case 'near':
897+
case 'tnear':
898+
return Nep141Token.createTokenConstructor(tokenConfig as Nep141TokenConfig);
895899
default:
896900
return undefined;
897901
}

0 commit comments

Comments
 (0)