From 83c7e5ccad3f9cbac7104df6ab0e339a9538a767 Mon Sep 17 00:00:00 2001 From: Evan <96965321+0xIchigo@users.noreply.github.com> Date: Thu, 15 Aug 2024 14:15:33 -0400 Subject: [PATCH] fix(types): Add `token_extensions` for `TokenAccount` (#124) * Add token_extensions to TokenAccount * Remove Unused Imports from RpcClient.ts * Add TODO --- src/RpcClient.ts | 1 - src/types/das-types.ts | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/RpcClient.ts b/src/RpcClient.ts index f884abb..00b9c72 100644 --- a/src/RpcClient.ts +++ b/src/RpcClient.ts @@ -27,7 +27,6 @@ import axios from 'axios'; import { DAS } from './types/das-types'; import { - Address, GetPriorityFeeEstimateRequest, GetPriorityFeeEstimateResponse, JITO_API_URLS, diff --git a/src/types/das-types.ts b/src/types/das-types.ts index c469a01..b87a0c0 100644 --- a/src/types/das-types.ts +++ b/src/types/das-types.ts @@ -336,6 +336,8 @@ export namespace DAS { amount?: number; delegated_amount?: number; frozen?: boolean; + // TODO: Add proper typing for token extensions instead of using `any` + token_extensions: any; } export interface GetTokenAccountsRequest {