Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/api-hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stakekit/api-hooks",
"description": "React hooks for StakeKit API",
"version": "0.0.112",
"version": "0.0.113",
"type": "module",
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
Expand Down
1 change: 1 addition & 0 deletions packages/api-hooks/src/api/schemas/actionArgumentsDto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export interface ActionArgumentsDto {
signatureVerification?: SignatureVerificationArgumentsDto;
subnetId?: number;
tronResource?: TronResourceType;
useMaxAmount?: boolean;
validatorAddress?: string;
validatorAddresses?: string[];
}
10 changes: 10 additions & 0 deletions packages/api-hooks/src/api/schemas/adminApiKey.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export interface AdminApiKey {
apiKey: string;
createdAt: string;
deletedAt: string | null;
id: string;
info: string | null;
lastUsedAt: string | null;
name: string;
updatedAt: string;
}
4 changes: 4 additions & 0 deletions packages/api-hooks/src/api/schemas/createAdminApiKeyDto.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export interface CreateAdminApiKeyDto {
info?: string;
name: string;
}
1 change: 1 addition & 0 deletions packages/api-hooks/src/api/schemas/evmNetworks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const EvmNetworks = {
linea: 'linea',
unichain: 'unichain',
'monad-testnet': 'monad-testnet',
monad: 'monad',
'avalanche-c': 'avalanche-c',
'avalanche-c-atomic': 'avalanche-c-atomic',
'avalanche-p': 'avalanche-p',
Expand Down
3 changes: 3 additions & 0 deletions packages/api-hooks/src/api/schemas/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export * from './addressWithTokenDto';
export * from './addressWithTokenDtoAdditionalAddresses';
export * from './addressesDto';
export * from './addressesDtoAdditionalAddresses';
export * from './adminApiKey';
export * from './amountArgumentOptionsDto';
export * from './annotatedFieldDto';
export * from './annotatedTransactionDto';
Expand All @@ -47,6 +48,7 @@ export * from './constructTransactionRequestDtoGasArgs';
export * from './cosmosAdditionalAddressesDto';
export * from './cosmosDetailsViewDto';
export * from './cosmosGasArgsDto';
export * from './createAdminApiKeyDto';
export * from './createBannedRegionDto';
export * from './createCustomUriDto';
export * from './createEnabledYieldDto';
Expand Down Expand Up @@ -208,6 +210,7 @@ export * from './tronResourceArgumentOptionsDto';
export * from './tronResourceType';
export * from './tvlLevel';
export * from './unauthorizedDto';
export * from './updateAdminApiKeyDto';
export * from './updateCustomUriDto';
export * from './updateFeeConfigurationDto';
export * from './updateKeyDto';
Expand Down
1 change: 1 addition & 0 deletions packages/api-hooks/src/api/schemas/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const Networks = {
linea: 'linea',
unichain: 'unichain',
'monad-testnet': 'monad-testnet',
monad: 'monad',
'avalanche-c': 'avalanche-c',
'avalanche-c-atomic': 'avalanche-c-atomic',
'avalanche-p': 'avalanche-p',
Expand Down
4 changes: 4 additions & 0 deletions packages/api-hooks/src/api/schemas/updateAdminApiKeyDto.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export interface UpdateAdminApiKeyDto {
info?: string;
name?: string;
}
2 changes: 2 additions & 0 deletions packages/api-hooks/src/api/schemas/yieldProviders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const YieldProviders = {
renzo: 'renzo',
infstones: 'infstones',
ethena: 'ethena',
upshift: 'upshift',
fluid: 'fluid',
'idle-finance': 'idle-finance',
gearbox: 'gearbox',
Expand All @@ -54,4 +55,5 @@ export const YieldProviders = {
simplystaking: 'simplystaking',
coinbase: 'coinbase',
'validation-cloud': 'validation-cloud',
curve: 'curve',
} as const;
1 change: 1 addition & 0 deletions packages/api-hooks/src/api/schemas/yieldV2YieldsNetwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const YieldV2YieldsNetwork = {
linea: 'linea',
unichain: 'unichain',
'monad-testnet': 'monad-testnet',
monad: 'monad',
'avalanche-c': 'avalanche-c',
'avalanche-c-atomic': 'avalanche-c-atomic',
'avalanche-p': 'avalanche-p',
Expand Down
2 changes: 2 additions & 0 deletions packages/api-hooks/src/api/schemas/yieldV2YieldsProviderId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export const YieldV2YieldsProviderId = {
renzo: 'renzo',
infstones: 'infstones',
ethena: 'ethena',
upshift: 'upshift',
fluid: 'fluid',
'idle-finance': 'idle-finance',
gearbox: 'gearbox',
Expand All @@ -54,4 +55,5 @@ export const YieldV2YieldsProviderId = {
simplystaking: 'simplystaking',
coinbase: 'coinbase',
'validation-cloud': 'validation-cloud',
curve: 'curve',
} as const;
Loading