@settlemint/dalp-sdk 3.0.7-main.28598972490 → 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 +27 -3
- 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
|
|
@@ -86261,7 +86272,20 @@ var SmartWalletReadDataSchema = z388.object({
|
|
|
86261
86272
|
deployed: z388.boolean(),
|
|
86262
86273
|
signingAddress: ethereumAddress
|
|
86263
86274
|
});
|
|
86264
|
-
var
|
|
86275
|
+
var SmartAccountViewSchema = z388.object({
|
|
86276
|
+
address: ethereumAddress,
|
|
86277
|
+
deployed: z388.boolean()
|
|
86278
|
+
});
|
|
86279
|
+
var KeyBasedAccountViewSchema = z388.object({
|
|
86280
|
+
address: ethereumAddress
|
|
86281
|
+
});
|
|
86282
|
+
var SmartWalletAccountsSchema = z388.object({
|
|
86283
|
+
smartAccount: z388.union([z388.null(), SmartAccountViewSchema]),
|
|
86284
|
+
account: z388.union([z388.null(), KeyBasedAccountViewSchema])
|
|
86285
|
+
});
|
|
86286
|
+
var SmartWalletReadOutputSchema = createSingleResponse(z388.union([z388.null(), SmartWalletReadDataSchema])).extend({
|
|
86287
|
+
accounts: z388.union([z388.null(), SmartWalletAccountsSchema])
|
|
86288
|
+
});
|
|
86265
86289
|
|
|
86266
86290
|
// ../../packages/dalp/api-contract/src/routes/v2/participants/participants.v2.contract.ts
|
|
86267
86291
|
var list24 = v2Contract.route({
|
|
@@ -96437,7 +96461,7 @@ function normalizeDalpBaseUrl(url) {
|
|
|
96437
96461
|
// package.json
|
|
96438
96462
|
var package_default = {
|
|
96439
96463
|
name: "@settlemint/dalp-sdk",
|
|
96440
|
-
version: "3.0.7-main.
|
|
96464
|
+
version: "3.0.7-main.28619722466",
|
|
96441
96465
|
private: false,
|
|
96442
96466
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
96443
96467
|
homepage: "https://settlemint.com",
|
package/package.json
CHANGED