@settlemint/dalp-sdk 2.1.7-main.23264335734 → 2.1.7-main.23264510883
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +11 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10619,6 +10619,9 @@ var StatsCollateralRatioOutputSchema = z209.object({
|
|
|
10619
10619
|
collateralizationPercentage: z209.number(),
|
|
10620
10620
|
configuredCollateralRatioBps: z209.number()
|
|
10621
10621
|
});
|
|
10622
|
+
var StatsCollateralRatioV2OutputSchema = StatsCollateralRatioOutputSchema.extend({
|
|
10623
|
+
utilizationPercentage: z209.number()
|
|
10624
|
+
});
|
|
10622
10625
|
|
|
10623
10626
|
// ../../packages/dalp/api-contract/src/routes/token/routes/stats/collateral-ratio.contract.ts
|
|
10624
10627
|
var statsCollateralRatioContract = v1Contract.route({
|
|
@@ -17009,21 +17012,25 @@ var statsCollateralRatio = v2Contract.route({
|
|
|
17009
17012
|
description: "Get collateral ratio statistics for assets with the collateral compliance module enabled.",
|
|
17010
17013
|
successDescription: "Token collateral ratio statistics.",
|
|
17011
17014
|
tags: ["v2-token-stats"]
|
|
17012
|
-
}).input(v2Input.params(StatsCollateralRatioInputSchema)).output(createSingleResponse(
|
|
17015
|
+
}).input(v2Input.params(StatsCollateralRatioInputSchema)).output(createSingleResponse(StatsCollateralRatioV2OutputSchema));
|
|
17013
17016
|
var statsTotalSupply = v2Contract.route({
|
|
17014
17017
|
method: "GET",
|
|
17015
17018
|
path: "/tokens/{tokenAddress}/stats/total-supply",
|
|
17016
17019
|
description: "Get total supply history statistics for a specific token.",
|
|
17017
17020
|
successDescription: "Token total supply history statistics.",
|
|
17018
17021
|
tags: ["v2-token-stats"]
|
|
17019
|
-
}).input(v2Input.paramsQuery(z348.object({
|
|
17022
|
+
}).input(v2Input.paramsQuery(z348.object({
|
|
17023
|
+
tokenAddress: StatsTotalSupplyInputSchema.shape.tokenAddress
|
|
17024
|
+
}), z348.object(StatsTotalSupplyInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(StatsTotalSupplyOutputSchema));
|
|
17020
17025
|
var statsSupplyChanges = v2Contract.route({
|
|
17021
17026
|
method: "GET",
|
|
17022
17027
|
path: "/tokens/{tokenAddress}/stats/supply-changes",
|
|
17023
17028
|
description: "Get supply changes history (minted/burned) statistics for a specific token.",
|
|
17024
17029
|
successDescription: "Token supply changes history statistics.",
|
|
17025
17030
|
tags: ["v2-token-stats"]
|
|
17026
|
-
}).input(v2Input.paramsQuery(z348.object({
|
|
17031
|
+
}).input(v2Input.paramsQuery(z348.object({
|
|
17032
|
+
tokenAddress: StatsSupplyChangesInputSchema.shape.tokenAddress
|
|
17033
|
+
}), z348.object(StatsSupplyChangesInputSchema.shape).omit({ tokenAddress: true }))).output(createSingleResponse(StatsSupplyChangesOutputSchema));
|
|
17027
17034
|
var statsVolume = v2Contract.route({
|
|
17028
17035
|
method: "GET",
|
|
17029
17036
|
path: "/tokens/{tokenAddress}/stats/volume",
|
|
@@ -22853,7 +22860,7 @@ var dalpSerializers = [
|
|
|
22853
22860
|
// package.json
|
|
22854
22861
|
var package_default = {
|
|
22855
22862
|
name: "@settlemint/dalp-sdk",
|
|
22856
|
-
version: "2.1.7-main.
|
|
22863
|
+
version: "2.1.7-main.23264510883",
|
|
22857
22864
|
private: false,
|
|
22858
22865
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
22859
22866
|
homepage: "https://settlemint.com",
|
package/package.json
CHANGED