@settlemint/dalp-sdk 2.1.7-main.23558051606 → 2.1.7-main.23564712844
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 +12 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17671,6 +17671,15 @@ var price = v2Contract.route({
|
|
|
17671
17671
|
successDescription: "Token price resolved successfully.",
|
|
17672
17672
|
tags: ["v2-token"]
|
|
17673
17673
|
}).input(v2Input.paramsQuery(TokenPriceInputParamsSchema, TokenPriceInputQuerySchema)).output(createSingleResponse(TokenPriceResponseSchema));
|
|
17674
|
+
var search4 = v2Contract.route({
|
|
17675
|
+
method: "GET",
|
|
17676
|
+
path: "/tokens/search",
|
|
17677
|
+
description: "Search for tokens by name, symbol, or address.",
|
|
17678
|
+
successDescription: "List of tokens matching the search criteria.",
|
|
17679
|
+
tags: ["v2-token"]
|
|
17680
|
+
}).input(v2Input.query(TokenSearchInputSchema)).output(createSingleResponse(z356.object({
|
|
17681
|
+
results: z356.array(TokenSearchResultSchema)
|
|
17682
|
+
})));
|
|
17674
17683
|
var tokenV2ReadsContract = {
|
|
17675
17684
|
read: read26,
|
|
17676
17685
|
allowance,
|
|
@@ -17683,7 +17692,8 @@ var tokenV2ReadsContract = {
|
|
|
17683
17692
|
features,
|
|
17684
17693
|
metadata: tokenMetadata,
|
|
17685
17694
|
transferApprovals,
|
|
17686
|
-
price
|
|
17695
|
+
price,
|
|
17696
|
+
search: search4
|
|
17687
17697
|
};
|
|
17688
17698
|
|
|
17689
17699
|
// ../../packages/dalp/api-contract/src/routes/v2/token/token.v2.stats.contract.ts
|
|
@@ -23634,7 +23644,7 @@ var dalpSerializers = [
|
|
|
23634
23644
|
// package.json
|
|
23635
23645
|
var package_default = {
|
|
23636
23646
|
name: "@settlemint/dalp-sdk",
|
|
23637
|
-
version: "2.1.7-main.
|
|
23647
|
+
version: "2.1.7-main.23564712844",
|
|
23638
23648
|
private: false,
|
|
23639
23649
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
23640
23650
|
homepage: "https://settlemint.com",
|
package/package.json
CHANGED