Skip to content

Commit

Permalink
fix: adjust ordinal_number entry in ts client inscription transfer ev…
Browse files Browse the repository at this point in the history
…ent, add new reveal data (#476)
  • Loading branch information
rafaelcr authored Feb 2, 2024
1 parent 83af58b commit 129fd8b
Show file tree
Hide file tree
Showing 3 changed files with 9 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.5.0",
"version": "1.7.0",
"description": "Chainhook TypeScript client",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
Expand Down
7 changes: 6 additions & 1 deletion components/client/typescript/src/schemas/bitcoin/payload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ export const BitcoinInscriptionRevealedSchema = Type.Object({
inscription_id: Type.String(),
inscription_input_index: Type.Integer(),
inscription_output_value: Type.Integer(),
inscription_pointer: Nullable(Type.Integer()),
inscriber_address: Nullable(Type.String()),
delegate: Nullable(Type.String()),
metaprotocol: Nullable(Type.String()),
metadata: Nullable(Type.Any()),
parent: Nullable(Type.String()),
ordinal_number: Type.Integer(),
ordinal_block_height: Type.Integer(),
ordinal_offset: Type.Integer(),
Expand All @@ -38,7 +43,7 @@ export const BitcoinInscriptionTransferredSchema = Type.Object({
]),
value: Type.Optional(Type.String()),
}),
inscription_id: Type.String(),
ordinal_number: Type.Integer(),
satpoint_pre_transfer: Type.String(),
satpoint_post_transfer: Type.String(),
post_transfer_output_value: Nullable(Type.Integer()),
Expand Down

0 comments on commit 129fd8b

Please sign in to comment.