@settlemint/dalp-sdk 3.1.19-main.36522261568 → 3.1.19-main.36532940366
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/auth.js
CHANGED
|
@@ -107,7 +107,7 @@ function createCookieStoreFetch2(cookieStore, fetchImpl = globalThis.fetch) {
|
|
|
107
107
|
// package.json
|
|
108
108
|
var package_default = {
|
|
109
109
|
name: "@settlemint/dalp-sdk",
|
|
110
|
-
version: "3.1.19-main.
|
|
110
|
+
version: "3.1.19-main.36532940366",
|
|
111
111
|
private: false,
|
|
112
112
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
113
113
|
homepage: "https://settlemint.com",
|
package/dist/index.js
CHANGED
package/dist/webhook-events.d.ts
CHANGED
|
@@ -279,7 +279,145 @@ export declare namespace Webhook {
|
|
|
279
279
|
readonly tokenAddress: string;
|
|
280
280
|
readonly transactionHash: string;
|
|
281
281
|
}>;
|
|
282
|
-
type
|
|
282
|
+
type XvpApprovalRevokedFinalV1 = EventEnvelope<"xvp.approval-revoked.final", 1, "final", {
|
|
283
|
+
readonly accountAddress?: string;
|
|
284
|
+
readonly approvedCount: number;
|
|
285
|
+
readonly blockNumber: number;
|
|
286
|
+
readonly chainId: number;
|
|
287
|
+
readonly logIndex: number;
|
|
288
|
+
readonly occurredAt: string;
|
|
289
|
+
readonly requiredCount: number;
|
|
290
|
+
readonly settlementAddress: string;
|
|
291
|
+
readonly transactionHash: string;
|
|
292
|
+
}>;
|
|
293
|
+
type XvpAssetsLockedFinalV1 = EventEnvelope<"xvp.assets-locked.final", 1, "final", {
|
|
294
|
+
readonly accountAddress?: string;
|
|
295
|
+
readonly amount: string;
|
|
296
|
+
readonly assetAddress: string;
|
|
297
|
+
readonly blockNumber: number;
|
|
298
|
+
readonly chainId: number;
|
|
299
|
+
readonly logIndex: number;
|
|
300
|
+
readonly occurredAt: string;
|
|
301
|
+
readonly settlementAddress: string;
|
|
302
|
+
readonly transactionHash: string;
|
|
303
|
+
}>;
|
|
304
|
+
type XvpAssetsRefundedFinalV1 = EventEnvelope<"xvp.assets-refunded.final", 1, "final", {
|
|
305
|
+
readonly accountAddress?: string;
|
|
306
|
+
readonly amount: string;
|
|
307
|
+
readonly assetAddress: string;
|
|
308
|
+
readonly blockNumber: number;
|
|
309
|
+
readonly chainId: number;
|
|
310
|
+
readonly logIndex: number;
|
|
311
|
+
readonly occurredAt: string;
|
|
312
|
+
readonly settlementAddress: string;
|
|
313
|
+
readonly transactionHash: string;
|
|
314
|
+
}>;
|
|
315
|
+
type XvpDeliveryClaimedFinalV1 = EventEnvelope<"xvp.delivery-claimed.final", 1, "final", {
|
|
316
|
+
readonly accountAddress?: string;
|
|
317
|
+
readonly amount: string;
|
|
318
|
+
readonly assetAddress: string;
|
|
319
|
+
readonly blockNumber: number;
|
|
320
|
+
readonly chainId: number;
|
|
321
|
+
readonly logIndex: number;
|
|
322
|
+
readonly occurredAt: string;
|
|
323
|
+
readonly settlementAddress: string;
|
|
324
|
+
readonly transactionHash: string;
|
|
325
|
+
}>;
|
|
326
|
+
type XvpDeliveryDeferredFinalV1 = EventEnvelope<"xvp.delivery-deferred.final", 1, "final", {
|
|
327
|
+
readonly accountAddress?: string;
|
|
328
|
+
readonly amount: string;
|
|
329
|
+
readonly assetAddress: string;
|
|
330
|
+
readonly blockNumber: number;
|
|
331
|
+
readonly chainId: number;
|
|
332
|
+
readonly logIndex: number;
|
|
333
|
+
readonly occurredAt: string;
|
|
334
|
+
readonly settlementAddress: string;
|
|
335
|
+
readonly transactionHash: string;
|
|
336
|
+
}>;
|
|
337
|
+
type XvpRefundDeferredFinalV1 = EventEnvelope<"xvp.refund-deferred.final", 1, "final", {
|
|
338
|
+
readonly accountAddress?: string;
|
|
339
|
+
readonly amount: string;
|
|
340
|
+
readonly assetAddress: string;
|
|
341
|
+
readonly blockNumber: number;
|
|
342
|
+
readonly chainId: number;
|
|
343
|
+
readonly logIndex: number;
|
|
344
|
+
readonly occurredAt: string;
|
|
345
|
+
readonly settlementAddress: string;
|
|
346
|
+
readonly transactionHash: string;
|
|
347
|
+
}>;
|
|
348
|
+
type XvpSettlementApprovedFinalV1 = EventEnvelope<"xvp.settlement-approved.final", 1, "final", {
|
|
349
|
+
readonly accountAddress?: string;
|
|
350
|
+
readonly approvedCount: number;
|
|
351
|
+
readonly blockNumber: number;
|
|
352
|
+
readonly chainId: number;
|
|
353
|
+
readonly logIndex: number;
|
|
354
|
+
readonly occurredAt: string;
|
|
355
|
+
readonly requiredCount: number;
|
|
356
|
+
readonly settlementAddress: string;
|
|
357
|
+
readonly transactionHash: string;
|
|
358
|
+
}>;
|
|
359
|
+
type XvpSettlementCancelledFinalV1 = EventEnvelope<"xvp.settlement-cancelled.final", 1, "final", {
|
|
360
|
+
readonly blockNumber: number;
|
|
361
|
+
readonly cancellerAddress?: string;
|
|
362
|
+
readonly chainId: number;
|
|
363
|
+
readonly logIndex: number;
|
|
364
|
+
readonly occurredAt: string;
|
|
365
|
+
readonly settlementAddress: string;
|
|
366
|
+
readonly transactionHash: string;
|
|
367
|
+
}>;
|
|
368
|
+
type XvpSettlementCreatedFinalV1 = EventEnvelope<"xvp.settlement-created.final", 1, "final", {
|
|
369
|
+
readonly autoExecute: boolean;
|
|
370
|
+
readonly blockNumber: number;
|
|
371
|
+
readonly chainId: number;
|
|
372
|
+
readonly creatorAddress?: string;
|
|
373
|
+
readonly cutoffAt: string;
|
|
374
|
+
readonly factoryAddress: string;
|
|
375
|
+
readonly flows?: readonly {
|
|
376
|
+
readonly amount: string;
|
|
377
|
+
readonly assetAddress: string;
|
|
378
|
+
readonly externalAssetDecimals: number | unknown;
|
|
379
|
+
readonly externalChainId: number;
|
|
380
|
+
readonly fromAddress: string;
|
|
381
|
+
readonly legIndex: number;
|
|
382
|
+
readonly toAddress: string;
|
|
383
|
+
}[];
|
|
384
|
+
readonly hasExternalFlows: boolean;
|
|
385
|
+
readonly hashlock: string;
|
|
386
|
+
readonly logIndex: number;
|
|
387
|
+
readonly name?: string;
|
|
388
|
+
readonly occurredAt: string;
|
|
389
|
+
readonly settlementAddress: string;
|
|
390
|
+
readonly transactionHash: string;
|
|
391
|
+
}>;
|
|
392
|
+
type XvpSettlementExecutedFinalV1 = EventEnvelope<"xvp.settlement-executed.final", 1, "final", {
|
|
393
|
+
readonly blockNumber: number;
|
|
394
|
+
readonly chainId: number;
|
|
395
|
+
readonly executorAddress?: string;
|
|
396
|
+
readonly flows?: readonly {
|
|
397
|
+
readonly amount: string;
|
|
398
|
+
readonly assetAddress: string;
|
|
399
|
+
readonly externalAssetDecimals: number | unknown;
|
|
400
|
+
readonly externalChainId: number;
|
|
401
|
+
readonly fromAddress: string;
|
|
402
|
+
readonly legIndex: number;
|
|
403
|
+
readonly toAddress: string;
|
|
404
|
+
}[];
|
|
405
|
+
readonly logIndex: number;
|
|
406
|
+
readonly occurredAt: string;
|
|
407
|
+
readonly settlementAddress: string;
|
|
408
|
+
readonly transactionHash: string;
|
|
409
|
+
}>;
|
|
410
|
+
type XvpSettlementExpiredFinalV1 = EventEnvelope<"xvp.settlement-expired.final", 1, "final", {
|
|
411
|
+
readonly blockNumber: number;
|
|
412
|
+
readonly callerAddress?: string;
|
|
413
|
+
readonly chainId: number;
|
|
414
|
+
readonly cutoffAt: string;
|
|
415
|
+
readonly logIndex: number;
|
|
416
|
+
readonly occurredAt: string;
|
|
417
|
+
readonly settlementAddress: string;
|
|
418
|
+
readonly transactionHash: string;
|
|
419
|
+
}>;
|
|
420
|
+
type AnyEvent = AccessControlRoleGrantedProvisionalV1 | AccessControlRoleGrantedRetractedV1 | AccessControlRoleRevokedProvisionalV1 | AccessControlRoleRevokedRetractedV1 | AssetIssuanceProvisionalV1 | AssetIssuanceRetractedV1 | ComplianceFreezeRecalledV1 | CustodyAccountCreatedFinalV1 | CustodySignerChangedFinalV1 | IdentityClaimIssuedFinalV1 | IdentityClaimRevokedFinalV1 | IdentityRegistrationProvisionalV1 | IdentityRegistrationRetractedV1 | IdentityStatusFinalV1 | SettlementTransferRetractedV1 | TokenTransferFinalV1 | TokenTransferFinalV2 | TokenTransferPendingV1 | TokenTransferProvisionalV1 | TokenTransferRetractedV1 | TokenTransferRetractedV2 | XvpApprovalRevokedFinalV1 | XvpAssetsLockedFinalV1 | XvpAssetsRefundedFinalV1 | XvpDeliveryClaimedFinalV1 | XvpDeliveryDeferredFinalV1 | XvpRefundDeferredFinalV1 | XvpSettlementApprovedFinalV1 | XvpSettlementCancelledFinalV1 | XvpSettlementCreatedFinalV1 | XvpSettlementExecutedFinalV1 | XvpSettlementExpiredFinalV1;
|
|
283
421
|
type EventType = AnyEvent["type"];
|
|
284
422
|
type Event<TType extends EventType = EventType> = Extract<AnyEvent, {
|
|
285
423
|
readonly type: TType;
|
package/package.json
CHANGED