Skip to content

Commit

Permalink
refactor: move orchestra-types to dedicated npm module
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludo Galabru committed Jun 7, 2022
1 parent 681f51c commit cd622d3
Show file tree
Hide file tree
Showing 7 changed files with 359 additions and 1,030 deletions.
3 changes: 2 additions & 1 deletion node-bindings/lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ const {
stacksDevnetWaitForBitcoinBlock,
stacksDevnetGetStacksNodeUrl,
} = require("../native/index.node");
import { Block } from "./types";
import { Block } from "@hirosystems/orchestra-types";
export * from "@hirosystems/orchestra-types";

/**
* Account to include in the genesis accounts
Expand Down
13 changes: 12 additions & 1 deletion node-bindings/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions node-bindings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"version": "npm run build-release"
},
"dependencies": {
"@hirosystems/orchestra-types": "^1.0.1-beta.1",
"@mapbox/node-pre-gyp": "^1.0.8",
"neon-cli": "^0.9.1",
"node-pre-gyp-github": "^1.4.3",
Expand Down
Loading

0 comments on commit cd622d3

Please sign in to comment.