Skip to content

Commit

Permalink
chore: export claim and refund transaction in NPM module (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael1011 authored Nov 26, 2018
1 parent 5d44183 commit 253544d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions lib/Boltz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import SwapManager from './swap/SwapManager';
import ChainClient from './chain/ChainClient';
import Networks from './consts/Networks';
import Database from './db/Database';
import { constructClaimTransaction } from './swap/Claim';
import { constructRefundTransaction } from './swap/Refund';

// TODO: configurable trading pairs
class Boltz {
Expand Down Expand Up @@ -144,3 +146,4 @@ class Boltz {
}

export default Boltz;
export { constructClaimTransaction, constructRefundTransaction };
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "boltz-backend",
"version": "1.0.0",
"version": "0.0.1",
"description": "Backend of boltz",
"main": "bin/boltzd",
"main": "dist/Boltz.js",
"scripts": {
"proto": "cross-os proto && cross-os protoFixDeprecation",
"compile": "cross-os precompile && tsc && cross-os postcompile",
Expand Down

0 comments on commit 253544d

Please sign in to comment.