Skip to content

Commit

Permalink
Export getBIP44CoinTypeToAddressPathTuple function (#173)
Browse files Browse the repository at this point in the history
* Export `getBIP44CoinTypeToAddressPathTuple` function

* Test export
  • Loading branch information
Mrtenz authored May 15, 2024
1 parent f6fd490 commit 5ccc565
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {
createBip39KeyFromSeed,
mnemonicPhraseToBytes,
ed25519Bip32,
getBIP44CoinTypeToAddressPathTuple,
} from '.';

// This is purely for coverage shenanigans
Expand All @@ -23,5 +24,6 @@ describe('index', () => {
expect(isValidBIP32PathSegment).toBeDefined();
expect(createBip39KeyFromSeed).toBeDefined();
expect(mnemonicPhraseToBytes).toBeDefined();
expect(getBIP44CoinTypeToAddressPathTuple).toBeDefined();
});
});
6 changes: 5 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,9 @@ export {
} from './BIP44CoinTypeNode';
export * from './constants';
export type { CoinTypeToAddressIndices } from './utils';
export { isValidBIP32PathSegment, mnemonicPhraseToBytes } from './utils';
export {
getBIP44CoinTypeToAddressPathTuple,
isValidBIP32PathSegment,
mnemonicPhraseToBytes,
} from './utils';
export { createBip39KeyFromSeed } from './derivers';

0 comments on commit 5ccc565

Please sign in to comment.