Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add types #11

Merged
merged 3 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions package-lock.json

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

12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "@babylonlabs-io/babylon-proto-ts",
"version": "0.0.3",
"main": "index.js",
"version": "0.0.3-canary.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "node scripts/build-proto.js",
"build": "tsc && node scripts/build-proto.js",
"prepublishOnly": "npm run build"
},
"files": [
Expand All @@ -15,12 +16,13 @@
"description": "",
"devDependencies": {
"@bufbuild/buf": "^1.45.0",
"shelljs": "^0.8.5"
"shelljs": "^0.8.5",
"typescript": "^5.6.3"
},
"dependencies": {
"@bufbuild/protobuf": "^2.2.0"
},
"publishConfig": {
"access": "public"
}
}
}
2 changes: 1 addition & 1 deletion scripts/build-proto.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// scripts/build-proto.js
const shell = require("shelljs")

const BABYLON_REPO_URL = "https://github.com/babylonchain/babylon.git"
jrwbabylonlab marked this conversation as resolved.
Show resolved Hide resolved
const BABYLON_REPO_URL = "https://github.com/babylonlabs-io/babylon.git"
const BABYLON_REPO_DIR = "babylon"
const PROTO_DIR = "proto"

Expand Down
4 changes: 2 additions & 2 deletions src/generated/babylon/btccheckpoint/v1/btccheckpoint.ts

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

19 changes: 4 additions & 15 deletions src/generated/babylon/btccheckpoint/v1/params.ts

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

4 changes: 2 additions & 2 deletions src/generated/babylon/btccheckpoint/v1/query.ts

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

2 changes: 1 addition & 1 deletion src/generated/babylon/btccheckpoint/v1/tx.ts

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

15 changes: 2 additions & 13 deletions src/generated/babylon/btclightclient/v1/btclightclient.ts

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

21 changes: 5 additions & 16 deletions src/generated/babylon/btclightclient/v1/query.ts

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

Loading