@rss3/api-core
Advanced tools
Comparing version 0.0.12 to 0.0.13
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getWorkerConfig = exports.getAvailableWorkers = exports.getCompatibleNetworks = exports.getAverageEpochsApy = exports.getNodeRewards = exports.getEpochTransaction = exports.getEpoch = exports.getEpochs = exports.getNodeOperationProfit = exports.getNodeEvents = exports.getNodeAvatarSvgSrc = exports.getNodeAvatarSvgURL = exports.getNodeAvatarSvg = exports.getNode = exports.getAllNodes = exports.getEpochsApySnapshot = exports.getOperationProfitSnapshot = exports.getStakerProfitSnapshot = exports.getStakerCountSnapshot = exports.getMinimumStakingAmountSnapshotOfNodes = exports.getNodeCountSnapshot = exports.getChipSvgSrc = exports.getChipSvgURL = exports.getChipSvg = exports.getChip = exports.getChips = exports.getStakingProfit = exports.getStakings = exports.getStakingTransaction = exports.getStakingTransactions = exports.getBridgingTransaction = exports.getBridgingTransactions = void 0; | ||
exports.getWorkerConfig = exports.getAvailableWorkers = exports.getCompatibleNetworks = exports.getAverageEpochsApy = exports.getNodeRewards = exports.getEpochTransaction = exports.getEpoch = exports.getEpochs = exports.getNodeOperationProfit = exports.getNodeEvents = exports.getNodeAvatarSvgSrc = exports.getNodeAvatarSvgURL = exports.getNodeAvatarSvg = exports.getNode = exports.getAllNodes = exports.getEpochsApySnapshot = exports.getOperationProfitSnapshot = exports.getStakerProfitSnapshot = exports.getStakerCountSnapshot = exports.getNodeCountSnapshot = exports.getChipSvgSrc = exports.getChipSvgURL = exports.getChipSvg = exports.getChip = exports.getChips = exports.getStaker = exports.getStakingProfit = exports.getStakings = exports.getStakingTransaction = exports.getStakingTransactions = exports.getBridgingTransaction = exports.getBridgingTransactions = void 0; | ||
// This file is generated by `scripts/categorize-requests.ts` | ||
@@ -12,2 +12,3 @@ var index_js_1 = require("./requests/index.js"); | ||
Object.defineProperty(exports, "getStakingProfit", { enumerable: true, get: function () { return index_js_1.getStakingProfit; } }); | ||
Object.defineProperty(exports, "getStaker", { enumerable: true, get: function () { return index_js_1.getStaker; } }); | ||
Object.defineProperty(exports, "getChips", { enumerable: true, get: function () { return index_js_1.getChips; } }); | ||
@@ -19,3 +20,2 @@ Object.defineProperty(exports, "getChip", { enumerable: true, get: function () { return index_js_1.getChip; } }); | ||
Object.defineProperty(exports, "getNodeCountSnapshot", { enumerable: true, get: function () { return index_js_1.getNodeCountSnapshot; } }); | ||
Object.defineProperty(exports, "getMinimumStakingAmountSnapshotOfNodes", { enumerable: true, get: function () { return index_js_1.getMinimumStakingAmountSnapshotOfNodes; } }); | ||
Object.defineProperty(exports, "getStakerCountSnapshot", { enumerable: true, get: function () { return index_js_1.getStakerCountSnapshot; } }); | ||
@@ -22,0 +22,0 @@ Object.defineProperty(exports, "getStakerProfitSnapshot", { enumerable: true, get: function () { return index_js_1.getStakerProfitSnapshot; } }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getWorkerConfig = exports.getAvailableWorkers = exports.getCompatibleNetworks = exports.getAverageEpochsApy = exports.getNodeRewards = exports.getEpochTransaction = exports.getEpoch = exports.getEpochs = exports.getNodeOperationProfit = exports.getNodeEvents = exports.getNodeAvatarSvg = exports.getNodeAvatarSvgSrc = exports.getNodeAvatarSvgURL = exports.getNode = exports.getAllNodes = exports.getEpochsApySnapshot = exports.getOperationProfitSnapshot = exports.getStakerProfitSnapshot = exports.getStakerCountSnapshot = exports.getMinimumStakingAmountSnapshotOfNodes = exports.getNodeCountSnapshot = exports.getChipSvg = exports.getChipSvgSrc = exports.getChipSvgURL = exports.getChip = exports.getChips = exports.getStakingProfit = exports.getStakings = exports.getStakingTransaction = exports.getStakingTransactions = exports.getBridgingTransaction = exports.getBridgingTransactions = exports.getPlatformActivity = exports.getNetworkActivity = exports.getRSSActivity = exports.getActivitiesByAccounts = exports.getActivities = exports.getActivity = void 0; | ||
exports.getWorkerConfig = exports.getAvailableWorkers = exports.getCompatibleNetworks = exports.getAverageEpochsApy = exports.getNodeRewards = exports.getEpochTransaction = exports.getEpoch = exports.getEpochs = exports.getNodeOperationProfit = exports.getNodeEvents = exports.getNodeAvatarSvg = exports.getNodeAvatarSvgSrc = exports.getNodeAvatarSvgURL = exports.getNode = exports.getAllNodes = exports.getEpochsApySnapshot = exports.getOperationProfitSnapshot = exports.getStaker = exports.getStakerProfitSnapshot = exports.getStakerCountSnapshot = exports.getNodeCountSnapshot = exports.getChipSvg = exports.getChipSvgSrc = exports.getChipSvgURL = exports.getChip = exports.getChips = exports.getStakingProfit = exports.getStakings = exports.getStakingTransaction = exports.getStakingTransactions = exports.getBridgingTransaction = exports.getBridgingTransactions = exports.getPlatformActivity = exports.getNetworkActivity = exports.getRSSActivity = exports.getActivitiesByAccounts = exports.getActivities = exports.getActivity = void 0; | ||
const ts_case_convert_1 = require("ts-case-convert"); | ||
@@ -99,5 +99,2 @@ const client_js_1 = require("../client.js"); | ||
exports.getNodeCountSnapshot = buildRequest("/nta/snapshots/nodes/count", "get").withoutParams(); | ||
exports.getMinimumStakingAmountSnapshotOfNodes = buildRequest("/nta/snapshots/nodes/min_tokens_to_stake", "post").withParams((body) => ({ | ||
body: (0, ts_case_convert_1.objectToSnake)(body), | ||
})); | ||
exports.getStakerCountSnapshot = buildRequest("/nta/snapshots/stakers/count", "get").withoutParams(); | ||
@@ -107,2 +104,5 @@ exports.getStakerProfitSnapshot = buildRequest("/nta/snapshots/stakers/profit", "get").withParams((query) => ({ | ||
})); | ||
exports.getStaker = buildRequest("/nta/stakers/{staker_address}", "get").withParams((path) => ({ | ||
params: (0, ts_case_convert_1.objectToSnake)({ path }), | ||
})); | ||
exports.getOperationProfitSnapshot = buildRequest("/nta/snapshots/nodes/operation/profit", "get").withParams((query) => ({ | ||
@@ -109,0 +109,0 @@ params: (0, ts_case_convert_1.objectToSnake)({ query }), |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getEpochsApySnapshot = exports.getOperationProfitSnapshot = exports.getStakerProfitSnapshot = exports.getStakerCountSnapshot = exports.getMinimumStakingAmountSnapshotOfNodes = exports.getNodeCountSnapshot = void 0; | ||
exports.getEpochsApySnapshot = exports.getOperationProfitSnapshot = exports.getStakerProfitSnapshot = exports.getStakerCountSnapshot = exports.getNodeCountSnapshot = void 0; | ||
// This file is generated by `scripts/categorize-requests.ts` | ||
var index_js_1 = require("./requests/index.js"); | ||
Object.defineProperty(exports, "getNodeCountSnapshot", { enumerable: true, get: function () { return index_js_1.getNodeCountSnapshot; } }); | ||
Object.defineProperty(exports, "getMinimumStakingAmountSnapshotOfNodes", { enumerable: true, get: function () { return index_js_1.getMinimumStakingAmountSnapshotOfNodes; } }); | ||
Object.defineProperty(exports, "getStakerCountSnapshot", { enumerable: true, get: function () { return index_js_1.getStakerCountSnapshot; } }); | ||
@@ -9,0 +8,0 @@ Object.defineProperty(exports, "getStakerProfitSnapshot", { enumerable: true, get: function () { return index_js_1.getStakerProfitSnapshot; } }); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getStakingProfit = exports.getStakings = exports.getStakingTransaction = exports.getStakingTransactions = void 0; | ||
exports.getStaker = exports.getStakingProfit = exports.getStakings = exports.getStakingTransaction = exports.getStakingTransactions = void 0; | ||
// This file is generated by `scripts/categorize-requests.ts` | ||
@@ -10,1 +10,2 @@ var index_js_1 = require("./requests/index.js"); | ||
Object.defineProperty(exports, "getStakingProfit", { enumerable: true, get: function () { return index_js_1.getStakingProfit; } }); | ||
Object.defineProperty(exports, "getStaker", { enumerable: true, get: function () { return index_js_1.getStaker; } }); |
@@ -10,14 +10,3 @@ import { type ClientOptions } from "openapi-fetch"; | ||
baseUrl: string; | ||
} & { | ||
GET: import("openapi-fetch").ClientMethod<paths, "get", `${string}/${string}`>; | ||
PUT: import("openapi-fetch").ClientMethod<paths, "put", `${string}/${string}`>; | ||
POST: import("openapi-fetch").ClientMethod<paths, "post", `${string}/${string}`>; | ||
DELETE: import("openapi-fetch").ClientMethod<paths, "delete", `${string}/${string}`>; | ||
OPTIONS: import("openapi-fetch").ClientMethod<paths, "options", `${string}/${string}`>; | ||
HEAD: import("openapi-fetch").ClientMethod<paths, "head", `${string}/${string}`>; | ||
PATCH: import("openapi-fetch").ClientMethod<paths, "patch", `${string}/${string}`>; | ||
TRACE: import("openapi-fetch").ClientMethod<paths, "trace", `${string}/${string}`>; | ||
use(...middleware: import("openapi-fetch").Middleware[]): void; | ||
eject(...middleware: import("openapi-fetch").Middleware[]): void; | ||
}>; | ||
} & import("openapi-fetch").Client<paths, `${string}/${string}`>>; | ||
//# sourceMappingURL=client.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export { getBridgingTransactions, type GetBridgingTransactionsParams, type GetBridgingTransactionsResult, getBridgingTransaction, type GetBridgingTransactionParams, type GetBridgingTransactionResult, getStakingTransactions, type GetStakingTransactionsParams, type GetStakingTransactionsResult, getStakingTransaction, type GetStakingTransactionParams, type GetStakingTransactionResult, getStakings, type GetStakingsParams, type GetStakingsResult, getStakingProfit, type GetStakingProfitParams, type GetStakingProfitResult, getChips, type GetChipsParams, type GetChipsResult, getChip, type GetChipParams, type GetChipResult, getChipSvg, type GetChipSvgParams, type GetChipSvgResult, getChipSvgURL, getChipSvgSrc, getNodeCountSnapshot, type GetNodeCountSnapshotParams, type GetNodeCountSnapshotResult, getMinimumStakingAmountSnapshotOfNodes, type GetMinimumStakingAmountSnapshotOfNodesParams, type GetMinimumStakingAmountSnapshotOfNodesResult, getStakerCountSnapshot, type GetStakerCountSnapshotParams, type GetStakerCountSnapshotResult, getStakerProfitSnapshot, type GetStakerProfitSnapshotParams, type GetStakerProfitSnapshotResult, getOperationProfitSnapshot, type GetOperationProfitSnapshotParams, type GetOperationProfitSnapshotResult, getEpochsApySnapshot, type GetEpochsApySnapshotParams, type GetEpochsApySnapshotResult, getAllNodes, type GetAllNodesParams, type GetAllNodesResult, getNode, type GetNodeParams, type GetNodeResult, getNodeAvatarSvg, type GetNodeAvatarSvgParams, type GetNodeAvatarSvgResult, getNodeAvatarSvgURL, getNodeAvatarSvgSrc, getNodeEvents, type GetNodeEventsParams, type GetNodeEventsResult, getNodeOperationProfit, type GetNodeOperationProfitParams, type GetNodeOperationProfitResult, getEpochs, type GetEpochsParams, type GetEpochsResult, getEpoch, type GetEpochParams, type GetEpochResult, getEpochTransaction, type GetEpochTransactionParams, type GetEpochTransactionResult, getNodeRewards, type GetNodeRewardsParams, type GetNodeRewardsResult, getAverageEpochsApy, type GetAverageEpochsApyParams, type GetAverageEpochsApyResult, getCompatibleNetworks, type GetCompatibleNetworksParams, type GetCompatibleNetworksResult, getAvailableWorkers, type GetAvailableWorkersParams, type GetAvailableWorkersResult, getWorkerConfig, type GetWorkerConfigParams, type GetWorkerConfigResult, } from "./requests/index.js"; | ||
export { getBridgingTransactions, type GetBridgingTransactionsParams, type GetBridgingTransactionsResult, getBridgingTransaction, type GetBridgingTransactionParams, type GetBridgingTransactionResult, getStakingTransactions, type GetStakingTransactionsParams, type GetStakingTransactionsResult, getStakingTransaction, type GetStakingTransactionParams, type GetStakingTransactionResult, getStakings, type GetStakingsParams, type GetStakingsResult, getStakingProfit, type GetStakingProfitParams, type GetStakingProfitResult, getStaker, type GetStakerParams, type GetStakerResult, getChips, type GetChipsParams, type GetChipsResult, getChip, type GetChipParams, type GetChipResult, getChipSvg, type GetChipSvgParams, type GetChipSvgResult, getChipSvgURL, getChipSvgSrc, getNodeCountSnapshot, type GetNodeCountSnapshotParams, type GetNodeCountSnapshotResult, getStakerCountSnapshot, type GetStakerCountSnapshotParams, type GetStakerCountSnapshotResult, getStakerProfitSnapshot, type GetStakerProfitSnapshotParams, type GetStakerProfitSnapshotResult, getOperationProfitSnapshot, type GetOperationProfitSnapshotParams, type GetOperationProfitSnapshotResult, getEpochsApySnapshot, type GetEpochsApySnapshotParams, type GetEpochsApySnapshotResult, getAllNodes, type GetAllNodesParams, type GetAllNodesResult, getNode, type GetNodeParams, type GetNodeResult, getNodeAvatarSvg, type GetNodeAvatarSvgParams, type GetNodeAvatarSvgResult, getNodeAvatarSvgURL, getNodeAvatarSvgSrc, getNodeEvents, type GetNodeEventsParams, type GetNodeEventsResult, getNodeOperationProfit, type GetNodeOperationProfitParams, type GetNodeOperationProfitResult, getEpochs, type GetEpochsParams, type GetEpochsResult, getEpoch, type GetEpochParams, type GetEpochResult, getEpochTransaction, type GetEpochTransactionParams, type GetEpochTransactionResult, getNodeRewards, type GetNodeRewardsParams, type GetNodeRewardsResult, getAverageEpochsApy, type GetAverageEpochsApyParams, type GetAverageEpochsApyResult, getCompatibleNetworks, type GetCompatibleNetworksParams, type GetCompatibleNetworksResult, getAvailableWorkers, type GetAvailableWorkersParams, type GetAvailableWorkersResult, getWorkerConfig, type GetWorkerConfigParams, type GetWorkerConfigResult, } from "./requests/index.js"; | ||
//# sourceMappingURL=nta.d.ts.map |
// This file is generated by `scripts/categorize-requests.ts` | ||
export { getBridgingTransactions, getBridgingTransaction, getStakingTransactions, getStakingTransaction, getStakings, getStakingProfit, getChips, getChip, getChipSvg, getChipSvgURL, getChipSvgSrc, getNodeCountSnapshot, getMinimumStakingAmountSnapshotOfNodes, getStakerCountSnapshot, getStakerProfitSnapshot, getOperationProfitSnapshot, getEpochsApySnapshot, getAllNodes, getNode, getNodeAvatarSvg, getNodeAvatarSvgURL, getNodeAvatarSvgSrc, getNodeEvents, getNodeOperationProfit, getEpochs, getEpoch, getEpochTransaction, getNodeRewards, getAverageEpochsApy, getCompatibleNetworks, getAvailableWorkers, getWorkerConfig, } from "./requests/index.js"; | ||
export { getBridgingTransactions, getBridgingTransaction, getStakingTransactions, getStakingTransaction, getStakings, getStakingProfit, getStaker, getChips, getChip, getChipSvg, getChipSvgURL, getChipSvgSrc, getNodeCountSnapshot, getStakerCountSnapshot, getStakerProfitSnapshot, getOperationProfitSnapshot, getEpochsApySnapshot, getAllNodes, getNode, getNodeAvatarSvg, getNodeAvatarSvgURL, getNodeAvatarSvgSrc, getNodeEvents, getNodeOperationProfit, getEpochs, getEpoch, getEpochTransaction, getNodeRewards, getAverageEpochsApy, getCompatibleNetworks, getAvailableWorkers, getWorkerConfig, } from "./requests/index.js"; |
@@ -94,5 +94,2 @@ import { objectToCamel, objectToSnake } from "ts-case-convert"; | ||
export const getNodeCountSnapshot = buildRequest("/nta/snapshots/nodes/count", "get").withoutParams(); | ||
export const getMinimumStakingAmountSnapshotOfNodes = buildRequest("/nta/snapshots/nodes/min_tokens_to_stake", "post").withParams((body) => ({ | ||
body: objectToSnake(body), | ||
})); | ||
export const getStakerCountSnapshot = buildRequest("/nta/snapshots/stakers/count", "get").withoutParams(); | ||
@@ -102,2 +99,5 @@ export const getStakerProfitSnapshot = buildRequest("/nta/snapshots/stakers/profit", "get").withParams((query) => ({ | ||
})); | ||
export const getStaker = buildRequest("/nta/stakers/{staker_address}", "get").withParams((path) => ({ | ||
params: objectToSnake({ path }), | ||
})); | ||
export const getOperationProfitSnapshot = buildRequest("/nta/snapshots/nodes/operation/profit", "get").withParams((query) => ({ | ||
@@ -104,0 +104,0 @@ params: objectToSnake({ query }), |
@@ -1,2 +0,2 @@ | ||
export { getNodeCountSnapshot, type GetNodeCountSnapshotParams, type GetNodeCountSnapshotResult, getMinimumStakingAmountSnapshotOfNodes, type GetMinimumStakingAmountSnapshotOfNodesParams, type GetMinimumStakingAmountSnapshotOfNodesResult, getStakerCountSnapshot, type GetStakerCountSnapshotParams, type GetStakerCountSnapshotResult, getStakerProfitSnapshot, type GetStakerProfitSnapshotParams, type GetStakerProfitSnapshotResult, getOperationProfitSnapshot, type GetOperationProfitSnapshotParams, type GetOperationProfitSnapshotResult, getEpochsApySnapshot, type GetEpochsApySnapshotParams, type GetEpochsApySnapshotResult, } from "./requests/index.js"; | ||
export { getNodeCountSnapshot, type GetNodeCountSnapshotParams, type GetNodeCountSnapshotResult, getStakerCountSnapshot, type GetStakerCountSnapshotParams, type GetStakerCountSnapshotResult, getStakerProfitSnapshot, type GetStakerProfitSnapshotParams, type GetStakerProfitSnapshotResult, getOperationProfitSnapshot, type GetOperationProfitSnapshotParams, type GetOperationProfitSnapshotResult, getEpochsApySnapshot, type GetEpochsApySnapshotParams, type GetEpochsApySnapshotResult, } from "./requests/index.js"; | ||
//# sourceMappingURL=snapshots.d.ts.map |
// This file is generated by `scripts/categorize-requests.ts` | ||
export { getNodeCountSnapshot, getMinimumStakingAmountSnapshotOfNodes, getStakerCountSnapshot, getStakerProfitSnapshot, getOperationProfitSnapshot, getEpochsApySnapshot, } from "./requests/index.js"; | ||
export { getNodeCountSnapshot, getStakerCountSnapshot, getStakerProfitSnapshot, getOperationProfitSnapshot, getEpochsApySnapshot, } from "./requests/index.js"; |
@@ -1,2 +0,2 @@ | ||
export { getStakingTransactions, type GetStakingTransactionsParams, type GetStakingTransactionsResult, getStakingTransaction, type GetStakingTransactionParams, type GetStakingTransactionResult, getStakings, type GetStakingsParams, type GetStakingsResult, getStakingProfit, type GetStakingProfitParams, type GetStakingProfitResult, } from "./requests/index.js"; | ||
export { getStakingTransactions, type GetStakingTransactionsParams, type GetStakingTransactionsResult, getStakingTransaction, type GetStakingTransactionParams, type GetStakingTransactionResult, getStakings, type GetStakingsParams, type GetStakingsResult, getStakingProfit, type GetStakingProfitParams, type GetStakingProfitResult, getStaker, type GetStakerParams, type GetStakerResult, } from "./requests/index.js"; | ||
//# sourceMappingURL=stake.d.ts.map |
// This file is generated by `scripts/categorize-requests.ts` | ||
export { getStakingTransactions, getStakingTransaction, getStakings, getStakingProfit, } from "./requests/index.js"; | ||
export { getStakingTransactions, getStakingTransaction, getStakings, getStakingProfit, getStaker, } from "./requests/index.js"; |
@@ -43,3 +43,2 @@ /** | ||
export type NodeEvent = CamelCasedPropertiesDeep<components["schemas"]["NodeEvent"]>; | ||
export type NodeMinTokensToStakeSnapshot = CamelCasedPropertiesDeep<components["schemas"]["NodeMinTokensToStakeSnapshot"]>; | ||
export type OperationProfit = CamelCasedPropertiesDeep<components["schemas"]["OperationProfit"]>; | ||
@@ -46,0 +45,0 @@ export type OperationProfitPNL = CamelCasedPropertiesDeep<components["schemas"]["OperationProfitPNL"]>; |
{ | ||
"name": "@rss3/api-core", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"type": "module", | ||
@@ -100,11 +100,11 @@ "main": "./dist/cjs/index.js", | ||
"devDependencies": { | ||
"@types/node": "^20.14.10", | ||
"@types/node": "^22.2.0", | ||
"map-obj": "^5.0.2", | ||
"openapi-typescript": "^7.0.2", | ||
"typescript": "^5.5.3" | ||
"openapi-typescript": "^7.3.0", | ||
"typescript": "^5.5.4" | ||
}, | ||
"dependencies": { | ||
"openapi-fetch": "^0.10.2", | ||
"openapi-fetch": "^0.11.0", | ||
"ts-case-convert": "^2.0.7", | ||
"type-fest": "^4.21.0" | ||
"type-fest": "^4.24.0" | ||
}, | ||
@@ -111,0 +111,0 @@ "scripts": { |
@@ -21,2 +21,5 @@ // This file is generated by `scripts/categorize-requests.ts` | ||
type GetStakingProfitResult, | ||
getStaker, | ||
type GetStakerParams, | ||
type GetStakerResult, | ||
getChips, | ||
@@ -36,5 +39,2 @@ type GetChipsParams, | ||
type GetNodeCountSnapshotResult, | ||
getMinimumStakingAmountSnapshotOfNodes, | ||
type GetMinimumStakingAmountSnapshotOfNodesParams, | ||
type GetMinimumStakingAmountSnapshotOfNodesResult, | ||
getStakerCountSnapshot, | ||
@@ -41,0 +41,0 @@ type GetStakerCountSnapshotParams, |
@@ -314,15 +314,2 @@ import type { FetchResponse, MaybeOptionalInit } from "openapi-fetch"; | ||
export type GetMinimumStakingAmountSnapshotOfNodesParams = RequestParams< | ||
typeof getMinimumStakingAmountSnapshotOfNodes | ||
>; | ||
export type GetMinimumStakingAmountSnapshotOfNodesResult = RequestResult< | ||
typeof getMinimumStakingAmountSnapshotOfNodes | ||
>; | ||
export const getMinimumStakingAmountSnapshotOfNodes = buildRequest( | ||
"/nta/snapshots/nodes/min_tokens_to_stake", | ||
"post", | ||
).withParams((body) => ({ | ||
body: objectToSnake(body), | ||
})); | ||
export type GetStakerCountSnapshotParams = RequestParams< | ||
@@ -352,2 +339,11 @@ typeof getStakerCountSnapshot | ||
export type GetStakerParams = RequestParams<typeof getStaker>; | ||
export type GetStakerResult = RequestResult<typeof getStaker>; | ||
export const getStaker = buildRequest( | ||
"/nta/stakers/{staker_address}", | ||
"get", | ||
).withParams((path) => ({ | ||
params: objectToSnake({ path }), | ||
})); | ||
export type GetOperationProfitSnapshotParams = RequestParams< | ||
@@ -354,0 +350,0 @@ typeof getOperationProfitSnapshot |
@@ -6,5 +6,2 @@ // This file is generated by `scripts/categorize-requests.ts` | ||
type GetNodeCountSnapshotResult, | ||
getMinimumStakingAmountSnapshotOfNodes, | ||
type GetMinimumStakingAmountSnapshotOfNodesParams, | ||
type GetMinimumStakingAmountSnapshotOfNodesResult, | ||
getStakerCountSnapshot, | ||
@@ -11,0 +8,0 @@ type GetStakerCountSnapshotParams, |
@@ -15,2 +15,5 @@ // This file is generated by `scripts/categorize-requests.ts` | ||
type GetStakingProfitResult, | ||
getStaker, | ||
type GetStakerParams, | ||
type GetStakerResult, | ||
} from "./requests/index.js"; |
@@ -142,6 +142,2 @@ /** | ||
export type NodeMinTokensToStakeSnapshot = CamelCasedPropertiesDeep< | ||
components["schemas"]["NodeMinTokensToStakeSnapshot"] | ||
>; | ||
export type OperationProfit = CamelCasedPropertiesDeep< | ||
@@ -148,0 +144,0 @@ components["schemas"]["OperationProfit"] |
Sorry, the diff of this file is not supported yet
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
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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
729538
14979
+ Addedopenapi-fetch@0.11.3(transitive)
+ Addedopenapi-typescript-helpers@0.0.13(transitive)
- Removedopenapi-fetch@0.10.6(transitive)
- Removedopenapi-typescript-helpers@0.0.11(transitive)
Updatedopenapi-fetch@^0.11.0
Updatedtype-fest@^4.24.0