Skip to content

Commit

Permalink
feat: add jubilee support for inscription_revealed schemas (#470)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr authored Jan 3, 2024
1 parent ea128b4 commit 823f430
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/client/typescript/package-lock.json

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

2 changes: 1 addition & 1 deletion components/client/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hirosystems/chainhook-client",
"version": "1.4.2",
"version": "1.5.0",
"description": "Chainhook TypeScript client",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
Expand Down
5 changes: 4 additions & 1 deletion components/client/typescript/src/schemas/bitcoin/payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ export const BitcoinInscriptionRevealedSchema = Type.Object({
content_bytes: Type.String(),
content_type: Type.String(),
content_length: Type.Integer(),
inscription_number: Type.Integer(),
inscription_number: Type.Object({
jubilee: Type.Integer(),
classic: Type.Integer(),
}),
inscription_fee: Type.Integer(),
inscription_id: Type.String(),
inscription_input_index: Type.Integer(),
Expand Down

0 comments on commit 823f430

Please sign in to comment.