fix: mark inscriber_address as nullable

This commit is contained in:
Rafael Cardenas
2023-06-26 21:37:36 -06:00
parent d7cc5a4410
commit 77fd88b9c1
3 changed files with 5 additions and 5 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@hirosystems/chainhook-client",
"version": "1.0.3",
"version": "1.0.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@hirosystems/chainhook-client",
"version": "1.0.3",
"version": "1.0.4",
"license": "ISC",
"dependencies": {
"@fastify/type-provider-typebox": "^3.0.0",

View File

@@ -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",

View File

@@ -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(),
@@ -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(),