Skip to content

Commit

Permalink
Added BIP137 to default export
Browse files Browse the repository at this point in the history
  • Loading branch information
ACken2 committed Aug 20, 2023
1 parent 2645298 commit 3e8ccc4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
import BIP322 from "./BIP322";
import Signer from "./Signer";
import Verifier from "./Verifier";
import { Witness, Address } from "./helpers";
import { Witness, Address, BIP137 } from "./helpers";

// Provide a ECC library to bitcoinjs-lib
import ecc from '@bitcoinerlab/secp256k1';
import * as bitcoin from 'bitcoinjs-lib';
bitcoin.initEccLib(ecc);

// Export
export { BIP322, Signer, Verifier, Witness, Address };
export { BIP322, Signer, Verifier, Witness, Address, BIP137 };
2 changes: 1 addition & 1 deletion test/helpers/BIP137.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { expect, use } from 'chai';
import chaibytes from "chai-bytes";

// Import module to be tested
import { BIP137 } from '../../src/helpers';
import { BIP137 } from '../../src';

describe('BIP137 Test', () => {

Expand Down

0 comments on commit 3e8ccc4

Please sign in to comment.