Skip to content

Commit

Permalink
fix: mark inscriber_address as nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed Jun 27, 2023
1 parent d7cc5a4 commit 77fd88b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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
@@ -1,6 +1,6 @@
{
"name": "@hirosystems/chainhook-client",
"version": "1.0.3",
"version": "1.0.4",
"description": "Chainhook TypeScript client",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions components/client/typescript/src/schemas/bitcoin/payload.ts
Expand Up @@ -14,7 +14,7 @@ export const BitcoinInscriptionRevealedSchema = Type.Object({
inscription_fee: Type.Integer(),
inscription_id: Type.String(),
inscription_output_value: Type.Integer(),
inscriber_address: Type.String(),
inscriber_address: Nullable(Type.String()),
ordinal_number: Type.Integer(),
ordinal_block_height: Type.Integer(),
ordinal_offset: Type.Integer(),
Expand All @@ -41,7 +41,7 @@ export const BitcoinCursedInscriptionRevealedSchema = Type.Object({
inscription_fee: Type.Integer(),
inscription_id: Type.String(),
inscription_output_value: Type.Integer(),
inscriber_address: Type.String(),
inscriber_address: Nullable(Type.String()),
ordinal_number: Type.Integer(),
ordinal_block_height: Type.Integer(),
ordinal_offset: Type.Integer(),
Expand Down

0 comments on commit 77fd88b

Please sign in to comment.