@settlemint/dalp-sdk 3.0.7-main.28606164993 → 3.0.7-main.28619722466
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 +13 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -86198,6 +86198,7 @@ var AssumableParticipantSchema = z385.object({
|
|
|
86198
86198
|
accountCount: z385.number().int().nonnegative()
|
|
86199
86199
|
});
|
|
86200
86200
|
var ASSUMABLE_PARTICIPANTS_COLLECTION_FIELDS = {
|
|
86201
|
+
id: textField({ sortable: false, defaultOperator: "eq" }),
|
|
86201
86202
|
kind: enumField(AssumableParticipantKindSchema.options, {
|
|
86202
86203
|
defaultOperator: "eq",
|
|
86203
86204
|
facetable: false
|
|
@@ -86205,7 +86206,17 @@ var ASSUMABLE_PARTICIPANTS_COLLECTION_FIELDS = {
|
|
|
86205
86206
|
displayName: textField()
|
|
86206
86207
|
};
|
|
86207
86208
|
var AssumableParticipantsCollectionInputSchema = createCollectionInputSchema(ASSUMABLE_PARTICIPANTS_COLLECTION_FIELDS, { defaultSort: "displayName" });
|
|
86208
|
-
var AssumableParticipantsV2ListInputSchema = AssumableParticipantsCollectionInputSchema
|
|
86209
|
+
var AssumableParticipantsV2ListInputSchema = AssumableParticipantsCollectionInputSchema.superRefine((value2, ctx) => {
|
|
86210
|
+
for (const filter of value2.filters) {
|
|
86211
|
+
if (filter.id === "id" && filter.operator !== "eq") {
|
|
86212
|
+
ctx.addIssue({
|
|
86213
|
+
code: z385.ZodIssueCode.custom,
|
|
86214
|
+
message: "The `id` filter supports exact match (eq) only.",
|
|
86215
|
+
path: ["filter", "id"]
|
|
86216
|
+
});
|
|
86217
|
+
}
|
|
86218
|
+
}
|
|
86219
|
+
});
|
|
86209
86220
|
var AssumableParticipantsV2ListOutputSchema = createPaginatedResponse(AssumableParticipantSchema);
|
|
86210
86221
|
|
|
86211
86222
|
// ../../packages/dalp/api-contract/src/routes/v2/participants/participants.v2.list.schema.ts
|
|
@@ -96450,7 +96461,7 @@ function normalizeDalpBaseUrl(url) {
|
|
|
96450
96461
|
// package.json
|
|
96451
96462
|
var package_default = {
|
|
96452
96463
|
name: "@settlemint/dalp-sdk",
|
|
96453
|
-
version: "3.0.7-main.
|
|
96464
|
+
version: "3.0.7-main.28619722466",
|
|
96454
96465
|
private: false,
|
|
96455
96466
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
96456
96467
|
homepage: "https://settlemint.com",
|
package/package.json
CHANGED