From c9675894655293167be51d29d3c935eb10c3e195 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20C=C3=A1rdenas?= Date: Mon, 22 Jul 2024 14:44:08 -0600 Subject: [PATCH] chore: add abi support to client predicate (#626) --- components/client/typescript/package-lock.json | 4 ++-- components/client/typescript/package.json | 2 +- components/client/typescript/src/schemas/stacks/if_this.ts | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/components/client/typescript/package-lock.json b/components/client/typescript/package-lock.json index dd0427e3f..467e93860 100644 --- a/components/client/typescript/package-lock.json +++ b/components/client/typescript/package-lock.json @@ -1,12 +1,12 @@ { "name": "@hirosystems/chainhook-client", - "version": "1.10.0", + "version": "1.11.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@hirosystems/chainhook-client", - "version": "1.10.0", + "version": "1.11.0", "license": "Apache 2.0", "dependencies": { "@fastify/type-provider-typebox": "^3.2.0", diff --git a/components/client/typescript/package.json b/components/client/typescript/package.json index 9731e83a9..259c18aa6 100644 --- a/components/client/typescript/package.json +++ b/components/client/typescript/package.json @@ -1,6 +1,6 @@ { "name": "@hirosystems/chainhook-client", - "version": "1.10.0", + "version": "1.11.0", "description": "Chainhook TypeScript client", "main": "./dist/index.js", "typings": "./dist/index.d.ts", diff --git a/components/client/typescript/src/schemas/stacks/if_this.ts b/components/client/typescript/src/schemas/stacks/if_this.ts index c87047c0c..9f3f709eb 100644 --- a/components/client/typescript/src/schemas/stacks/if_this.ts +++ b/components/client/typescript/src/schemas/stacks/if_this.ts @@ -79,6 +79,7 @@ export const StacksIfThisOptionsSchema = Type.Object({ end_block: Type.Optional(Type.Integer()), expire_after_occurrence: Type.Optional(Type.Integer()), decode_clarity_values: Type.Optional(Type.Boolean()), + include_contract_abi: Type.Optional(Type.Boolean()), }); export type StacksIfThisOptions = Static;