Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@stakekit/api-hooks

Package Overview
Dependencies
Maintainers
5
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stakekit/api-hooks - npm Package Compare versions

Comparing version 0.0.84 to 0.0.85

dist/yieldYields200-_xnIfCHG.d.ts

24

dist/index.js

@@ -62,2 +62,24 @@ export { ActionListSort, ActionListType, ActionStatus, ActionTypes, BalanceTypes, DailyCumulativeStakeDtoStatus, DailyCumulativeStakeDtoType, EvmEIP1559GasArgsDtoType, EvmLegacyGasArgsDtoType, FeeConfigurationStatus, GasMode, GeolocationErrorTagsItem, GeolocationErrorType, HealthStatus, KeyCategory, MasterBannedRegionDtoTagsItem, MasterBannedYieldDtoTagsItem, Networks, RewardClaiming, RewardSchedule, RewardTypes, Role, TeamCategory, TransactionStatus, TransactionType, TronResourceType, ValidatorStatusTypes, WebhookSubscriptionEventDtoEvent, YieldGetMyYieldsSortBy, YieldGetMyYieldsType, YieldProviders, YieldType, YieldYieldsRevenueOption, YieldYieldsSortBy, YieldYieldsType } from './chunk-W4RJLA5I.js';

// src/api/index.ts
var useHealthHealthV2Hook = () => {
const healthHealthV2 = useApi();
return (signal) => {
return healthHealthV2({ url: `/v2/health`, method: "GET", signal });
};
};
var getHealthHealthV2QueryKey = () => {
return [`/v2/health`];
};
var useHealthHealthV2QueryOptions = (options) => {
const { query: queryOptions } = options ?? {};
const queryKey = queryOptions?.queryKey ?? getHealthHealthV2QueryKey();
const healthHealthV2 = useHealthHealthV2Hook();
const queryFn = ({ signal }) => healthHealthV2(signal);
return { queryKey, queryFn, ...queryOptions };
};
var useHealthHealthV2 = (options) => {
const queryOptions = useHealthHealthV2QueryOptions(options);
const query = useQuery(queryOptions);
query.queryKey = queryOptions.queryKey;
return query;
};
var useActionGetActionHook = () => {

@@ -991,4 +1013,4 @@ const actionGetAction = useApi();

export { ApiClientProvider, getActionEnterGasEstimationQueryKey, getActionExitGasEstimateQueryKey, getActionGetActionQueryKey, getActionGetGasEstimateQueryKey, getActionListQueryKey, getActionPendingGasEstimateQueryKey, getTokenGetTokenBalancesQueryKey, getTokenGetTokenPricesQueryKey, getTokenGetTokensQueryKey, getTokenTokenBalancesScanQueryKey, getTransactionGetGasForNetworkQueryKey, getTransactionGetTransactionQueryKey, getTransactionGetTransactionStatusByNetworkAndHashQueryKey, getTransactionGetTransactionStatusFromIdQueryKey, getYieldFindValidatorsQueryKey, getYieldGetFeeConfigurationQueryKey, getYieldGetMultipleYieldBalancesQueryKey, getYieldGetMyNetworksQueryKey, getYieldGetMyYieldsQueryKey, getYieldGetSingleYieldBalancesQueryKey, getYieldGetValidatorsQueryKey, getYieldYieldBalancesScanQueryKey, getYieldYieldOpportunityQueryKey, getYieldYieldsQueryKey, useActionEnter, useActionEnterGasEstimation, useActionEnterGasEstimationHook, useActionEnterGasEstimationQueryOptions, useActionEnterHook, useActionEnterMutationOptions, useActionExit, useActionExitGasEstimate, useActionExitGasEstimateHook, useActionExitGasEstimateQueryOptions, useActionExitHook, useActionExitMutationOptions, useActionGetAction, useActionGetActionHook, useActionGetActionQueryOptions, useActionGetGasEstimate, useActionGetGasEstimateHook, useActionGetGasEstimateQueryOptions, useActionList, useActionListHook, useActionListQueryOptions, useActionPending, useActionPendingGasEstimate, useActionPendingGasEstimateHook, useActionPendingGasEstimateQueryOptions, useActionPendingHook, useActionPendingMutationOptions, useTokenGetTokenBalances, useTokenGetTokenBalancesHook, useTokenGetTokenBalancesQueryOptions, useTokenGetTokenPrices, useTokenGetTokenPricesHook, useTokenGetTokenPricesQueryOptions, useTokenGetTokens, useTokenGetTokensHook, useTokenGetTokensQueryOptions, useTokenTokenBalancesScan, useTokenTokenBalancesScanHook, useTokenTokenBalancesScanQueryOptions, useTransactionConstruct, useTransactionConstructHook, useTransactionConstructMutationOptions, useTransactionGetGasForNetwork, useTransactionGetGasForNetworkHook, useTransactionGetGasForNetworkQueryOptions, useTransactionGetTransaction, useTransactionGetTransactionHook, useTransactionGetTransactionQueryOptions, useTransactionGetTransactionStatusByNetworkAndHash, useTransactionGetTransactionStatusByNetworkAndHashHook, useTransactionGetTransactionStatusByNetworkAndHashQueryOptions, useTransactionGetTransactionStatusFromId, useTransactionGetTransactionStatusFromIdHook, useTransactionGetTransactionStatusFromIdQueryOptions, useTransactionGetTransactionVerificationMessageForNetwork, useTransactionGetTransactionVerificationMessageForNetworkHook, useTransactionGetTransactionVerificationMessageForNetworkMutationOptions, useTransactionSubmit, useTransactionSubmitHash, useTransactionSubmitHashHook, useTransactionSubmitHashMutationOptions, useTransactionSubmitHook, useTransactionSubmitMutationOptions, useYieldFindValidators, useYieldFindValidatorsHook, useYieldFindValidatorsQueryOptions, useYieldGetFeeConfiguration, useYieldGetFeeConfigurationHook, useYieldGetFeeConfigurationQueryOptions, useYieldGetMultipleYieldBalances, useYieldGetMultipleYieldBalancesHook, useYieldGetMultipleYieldBalancesQueryOptions, useYieldGetMyNetworks, useYieldGetMyNetworksHook, useYieldGetMyNetworksQueryOptions, useYieldGetMyYields, useYieldGetMyYieldsHook, useYieldGetMyYieldsQueryOptions, useYieldGetSingleYieldBalances, useYieldGetSingleYieldBalancesHook, useYieldGetSingleYieldBalancesQueryOptions, useYieldGetValidators, useYieldGetValidatorsHook, useYieldGetValidatorsQueryOptions, useYieldYieldBalancesScan, useYieldYieldBalancesScanHook, useYieldYieldBalancesScanQueryOptions, useYieldYieldOpportunity, useYieldYieldOpportunityHook, useYieldYieldOpportunityQueryOptions, useYieldYields, useYieldYieldsHook, useYieldYieldsQueryOptions };
export { ApiClientProvider, getActionEnterGasEstimationQueryKey, getActionExitGasEstimateQueryKey, getActionGetActionQueryKey, getActionGetGasEstimateQueryKey, getActionListQueryKey, getActionPendingGasEstimateQueryKey, getHealthHealthV2QueryKey, getTokenGetTokenBalancesQueryKey, getTokenGetTokenPricesQueryKey, getTokenGetTokensQueryKey, getTokenTokenBalancesScanQueryKey, getTransactionGetGasForNetworkQueryKey, getTransactionGetTransactionQueryKey, getTransactionGetTransactionStatusByNetworkAndHashQueryKey, getTransactionGetTransactionStatusFromIdQueryKey, getYieldFindValidatorsQueryKey, getYieldGetFeeConfigurationQueryKey, getYieldGetMultipleYieldBalancesQueryKey, getYieldGetMyNetworksQueryKey, getYieldGetMyYieldsQueryKey, getYieldGetSingleYieldBalancesQueryKey, getYieldGetValidatorsQueryKey, getYieldYieldBalancesScanQueryKey, getYieldYieldOpportunityQueryKey, getYieldYieldsQueryKey, useActionEnter, useActionEnterGasEstimation, useActionEnterGasEstimationHook, useActionEnterGasEstimationQueryOptions, useActionEnterHook, useActionEnterMutationOptions, useActionExit, useActionExitGasEstimate, useActionExitGasEstimateHook, useActionExitGasEstimateQueryOptions, useActionExitHook, useActionExitMutationOptions, useActionGetAction, useActionGetActionHook, useActionGetActionQueryOptions, useActionGetGasEstimate, useActionGetGasEstimateHook, useActionGetGasEstimateQueryOptions, useActionList, useActionListHook, useActionListQueryOptions, useActionPending, useActionPendingGasEstimate, useActionPendingGasEstimateHook, useActionPendingGasEstimateQueryOptions, useActionPendingHook, useActionPendingMutationOptions, useHealthHealthV2, useHealthHealthV2Hook, useHealthHealthV2QueryOptions, useTokenGetTokenBalances, useTokenGetTokenBalancesHook, useTokenGetTokenBalancesQueryOptions, useTokenGetTokenPrices, useTokenGetTokenPricesHook, useTokenGetTokenPricesQueryOptions, useTokenGetTokens, useTokenGetTokensHook, useTokenGetTokensQueryOptions, useTokenTokenBalancesScan, useTokenTokenBalancesScanHook, useTokenTokenBalancesScanQueryOptions, useTransactionConstruct, useTransactionConstructHook, useTransactionConstructMutationOptions, useTransactionGetGasForNetwork, useTransactionGetGasForNetworkHook, useTransactionGetGasForNetworkQueryOptions, useTransactionGetTransaction, useTransactionGetTransactionHook, useTransactionGetTransactionQueryOptions, useTransactionGetTransactionStatusByNetworkAndHash, useTransactionGetTransactionStatusByNetworkAndHashHook, useTransactionGetTransactionStatusByNetworkAndHashQueryOptions, useTransactionGetTransactionStatusFromId, useTransactionGetTransactionStatusFromIdHook, useTransactionGetTransactionStatusFromIdQueryOptions, useTransactionGetTransactionVerificationMessageForNetwork, useTransactionGetTransactionVerificationMessageForNetworkHook, useTransactionGetTransactionVerificationMessageForNetworkMutationOptions, useTransactionSubmit, useTransactionSubmitHash, useTransactionSubmitHashHook, useTransactionSubmitHashMutationOptions, useTransactionSubmitHook, useTransactionSubmitMutationOptions, useYieldFindValidators, useYieldFindValidatorsHook, useYieldFindValidatorsQueryOptions, useYieldGetFeeConfiguration, useYieldGetFeeConfigurationHook, useYieldGetFeeConfigurationQueryOptions, useYieldGetMultipleYieldBalances, useYieldGetMultipleYieldBalancesHook, useYieldGetMultipleYieldBalancesQueryOptions, useYieldGetMyNetworks, useYieldGetMyNetworksHook, useYieldGetMyNetworksQueryOptions, useYieldGetMyYields, useYieldGetMyYieldsHook, useYieldGetMyYieldsQueryOptions, useYieldGetSingleYieldBalances, useYieldGetSingleYieldBalancesHook, useYieldGetSingleYieldBalancesQueryOptions, useYieldGetValidators, useYieldGetValidatorsHook, useYieldGetValidatorsQueryOptions, useYieldYieldBalancesScan, useYieldYieldBalancesScanHook, useYieldYieldBalancesScanQueryOptions, useYieldYieldOpportunity, useYieldYieldOpportunityHook, useYieldYieldOpportunityQueryOptions, useYieldYields, useYieldYieldsHook, useYieldYieldsQueryOptions };
//# sourceMappingURL=out.js.map
//# sourceMappingURL=index.js.map

6

dist/msw/index.d.ts
import * as msw from 'msw';
import { e as ActionDto, G as GasEstimateDto, f as ActionList200, b as TransactionDto, S as SubmitResponseDto, h as TransactionStatusResponseDto, i as GasForNetworkResponseDto, j as TransactionVerificationMessageDto, k as TokenWithAvailableYieldsDto, P as PriceResponseDto, B as BalanceResponseDto, l as TokenBalanceScanResponseDto, m as YieldYields200, o as YieldBalancesWithIntegrationIdDto, p as YieldGetMyYields200, V as ValidatorSearchResultDto, r as YieldDto, s as ValidatorDto, Y as YieldBalanceDto, F as FeeConfigurationDto } from '../yieldYields200-vuZAGyWQ.js';
import { H as HealthStatusDto, e as ActionDto, G as GasEstimateDto, f as ActionList200, b as TransactionDto, S as SubmitResponseDto, h as TransactionStatusResponseDto, i as GasForNetworkResponseDto, j as TransactionVerificationMessageDto, k as TokenWithAvailableYieldsDto, P as PriceResponseDto, B as BalanceResponseDto, l as TokenBalanceScanResponseDto, m as YieldYields200, o as YieldBalancesWithIntegrationIdDto, p as YieldGetMyYields200, V as ValidatorSearchResultDto, r as YieldDto, s as ValidatorDto, Y as YieldBalanceDto, F as FeeConfigurationDto } from '../yieldYields200-_xnIfCHG.js';
declare const getHealthControllerHealthV2ResponseMock: (overrideResponse?: any) => HealthStatusDto;
declare const getActionControllerGetActionResponseMock: (overrideResponse?: any) => ActionDto;

@@ -33,2 +34,3 @@ declare const getActionControllerGetGasEstimateResponseMock: (overrideResponse?: any) => GasEstimateDto;

declare const getYieldControllerGetFeeConfigurationResponseMock: (overrideResponse?: any) => FeeConfigurationDto;
declare const getHealthControllerHealthV2MockHandler: (overrideResponse?: HealthStatusDto) => msw.HttpHandler;
declare const getActionControllerGetActionMockHandler: (overrideResponse?: ActionDto) => msw.HttpHandler;

@@ -67,2 +69,2 @@ declare const getActionControllerGetGasEstimateMockHandler: (overrideResponse?: GasEstimateDto) => msw.HttpHandler;

export { getActionControllerEnterGasEstimationMockHandler, getActionControllerEnterGasEstimationResponseMock, getActionControllerEnterMockHandler, getActionControllerEnterResponseMock, getActionControllerExitGasEstimateMockHandler, getActionControllerExitGasEstimateResponseMock, getActionControllerExitMockHandler, getActionControllerExitResponseMock, getActionControllerGetActionMockHandler, getActionControllerGetActionResponseMock, getActionControllerGetGasEstimateMockHandler, getActionControllerGetGasEstimateResponseMock, getActionControllerListMockHandler, getActionControllerListResponseMock, getActionControllerPendingGasEstimateMockHandler, getActionControllerPendingGasEstimateResponseMock, getActionControllerPendingMockHandler, getActionControllerPendingResponseMock, getStakeKitMock, getTokenControllerGetTokenBalancesMockHandler, getTokenControllerGetTokenBalancesResponseMock, getTokenControllerGetTokenPricesMockHandler, getTokenControllerGetTokenPricesResponseMock, getTokenControllerGetTokensMockHandler, getTokenControllerGetTokensResponseMock, getTokenControllerTokenBalancesScanMockHandler, getTokenControllerTokenBalancesScanResponseMock, getTransactionControllerConstructMockHandler, getTransactionControllerConstructResponseMock, getTransactionControllerGetGasForNetworkMockHandler, getTransactionControllerGetGasForNetworkResponseMock, getTransactionControllerGetTransactionMockHandler, getTransactionControllerGetTransactionResponseMock, getTransactionControllerGetTransactionStatusByNetworkAndHashMockHandler, getTransactionControllerGetTransactionStatusByNetworkAndHashResponseMock, getTransactionControllerGetTransactionStatusFromIdMockHandler, getTransactionControllerGetTransactionStatusFromIdResponseMock, getTransactionControllerGetTransactionVerificationMessageForNetworkMockHandler, getTransactionControllerGetTransactionVerificationMessageForNetworkResponseMock, getTransactionControllerSubmitHashMockHandler, getTransactionControllerSubmitMockHandler, getTransactionControllerSubmitResponseMock, getYieldControllerFindValidatorsMockHandler, getYieldControllerFindValidatorsResponseMock, getYieldControllerGetFeeConfigurationMockHandler, getYieldControllerGetFeeConfigurationResponseMock, getYieldControllerGetMultipleYieldBalancesMockHandler, getYieldControllerGetMultipleYieldBalancesResponseMock, getYieldControllerGetMyNetworksMockHandler, getYieldControllerGetMyYieldsMockHandler, getYieldControllerGetMyYieldsResponseMock, getYieldControllerGetSingleYieldBalancesMockHandler, getYieldControllerGetSingleYieldBalancesResponseMock, getYieldControllerGetValidatorsMockHandler, getYieldControllerGetValidatorsResponseMock, getYieldControllerYieldBalancesScanMockHandler, getYieldControllerYieldBalancesScanResponseMock, getYieldControllerYieldOpportunityMockHandler, getYieldControllerYieldOpportunityResponseMock, getYieldControllerYieldsMockHandler, getYieldControllerYieldsResponseMock };
export { getActionControllerEnterGasEstimationMockHandler, getActionControllerEnterGasEstimationResponseMock, getActionControllerEnterMockHandler, getActionControllerEnterResponseMock, getActionControllerExitGasEstimateMockHandler, getActionControllerExitGasEstimateResponseMock, getActionControllerExitMockHandler, getActionControllerExitResponseMock, getActionControllerGetActionMockHandler, getActionControllerGetActionResponseMock, getActionControllerGetGasEstimateMockHandler, getActionControllerGetGasEstimateResponseMock, getActionControllerListMockHandler, getActionControllerListResponseMock, getActionControllerPendingGasEstimateMockHandler, getActionControllerPendingGasEstimateResponseMock, getActionControllerPendingMockHandler, getActionControllerPendingResponseMock, getHealthControllerHealthV2MockHandler, getHealthControllerHealthV2ResponseMock, getStakeKitMock, getTokenControllerGetTokenBalancesMockHandler, getTokenControllerGetTokenBalancesResponseMock, getTokenControllerGetTokenPricesMockHandler, getTokenControllerGetTokenPricesResponseMock, getTokenControllerGetTokensMockHandler, getTokenControllerGetTokensResponseMock, getTokenControllerTokenBalancesScanMockHandler, getTokenControllerTokenBalancesScanResponseMock, getTransactionControllerConstructMockHandler, getTransactionControllerConstructResponseMock, getTransactionControllerGetGasForNetworkMockHandler, getTransactionControllerGetGasForNetworkResponseMock, getTransactionControllerGetTransactionMockHandler, getTransactionControllerGetTransactionResponseMock, getTransactionControllerGetTransactionStatusByNetworkAndHashMockHandler, getTransactionControllerGetTransactionStatusByNetworkAndHashResponseMock, getTransactionControllerGetTransactionStatusFromIdMockHandler, getTransactionControllerGetTransactionStatusFromIdResponseMock, getTransactionControllerGetTransactionVerificationMessageForNetworkMockHandler, getTransactionControllerGetTransactionVerificationMessageForNetworkResponseMock, getTransactionControllerSubmitHashMockHandler, getTransactionControllerSubmitMockHandler, getTransactionControllerSubmitResponseMock, getYieldControllerFindValidatorsMockHandler, getYieldControllerFindValidatorsResponseMock, getYieldControllerGetFeeConfigurationMockHandler, getYieldControllerGetFeeConfigurationResponseMock, getYieldControllerGetMultipleYieldBalancesMockHandler, getYieldControllerGetMultipleYieldBalancesResponseMock, getYieldControllerGetMyNetworksMockHandler, getYieldControllerGetMyYieldsMockHandler, getYieldControllerGetMyYieldsResponseMock, getYieldControllerGetSingleYieldBalancesMockHandler, getYieldControllerGetSingleYieldBalancesResponseMock, getYieldControllerGetValidatorsMockHandler, getYieldControllerGetValidatorsResponseMock, getYieldControllerYieldBalancesScanMockHandler, getYieldControllerYieldBalancesScanResponseMock, getYieldControllerYieldOpportunityMockHandler, getYieldControllerYieldOpportunityResponseMock, getYieldControllerYieldsMockHandler, getYieldControllerYieldsResponseMock };
{
"name": "@stakekit/api-hooks",
"description": "React hooks for StakeKit API",
"version": "0.0.84",
"version": "0.0.85",
"type": "module",

@@ -6,0 +6,0 @@ "types": "./dist/index.d.ts",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc